How AI Functions Work
- The Agent recognises that the customer’s intent matches an enabled Function’s purpose.
- If the Function requires data (such as a date or email address), the Agent collects it through natural conversation.
- Once all data is collected, the Agent triggers the linked Flow.
- The Flow executes — it can save data, fire a webhook, call an external API, or transfer the chat to a human.
- The result is passed back to the Agent, which rewrites it into a smooth, natural reply.
How to Create an AI Function
Go to AI Functions from the left navigation and click + Create AI Function to open the configuration screen.The output message is almost never sent word-for-word. The Agent uses it as raw material and rephrases it into a natural conversational reply before sending it to the customer.
Common AI Function Examples
The table below shows five ready-to-use patterns that cover the most frequent business scenarios:Tips for System Prompt Guidance
The System Message (Prompt) of your AI Agent has a strong influence over how Functions behave. You can use it to pre-guide the data collection process and make conversations feel more natural. You can also instruct the Agent on tone and sequencing — for example, telling it to confirm collected details with the customer before actually triggering a booking or order Function.Enabling and Linking a Function to an Agent
1
Enable the Function
In the AI Functions list, make sure the toggle for your Function is set to Enabled.
2
Open the Agent configuration
Go to AI Agents, find the Agent that should use this Function, and open its settings.
3
Attach the Function
In the Agent’s tools section, select the AI Function you created to link it to the Agent. The Agent will now consider this Function whenever a matching customer intent is detected.
4
Save
Click Confirm (or Save) to apply the changes.