This is possible, but it needs to be implemented outside of the inbound call flow.
In Architect, nothing can run after a Disconnect block, so any post-call logic must be handled using a Workflow triggered after the interaction ends (conversation/participant disconnected).
The recommended approach is:
-
Let the inbound flow handle greeting and Transfer to ACD only.
-
Use a Workflow that triggers once the call is fully disconnected.
-
In the workflow, call the external API to retrieve the final summary.
Once retrieved, you have two solid options:
-
Store the summary in Genesys Cloud (conversation or participant attributes) and have the agent Script read it using the conversationId.
-
Persist the summary in an external system (CRM/DB) and retrieve it from the Script via a data action.
This pattern ensures the summary is generated only after the interaction lifecycle is complete and avoids timing issues with active calls.
If this helps clarify the design and solves the use case, please feel free to mark this response as the Best Answer so others with the same question can find it more easily.
------------------------------
Mateus Nunes
Tech Leader Of CX at Solve4ME
Brazil
------------------------------