Free n8n template

WhatsApp Takeaway Orders

Turn messy multi-message WhatsApp orders into one clean, confirmed order in Postgres.

The problem

Customers rarely send an order in one message. They send three or four quick ones, and a naive bot answers each fragment separately.

How it works

  1. Each incoming fragment is buffered in a Redis list
  2. After a short quiet interval, only the final fragment's run continues, so the whole turn is read once
  3. Items and quantities are matched against your menu table in Postgres
  4. The customer gets a summary and replies YES; the order is inserted once, even if they reply YES twice

Apps: WhatsApp Business Cloud · Redis · Postgres · About 30 minutes to set up

Get the template free

Enter your email and the download opens straight away: the n8n workflow file plus a setup guide.

By subscribing, you agree to receive this guide plus occasional AI Automation Blueprint educational and product emails. Unsubscribe anytime. Privacy policy.

You will also get occasional emails with more automations. Unsubscribe any time. You run the workflow in your own n8n with your own accounts; test it before relying on it.

← All free templates