What This Workflow Does
Manual lead qualification is one of the most time-consuming tasks for sales teams. When a new lead enters Salesforce, sales reps must manually call, ask qualification questions, take notes, and update the CRM—a process that can take 20-30 minutes per lead and often gets delayed for hours or days.
This automated workflow eliminates that manual bottleneck. When a new lead is created in Salesforce, it automatically triggers an AI-powered phone call via Retell AI. The AI agent conducts a natural conversation with the lead, asks qualification questions, and then uses OpenAI to analyze the transcript. The system creates a follow-up task in Salesforce with key insights, lead score, and next steps—all without human intervention.
The result is immediate lead engagement, consistent qualification criteria, and sales teams that spend time only on properly qualified leads ready for human conversation.
How It Works
1. Salesforce Lead Trigger
The workflow starts when a new lead is created in Salesforce. A webhook captures all lead data including contact information, source, and any custom fields you've configured.
2. AI Call Initiation
The system immediately initiates a phone call to the lead using Retell AI. Your pre-configured AI agent introduces itself, explains the purpose of the call, and begins asking qualification questions based on your sales process.
3. Call Monitoring & Completion
The workflow polls Retell AI's API to monitor call status. It waits until the call is completed (whether answered, voicemail, or failed) before proceeding to the next step.
4. Transcript Analysis with OpenAI
Once the call transcript is available, OpenAI analyzes the conversation for key information: buying intent, budget mentions, timeline, competitor references, and sentiment. The AI assigns a lead score and extracts actionable insights.
5. Salesforce Task Creation
The workflow creates a new task in Salesforce attached to the lead record. This task includes the lead score, key conversation highlights, recommended next steps, and the full transcript for reference.
Pro tip: Configure your Retell AI agent with industry-specific qualification questions. The more tailored your questions, the better the AI can assess fit and urgency.
Who This Is For
This automation is ideal for sales teams, B2B companies, and any organization with a steady stream of inbound leads. Specifically:
Sales teams overwhelmed by lead volume who need to prioritize their time on hot prospects.
Marketing agencies that generate leads for clients and need to qualify them before handoff.
SaaS companies with product-led growth where timely qualification impacts conversion rates.
Financial services and other regulated industries where consistent qualification questions are crucial.
Businesses with limited sales staff that need to maximize each team member's productivity.
What You'll Need
- Salesforce account with API access and webhook capabilities (or a middleware that can trigger on lead creation)
- Retell AI account with an configured AI agent and phone number
- OpenAI API key for transcript analysis (GPT-3.5 or GPT-4)
- n8n instance (cloud or self-hosted) with HTTP Request, If, Webhook, and Wait nodes available
- Basic understanding of your lead qualification criteria and ideal customer profile
Quick Setup Guide
Follow these steps to implement this automation in your business:
- Download the template using the button above and import it into your n8n instance.
- Configure Salesforce webhook to trigger when new leads are created. Update the webhook URL in the first node.
- Set up Retell AI credentials in the HTTP Request nodes. Configure your agent ID and phone number.
- Add your OpenAI API key to the OpenAI node. Adjust the prompt to match your qualification criteria.
- Test with a sample lead to ensure the call triggers, transcript is analyzed, and Salesforce task is created correctly.
- Activate the workflow and monitor the first few calls to refine your AI agent's conversation flow.
Pro tip: Start with a small subset of leads (like those from a specific campaign) to test and refine before rolling out to all incoming leads.
Key Benefits
Immediate lead engagement: Leads receive a call within minutes of submitting their information, dramatically increasing conversion likelihood compared to hours or days later.
Consistent qualification: Every lead gets asked the same questions in the same way, eliminating human bias and inconsistency in early-stage qualification.
Sales team efficiency: Reps save 10-15 hours per week on manual dialing and data entry, allowing them to focus on closing properly qualified deals.
Data-driven insights: AI analysis of call transcripts provides insights human reps might miss, like subtle buying signals or competitor mentions.
Scalable growth: Handle increasing lead volume without adding sales staff immediately, controlling costs while maintaining qualification quality.