Does anyone know the correct method to invoke a shared flow from multiple inbound call flows using Architect Data Actions? I am building a modular architecture to reuse common logic for audit logging and role validation across several entry points. My goal is to avoid duplicating the OAuth token refresh logic in every single flow.
I attempted to use the ExecuteFlow action with the target flow ID of the common module, but the execution fails silently or hangs. I have configured the input mappings correctly in the JSON payload, yet the shared flow does not seem to receive the context variables. Here is the configuration I am using:
{
"actionType": "ExecuteFlow",
"flowId": "common-audit-module-flow-id",
"inputs": {
"userId": "${user.id}",
"action": "log_access"
}
}
Is there a specific permission or flow type requirement for the target flow? I have verified that the initiating flows have the necessary permissions to call other flows, but the advanced integration still fails to trigger the shared logic. Any insights on the proper syntax or architectural pattern would be appreciated.