Back to guides

AI workflow automation

AI Automation for Small Businesses: What to Automate First and What to Leave to People

DEVRUBY engineering team 7 min read

Small businesses are told that AI agents will run their operations. In practice, the projects that work are narrower: a model that reads documents or emails nobody wants to retype, connected to the tools the team already uses, with a person approving anything that carries risk. This guide explains how we choose the first workflow to automate and what has to be in place before it goes live.

Start with rules, not models

If the data already arrives in a fixed format, such as a web form, a CSV export, or an API, a regular integration with fixed rules is cheaper, faster, and easier to audit than a language model. Many automation projects never need AI at all.

AI earns its place when the information is predictable but the format is not: invoices from many vendors, customer emails written in a hundred different ways, scanned forms, or long call notes. Those are the steps where someone on your team currently reads and types.

Good first candidates

These tasks combine a clear payoff with risk you can control, as long as the output is validated before it reaches the system of record.

  • Document intake: extracting vendor, dates, totals, and line items from invoices or purchase orders.
  • Email and request triage: classifying incoming messages and routing them to the right person with a priority.
  • Summaries: turning long threads, tickets, or call notes into the fields your CRM actually needs.
  • Draft replies: the model prepares a response from your own policies and a person reviews and sends it.

What should stay with people

Approving payments, changing prices or contract terms, and sending anything with legal or financial consequences should not depend on a model without review. The useful question is not whether AI can do it, but what a mistake costs and who would notice it.

The pattern that works is AI prepares, a person confirms. The time savings are still large because nobody searches or retypes, while accountability stays where it was.

What has to be in place before launch

A pilot that works on five hand-picked examples proves very little. These are the minimum controls we put in place before an AI step handles real work.

  1. An evaluation set of real examples, including the unusual ones, to measure accuracy before launch and after any change of model or instructions.
  2. Validation rules outside the model, such as totals that must add up or customers that must already exist.
  3. A review queue for low-confidence results instead of writing them straight into the CRM or accounting system.
  4. A log of what went in, what the model returned, and who approved it.
  5. An agreed data flow: which AI provider processes the data, under which terms, and which fields are masked or never sent.

A realistic first project

Pick one workflow with steady volume and a known cost of error, collect a month of real examples, and measure. Connect the AI step to your current tools through their APIs rather than replacing them. When the numbers hold up, expand to the next workflow; when they do not, you have learned it cheaply.

Key takeaways

  • If the data has a fixed format, use rules; save AI for documents and free text.
  • Good first projects are document intake, triage, summaries, and draft replies.
  • Payments, pricing, and legal communications keep a human approval step.
  • Measure on real examples, validate outside the model, and log every decision.

Related

Want to review your case with context?

Share the codebase, workflow, or systems involved and the result you need. We will use the call to decide a practical next step.

More guides

Ruby on Rails

Rails 7 to 8 Upgrade Guide: What Breaks and How to Plan the Upgrade

How to upgrade a production app from Rails 7 to Rails 8: the version path, the Ruby requirement, the changes that actually break code, and a safe rollout plan.