
This article helps a UK small business (or its web studio) choose and commission a CRM integration that delivers leads reliably, securely and in compliance with data‑protection obligations. It focuses on a practical first phase: a one‑way, push integration from website forms, payment gateways or marketing tools into an existing CRM.
Three quick decisions: pick the right integration pattern
- Form → email or CSV export (no integration)
Use when volume is low and manual handling is acceptable. Low technical risk but higher operational risk (lost emails, manual errors) and no automated consent metadata capture.
- Form → webhook / middleware → CRM (recommended balance)
Best when you want automated delivery without deep engineering. A small middleware (Zapier, Make, or a lightweight serverless endpoint) normalises payloads, stores consent metadata and retries on failures. This pattern balances reliability, observability and cost.
- Native plugin / direct API integration
Use when you need high volume, two‑way sync, custom mapping or near‑real‑time status updates. This requires stronger engineering effort, error‑handling and testing.
Minimal technical and privacy requirements to include in a quote
- TLS for all endpoints (HTTPS) and enforced latest‑secure TLS versions.
- Signed requests using HMAC or similar, with timestamp and nonce for replay protection; document signature verification method.
- Idempotency: receiver must detect and ignore duplicate events (idempotency keys or event IDs).
- Retries and back‑off policy with dead‑letter handling; middleware must not drop leads silently.
- Logging and audit trail: store request/response hashes and delivery status; mask personal data in logs.
- Secrets management: do not store signing secrets in source code; require environment variables or a secrets service.
- DPIA screening: flag integrations that carry anything beyond basic contact details for DPIA screening (see ICO guidance below).
Security checklist (what to demand before go‑live)
- Webhook hardening: HMAC signature, timestamp window, and strict content‑type checks (OWASP Webhook Cheat Sheet).
- Rate limiting and IP allowlists where feasible; protect consumer endpoints from amplification and flooding.
- SSRF and open redirect checks on any URL fields that might be fetched by the receiver.
- Secret rotation policy and documented emergency rotation steps.
- Least privilege for API credentials and separate accounts for staging and production.
ICO / DPIA touchpoints
The ICO requires controllers to screen new processing for high risk and to carry out a DPIA where the processing is likely to create high risk to individuals’ rights. Include a DPIA screening question in procurement when integrations will move personal data beyond basic contact details, involve profiling, or share data with new third parties. See the ICO guidance for when a DPIA is required: When do we need to do a DPIA?
Launch and acceptance tests (must pass before sign‑off)
- End‑to‑end delivery: submit a valid lead from the form and verify it appears in the CRM with full contact and consent metadata.
- Signed delivery accepted: show that the receiver accepts only correctly signed requests and rejects unsigned or incorrectly signed requests.
- Replay/tamper rejection: replay an old payload and confirm it is rejected by timestamp/nonce checks.
- Duplicate handling: send the same event twice and confirm it is processed once (idempotency).
- Consent preservation: confirm that consent text, opt‑in source and timestamp are stored with the lead.
- Failure modes: simulate CRM downtime and show middleware retries, back‑off and alerting; confirm dead‑letter storage for manual recovery.
- Security checks: run SSRF tests on URL fields and confirm no server‑side fetching occurs unless explicitly required and safe.
What to agree in writing (contract checklist)
- Scope: exact sources (forms, payment gateway notifications, marketing tool events) and target CRM objects.
- Authentication & signing method and secret distribution process.
- Delivery guarantees, retry policy and maximum data retention in middleware logs.
- DPIA responsibilities and who performs/owns any required DPIA.
- Acceptance tests (the list above) and the definition of 'go‑live'.
- Support & SLA for outages, monitoring, alerts and incident response contact details.
When this service is not a good fit
- If you require complex two‑way syncing, conflict resolution or very high volume, plan for a direct API integration rather than a lightweight webhook/middleware first phase.
- If you cannot store consent metadata or produce audit logs, do not proceed without addressing DPIA concerns and ICO obligations.
- If you lack any support for secret management or cannot rotate credentials, delay until infrastructure meets basic security controls.
Hypothetical business scenario
Small landscaping company (hypothetical): they receive 10–30 enquiries a week from a form, want leads in HubSpot with the opt‑in text and source, and need assurance no lead is lost. A webhook→serverless middleware→HubSpot flow captures the form submission, stores consent metadata, retries on HubSpot errors and exposes a simple admin page for missed leads. This keeps engineering small, preserves audit records and meets DPIA screening requirements because no profiling is performed.
If you want a one‑page commissioning brief and an acceptance‑test checklist in a format you can hand to suppliers, I can convert the above into a downloadable brief and a checklist you can paste into proposals. For help with launch readiness, see our website launch checklist: /tools/website-launch-check/.
Sources: OWASP Webhook Security Cheat Sheet (cheatsheetseries.owasp.org); ICO guidance on DPIAs (cy.ico.org.uk); GitHub best practices for webhooks (docs.github.com).

