Skip to main content
This guide builds a phone agent for a restaurant that answers menu questions, takes an order, checks that the delivery address is in your zone, and posts the confirmed order to your kitchen. Every step is one API call against https://builder.flowyte.com/api/v1.
Authenticate every request with a secret API key: Authorization: Bearer flowyte_sk_…. See Authentication to mint one.
1

Create the agent

Capture data.id as your AGENT_ID.
2

Load the menu as knowledge

Add your menu so the agent answers “what’s on the supreme?” and “how much is a large?” from the real thing. Ingestion is asynchronous — poll the source until status is indexed.
3

Add a delivery-area check

A free geo skill with the check_service_area action. Set your shop address as the origin and your delivery radius. The agent asks for the address and confirms coverage before taking a delivery order — and offers pickup if it’s out of range.
4

Send the order to the kitchen

An http_webhook skill posts the confirmed order to your kitchen display or POS. The agent fills in the parameters it collected on the call.
5

Publish and test

Publish, then simulate an order. simulate streams over SSE — read it with fetch() streaming and stop on event: done.
6

Put it on a number

Buy a number and point it at the agent — see Buy a number & go live.
The agent only spends on a geocode when it has to look up a caller’s address; the in/out-of-zone math itself is free.