Workflow automation · n8n and APIs
Enquiry intake without duplicate records
When a form sends the same enquiry twice, the team sees one record. Flow Desk returns its reference number or tells the sender which details need checking.
Solution at a glance
- For whom
- Teams receiving enquiries through forms and APIs.
- How it works
- Validate four enquiry fields. The event key is sent separately.
- What you receive
- An exact resubmission returned the same record, including after the API recovered. The workflow passed 13 checks in local n8n. The returned ID lets the sender confirm the enquiry was received.

Challenge
After a form is resubmitted, a team needs to distinguish an exact repeat from a changed request and see which errors need attention.
Treat a repeated submission as an ordinary event
A person does not always know whether a form arrived. They press the button again, refresh the page or retry after a connection problem. The receiving team needs to distinguish a new enquiry from a repeat of an existing record. Flow Desk associates the event with a separate key. Four enquiry fields are validated while the event key is supplied separately. This keeps the content of an enquiry distinct from the identity of its submission.
An exact repeat should return the original record rather than create another task for a manager. The same key with changed information is a different situation: it cannot silently be treated as the original request. The implemented API returns HTTP 409 for that conflict. Invalid fields with a valid key produce HTTP 422 and a record for review. The submitting side receives distinguishable outcomes instead of one message that hides why processing stopped.
n8n connects the form submission to the receiving API. The value is not the number of steps in the diagram but the agreed behaviour of the components. The sender needs to know whether the enquiry was accepted; the team needs to find records requiring attention. A returned record identifier connects the response to the saved result. Connecting another system requires agreement on authorization, field structure and the responses it can provide.
Thirteen scenarios were checked in local n8n. An exact repeat returned the same record, including after the API was restored. That result applies to the tested route and conditions. It gives the next integration a concrete starting point: the behaviour to preserve when replacing a form or receiving system is explicit. Production monitoring, load and operational notifications are defined for the actual process rather than inferred from a successful local run.
Solution
- n8n checks four fields. An event key identifies repeat submissions.
- An exact repeat returns the original record. The receiving API returns HTTP 409 if the payload changes under the same key.
- Invalid fields with a valid key return HTTP 422. The record goes to a quarantine queue for review.
Outcome
An exact resubmission returned the same record, including after the API recovered. The workflow passed 13 checks in local n8n. The returned ID lets the sender confirm the enquiry was received.
Starting with your working situation
The first conversation is about a specific task. It helps to see how you handle it today, who will accept the result and where the difficulties arise. We discuss the available material, access restrictions and any fixed deadlines. You can remove or anonymize information that is not needed to estimate the work. We then define the first delivery: the documents, files or functions you need and the checks you will use to accept them.
The agreement covers both the result and the responsibilities around it. We identify who supplies material, answers questions and approves the work. If the task changes after work begins, we assess the effect on scope and timing separately. This preserves useful decisions already made and keeps new requests from silently replacing the agreed result. For a small team, clarity matters because the owner’s time should go into decisions rather than reconstructing old conversations.
At handover, we discuss the structure of the material, required access and future updates. The proposal states the rights and editable source files included before work begins. Support, additional integrations and later versions can be agreed when needed. You can start with a bounded stage and expand it once the result has been checked. To open the conversation on WhatsApp, name the task and the material already available. That is enough to identify the next useful step.
Questions and answers
What is needed to begin?
The form, four agreed fields and receiving API documentation. The event key, authorization and error handling are agreed before connecting a working environment.
What happens if our form retries after an API outage?
The workflow checks the event key and the four submitted fields. In 13 local n8n checks, an exact repeat returned the original record ID, including after the API recovered.
Let’s discuss your project
Message on WhatsApp ↗

