The following examples use illustrative endpoints and credentials to demonstrate the schema structure. Replace the URLs, tokens, and parameter values with your own API details when implementing.
- GET Requests
- POST Requests
Check Order Status
Check Order Status
A customer calls and asks āWhere is my order?ā The agent collects the order ID and fetches the status from your backend.What the agent says: āLet me check the status of your order.āWhat Bolna sends:Function schema:Example API response the LLM receives:The agent would then say something like: āYour order ORD-78234 has been shipped and is expected to arrive by March 15th. Your tracking number is 1Z999AA10123456784.ā
Look Up Account Balance
Look Up Account Balance
A customer calls and asks āWhatās my current balance?ā The agent verifies their identity using their registered phone number and account ID, then fetches the balance.What the agent says: āLet me pull up your account details.āWhat Bolna sends:Function schema:Example API response the LLM receives:The agent would then say something like: āYour current account balance is Rs. 24,500.75. Your last transaction was on March 12th.ā