

# InvokeFlowModule


Invokes a flow module. *Flow modules* are reusable sections of a flow. You use them to extract repeatable logic across your flows, and create common functions. For more information about flow modules, see [Flow modules for reusable functions](https://docs.aws.amazon.com/connect/latest/adminguide/contact-flow-modules.html), in the *Amazon Connect Administrator Guide*. 

## Parameter object


```
{
    "FlowModuleId": The flow module ID or flow module ARN to be invoked. May be defined statically or dynamically.
}
```

## Results and conditions


None.

## Errors


`NoMatchingError` if no other Error matches.

## Restrictions


This action is supported by all channels and only supports Inbound flow types.

## Corresponding block in the UI


[Flow block: Invoke module](https://docs.aws.amazon.com/connect/latest/adminguide/invoke-module-block.html).