To send a template to a list from n8n without errors 130429 and 131056, remove repeated phone numbers first. Then pace the HTTP Request node with its Batching option, below Meta’s 80 messages per second per number. Retry only the error codes that clear with time. Store the messages[0].id of every send, and let a separate WhatsApp Trigger workflow mark each row delivered or failed. The send response only tells you Meta accepted the request.
Why a list send fails in n8n
n8n runs a node once for every item it receives. Its docs say “By default, n8n nodes are designed to process a list of input items” (n8n Loop Over Items, accessed 2026-11-16). An HTTP Request node fed 5,000 rows makes 5,000 calls to /messages, and the Batching option exists to put time between them.
Meta sets two limits that such a run hits. Each number sends “up to 80 messages per second (mps) by default”, inbound included, and returns 130429 above that (Meta throughput, accessed 2026-11-16). Each recipient can get “1 message every 6 seconds” from one number, and going over returns 131056 (Meta platform overview, accessed 2026-11-16). Cloud API rate limits covers both.
Branch on Meta’s code, not on HTTP 429. n8n says that when a node hits a rate limit “it errors”, with the message “The service is receiving too many requests from you” on a 429 (n8n handle rate limits, accessed 2026-11-16). Meta’s error reference gives no HTTP status for its codes (Meta error codes, accessed 2026-11-16). Read error.code in the response body instead.
Pacing has no effect on the portfolio’s messaging limit, which caps unique recipients outside a service window per 24 hours. Read it before a large send.
Remove repeated numbers before the first request
A phone number that appears twice gets two messages and can trip the pair rate. Normalize every number to one format first, as E.164 normalization shows, so two spellings of the same number match. Then add a Remove Duplicates node ahead of the send (n8n Remove Duplicates, accessed 2026-11-16).
- Set the operation to Remove Items Repeated Within Current Input.
- Set Compare to Selected Fields.
- Name the field that holds the normalized phone number.
Pace with the HTTP Request node’s Batching option
Batching lives inside the HTTP Request node, so the send needs no extra nodes. n8n documents two settings (n8n HTTP Request node, accessed 2026-11-16). Items per Batch: “Enter the number of input items to include in each batch.” Batch Interval: “Enter the time to wait between each batch of requests in milliseconds.” n8n’s rate-limits page labels the second one Batch Interval (ms). Use the label your editor shows. Send WhatsApp templates from n8n shows the template body for the HTTP Request node.
Pick a rate below 80 that leaves room for replies. Fifty items per batch with a 1,000 ms interval keeps the node at about 50 requests per second or less. That leaves about 30 mps of the number’s budget for inbound messages. That is arithmetic on Meta’s figures; Meta only sets the 80.
Numbers that also run the WhatsApp Business app have “a fixed throughput of 20 mps” (throughput page). For those, scale down to something like 10 items per 1,000 ms.
Batching paces calls to the number, not to each recipient. After deduplication every recipient appears once in the run. The pair rate can still bite on a retry, or when another workflow messages the same person within seconds.
Use Loop Over Items and Wait when each batch needs its own logic
Loop Over Items with a Wait node gives the same pacing plus a place to act between batches. Use it to write each batch’s results to a database, or to check a stop flag before the next batch. n8n’s rate-limits page describes the layout: Loop Over Items before the API node, the Wait node after it, connected back to the loop.
- Add Loop Over Items and set Batch Size, for example 50.
- Connect its loop output to the HTTP Request node that calls
/messages. - Add a Wait node after it, resume After Time Interval, and set Wait Amount and Wait Unit to 1 second.
- Connect the Wait node back to Loop Over Items.
- Connect the done output to whatever runs after the last batch.
Short waits stay in memory. n8n says “For wait times less than 65 seconds, the workflow doesn’t offload execution data to the database” (n8n Wait, accessed 2026-11-16).
Retry only the codes that clear with time
Retry On Fail is too blunt for WhatsApp sends. The setting means “When an execution fails, the node reruns until it succeeds” (n8n node settings, accessed 2026-11-16). n8n’s node settings page lists no way to limit it to certain error codes, so a 131050 opt-out gets retried like a 130429.
It also has hard caps. “Max Tries is limited to five”, Wait Between Tries (ms) stops at 5000, and the node doesn’t honor a Retry-After header (n8n handle rate limits). Meta’s schedule for 131056 is “retry after 4^X seconds”, which means waits of 1, 4, 16 and 64 seconds. A 5-second cap covers only the first two.
Retries can also send twice. n8n’s page on its own REST API says Retry On Fail “runs the node again for every item”. It adds that “A retried POST can create a duplicate if the first request already succeeded” (n8n public API rate limits, accessed 2026-11-16). That page is about n8n’s API, not WhatsApp. Our inference: a rerun send node can message recipients who already got the template. Meta documents no idempotency key for /messages, as an outbound send queue explains.
Turn Retry On Fail off and route errors yourself. In the HTTP Request node, turn on Never Error and Include Response Headers and Status. By default the node “returns success only when the response returns with a 2xx code”. With both options on, failed calls come out as items with their status code and body. An If or Switch node can then branch on Meta’s error.code. Check the output panel for the exact field path in your n8n version.
The alternative is On Error set to Continue (using error output), described as “passing error information to the next node for potential handling”. n8n doesn’t document whether each failing item takes the error branch on its own. Test it with a list of three where one number is invalid before you rely on it.
| Code | Route |
|---|---|
| 130429 | Wait a few seconds, then back to the send |
| 131057 | Wait up to a minute; the throughput upgrade takes up to 1 minute |
| 131056 | Wait 4^X seconds for that recipient only |
| 131049 | Record it, no resend for 24 hours, per error 131049 |
| 131026, 131050, 130472, 132015 | Record it, don’t retry, see the error codes reference |
For failures that stop the whole run, set an error workflow in Workflow Settings. n8n says “It runs if an execution fails” and “The error workflow must start with the Error Trigger” (n8n error handling, accessed 2026-11-16).
Record the wamid for every row
The send response is the only link between a list row and its later statuses. From each successful response, store messages[0].id, the wamid. For templates, also store messages[0].message_status. Meta returns it only on template sends, as accepted or held_for_quality_assessment (Meta send messages, accessed 2026-11-16). A held message is paced, and template quality, paused and disabled covers what happens next.
A table like this one, in PostgreSQL, holds one row per recipient and campaign:
CREATE TABLE campaign_sends (
campaign_id text NOT NULL,
phone text NOT NULL,
wamid text UNIQUE,
message_status text,
error_code integer,
sent_at timestamptz,
PRIMARY KEY (campaign_id, phone)
);
Load the list into the table before the first send, one row per phone, from a Postgres node:
INSERT INTO campaign_sends (campaign_id, phone)
VALUES ($1, $2)
ON CONFLICT (campaign_id, phone) DO NOTHING;
After each send, run this in a Postgres node with operation Execute Query. Pass the wamid, the message status, the error code, the campaign ID and the phone as the five query parameters.
UPDATE campaign_sends
SET wamid = $1, message_status = $2, error_code = $3, sent_at = now()
WHERE campaign_id = $4 AND phone = $5;
If a run stops halfway, restart it on the rows that never got a wamid and either got no error or got one that clears with time:
SELECT phone
FROM campaign_sends
WHERE campaign_id = 'CAMPAIGN_ID'
AND wamid IS NULL
AND (error_code IS NULL OR error_code IN (130429, 131056, 131057));
A row with no wamid after a timeout may still have been accepted by Meta. Check your status log for that recipient_id before you resend it.
This beats Remove Duplicates with Remove Items Processed in Previous Executions for resuming. Our reading of its docs is that the node marks an item as seen when it passes, before the send. A failed send would then stay marked, and the next run would skip it.
Let a status workflow decide success
Status webhooks decide whether a message was delivered or failed. Meta’s errors are “returned either synchronously as a Graph API response, asynchronously via Webhook,” “or sometimes through both methods” (error codes page). A 131049 or a 130472 arrives as a failed status webhook, after the send node has already reported success.
- Create a second workflow that starts with the WhatsApp Trigger node, with Trigger On set to Messages.
- Under Options, add Receive Message Status Updates and choose Delivered, Read and Failed.
- Add a Postgres node that runs the rank-based upsert from message status webhooks, keyed on the wamid.
- Join that table to
campaign_sendsonwamidfor the campaign report.
Include Read in the filter. Meta skips the delivered webhook when a message is read on arrival, so a filter without Read never marks those messages as delivered.
Receive Message Status Updates comes from the node’s source code; n8n’s docs page doesn’t list it (n8n WhatsAppTrigger.node.ts, accessed 2026-11-16). Its values are All, Deleted, Delivered, Failed, Read and Sent, with All as the default. If no status in a webhook matches the filter, the workflow doesn’t run. The list lacks played, which Meta’s status reference includes, and has deleted, which Meta’s current reference doesn’t list.
n8n warns that “WhatsApp only allows you to register a single webhook per app” (n8n WhatsApp Trigger, accessed 2026-11-16). If another tool already receives that app’s webhooks, the two compete for one callback URL. The same page warns against a DELETE request to subscribed_apps to clear the “already has a webhook subscription” error. WhatsApp Trigger setup covers the rest.
A list send multiplies status traffic by up to three webhooks per message. When n8n receives them, queue mode with webhook processors keeps the trigger from falling behind, and duplicate webhooks in n8n handles Meta’s retries.
Z-API Omni team