Quick start: inbound agent
In about 15 minutes you build a working inbound agent: it greets the caller, asks what they need, looks up an order over HTTP, reads the status back and transfers to a person on request.
The finished example is the scenario Guide demo: order status in the demo account. The same flow, with design notes, is in Recipe: order status line.

Before you start. You need a console user who may edit scenarios and agents (for example the account_admin role) and one free number. Test calls are real calls: dial only your own phone.
Step 1. Create the scenario
Section titled “Step 1. Create the scenario”- Open Build → Scenarios and click + New scenario. The builder opens with four bricks already on the canvas: Start scenario, Outbound call, Inbound call and End scenario.
- Click the name button at the top left (it says New scenario). In the menu that opens, edit the name field at the top, type
Guide demo: order statusand confirm with the check mark. - Click Save draft now and then as you work. The first save gives the scenario its own address.

Step 2. Add a greeting
Section titled “Step 2. Add a greeting”- Drag Text-to-speech from the palette on the left onto the canvas.
- Connect it: drag from the dot at the right of Inbound call → Success to the header of the new brick. A line appears.
- Click the brick. Click the pencil next to its title and rename it
Greeting. - Type the message, for example: Hello! You’ve reached the Demo Shop order line. I can check your order status or connect you to a colleague. Click ▶ to hear it, then Save.

Step 3. Ask what the caller needs
Section titled “Step 3. Ask what the caller needs”- Drag a Question brick onto the canvas, connect Greeting → Complete to it and rename it
Choose topic. - In Question message, type Would you like to check the status of an order, or speak to a colleague?
- Under Answers, keep Speech recognition and Intents. Rename the first answer
Order statusand type several ways people say it, pressing Enter after each: check my order, where is my parcel, order status, has my delivery been shipped. - Click Add answer, name it
Operatorand add speak to a person, connect me to an operator, a colleague please, talk to someone. - Click Open test cases, type an answer a caller might give in Assumed answer, and click Run tests. The result shows which output the answer would take and the intent scores. If a test misses, add more phrases and run it again.

Each answer becomes an output on the brick, next to three fallbacks: Invalid (no answer matched), Empty (silence) and Incomplete (for example, the caller hung up).
Step 4. Look up the order
Section titled “Step 4. Look up the order”- Drag an HTTP request brick, connect Choose topic → Order status to it and rename it
Get order status. - Set Target URL to your order API. The demo uses a public echo service:
https://httpbin.org/anything?status=shipped. Set Method to GET. - Under Response data mapping, choose Set new variable and type
{{order_status}}. Choose Body, set Path definition to$.args.statusand Value if the path is not found tounknown. - Click Open test cases → Run tests. You see the request as curl, the HTTP status, the response and the parsed variables, here
{"order_status": "shipped"}. Click Save.

Step 5. Read the status back
Section titled “Step 5. Read the status back”- Add a Text-to-speech brick after Get order status → Success and rename it
Tell order status. - Type Your order status is {{order_status}}. Thank you for calling, goodbye! The variable is highlighted when the name is valid.

Step 6. Transfer to a person
Section titled “Step 6. Transfer to a person”- Add a Call transfer brick and rename it
Transfer to operator. Connect both Choose topic → Operator and Get order status → Error to it, so callers also reach a person when the lookup fails. - Set Transfer destination to your operators’ number or SIP address. The demo uses the fictional
+12025550100. - Turn on Audio for the client and type Please hold while I connect you to an operator. Click Save.

Step 7. Handle everything else
Section titled “Step 7. Handle everything else”- Add a Text-to-speech brick named
Repromptwith Sorry, I didn’t catch that. You can say order status, or ask for an operator. Connect Choose topic → Invalid and Empty to it, and its Complete output back to Choose topic. The caller now gets a second chance. - After Tell order status → Complete, add a Goal brick tagged Qualified, then a Business Metric brick with key
order_statusand value{{order_status}}. Both show up in call results. - Every output must lead somewhere. With Smart connections on (the default), drag an unused output and drop it on an empty part of the canvas: it connects to End scenario and shows a small End tag.
Step 8. Save and publish
Section titled “Step 8. Save and publish”- Click Save draft, then Publish. Publishing checks the scenario first: a message such as you have 11 errors in your scenario means some outputs are still unconnected or some bricks are not configured. Bricks with problems carry a red Error badge.
- When the check passes you see Scenario published. The scenario is now version v1 and can run on an agent.
- To try it yourself, click Test call. It places a real call through the platform, so call only your own phone.
Step 9. Put it on a number
Section titled “Step 9. Put it on a number”- On Scenarios, open the ⋯ menu of the scenario and choose Create agent (or use Agents → New agent).
- Pick a free Number, set the Lines (simultaneous calls) and check the name and calling hours, then click the green button at the bottom to create the agent.
- Inbound calls to that number now run the scenario.

An agent needs a number that no other agent uses. If the number list shows no free number, ask your workspace administrator for one: see Troubleshooting.
To call people instead of waiting for them, continue with Quick start: outbound calls.