Overview
Custom Functions give your agent the ability to take real actions during a call — check order status, book appointments, query your database, update your CRM. When the agent decides to call a function, TalkifAI sends a POST request to your endpoint with the parameters it extracted from the conversation. Your server responds with data, and the agent uses it in its reply.Endpoints
List Functions
For a Specific Agent
For All User’s Agents
For Organization
Create a Function
Response:
After creating the function, mention it in your system prompt so the agent knows when to use it. Example:
"To check order status, use the check_order_status function."Update a Function
id plus any fields to update:
Delete a Function
How TalkifAI Calls Your Endpoint
When the agent triggers a function, TalkifAI makes a POST to your endpoint: Request from TalkifAI to your server:Parameters Format
Parameters are stored as a JSON object following JSON Schema format:string, number, boolean, array, object
Permissions
Notes:
- Owners and Admins can manage functions for all agents in their organization
- Members can only view functions for agents they created
- Commercial agents: Only Owners/Admins can manage functions
Related Documentation
- Custom Functions Guide — Step-by-step setup tutorial
- Function Calling — Enable/disable functions
- Advanced Configuration — Complete agent configuration