Calling an external API: HTTP Request + JSON processor
Video coming soon — step-by-step guide below
Fetch an order status from your CRM and show it in the bot.
What you need
- An API URL that returns JSON (any public API works for a demo)
Steps
- Ask for the order number with an Input.
- Add an HTTP Request: method
GET, URL with#node.{id}.ordersubstituted, headers if needed. - Press Test send to see the real response.
- Add a Condition
#node.{id}.http.isSuccess. - In the
Truebranch add a JSON processor and extract the needed fields into variables. - Show the status in a Screen. In the
Falsebranch show an error screen.
Resulting scenario
Input(order) -> HTTP Request GET /orders/#node.5.order
-> Condition "#node.12.http.isSuccess"
| True -> JSON processor -> Screen "Status: #node.13.status"
| False -> Screen "Order not found"