n8n work sample

One request when a form retries

A website support form can resend a request after a timeout. I built a workflow that saves the request and queues an internal notification together. Every retry carries the original request ID.

What the tests showed

Six test cases covered a first submission, retry, changed details, outage, recovery and deliveries at the same time. The run ended with three unique requests and three matching queued notifications.

New request and identical retryOne request saved

The first submission of sample-01 returned 201. Resending the same ID and details returned 200 and kept the original request and notification.

Same ID with changed detailsOriginal retained

Changing the description while keeping sample-01 returned 409. The original description and notification stayed intact.

Temporary write failureRecovered on retry

With the receiver offline, sample-02 returned 503 and neither record was created. A resend after recovery returned 201, and repeating it returned 200.

Six deliveries at the same timeOne request saved

Six identical deliveries of sample-03 produced one 201 and five 200 responses. The request log and notification queue each held one row for this ID.

I tested the workflow locally with fictional requests. The demo stores a notification for delivery and exports the queue as CSV.

Try the workflow locally

The download includes the importable n8n workflow, its local receiver and instructions for repeating the tests.