Overview
Post-call actions automatically:- Extract structured data from conversations using AI
- Send extracted variables to webhooks for automation
- Trigger workflows in connected platforms
- Update CRM records and databases
- Enable complex automation scenarios
Post-call Variables
Define the variables that the AI will extract from the call and send to a webhook.Variable Configuration
Configure which information the AI should extract from each conversation:Variable Definition
Variable Definition
Create variables that the AI will identify and extract from conversations.How extraction works:
The AI analyzes the complete call transcript and considers your system prompt context to extract the requested variables. It understands what was discussed during the call and extracts relevant information based on your variable descriptions.Configuration:
- Name: Variable identifier (3-16 characters, lowercase, alphanumeric)
- Type: Data type for the extracted value
- Description: Clear explanation so AI understands what to extract from the conversation
- String: Text values (names, addresses, comments)
- Number: Numeric values (quantities, prices, scores)
- True/False: Boolean values (yes/no answers, objectives achieved)
Default Variables
Default Variables
Every assistant includes these essential variables by default:Status (True/False): Whether the call objective was achieved or notSummary (String): Call summary in a few wordsYou can add custom variables based on your specific use case.
Variable Examples
Variable Examples
Common variables for different scenarios:Sales qualification:
budget
(Number): Customer’s budget rangedecision_maker
(True/False): Is caller the decision makertimeline
(String): When they need the solutionpain_points
(String): Main challenges mentioned
appointment_date
(String): Preferred appointment dateservice_type
(String): Type of service requestedcontact_method
(String): Preferred contact method
issue_type
(String): Category of the problemurgency_level
(Number): Priority score (1-10)resolution_status
(True/False): Was issue resolved
Extraction Process
How AI Extracts Variables
How AI Extracts Variables
The AI uses sophisticated analysis to extract variables from your calls:Data sources:
- Complete call transcript: Everything said by both the AI and the customer
- System prompt context: Your assistant’s objectives and instructions help guide extraction
- Variable descriptions: Clear descriptions you provide for each variable
- AI reviews the entire conversation transcript
- Considers the system prompt and call objectives
- Identifies relevant information based on variable descriptions
- Extracts and formats data according to specified types
- Validates extracted values before sending to webhook
Best Practices
Variable naming: Use lowercase, alphanumeric characters only. No spaces or special characters except underscores.
Clear descriptions: Write descriptions that clearly explain what the AI should look for in the conversation transcript. The more specific and context-aware, the better the extraction accuracy.
System prompt synergy: Your variable descriptions work best when they align with your system prompt objectives. If your assistant is designed for lead qualification, your variables should reflect that purpose.
Webhook Configuration
Make a request to a URL that sends the extracted variables to external systems.Webhook Settings
Webhook Status
Webhook Status
Enabled/Disabled: Control whether webhooks are sent after callsDefault: Disabled - Enable only when you have a webhook endpoint ready to receive data
Webhook URL
Webhook URL
URL endpoint: Where to send the extracted dataFormat: Must be a valid URLExample:
https://automate.autocalls.ai/api/v1/webhooks/your-webhook-id
Test functionality: Built-in test feature sends sample data to verify connectivityDelivery Options
Delivery Options
Send webhook only on completed:
- Yes (Default): Only send data for completed calls
- No: Send data for all calls regardless of completion status
- Yes (Default): Include recording URL in the webhook payload
- No: Send only extracted variables without recording link
Webhook Payload
The webhook will receive a comprehensive JSON payload containing call details, extracted variables, and transcript. For complete API documentation, see Post-Call Webhook API. Key payload fields:Call Information
Call Information
- id: Unique call identifier
- customer_phone: Customer’s phone number (E.164 format)
- assistant_phone: Assistant’s phone number
- duration: Call duration in seconds
- status: Call status (initiated, ringing, busy, in-progress, ended, completed, ended_by_customer, ended_by_assistant, unanswered, failed)
- created_at/finished_at: ISO 8601 timestamps
Extracted Variables
Extracted Variables
- extracted_variables: AI-extracted data based on your post-call schema configuration (see Post-call Variables section above)
- input_variables: Variables passed before the call (see Call Variables)
- Includes default variables (status, summary) plus your custom variables
Conversation Data
Conversation Data
- transcript: Detailed conversation transcript with timestamps
- formatted_transcript: Human-readable conversation format
- recording_url: Call recording URL (if enabled)
Campaign & Lead Data
Campaign & Lead Data
- lead: Lead information (for campaign calls)
- campaign: Campaign details and settings
- Only included for calls that are part of campaigns
Testing Webhooks
Test before going live: Use the “Make test request” button to send sample data to your webhook endpoint and verify it’s working correctly.
- Configure your variables and webhook URL
- Save your assistant settings
- Click “Make test request”
- Check your webhook endpoint receives the test data
- Verify the payload structure matches your expectations
Integration Examples
Our Automation Platform
Primary integration: Use our built-in no-code automation platform for seamless workflows:- Direct webhook processing: No external setup required
- 250+ app integrations: Connect to CRM, email, calendars, and more
- Visual workflow builder: Create complex automation without code
- Real-time data sync: Instant processing of extracted variables
- Pre-built templates: Ready-to-use workflows for common scenarios
- CRM updates: Automatically update contact records in HubSpot, Salesforce, Pipedrive
- Email follow-ups: Send personalized emails based on call outcomes
- Lead scoring: Update lead scores based on extracted variables
- Calendar booking: Schedule follow-up meetings automatically
- Team notifications: Alert team members about important calls
External Platforms
Any platform with webhook support:- Receive webhook data from our platform
- Process extracted variables in your own systems
- Create custom automation workflows
- Integrate with any API or service that accepts webhooks
- Connect to any CRM, email platform, or business tool
- Send data to custom applications
- Trigger workflows in third-party automation platforms
- Store data in external databases or systems
Custom Development
API endpoints: Build custom receivers for webhook data Database integration: Store call data in your own systems Business logic: Trigger complex workflows based on extracted variablesTesting Your Assistant
After configuring your assistant settings, it’s important to test thoroughly before deploying to production.Testing Methods
Speak with Your Assistant
Speak with Your Assistant
Web-based testing: Use the “Speak with your assistant” button to test directly from your browserFeatures:
- Real-time voice conversation through your web browser
- Test all assistant capabilities including tools and knowledge base
- No phone required - perfect for quick iterations
- Immediate feedback on responses and behavior
Phone Call Testing
Phone Call Testing
Real phone call testing: Call your assistant from any phone numberOutbound assistants:
- If no specific number is set: Assistant calls from a random number
- If caller ID is configured: Assistant calls from your specified number
- Test the complete outbound flow including dialing and initial message
- Call the assigned phone number directly
- Test how the assistant handles incoming calls
- Verify call routing and response quality
Testing Checklist
Comprehensive testing: Test all configured features including tools, knowledge base queries, variable extraction, and webhook delivery.
- Voice clarity and response speed
- Knowledge base integration (if configured)
- Tool functionality (transfer, scheduling, etc.)
- Variable extraction accuracy
- Webhook delivery (check your endpoint receives data)
- Edge cases and error handling
Web Widget Integration
Configure your assistant to work as a web widget on your website for seamless customer interactions.Widget Configuration
Widget Setup
Widget Setup
Easy integration: Add your AI assistant to any website with a simple code snippetFeatures:
- Voice chat: Customers can speak directly to your assistant
- Text fallback: Option for text-based conversations
- Customizable appearance: Match your brand colors and styling
- Mobile responsive: Works on all devices and screen sizes
Widget Behavior
Widget Behavior
Smart interactions: The widget adapts to your assistant configurationCapabilities:
- Uses same knowledge base and tools as phone assistant
- Supports all configured languages
- Extracts same post-call variables
- Sends webhooks for web conversations
- Respects same system prompt and personality
Use Cases
Use Cases
Common applications:Customer support: 24/7 automated support on your website
Lead qualification: Qualify visitors before they contact sales
Appointment booking: Allow visitors to schedule directly through the widget
FAQ handling: Answer common questions instantly
Product demos: Guide visitors through your product features
For detailed testing guides and widget integration instructions, see our Testing Your Assistant documentation.
For detailed webhook integration guides and examples, see our Automation documentation.