Templates / Collect WhatsApp questionnaire responses in Postgres (Module "Anketa")

Collect WhatsApp questionnaire responses in Postgres (Module "Anketa")

Ready for 3.0

by Andrew ✓ · 773 views · created 2025-04-21 · Market Research

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 22 nodes and runs on WhatsApp events. Along the way it connects WhatsApp Business Cloud and Postgres.

How it runs

Trigger: On WhatsApp events.

  1. Initialization (Edit Fields (Set)): sets or maps fields
  2. Get Bot Status (Postgres): uses Postgres
  3. Define Flow (Switch): routes items into branches
  4. Starts (WhatsApp Business Cloud): uses WhatsApp Business Cloud
  5. Commands (Switch): routes items into branches
  6. Get prev Answer (Postgres): uses Postgres
  7. Upsert Bot Status on START (Postgres): uses Postgres
  8. Main Menu (WhatsApp Business Cloud): uses WhatsApp Business Cloud
  9. Starts Test (WhatsApp Business Cloud): uses WhatsApp Business Cloud
  10. Is Question found? (If): checks a condition and branches into true / false

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

Services it uses

WhatsApp Business CloudPostgres

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 (6)

From the author

Who is this for? This workflow is designed for businesses or organizations looking to collect and store user responses from questionnaires via a WhatsApp bot, with data saved in a Postgres database. What problem is this workflow solving? This workflow…

Excerpt from Andrew'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.