https://retellai.com/?utm_source=discord&utm_medium=seo logo
i want to create a outbound sales agent that calls...
# ❓・ai-evy-support
s
@AI Evy i want to create a outbound sales agent that calls different restaurants which agent do i want to choose conversational flow agent or multipromt agent . i have a script .
a
Thanks for tagging me @sahalshamas. I'll look through relevant sources and get back to you shortly.
### Answer For your outbound sales agent calling restaurants, I'd recommend the Conversation Flow Agent since you have a script [(1) ]() [(2) ]() . Here's why Conversation Flow is better for your use case: Conversation Flow agents provide more fine-grained control over the conversation flow compared to Multi-Prompt agents, enabling you to handle more complex scenarios with predictable outcomes [(1) ]() . They allow you to define exact paths and transitions, which is ideal when you have a specific sales script to follow . Key benefits for your sales calls : - **Structured conversations**: Define exact paths and transitions based on your script - **Predictable behavior**: Each node has specific logic and outcomes - **Complex scenario handling**: Support for conditional branching and state management Since you already have a script, you can map it out using nodes and edges . The Conversation Flow uses nodes (the basic unit of conversation flow) and edges (connections between nodes that define transition logic) . To create outbound calls, you'll use the Create Phone Call API with parameters like [(3) ]() : - `from_number`: Your Retell-managed number - `to_number`: The restaurant's number - `override_agent_id`: Your conversation flow agent ID - `retell_llm_dynamic_variables`: Dynamic variables like restaurant name You can get started quickly by heading to the Dashboard, creating a new conversation flow agent, and selecting a pre-built template [(1) ]() . All changes are auto-saved . **
​ To learn more, see the sources I considered: [[1] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[2] Retell AI’s Advanced Conversation Flow | Retell AI](https://www.retellai.com/blog/unlocking-complex-interactions-with-retell-ais-conversation-flow) [[3] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy can you send me the resources for conversational flow agent
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer Here are the key resources for Conversation Flow agents: Documentation: - [Conversation Flow Overview]() - Learn how to build structured conversational agents using nodes and transitions [(1) ]() - [Debug guide]() - How to improve your conversation flow agent's performance [(2) ]() - [Components]() - Build reusable sub-flows to keep agents maintainable and consistent [(3) ]() API References: - [Create Conversation Flow]() - API endpoint for creating conversation flows [(4) ]() - [List Conversation Flows]() - API endpoint for listing your conversation flows [(5) ]() Getting Started: To create your first conversation flow agent, head to the Dashboard, create a new conversation flow agent and select a pre-built template [(1) ]() . You can modify the template to your needs, and all changes are auto-saved .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy difference between extract dynamic variable and post call data extraction
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer ### Answer Extract Dynamic Variables and Post Call Data Extraction serve different purposes and occur at different times during a call: Extract Dynamic Variables happens during the call in real-time [(1) ]() . Your agent can extract and store information like names, emails, budgets, and preferences as the conversation progresses . The extracted data can be referenced anytime during the call and passed to webhooks, CRMs, or integrations . Variable types you can extract in real-time [(2) ]() [(3) ]() : - **Text**: Names, addresses, feedback [(1) ]() - **Number**: Ages, quantities, prices - **Boolean**: Yes/no decisions, preferences - **Enum**: Predefined lists (services, products, etc.) Post Call Data Extraction happens after the call ends [(4) ]() . This data augments pre-defined variables extracted in the call analysis and becomes available after the call ends . You define what data to extract using
post_call_analysis_data
in your agent configuration . **Key differences**: - **Timing**: Extract Dynamic Variables works during the call [(1) ]() ; Post Call Analysis happens after [(4) ]() [(5) ]() - **Usage**: Dynamic variables can be used mid-conversation to personalize workflows [(1) ]() ; Post call data is for analysis and record-keeping [(4) ]() [(5) ]() - **Access**: Dynamic variables are available immed
iately during the call [(1) ]() ; Post call data is available in the call analysis after the call ends [(5) ]() Both features work in single, multi-prompt, and conversation flow agents [(1) ]() .
​ To learn more, see the sources I considered: [[1] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[2] Extract Dynamic Variables](https://docs.retellai.com/build/single-multi-prompt/extract-dv) [[3] Extract Dynamic Variable Node](https://docs.retellai.com/build/conversation-flow/extract-dv-node) [[4] Update Agent](https://docs.retellai.com/api-references/update-agent) [[5] Get Call](https://docs.retellai.com/api-references/get-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy which is good for my case
a
Thanks for the follow-up, @sahalshamas. I'll get back to you soon.
### Answer For your outbound sales agent calling restaurants with a script, Extract Dynamic Variables is the better choice [(1) ]() . Here's why: Extract Dynamic Variables happens during the call in real-time, allowing your agent to capture information like restaurant names, contact persons, interest levels, and appointment preferences as the conversation progresses . This extracted data can be immediately referenced during the call and passed to your CRM or booking system . Since you're doing outbound sales calls with a script, you'll want to: - Capture key information (restaurant name, decision maker, interest level) during the conversation - Use that information to personalize the rest of the call - Pass data to your CRM or scheduling system in real-time Post Call Data Extraction happens after the call ends and is better suited for analysis and record-keeping rather than active conversation flow [(2) ]() [(3) ]() . For your Conversation Flow agent, you can extract variables with these types [(4) ]() [(5) ]() : - **Text**: Restaurant name, contact person name [(1) ]() - **Boolean**: Interested in quote (yes/no) - **Enum**: Type of cuisine, preferred contact method - **Number**: Number of locations This way, you can capture lead qualification data during the call and use it to determine next steps in your sales script .
​ To learn more, see the sources I considered: [[1] Single/Multi Prompt Agent Overview](https://docs.retellai.com/build/single-multi-prompt/prompt-overview) [[2] Flex Mode](https://docs.retellai.com/build/conversation-flow/flex-mode) [[3] Retell AI’s Advanced Conversation Flow | Retell AI](https://www.retellai.com/blog/unlocking-complex-interactions-with-retell-ais-conversation-flow) [[4] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[5] 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.