BlogIntegrations · November 5, 2026 · 5 min read

Contact Form 7 CRM Replays: Prevent Old Jobs from Recreating Deleted Contacts

Design CF7 replay rules that respect deleted contact decisions. Distinguish missing records from authorized recreation and test lifecycle checks before retries.

A queued Contact Form 7 handoff fails, a colleague later removes the destination contact, and an operator retries the old job. The adapter searches for the contact, finds nothing and creates it again. A technically successful replay has now reversed a deliberate lifecycle decision.

A looping path carrying an old contact card stops at a green gate beside a closed archive box.
Generated conceptual illustration; not a product screenshot or measured result.

Preventing this requires more than duplicate detection. The receiver needs an explicit rule for whether an old inquiry may create or restore a contact after removal. This guide describes a proposed integration design, not an automatic CF7 feature or a claim that every CRM exposes the same deletion controls.

Separate an inquiry from the contact lifecycle

An inquiry reference identifies the request being processed. A contact ID identifies a destination entity. A delivery-attempt ID identifies a transport operation. Retain those distinctions when a job enters a queue, so replaying an attempt does not silently become permission to recreate its former destination.

Our duplicate-submission guide explains why an email address alone cannot identify an inquiry. The same distinction matters here: a genuinely new inquiry from a returning person is a new business event, while an old job carrying an old payload is a recovery attempt.

Write a lifecycle policy with the destination owner. Specify what happens when a contact is active, archived, deliberately removed, merged or simply unresolved. A single “not found, therefore create” branch cannot distinguish those situations.

Check what deletion means in the actual product

Product terminology matters. HubSpot’s deletion guide distinguishes restorable deletion from permanent deletion and describes different effects on associated information. Its documented restorable period is up to 90 days. Those rules should not be generalized to another CRM.

The contacts API guide documents a delete operation that places contacts in the recycling bin. Review the exact API version and operation used by your adapter. A general API method name is insufficient evidence that a record was permanently erased or may safely be restored.

Salesforce’s missing-record guidance also distinguishes apparent disappearance caused by visibility or changed relationships from actual deletion. A failed lookup can require a permission or identity investigation, not a new create request.

Put a lifecycle gate before the next mutation

In a maintained receiver, resolve the inquiry identity and inspect current lifecycle evidence before choosing create, update, link, skip or review. Perform this check at execution time. A lookup result saved when the job was first queued may no longer describe the contact when the job is replayed.

Where the organization maintains a suppression marker, sometimes called a tombstone, define its scope carefully. It may record an opaque destination identity, a lifecycle version and a reason code rather than retaining the old message body. The purpose is to preserve the decision boundary, not to create an indefinite shadow copy of removed personal information.

Assign an owner to the marker’s access, retention and removal rules. Do not assume hashing an email address makes the retained record anonymous or resolves every information-handling requirement. If those decisions are unresolved, hold the replay for review rather than inventing a retention policy in connector code.

Distinguish old replay from authorized new intake

Consider a synthetic timeline: inquiry DEMO-17 is queued, its associated contact is removed, then the original delivery is replayed. The expected result can be “skipped because the destination lifecycle changed,” with the job reference and decision recorded. It should not become an unqualified success simply because a new contact was created.

A later inquiry DEMO-18 needs its own intake decision. The fact that the same address appears does not automatically authorize restoration of old profile fields, activities or preferences. Preserve the new inquiry separately while the destination owner applies the current business rules.

If a CRM merges contacts, retain the documented identity mapping rather than recreating the obsolete ID. If the API provides no reliable lifecycle feed or atomic guard, state that limitation. An occasional lookup cannot guarantee protection against every concurrent deletion or merge.

Account for replay and concurrent changes

Microsoft’s event-sourcing pattern explains how replay reconstructs state and why historical events remain meaningful after later changes. Applying an old event without its subsequent lifecycle context can produce the wrong current state. You do not need to adopt event sourcing to recognize that replay requires context.

Where supported, use destination-enforced versions or another documented atomic decision mechanism. Our version-aware update guide covers stale writes. A client-side lifecycle check followed by an unconditional create still leaves a race between the check and the write.

If a replay already recreated a contact, stop the repeated job path and review the resulting record before cleanup. Microsoft’s compensating-transaction guidance explains why undoing a distributed operation can require business-specific handling. Blindly deleting a new record could remove legitimate work added afterward.

Verify the decision branches in an isolated fixture

Use synthetic contacts in a local fixture or authorized staging account. Exercise an ordinary retry, removal before replay, merge before replay, unavailable lifecycle evidence, a concurrent change and a genuinely new inquiry. For each case, write the expected branch before running it and inspect the final destination state.

Report completed, skipped by lifecycle policy, unresolved and failed handoffs separately. A skipped replay is not necessarily a lost form submission. It can be the correct response to a later decision. Keep those operational counts distinct from browser form successes.

This site publishes CF7 Analytics and the free Svetlik Analytics for Contact Form 7. Its submission trends do not implement CRM deletion governance or replay suppression. Maintain that policy in the actual integration and verify its behavior before enabling automatic recovery. Sources were checked November 5, 2026.