Templates / Automate WhatsApp tests and rank results with PostgreSQL (Module "Quiz")

Automate WhatsApp tests and rank results with PostgreSQL (Module "Quiz")

Ready for 3.0

by Andrew ✓ · 480 views · created 2025-04-21 · HR

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.

Nodes used (8)

WhatsApp Business CloudPostgres

What it does

Who is this for? This workflow is designed for educators, HR teams, or anyone who needs to create and distribute quizzes or tests via WhatsApp and automatically store and analyze responses in a PostgreSQL database. What problem is this workflow solving? Managing tests or quizzes manually across platforms can be time-consuming and error-prone. This workflow automates the entire process — from test creation to distribution and result collection — providing an efficient way to manage assessments at scale. What this workflow does - Adds test content (including questions and answers) to a PostgreSQL database. - Allows users to take the test directly via WhatsApp. - Displays a final ranking to test takers upon completion. Setup 1. Create tables in PostgreSQL - Open the SQL script provided in the workflow. - Replace n8n with your actual database schema name. - Run the script to set up the required tables. 2. Add required credentials - WhatsApp: Set up OAuth and connect your WhatsApp account. - PostgreSQL: Add your Postgres DB credentials to n8n. How to customize this workflow to your needs - Update the test questions and answers directly in the database. - Modify the bot flow to suit your test structure or messaging preferences. - Extend the ranking logic based on specific grading criteria or scoring rules.

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.