Home / Blog / Dev notes

5 things to decide before building a work automation bot

Dev notesSOL LABS AI5 min read

If every morning you open a few websites to copy down prices, or re-enter incoming orders into another program, you've probably thought about a work automation bot. It's a program that does a person's repetitive work for them at a set time.

SOL LABS AI is a team that has built and run crawling and automation bots ourselves. What we found is that getting a bot to run well the first time is quick. What took longer was preventing the "one day it had quietly stopped" problem. So here, in order, are five things worth deciding before you hand off development or build one yourself.

In one line. Who finds out when it fails → how many times and at what interval it retries → what it records → how it avoids doing the same job twice → where a person checks. Once these are settled, the quote and the way it's operated become clear.

1. Failure alerts: don't let it stop silently

The most common problem with automation bots isn't the error itself — it's that "nobody knew." When the target site's layout changes, a login expires or a server goes down for a moment, the bot simply stops. The person in charge only finds out days later when they see the data is empty.

So decide on alerts from the start.

  • An immediate alert on failure (by email or messenger — wherever the person in charge actually looks)
  • A once-a-day summary alert even on success: "processed N items today"
  • A separate alert when the processed count is noticeably lower than usual (the case where it returns empty results without an error)

The third one is especially important. When a layout changes, you often get zero results with no error at all.

2. Retries: don't call again right away

Brief network drops or server overload usually clear up if you try again a few seconds later. But repeating the same request rapidly right after a failure puts more strain on the other server and can get you rate-limited.

Google Cloud's retry guide advises retrying only transient problems (request timeouts, 429 meaning too many requests, and server-side 5xx errors), and not retrying errors that will fail the same way every time — like permission or configuration errors — until the cause is fixed. It also recommends "exponential backoff with jitter": gradually increasing the wait time while mixing in a little randomness.

What to decideExample rule
Errors to retryTimeout · 429 · 5xx
Errors not to retryLogin failure · No permission · Bad request
Wait intervalIncrease gradually and add a little randomness
When to give upSet a max number of attempts or max time, then alert

If you use an external service's API, also check the call limits that service sets. For example, the Cafe24 API documentation has a separate guide on rate limits and what to do when you exceed them. A bot's pace should follow the other service's rules, not your own server's.

Want to check this against your own data?AI Readiness Assessment · we review your material and map candidates and orderContact us

3. Logging: leave a trail so you can find the cause later

If alerts tell you "it stopped," logs tell you "why it stopped." Without logs, all you can do is run it again and see.

At minimum, we record when it started and finished, how many items it processed, which items failed and with what error, and which retry attempt it was. Values like personal information or passwords are masked from the start so they never end up in the logs as-is.

4. Duplicate-run prevention: don't do the same job twice

Adding retries creates a new problem. Sometimes the work actually finished, but the response came back late, so the bot judges it a failure and does it once more. That's fine for a bot that only collects data, but for a bot that registers or sends something, the same item goes in twice.

The Google Cloud guide also says to retry only operations that give the same result no matter how many times they're sent (idempotent operations). So we first check "has this already been processed?" using a value unique to each item, like an order number or post URL, and we keep a "running" flag so the same bot doesn't start twice at once.

5. Human checkpoints: where to add AI and where not to

These days many bots have AI features attached. AI is good at sorting collected posts by topic, summarizing long content into three lines, or classifying inquiries by type. Even when it's wrong, a person can review and fix it, so these are good places to add it.

On the other hand, for anything involving money (payments, refunds, settlements) or anything going outside (emails or texts to customers, external posts), it's safer not to execute AI-generated results directly. For those steps, set a checkpoint: "automatic up to the draft, human approval to execute."

TaskAI automatic processingHuman check
Sorting · summarizing collected postsSuitableOccasional spot checks
Classifying inquiry typesSuitableOnly unclear cases
Customer-facing message textUp to draftApproval before sending
Payments · refunds · settlementsNot usedAlways

Summary: fill in this list before asking for a quote

If all you say when commissioning an automation bot is "please pull this from this site," extra work comes up every time it stops during operation. If you put the five points above on one page and share it along with the request, you can get a design and quote that account for operation from the start.

  • Who receives failure and anomaly alerts, and through which channel
  • Which errors to retry and when to give up
  • What to log and what to mask
  • The key value used to prevent duplicates
  • Which steps get AI and which steps need human approval

References

  • Google Cloud, Cloud Storage Retry strategy — errors to retry · exponential backoff and jitter · idempotency (checked 2026-11-10): https://docs.cloud.google.com/storage/docs/retry-strategy
  • Cafe24 API documentation, API Quota Guide — call limits and handling when exceeded (checked 2026-11-10): https://apidocs.cafe24.com/en/docs/guide/api-quota
Want to build something similar?

We review your current system and data, then outline the migration order and scope.

Talk to usStart with the 3-minute AI readiness check →
SOL LABS AI

We build web apps, mobile apps and business systems, then add and run the AI they need. We build and operate our own meeting notes, contract and company analysis AI.

See our projects
Get the next post by email?

Related posts