On this page
What this issue is
A webhook is an automatic message your form or site sends to another service (Zapier, Make, n8n, a CRM or your own server) when someone submits a lead. Retries mean the sender tries again if the first attempt fails.
Many form plugins, themes and custom scripts send the webhook once, in the same request that handles the submission. If that one call hits a transient error (a short-lived problem such as a timeout, a 502/503 response or a dropped connection), the data is never delivered. The visitor often still sees a success message, and the lead exists nowhere you will look.
- Visitor submits formThank-you message shown
- Webhook fired onceReceiver returns 503 or times out
- No retrySender gives up
- CRM and inboxLead never arrives
The form fires the webhook once. A brief 503 means the lead never reaches the CRM and is not stored anywhere else.
Why it costs you leads or sales
Outages at automation tools and CRMs are usually short, but a one-shot webhook turns every short blip into a permanent loss. You cannot follow up with someone you never heard about, and the person who asked for a quote usually contacts a competitor within hours.
It is also hard to notice. The form works, the visitor sees success, ad platforms record a conversion, and only the back office is missing the lead. Losses are spread out and look like normal variation.
Example: 20 leads submit during a short outage. Without retries all are lost; with retries most arrive once the receiver recovers.
How to check if your site has it
- Your form plugin or script has no retry, queue or failed-delivery setting for webhooks
- Compare form submission counts with CRM lead counts for the same days; the CRM is consistently lower
- Your sending logs show a
5xx, timeout or connection error with no second attempt to the same URL - Nothing is stored on your site when the webhook fails (no entries list, no log)
- Nobody is alerted when a delivery fails
The quickest test is to point the webhook temporarily at a URL that returns an error, such as a request-catcher you control that responds 503, submit a test lead and watch the logs. If you see one attempt and no retries, you have the issue.
How to fix it
Store every submission first
Save the lead in your site database or form entries list before calling the webhook. This is your safety net and the source for any replay.
Retry on temporary failures only
Retry on timeouts, connection errors,
429and5xx. Do not retry on most4xxerrors, which mean the request itself is wrong and need a human fix.Use exponential backoff
Wait longer between attempts (for example 1 minute, 5 minutes, 30 minutes, 2 hours) so you do not hammer a service that is recovering.
Make the receiver safe to repeat
Send a unique submission ID so the receiver can ignore a duplicate if a retry arrives after a slow success.
Alert when retries run out
After the last attempt, keep the lead flagged as failed and send an email or Slack message to a human.
Check your form plugin
Look in the plugin's webhook or integration settings and its logs for a retry or resend option. If it has none, keep entries saved in the plugin and use an action scheduler or queue add-on if your plugin supports one.
Or use wp_remote_post with a scheduled retry
For custom code, schedule a retry with WP-Cron (see the code example below) when the response is an error.
Prefer Shopify's own webhooks
Shopify retries its own webhook deliveries to your endpoint when it does not get a success response. Make sure your endpoint answers quickly with a
200.For app or form webhooks
Check the form app's settings for a failed-delivery or resend option, and keep submissions stored in the app.
Do not rely on a tag for lead delivery
A GTM tag sending lead data is a browser call with no retry and can be blocked by the visitor. Send leads from the server or form backend instead.
Keep submissions in Webflow
Webflow stores form submissions in the site's Forms area. Treat that as your source of truth and replay missing leads from there.
Route through an automation tool
If you forward to Zapier, Make or n8n, enable the tool's error handling and replay features for failed runs where your plan offers them.
Check workflow execution logs
If a workflow's webhook action fails, review the execution log and rerun failed contacts. Add a notification step to alert your team on failure where available.
Keep the submissions inbox
Wix stores form submissions in your dashboard. If you send them on through Wix automations or Velo code, add your own retry in the Velo backend (see the code example).
Rely on stored submissions
Squarespace has no built-in webhook retry control for forms. Keep form storage or email notifications on, and use a connected automation tool with its own replay for failures.
Add a queue and retry worker
Write the lead to a database table with a status column, then have a job retry pending rows with backoff. See the code example below.
async function sendWebhook(url, payload, maxAttempts = 5) {
const delays = [1000, 5000, 30000, 120000];
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
try {
const res = await fetch(url, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload),
signal: AbortSignal.timeout(10000)
});
if (res.ok) return true;
// 4xx (except 429) means the request is wrong: do not retry
if (res.status < 500 && res.status !== 429) return false;
} catch (err) {
// timeout or network error: fall through and retry
}
if (attempt < maxAttempts) {
await new Promise(r => setTimeout(r, delays[attempt - 1] || 120000));
}
}
return false; // mark lead as failed and alert a human
}function send_lead_webhook( $payload, $attempt = 1 ) {
$res = wp_remote_post( 'https://example.com/hook', array(
'timeout' => 10,
'headers' => array( 'Content-Type' => 'application/json' ),
'body' => wp_json_encode( $payload ),
) );
$code = is_wp_error( $res ) ? 0 : wp_remote_retrieve_response_code( $res );
if ( $code >= 200 && $code < 300 ) {
return;
}
if ( $attempt < 5 && ( $code === 0 || $code === 429 || $code >= 500 ) ) {
$delay = 60 * pow( 3, $attempt ); // 3, 9, 27, 81 minutes
wp_schedule_single_event( time() + $delay, 'retry_lead_webhook', array( $payload, $attempt + 1 ) );
} else {
wp_mail( get_option( 'admin_email' ), 'Lead webhook failed', wp_json_encode( $payload ) );
}
}
add_action( 'retry_lead_webhook', 'send_lead_webhook', 10, 2 );One-shot webhook
- Single attempt during form submit
- Any 5xx or timeout loses the lead
- No stored copy, no alert
Stored, retried, alerted
- Lead saved before sending
- Retries with backoff on temporary errors
- Human alerted if all attempts fail
How to confirm it's fixed
Break the receiver on purpose
On staging, point the webhook at an endpoint that returns
503, or turn the receiving zap, scenario or workflow off briefly.Submit a marked test lead
Use an obvious test name and email.
Check the lead is stored and retrying
You should see the saved entry and scheduled retry attempts in your logs.
Restore the receiver
The next retry should deliver the lead once, with no duplicate in the CRM.
Test the alert
Leave the receiver broken until attempts run out and confirm a human gets notified.
How to prevent it happening again
- Store every submission before any webhook is sent
- Retry temporary errors with backoff and a sensible cap
- Include a unique submission ID and dedupe on the receiver
- Alert a named person when a lead fails permanently
- Reconcile form entries against CRM leads weekly
- Re-test after plugin, theme or automation changes
10:02
Example: visitor submits the form and sees a thank-you message
10:02
Webhook call gets a 503 from the receiver
10:02
No retry is scheduled and nothing is stored
10:09
Receiver recovers; the lead is not replayed
Next week
Counts do not match and nobody knows why
How FunnelGuard handles this
FunnelGuard does not check this yet. Whether a webhook has a retry policy is a possible future check, but today it is not something FunnelGuard tests.
What FunnelGuard does do nearby: a robot visitor runs your real lead journey on a schedule, submits a marked test lead, and checks whether it reaches your inbox and CRM. If a test lead does not arrive, for example because of an outage at that moment, a failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause. That shows delivery problems on the paths it tests, but it does not tell you whether your webhook would retry.
To watch for this yourself, compare form entries with CRM leads every week, read the failed-delivery logs of your form plugin or automation tool, and run the staging test in this guide after any change. The Free plan (1 site, 2 journeys, daily checks, no card) is enough to monitor one lead journey end to end.
Questions people ask
Why did my webhook lead never reach my CRM?
Often the webhook was sent once and the receiver was briefly down, slow or returned a 5xx error. With no retry and no stored copy, the lead is lost. Check your form entries, the sender's delivery log and the receiver's run history for the same time.
Do webhooks retry automatically?
It depends on the sender. Some platforms, such as Shopify for its own webhooks, retry failed deliveries. Many form plugins and custom scripts send once and never retry, so check the documentation or test with an endpoint that returns an error.
How do I add retries to a form webhook?
Save each submission first, then send the webhook from a queue or scheduled job. Retry on timeouts, 429 and 5xx responses with increasing delays, and alert someone when the final attempt fails.
Which webhook errors should be retried?
Retry temporary problems: timeouts, connection errors, 429 rate limits and 5xx server errors. Do not keep retrying most 4xx errors, because the request is wrong and will keep failing until someone fixes it.
Can retries create duplicate leads?
Yes, if a slow request succeeded but the sender did not see the answer. Send a unique submission ID with each lead and have the receiver ignore IDs it has already processed.
How can I recover leads lost to a failed webhook?
Look in your form plugin's stored entries, your site's email notifications or the platform's submissions area, and compare them with the CRM. Resend any missing ones manually or with a replay feature in your automation tool.
Does FunnelGuard detect missing webhook retries?
No, not yet. It is a possible future check. FunnelGuard does run test leads through your real form journey and checks whether they reach your inbox and CRM, which can reveal delivery failures on the tested path.
Related issues
- DLV-111Webhook endpoint returns 4xx/5xx, lead droppedFix guide
- DLV-123Webhook timeouts make the form show an error to the visitorFix guide
- DLV-125Duplicate webhook delivery creates duplicate recordsFix guide
- DLV-112Zapier zap turned off after repeated errorsFix guide
- DLV-114Make scenario deactivated after an error or out of operationsFix guide
- DLV-115n8n workflow inactive or self-hosted server downFix guide