Jamil Fayad

Engineering guide · By Jamil Fayad ·

What should a booking workflow do when the CRM returns an error?

Every connected system fails sometimes. The risk is not the error itself. It is a workflow that retries forever, loses the request, or tells the customer a booking exists when it does not.

This guide describes a test for that situation and shows one recorded local result. The result comes from my booking-enquiry demo with a mock CRM, not from a client project or an n8n-to-CRM deployment.

Five steps to test a failing destination

  1. Decide the retry limit before the test

    Agree how many attempts the workflow makes and what happens after the last one. An unbounded retry can hammer a struggling system or send the same action many times.

  2. Make the destination fail on purpose

    In an isolated test environment, make the CRM or booking system return an error, a timeout or an unclear answer. Use fictional requests only, never live customer records.

  3. Check where the failed request ends up

    After the last attempt the request should sit somewhere a person can find it, such as a review queue. It should not vanish and it should not be marked as done.

  4. Confirm that nobody was told it worked

    Check the messages that were sent. No booking confirmation should go out for a request the destination never accepted.

  5. Decide how a reviewer retries safely

    An unclear answer may mean the CRM did receive the request. Before a manual retry, the reviewer needs a way to check, and the retry should use the same request ID so it cannot create a duplicate.

What my local test recorded

The demo used fictional data, a mock CRM and an in-memory review queue. I made the mock CRM answer with an error and looked at what happened to the request.

CRM returned HTTP 503
2 attempts, then the request was held in the local review queue. No booking record was created for that request.
See all three recorded test results →

What this result does not prove

  • It was not an n8n workflow and not a real CRM. Your own tools, error codes and timeouts may behave differently.
  • It tested one error response. Timeouts and unclear answers, where the CRM may have received the request anyway, need their own tests.
  • The review queue was in memory. Whether queued requests survive a restart must be tested in your own setup.
  • It is a local test, not evidence of a client deployment, savings or uptime.

This is check five of six in the n8n workflow review checklist. A safe manual retry depends on the repeated-request test passing first.

Need failure handling checked on your own workflow?

Share a short summary of the process and what should happen when a system is down, without credentials or customer records. We can agree a paid scope and acceptance checks before any implementation.

Workflow automation services →Discuss one workflow