AI integration · Example
How an AI integration works
Your application sends text to an AI service and gets structured data back, ready for the next step
A booking message, step by step
-
Input
Could I book a dental check-up on Thursday, around 4 in the afternoon?
Structured result
Run to see the structured result.
{"service":"Dental check-up","day":"Thursday","time":"16:00","action":"request_appointment"}
Your application
Request
{ "text": "Could I book a dental check-up on Thursday, around 4 in the afternoon?" }Response
-
API connection
Request
Response
Arrives after the AI service replies
{ "service": "Dental check-up", "day": "Thursday", "time": "16:00", "action": "request_appointment" } -
AI service
Processes input
Nothing is booked until someone confirms the request
What happens at each step
-
Input
Text or data arrives from your application
-
AI processing
The AI service turns it into structured data
-
Next step in your app
Your application turns the result into a request that someone confirms before anything is booked