Moderate WhatsApp groups, block link spam, and auto-welcome members with Wafly
UnknownWhat this workflow does
This workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Wafly (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Config (Edit Fields (Set)): sets 6 fields: adminPhones, allowedDomains, duplicateWindowSeconds…
- Validate and deduplicate event (Code): runs custom JavaScript code
- Process this event? (If): checks a condition and branches into true / false
- Which event is it? (Switch): routes items into 3 branches
- Approve join request (Wafly): approve participant (group)
- Welcome the new member (Wafly): send text (message)
- Detect link spam (Code): runs custom JavaScript code
- Moderate? (If): checks a condition and branches into true / false
- Record time-bounded strike (Code): runs custom JavaScript code
- Delete blocked message (Wafly): delete message
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-wafly is verified or supports 3.0 (used in Approve join request, Welcome the new member, Delete blocked message).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Switch
n8n-nodes-base.switch - Wafly
n8n-nodes-wafly.wafly
From the author
Quick overview This workflow receives WhatsApp group events via a Wafly webhook to auto-approve join requests, send welcome messages to new members, and detect and remove link spam from non-admins based on an allowed-domain list. How it works 1. Receives…