Block 1 - Execute a SQL query
- Type / Role
- n8n-nodes-base.postgres - postgres
- Config choices
- Version 2.6
This workflow is provided as-is. Please review and test before using in production.
n8n Workflow: WhatsApp Lead Nurturing (MQL) Purpose This workflow fetches unqualified leads from Postgres at defined retry intervals, sends personalized WhatsApp template messages via Gallabox A...
n8n-nodes-base.postgres, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahi Uppal.
Original n8n.io sourceThis workflow fetches unqualified leads from Postgres at defined retry intervals, sends personalized WhatsApp template messages via Gallabox API, and logs message activity while updating lead status in the database.
Schedule Trigger
n8n-nodes-base.scheduleTriggerExecute a SQL query
n8n-nodes-base.postgresmql_contacts that:count = 0, 1, 2, or 3.count=1 → after 3 minutes count=2 → after 5 minutes count=3 → after 8 minutesdisposition = unqualified.Loop Over Items4
n8n-nodes-base.splitInBatchesCode1
n8n-nodes-base.codenexus, magnus, reo, general).new_lead_4
n8n-nodes-base.httpRequestInsert rows in a table4
n8n-nodes-base.postgresmql_logs.Update rows in a table4
n8n-nodes-base.postgresmql_contacts:Sticky Notes
mql_logs mql_contacts This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated WhatsApp lead nurturing with personalized messages via Postgres & Gallabox |
|---|---|
| Complexity | intermediate |
| Nodes | 11 |
| Categories | Lead Nurturing, Multimodal AI |
| Author | Rahi Uppal |
| Published | 21 Aug 2025 |
Use the JSON export at /data/workflows/7712/7712.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
n8n Workflow: WhatsApp Lead Nurturing (MQL) Purpose This workflow fetches unqualified leads from Postgres at defined retry intervals, sends personalized WhatsApp template messages via Gallabox A...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, Multimodal AI use case.