DMDina Malyniuk
RUUKEN
Discuss a project ↗

How should a bot behave when an external service fails?

An integration failure should not create a false confirmation. People need to know what was saved locally, what awaits delivery and which action is safe to repeat.

A working example

An order is stored, but delivery to another service fails. Saying Order not created may lead the customer to place it twice. Saving an order and transmitting it are separate states.

This is a fictional example explaining a rule, not actual customer data.

What to check and discuss with your developer

  • Separate local persistence from external delivery.
  • Provide safe retries without duplicate records.
  • Limit retry frequency and attempts.
  • Show unfinished operations to the responsible person.

You do not need to write code yourself. Tell your developer what result you need and ask them to show you an example.

How to check the result

Disable and restore the integration in a test environment. The record should neither disappear nor become two orders.

A product from my portfolio

MyKondi ↗
Explore projects ↗

Let’s discuss your workflow

Tell me how your business works and what you want to simplify. We’ll discuss a focused first release.

Message Dina on Telegram ↗