https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can i program the user to respond first on a c...
# ❓・ai-evy-support
d
@AI Evy How can i program the user to respond first on a conversational flow agent?
a
Thanks for tagging me @danday9. I'll look through relevant sources and get back to you shortly.
### Answer To have the user speak first in a Retell AI conversational flow agent, set the start_speaker property to "user" when creating or configuring the conversation flow. This determines who initiates the conversation. Example:
Copy code
start_speaker: "user"
With this setting, the agent will wait for the user to speak before responding [(1) ]() , [(2) ]() , [(3) ]() .
​ To learn more, see the sources I considered: [[1] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[2] Step 1: Configure global settings](https://docs.retellai.com/build/conversation-flow/global-setting) [[3] List Conversation Flows](https://docs.retellai.com/api-references/list-conversation-flows) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy where do i set this up i cant find it? do i have to write it in the oopening node?
a
Thanks for the follow-up, @danday9. I'll get back to you soon.
### Answer You do not set start_speaker in the opening node. The start_speaker property is a global setting for the entire conversation flow, not something you configure inside a specific node. You set start_speaker when you create or configure the conversation flow itself—typically in the main configuration object or via the API, not as part of any node definition [(1) ]() [(2) ]() . For example, when creating a conversation flow programmatically, you include start_speaker as a top-level property like this:
Copy code
javascript
const conversationFlowResponse = await client.conversationFlow.create({
  // ... other config ...
  start_speaker: 'user',
}) ;
[(2) ]() This setting determines whether the agent or the user starts the conversation. It is not written in the opening node’s instruction or prompt but is specified at the flow configuration level [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.