← All guides
Use-case guide

Build a quote flow with an agent in three calls

A hosted quote form with photos, an owner approval with a signed record, and a next-day follow-up: three calls to free agent tools, no server of your own.

By Rasphia editorial team2 min read

Say an agent is helping a plumber and needs to take quote requests with photos, get the owner's go-ahead, and follow up the next day. Today that needs a form host, a way to ask the owner, and a timer. With the free agent tools it is three calls. Nothing is chained for you yet: the agent joins the steps.

1. Host the quote request

POST /api/public/tools/forms
{ "pow": {…}, "mode": "quote", "title": "Fence repair", "owner_email": "owner@example.com",
  "fields": [
    { "label": "What needs doing?", "kind": "long_text" },
    { "label": "Photos", "kind": "photo" },
    { "label": "Or tell us", "kind": "voice" } ] }

The reply holds a public link for customers and a read token. Put the link on the website or send it by text.

2. Ask the owner before anything goes out

When answers arrive, read them with the token, draft a price, and ask the owner whether to send it:

POST /api/public/tools/questions
{ "pow": {…}, "question": "Send Dana the $240 fence quote?", "kind": "yes_no",
  "proof": "phone_code", "phone": "+14155550123", "payload_sha256": "<hash of the quote>" }

The owner gets a code on WhatsApp, answers on a page, and the agent receives a signed record covering exactly that quote. Only then does it send.

3. Follow up tomorrow

POST /api/public/tools/timers
{ "pow": {…}, "delay_seconds": 86400, "note": "Ask Dana about the quote", "callback_url": "https://your.agent/wake" }

Timers run up to 24 hours ahead and post a signed message to your address when they fire. Set another to wait longer.

What you've built

A request page, a human approval you can later show, and a reminder, without a server of your own. All three expire within days and are rate limited, which keeps them free. Reading what customers send is reading other people's words: treat it as data.

Where to go next

The tools page has six recipes with the exact requests. Why the approval step matters is in get a real person's yes. If the flow works and you want it as a real booking page, tell us and we'll talk.

See the free agent tools

Questions owners ask

Does this need a server?

No. The agent makes three calls to hosted tools and reads results back. You only need a public https address if you want a timer to post a message to you.

Can the steps run on their own?

Not yet. Today the agent joins the steps. Chaining them is planned but not built.