Architect: Reusing a Common Module flow from multiple inbound flows

Trying to set up a shared flow for call recording and consent in Architect. I added a Flow Control action in the common flow to trigger it from three different inbound campaigns.

The issue is the return behavior. When the common flow finishes, it drops the call instead of resuming the original flow. Is there a specific JSON config or setting needed to make it return control properly?

Cause:
The Flow Control action defaults to “End flow” unless explicitly configured otherwise. The docs for the .NET SDK state that ReturnFlow requires a valid returnContactData payload, but in Architect UI, you just need to change the action type. If it drops the call, it’s likely hitting an exit point without a return trigger.

Solution:
In your Common Module, add a “Return Flow” action at the end. Don’t use “End Flow”. Set the action type to return_flow. You must also ensure the calling Flow Control action uses Wait for completion mode, not Fire and forget.

Here is the config for the Return Flow action:

{
 "action": {
 "type": "return_flow",
 "contactData": {
 "returnCode": "success"
 }
 }
}

If you’re triggering this via API, the SDK call looks like this:

var returnAction = new FlowControlReturnFlowAction { ReturnCode = "success" };

Make sure the original flow has a handler for the return code. Otherwise it just hangs or drops.