# Confirm restaurant orders by phone with Supabase and Claude: n8n workflow

> Started by another system calling it. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/confirm-restaurant-orders-by-phone-with-supabase-and-claude (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Confirm restaurant orders by phone with Supabase and Claude

Started by another system calling it. It calls services over plain HTTP rather than through connectors. 24 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fconfirm-restaurant-orders-by-phone-with-supabase-and-claude)

**24 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 9 Logic 6 Service 9

The steps in the order they run, from what starts it.

- 1 **📥 New Notification** Webhook *Starts it*
- 2 **🔊 Twilio Fetches Audio** Webhook *Starts it*
- 3 **📞 Twilio Status Callback** Webhook *Starts it*
- 4 **⚠️ On Error** Error trigger *Starts it*
- 5 **Parse Notification** Code *Logic*
- 6 **Get Saved Script** Http Request *Service*
- 7 **Map Call Outcome** Code *Logic*
- 8 **Log Error → Supabase** Http Request *Service*
- 9 **Is a new order?** If *Logic*
- 10 **Prepare Text** Code *Logic*
- 11 **Update Call Result** Http Request *Service*
- 12 **Claim Order (insert log)** Http Request *Service*
- 13 **Skip (not new_order)** Respond To Webhook *Starts it*
- 14 **🗣️ ElevenLabs: Text → Audio** Http Request *Service*
- 15 **200 OK** Respond To Webhook *Starts it*
- 16 **Fetch Order Details** Http Request *Service*
- 17 **Skip (already called)** Respond To Webhook *Starts it*
- 18 **Stream MP3 to Twilio** Respond To Webhook *Starts it*
- 19 **Build Call Context** Code *Logic*
- 20 **🧠 Claude: Write Script** Http Request *Service*
- 21 **Extract Script** Code *Logic*
- 22 **Log: status = calling (save script)** Http Request *Service*
- 23 **☎️ Twilio: Place Call** Http Request *Service*
- 24 **200 Call Initiated** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fconfirm-restaurant-orders-by-phone-with-supabase-and-claude)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Automate demand forecasting & inventory ordering with MySQL** 24 steps · MySQL, Slack](https://millionrounds.com/workflow/automate-demand-forecasting-and-inventory-ordering-with-mysq)
- [**Automate order confirmations with VAPI Voice AI** 24 steps · Airtable, Email](https://millionrounds.com/workflow/automate-order-confirmations-with-vapi-voice-ai)
- [**E-commerce Order Confirmation with Airtable and Gmail** 24 steps · Airtable, Gmail](https://millionrounds.com/workflow/e-commerce-order-confirmation-with-airtable-and-gmail)
- [**Process store webhook orders with CRM** 24 steps](https://millionrounds.com/workflow/process-store-webhook-orders-with-crm)
- [**Resolve ecommerce order exceptions with Claude and Slack** 24 steps · Slack](https://millionrounds.com/workflow/resolve-ecommerce-order-exceptions-with-claude-and-slack)
- [**Conversational sales agent for WooCommerce with OpenAI** 24 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/conversational-sales-agent-for-woocommerce-with-openai)
