Hey everyone,
I’m trying to set up some reusable logic in our Genesys Cloud Architect environment. We have a standard IVR greeting and validation sequence that we want to run for several different inbound call flows. Instead of copying the blocks, I figured we should use Common Modules.
I’ve created the common flow and published it. Now I’m trying to trigger it from an inbound flow using a “Run Flow” action block. I’m a bit confused about how to specify the target flow ID in the JSON configuration or via the API.
Here is the JSON I’m trying to push for the Run Flow block:
{
"type": "RunFlow",
"settings": {
"flowId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"timeout": 30000
}
}
When I save the flow, it doesn’t throw an error immediately, but when I test it, the call just hangs after the trigger point. The debug logs show the Run Flow block starting, but it never seems to jump to the common module. It looks like it might be timing out or failing silently.
Is there a specific setting I’m missing in the Run Flow block to point to a Common Module? I’ve checked the permissions and the user has access to the common flow. I’m using the Python SDK to push these updates via the architect_api.update_flow method.
Any pointers on how to correctly reference a common module flow ID in this context would be great.