Automation library · E-commerce

Confirm and log WhatsApp restaurant orders with Groq

Started by an incoming WhatsApp message, and works across Google Sheets and WhatsApp. It hands the judgement calls to Groq. 14 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: Groq

14 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 4Service 6

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

  1. 1New WhatsApp OrderWhats App triggerStarts it
  2. 2Groq Chat ModelLm Chat GroqModel
  3. 3Order Items ParserOutput Parser StructuredModel
  4. 4Set ConfigurationSetLogic
  5. 5Extract Order ItemsChain LlmModel
  6. 6Read Menu SheetGoogle SheetsService
  7. 7Validate & Price OrderCodeLogic
  8. 8Are There Issues?IfLogic
  9. 9Log Confirmed OrderGoogle SheetsService
  10. 10Ask for ClarificationWhats AppService
  11. 11Send Order ConfirmationWhats AppService
  12. 12Is VIP Order?IfLogic
  13. 13Log Clarification NeededGoogle SheetsService
  14. 14Notify Owner - VIP OrderWhats AppService

How it's built

Starts on
An incoming WhatsApp message
Steps
14, with 2 branches
Size
Medium: a working afternoon
Connects to
Google Sheets, WhatsApp
Model
Groq

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and WhatsApp accounts, and a key for Groq. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls Groq. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 14 steps is enough that you should read each one before running it.

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 14 steps before you point it at anything that matters.