meek_55
11/11/2025, 10:58 AMtrip_status immediately upon entering this state, and replace the {{trip_id}} in URL with the {{trip_id}} received.
- Pass the following parameters:
- Password (query parameter): {{airline_password}} to the tool that contains the custom function
3. Step 3: Parse API Response
Expected Response Structure:
json
{
"Status": "string"
}
- Extract Status:
1. Parse the response from trip_status tool
2. Extract the Status field value
3. Store in variable: {{live_status}}
4. Step 4: Announce Live Status
- CRITICAL:
- Do NOT say "SUCCESS" or any generic response
- Use the EXACT value from {{live_status}}
- Say: {{live_status}}
- Example:
If API returns {"Status": "On Location"}, say:
"Your trip status is On Location"
I have attached the Custom Function definition.
@Omar Ashraf | Community Lead
https://cdn.discordapp.com/attachments/1437758332437008414/1437758828451201084/image.png?ex=691468c0&is=69131740&hm=08dafb56932ffb45ecb0398be621d2e289bd52b9b9860615f2c30a0f97efea46&Omar Ashraf | Community Lead
11/11/2025, 11:10 AMmeek_55
11/12/2025, 4:41 AMOmar Ashraf | Community Lead
11/12/2025, 11:50 AM