Replace Zapier with custom code, or add error alerts?
When CRM integrations fail silently, businesses rush to replace Make or Zapier with custom code. Here is why field contracts and message queues matter more.
Your head of sales discovers that fifty high-value trade enquiries vanished somewhere between your website and your CRM over the last two months. No error emails were sent. No alerts fired. The leads simply disappeared.
Your engineering team investigates and points the finger at your middleware. They argue that platforms like Zapier or Make are fine for startups, but a serious business needs a custom-built, code-level integration. They ask for a fifteen thousand pound budget and two months to build a dedicated pipeline.
Before you sign off on a custom software project, you need to understand why the leads actually vanished.
In our experience, middleware platforms rarely drop data because they are incapable of handling the volume. They drop data because nobody told them what to do when the destination system says no. Replacing a visually mapped integration with a custom-coded integration will not fix a silent failure if the underlying data contract is still broken.
Why middleware fails silently
When a web form sends a lead to a platform like Zapier, Zapier attempts to push that data into your CRM. If the push succeeds, everything is fine. If the push fails, standard no-code setups simply log an error in a hidden menu and stop trying.
These failures happen for three mundane reasons, none of which require a custom-coded replacement.
First, there is the field contract mismatch. Your website passes a phone number with a plus sign and a country code. Your CRM expects a strict ten-digit integer. When the payload arrives, the CRM rejects it. Because the middleware has no error-handling logic configured, it abandons the payload and remains quiet.
Second, there are network timeouts. CRM APIs undergo maintenance, experience heavy load, or simply take too long to respond. Middleware platforms operate on strict timeout limits (often ten to thirty seconds). If the CRM takes thirty-one seconds to confirm receipt, the middleware terminates the connection.
Third, there are unmanaged retries. If the middleware does attempt to resend a timed-out payload, it often does so blindly. If the CRM actually processed the first request but failed to send the confirmation in time, the blind retry creates a duplicate record. Suddenly, your sales team is working the same prospect twice.
Worked scenario: tracking 5,000 webhooks through different architectures
Say your organisation processes 5,000 lead routing webhooks a month. You are currently experiencing a 5% silent failure rate (250 lost leads) and are deciding whether to rebuild the integration from scratch.
Here is how those 5,000 payloads behave across three different integration architectures (using illustrative figures to show the mechanics):
| Routing Component | Standard Zapier Setup (No Contracts) | Architected Middleware Setup | Custom Code Integration | Commercial Difference |
|---|---|---|---|---|
| Total Payload Volume | 5,000 webhooks | 5,000 webhooks | 5,000 webhooks | Baseline |
| Data Type Mismatches | 150 fail silently (API rejects strings) | 0 (Payloads validated before POST) | 0 (Strict typing enforced) | +150 leads |
| Network Timeouts | 100 payloads permanently lost | 100 caught in error handling loop | 100 queued in Dead Letter Queue | +100 leads |
| Build / Maintenance Cost | £250/mo subscription | £250/mo + 2 days architecture | £15,000 build + £500/mo hosting | £14,750 saved in year one |
| Duplicate Records Created | 50 duplicates from blind retries | 0 (Idempotency keys enforced) | 0 (Idempotency keys enforced) | Clean database |
| Total Realised Lead Volume | 4,750 leads successfully routed | 5,000 leads successfully routed | 5,000 leads successfully routed | Architected middleware matches custom code output |
The custom code integration achieves a perfect routing record. But the architected middleware setup achieves the exact same perfect record, saving you £14,750 in year one. The difference is not the platform. The difference is applying software engineering principles to the no-code tool.
Diagnostic patterns of broken integrations
When your integrations lack proper contracts and error handling, the symptoms manifest as operational chaos:
| What your systems show | What is happening technically underneath | Commercial consequence |
|---|---|---|
| Leads randomly vanish between platforms without error notifications | The destination API rejected the payload due to a field format mismatch (e.g., date formats) | Sales reps miss opportunities while marketing assumes they are being worked |
| Duplicate records appear after server maintenance | Middleware blindly retried failed payloads without using idempotency keys | Reporting inflates and reps clash over duplicate account ownership |
| High subscription tier costs for \"premium\" error handling | Business pays software vendors for standard retry loops that should be fundamental | IT budgets are wasted on simple point-to-point connections |
| Marketing attributes leads to the wrong source | UTM parameters were stripped or truncated during payload transformation | Ad budgets are shifted away from profitable campaigns |
Applying software principles to middleware
You can make Zapier, Make, or any other integration platform bulletproof by treating it like real software. You just have to build three missing components into your workflows.
First, establish strict field contracts. Before the middleware attempts to push data to the CRM, add a validation step. If the CRM expects a date in YYYY-MM-DD format, format it explicitly. If the CRM rejects text in a numeric field, strip the text out. Validating the data before sending it eliminates the majority of silent failures.
Second, implement a Dead Letter Queue (DLQ). When a payload fails to reach the CRM after a set number of retries, do not let the system drop it. Route the failed payload into a secure spreadsheet, a secondary database, or a dedicated Slack channel. This ensures that even if the connection fails, the commercial data is preserved, and a human can manually process the high-value lead.
Finally, enforce API idempotency. Every incoming lead should have a unique submission ID generated at the source. When pushing to the CRM, pass this ID as the idempotency key. If a network timeout causes the middleware to retry the push, the CRM will recognise the key, acknowledge the request, and refuse to create a duplicate record.
When you add validation, queues, and idempotency to your existing middleware, it becomes robust enough to handle enterprise volume. You do not need a fifteen thousand pound custom build. You just need to stop trusting the default settings.
Frequently asked questions
When is custom code actually required instead of middleware?
Custom code becomes necessary when you are dealing with massive, continuous data streams (hundreds of payloads per second), complex bidirectional syncing that requires holding state, or strict compliance requirements that forbid third-party processors from handling sensitive customer data. For simple point-to-point lead routing, middleware is usually sufficient if configured correctly.
What is a Dead Letter Queue and how do we build one in Zapier?
A Dead Letter Queue is a holding area for data that cannot be processed. In tools like Zapier or Make, you build this by adding an error-handling path to your final API step. If the step throws an error, the workflow diverges and writes the raw payload to a secure Google Sheet or sends it to an operational alert channel, preserving the data for manual review.
Why do dates and phone numbers cause the most silent failures?
Different systems expect different formats. A web form might submit 03/11/2026, while a CRM strictly requires ISO 8601 format (2026-11-03T00:00:00Z). Similarly, CRMs often reject phone numbers containing spaces, brackets, or missing country codes. If the middleware does not normalise these fields before pushing them, the CRM rejects the entire record.
How does idempotency stop duplicate records?
Idempotency ensures that an operation produces the exact same result whether it is executed once or multiple times. By assigning a unique ID to every form submission, the CRM can check if it has already processed that specific ID. If a timeout causes the middleware to send the same lead twice, the CRM safely ignores the second attempt.
Can we test error handling without breaking live lead flows?
Yes. You should build a dedicated staging workflow that mirrors your production setup. You can then intentionally send malformed data (like text in a number field) or simulate a timeout to verify that your Dead Letter Queue catches the failure and fires the appropriate alerts before deploying the logic to your live environment.