Templates / Filter WhatsApp messages using a Google Sheets blacklist and rate limiting

Filter WhatsApp messages using a Google Sheets blacklist and rate limiting

Ready for 3.0

by Luis R. ✓ · 33 views · created 2026-06-03 · Ticket Management

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 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set — Mock WhatsApp Input (Edit Fields (Set)): sets 2 fields: phoneNumber, message
  2. Google Sheets: uses Google Sheets
  3. Code: runs custom JavaScript code
  4. Code: runs custom JavaScript code
  5. Merge: merges the data from its input branches
  6. Code: runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Set — Max messages per minute (Edit Fields (Set)): sets 1 field: limitThreshold
  9. Code: runs custom JavaScript code
  10. Code: runs custom JavaScript code

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

Services it uses

Google Sheets

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

Quick overview This workflow validates an incoming WhatsApp-style message by normalizing the sender phone number, checking it against a Google Sheets blacklist, and applying a per-minute rate limit before passing approved messages onward. How it works 1. Runs…

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