Templates / Manage coupon campaigns and customer chats with WhatsApp and PostgreSQL

Manage coupon campaigns and customer chats with WhatsApp and PostgreSQL

Ready for 3.0

by Mira Melhem ✓ · 25 views · created 2026-02-15 · CRM, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 116 nodes and runs when an HTTP GET request hits its webhook URL (plus 11 other triggers). Along the way it connects Postgres.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 11 other triggers).

  1. Respond with Dashboard HTML (Respond to Webhook): sends the response back to the webhook caller
  2. Postgres: run a query
  3. Get Stats Query (Postgres): run a query
  4. Switch Company Method (If): checks a condition and branches into true / false
  5. Switch Coupon Method (If): checks a condition and branches into true / false
  6. Get Messages (Postgres): run a query
  7. Switch Settings Method (If): checks a condition and branches into true / false
  8. Get Chat History (Postgres): run a query
  9. Repair Tables Schema (Postgres): run a query
  10. Get Customers (Postgres): run a query

…plus 94 more steps. See the full node list below.

Services it uses

Postgres

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Coupon Bot Dashboard & WhatsApp Management System A complete bilingual admin dashboard and WhatsApp bot solution for managing discount coupons, partner companies, and customer conversations through an intuitive web interface and automated chatbot. What does…

Excerpt from Mira Melhem's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.