Custom AI Functions
The AI calls your APIs in real time
Defines custom functions that the AI can perform during the conversation. Checks availability, makes reservations, verifies prices, and more.
What is Function Calling?
It is a technique that allows AI to execute functions defined by you during a conversation. You define what data needs to be extracted from the message and which endpoint of your API it should call.
When the AI detects that the customer needs something that requires external data (such as availability, prices, or reservations), it automatically executes the function and includes the result in its response.
Workflow
Client asks
"Is there availability for Friday?"
AI detects intent
Extract: date = Friday
Call your API
GET /availability?date=2026-01-10
Informed response
"Yes, there is availability at 10:00 and 16:00"
Use cases
Check availability
Restaurants, hair salons, clinics... AI checks your booking system and responds with the available slots.
Make reservations
AI can create bookings directly in your system when the customer confirms.
Check prices
Check dynamic prices, customer discounts, or special rates in real time.
Check stock
For stores without Shopify: connect your inventory and the AI provides availability updates.
Validate codes
Verify discount codes, coupons, or references before applying them.
Order statuses
Check the status of orders in your ERP or proprietary management system.
Technical specifications
Supported methods
- ✓ GET, POST, PUT, DELETE
- ✓ Custom headers
- ✓ Bearer Authentication or API Key
Limits and times
- ⏱ Timeout: 60 seconds
- 🔄 Automatic retries if it fails
- 📊 Execution logs on Dashboard
For developers
The configuration is done from the WAzion Dashboard. You define the name of the function, the parameters that the AI must extract, and the endpoint where the call is made.
See technical documentationFrequently Asked Questions
Do I need to know how to program?
To set up the functions, no, but you need to have an API to connect to. If your system has an API, you can connect it.
How many functions can I create?
There is no limit. You can create as many as you need to cover all use cases of your business.
Does it work with Autopilot?
Yes. When the Autopilot responds, it can perform functions if necessary to provide an informed response.
What happens if my API fails?
WAzion retries automatically. If it continues to fail, the AI responds without that information and you can see the error in the Dashboard logs.
Connect your system with WAzion
Start free with 1M credits. No card required.