Overview
Actions transform your AI agents from conversation-only assistants into powerful business automation tools. Beyond answering questions, your agents can schedule appointments, transfer calls, update systems, and integrate with your existing business workflows - all while maintaining natural conversation flow. Think of actions as your agent’s toolkit. Just as a human employee uses different tools to complete tasks, your AI agent performs actions to execute real work during customer interactions.Actions execute automatically based on conversation context and the instructions you provide in your agent’s prompt. You define when and how actions should be used through prompt engineering.
What Are Actions?
Actions are pre-configured tools that your agent can invoke during conversations to accomplish specific tasks. When a customer requests something that requires action - like booking an appointment or speaking to a specialist - your agent can execute the appropriate action seamlessly.How Actions Work
During conversations, your agent autonomously decides whether to respond directly or execute an action: The agent uses action names and descriptions to understand what each action does. These are crucial for helping the LLM select the right tool. Best practices:- Give actions clear, descriptive names (e.g., “book_appointment” not “action1”)
- Write detailed descriptions explaining what the action does
- Add explicit instructions in your agent instructions (system prompt) about when to use each action
While action names and descriptions tell the agent what an action does, your agent instructions (system prompt) should specify when to use it. For example: “When a customer asks to speak to a human, use the transfer_to_support action.”
Action Categories
Actions are organized into two categories in the dashboard:Call Control
Transfer Call
Transfer to another AI agent, phone number, or SIP address
End Conversation
Have the agent end the conversation with a custom message
Integration
Custom Action
Create a custom API or webhook action
Calendar Booking
Schedule appointments using Cal.com integration
When Actions Execute
Actions execute during the conversation when triggered by your agent based on its instructions. Unlike traditional IVR systems that follow rigid scripts, AI agents use contextual understanding to determine when actions are appropriate.Trigger Mechanisms
Instruction-Based Triggers:Configuring Actions
All action configuration happens in the agent editor under the Abilities → Actions tab.Choose Action Type
Browse the Call Control and Integration categories and click Add on the action you want to configure
Configure Action
Fill in the action-specific configuration form:
- Name: Give your action a clear, descriptive name
- Description: Explain what this action does
- Action-specific settings: Configure parameters based on the action type
Action Status Indicators
After adding actions, you’ll see them listed in your agent’s Actions tab with status indicators:Configured
Action is properly configured and ready to use
Incomplete
Missing required configuration or credentials
Error
Configuration error or authentication failure
Referencing Actions in Instructions
To use actions, reference them by exact name in your agent’s instructions:Direct Reference
With Conditions
With Parameters
Action names are case-sensitive and must match exactly as configured. If you rename an action, update all references in your instructions.
Configuration Best Practices
Start Simple
Start Simple
Begin with basic actions before adding complex integrations. Add one action at a time, test thoroughly, then add the next.Example progression:
- Add End Conversation action
- Add Transfer to Support action
- Add Booking action
- Add Custom API actions
Use Clear, Descriptive Names
Use Clear, Descriptive Names
Action names are critical - the LLM uses them to understand what each tool does. Use descriptive, action-oriented names that clearly convey the function’s purpose.Why this matters: The model relies on function names and descriptions to detect when a function needs to be called and choose the right tool for the task.Good names:
- “Get Customer Account” - Clear action verb + specific target
- “Transfer to Billing Department” - Specific destination included
- “Book 30-Minute Consultation” - Includes relevant details
- “Action 1” - No context about what it does
- “Transfer” - Too generic, unclear where
- “API Call” - Doesn’t describe the action
Write Detailed Descriptions
Write Detailed Descriptions
Action descriptions help the LLM understand what the action does. The description should explain the action’s purpose, what it returns, and what parameters it uses.Best practices from OpenAI function calling:Note: Describe what the action does in the description. Specify when to use it in your agent instructions (system prompt).
- Clearly describe what the action does and what it returns
- Explain what parameters or data it uses
- Use precise language that guides the model’s understanding
- Keep it concise yet comprehensive
Test Thoroughly
Test Thoroughly
Test each action in the agent test interface before going live:
- Verify action executes correctly
- Test success scenarios
- Test failure scenarios
- Verify error handling
- Check conversation flow
Handle Failures Gracefully
Handle Failures Gracefully
Configure fallback behaviors for when actions fail. Instruct your agent what to do when actions don’t work.
Collect Information First
Collect Information First
Ensure agents gather required data before executing actions. Don’t attempt to book appointments without email addresses or transfer calls without explaining why.
Secure Credentials
Secure Credentials
Use appropriate authentication for all custom actions. Never expose API keys or credentials in URLs or unencrypted fields.
- Use Bearer tokens for API authentication
- Use Basic auth over HTTPS only
- Store sensitive credentials securely
- Rotate credentials regularly
Testing Actions
Before deploying agents with actions, thoroughly test in the dashboard test interface:What to Test
For Transfer Actions:- Transfer executes to correct destination
- Hold music plays if configured
- Transfer message is appropriate
- Cold vs warm transfer modes work correctly
- Availability is retrieved correctly
- Booking confirms successfully
- Email/SMS notifications send properly
- Timezone handling is accurate
- API calls succeed
- Authentication works
- Response data is available to agent
- Error responses are handled gracefully
- Agent references action by correct name
- Agent gathers required information first
- Conversation flow remains natural
- Failures don’t break the conversation
Common Use Cases
Customer Support Workflow
Appointment Booking Workflow
Sales Qualification Workflow
Troubleshooting Common Issues
Action Not Triggering
Action Not Triggering
Problem: Agent doesn’t use the action even though it should.Solutions:
- Verify action name in instructions matches exactly (case-sensitive)
- Check action status is “Configured” not “Incomplete” or “Error”
- Make instructions more explicit about when to use action
- Test in isolation by explicitly asking agent to use the action
- Review conversation transcript to see agent’s reasoning
Agent Says Action Will Execute But Doesn't
Agent Says Action Will Execute But Doesn't
Problem: Agent verbally confirms it’s executing an action (e.g., “I’m transferring you now”) but the action doesn’t execute until the next conversation turn.Why this happens: The agent generates a response and executes the action in the same turn, but only one can happen per turn.Solution: Prompt the agent to ask for user confirmation before executing actions:This ensures the agent executes the action immediately after receiving confirmation, not in the same turn as announcing it.
Authentication Failures
Authentication Failures
Problem: Custom actions fail with 401/403 errors.Solutions:
- Verify credentials are correct and not expired
- Check authentication type matches API requirements
- Ensure Bearer tokens include “Bearer” prefix if needed
- Test endpoint independently with Postman or curl
- Review API documentation for authentication format
Booking Action Fails
Booking Action Fails
Problem: Cal.com booking action returns errors.Solutions:
- Verify Cal.com integration is connected
- Check event type exists and is active
- Ensure meeting platform is configured in Cal.com
- Verify scheduling windows allow requested dates
- Check timezone configuration
- Test booking manually in Cal.com to verify availability
Transfer Not Connecting
Transfer Not Connecting
Problem: Transfer action executes but doesn’t connect.Solutions:
- Verify destination is in correct E.164 format (e.g., +15551234567)
- Ensure phone number is reachable (for phone transfers)
- Verify SIP address is correct (for SIP transfers)
- Test destination independently
Next Steps
Call Control Actions
Configure Transfer, End Conversation, and Inactivity Management actions
Transfer Details
Master transfer destinations, modes, and advanced settings
Booking Integration
Set up Cal.com appointment scheduling with email and SMS notifications
Custom API Actions
Connect your agents to external systems and APIs
Instructions Guide
Learn how to write effective agent instructions
Prompt Engineering
Master advanced prompting techniques for reliable agent behavior