https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am creating a 3 agent setup for a workflow where...
# ❓・ai-evy-support
d
@AI Evy I am creating a 3 agent setup for a workflow where one agent is the entry point. The two other agents are subsequent workflows. I am using agent swap. How do I configure the webhook in the agent swap configuration menu?
a
Thanks for tagging me @dyshah46. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Agent Transfer](https://docs.retellai.com/build/single-multi-prompt/transfer-agent) [[2] Agent Transfer Node](https://docs.retellai.com/build/conversation-flow/transfer-agent-node) ​
### Answer When using Agent Transfer (Agent Swap) , webhook configuration follows specific behavior. The webhook settings from your first agent (the entry point) will be used throughout the entire call, even after transferring to subsequent agents [(1) ]() [(2) ]() . Specifically, the following settings of the first agent are maintained throughout the call : - optInSignedUrl - optOutSensitiveDataStorage - webHookUrl This means you configure the webhook URL in your entry point agent's settings, not in the Agent Transfer configuration itself. The webhook URL you set on the first agent will handle all webhook events for the entire call flow, including events from the transferred agents . All other settings like language, voice, and voiceModel will reflect the currently active agent after transfer .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy If the first agent's webhook URL is used, what's the purpose of asking the following in agent swap: Webhook Setting Select which agent's webhook endpoint to use for sending call updates. Only transferred agent Both this agent and transferred agent Only this agent
a
Thanks for the follow-up, @dyshah46. I'll get back to you soon.
### Answer I apologize, but I don't have information in the available sources that explains the specific "Webhook Setting" options you're seeing in the Agent Swap configuration menu ("Only transferred agent," "Both this agent and transferred agent," "Only this agent") . The documentation states that the first agent's webhook URL (webHookUrl) is maintained throughout the call [(1) ]() [(2) ]() , but it doesn't detail what these specific webhook setting options control or how they interact with that behavior. For clarification on how these webhook settings work in practice, I'd recommend: - Checking the [Documentation]() - Visiting [Hire certified Retell partner]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Agent Transfer](https://docs.retellai.com/build/single-multi-prompt/transfer-agent) [[2] Agent Transfer Node](https://docs.retellai.com/build/conversation-flow/transfer-agent-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.