Skip to main content
This guide builds a working answering agent for a home-services business (HVAC, plumbing, electrical — same shape), backed by your field-service software. It recognizes returning customers, captures new jobs straight into your system, tells callers when their tech is coming, and escalates emergencies to a person. 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.

What you’ll wire up

1

Create the agent

Give it a name and a primary language. Capture data.id as your AGENT_ID.
2

Give it knowledge

Add your service area, pricing, and FAQs. Ingestion is asynchronous — poll the source until status is indexed.
3

Connect your field-service software

Find your provider’s kind in GET /integrations/catalog, then start the connection. For an OAuth provider this returns an authorization link — open it once to approve access to your account.
4

Provision its actions as skills

Turn the connected account into skills on the agent in one call. By default it provisions the key actions — recognize a customer (find_client), capture a request (create_lead), and check a job’s status (get_job_status).
Now the agent can greet a returning caller by name, open a request for a new job, and read back a customer’s next scheduled visit.
5

Add an emergency transfer

For a burst pipe or a no-heat call, add a transfer skill that routes to your on-call person.
6

Publish

Editing changes a draft; phone and chat serve the last published version. Publish to freeze a version your channels can serve.
7

Simulate a call

Test before a real caller hits it. simulate streams over SSE — read it with fetch() streaming and stop on event: done.
8

Put it on a number

Buy a number and point it at the agent (search → reserve → purchase → assign). See Buy a number & go live.
No field-service integration? You can still capture requests by email or webhook and book to a connected calendar — the same shape, different skills.