Hi,
Since you were asking about triggering this from a script, the approach would be:
Script → Queue → In-Queue Flow, where the survey runs inside the In-Queue Flow.
Gabriel is also right this will only work if the agent clicks the button before ending the call. If the agent disconnects first, the interaction is already closed so the transfer won't happen.
Gabriel's Set Post-Flow approach is different that runs the survey automatically after the call ends, without needing any action from the script.
Hope this helps.
------------------------------
Phaneendra
Technical Solutions Consultant
------------------------------
Original Message:
Sent: 04-28-2026 12:15
From: Mohamed Hassan Mohamed
Subject: transfer call to script
So what i implemented through script will not work ?
IF button hold a Q and in the Q settings i added the in Q flow so it will not work ? @Gabriel Garcia
------------------------------
Mohamed Hassan Mohamed
Original Message:
Sent: 04-28-2026 09:15
From: Gabriel Garcia
Subject: transfer call to script
Hi Mohamed,
You're on the right track, the correct way to handle this scenario is by using Set Post-Flow, not by trying to transfer directly from the Script.
Why your current approach doesn't work
From Scripts, you can't transfer an interaction to another Call Flow. The "Secure Flow" option is only for PCI use cases.
Correct approach: Use Set Post-Flow in Architect
What you need to do is configure a Post-Flow that will run after the agent disconnects.
Steps:
1 - In Architect, open your Inbound Call Flow.
2 - Before routing to the queue, add the action:
- Set Post-Flow
3 - Select the flow you want to execute after the interaction (your survey flow).
4 - Then proceed with Transfer to ACD (send to agent/queue).
What happens
-The call is handled normally by the agent
- When the agent disconnects
- Genesys automatically sends the caller to the Post-Flow (your survey)
Key advantage
- No need to handle anything in the Script
- Fully controlled via Architect (which is the correct layer for routing)
------------------------------
Gabriel Garcia
NA
Original Message:
Sent: 04-28-2026 06:27
From: Mohamed Hassan Mohamed
Subject: transfer call to script
Hay How are ypu guys.
I am working with a project post call survey so iam asking about how to make and button on script that can transfer the interaction to another call flow
and inside this call flow i need to add a the survey qeustions so after navigating to inbound properites i didnot find option to transfer the call to call flow as only secure flow any one know how to transfer the interaction from script to other call flow ??
#Scripts
------------------------------
Mohamed Hassan Mohamed
------------------------------