Call Flow Function
The Call Flow Function effect invokes a named Flow Function trigger, either in the same flow or in a different flow. This lets you create reusable pieces of logic that can be called from multiple places, similar to calling a function in a programming language.
When this effect runs, the target Flow Function trigger fires immediately. This is a powerful way to organize complex automations into smaller, manageable flows that can be composed together.
Inputs
| Name | Type | Description |
|---|---|---|
Activate | any | Any input value triggers the call. The value itself is not passed to the target flow. |
Configuration
- Flow Function: Select which Flow Function trigger to call from the dropdown list of available flow functions.
Example
You have several commands that should all end by sending a "thank you" message and playing a sound effect. Instead of duplicating that logic in every flow, create a separate flow with a Flow Function trigger called "ThankYou" that handles the message and sound. In each command flow, connect a Call Flow Function effect configured to call "ThankYou" at the end. Now updating the thank-you behavior only requires changing one flow.