7 min read
How to Automate Tasks: Pick the Trigger Before You Pick the Task
Most people start by choosing a task to automate. I start by choosing what sets it off. This guide helps you decide between a clock, an event and a condition for each job.
By Mario Lucas, founder of Utomat
This guide is for the business owner or solo builder who has decided to automate tasks and is now stuck on the how. By the end you will be able to decide three things for each job on your list: what should set it off, where it should run, and how you will know when it quietly stopped.
That is a narrower question than most guides answer. They tell you which chores to hand off. I want to talk about the part that actually breaks things, which is the trigger.
The question nobody asks: what wakes it up?
Every automated task has two halves. There is the work, like sending a reminder or copying a row. And there is the thing that starts the work.
People spend 95 percent of their planning on the work and about four seconds on the trigger. Then the reminder goes out to a customer who paid yesterday. Or the follow-up never fires, because nobody told the system a lead arrived.
I once built a nightly job that emailed overdue invoice reminders. It ran perfectly. It also ran on a Sunday and nudged someone who had paid by check that morning. The task was fine. The trigger was a clock, and the situation needed a condition.
So before you open any tool, sort each job into one of three trigger types.
The three triggers
A clock trigger: do this at a set time
This is the classic scheduled job. Every weekday at 8 a.m., every first of the month, every night at 2. Computers have done this for decades with a tool called cron, and nearly every automation app has a friendlier version of it.
Clock triggers suit work where the calendar is the point. Think monthly reports, weekly backups, or a Monday summary of open quotes.
An event trigger: do this when something happens
A form is submitted. A call is missed. A payment lands. The automation wakes up because a real thing occurred, and it wakes up right then.
This is where I put anything a human is waiting on. In my experience running my own products, the first automation that pays for itself is usually the boring one: a lead followed up within minutes. That is an event trigger, not a clock. If you check for new leads once a day, you have built a slow human.
A condition trigger: do this when the state is true
This one is the least obvious and the most useful. The automation does not care when. It cares whether a rule is true. An invoice is more than 7 days past due and still unpaid. A quote went out and nobody replied. A customer record is missing a phone number.
Condition triggers are how you schedule automated jobs based on business logic. You still run a check on a clock, say every morning, but the job only acts on records that match the rule. The clock is just how often you look. The condition decides who gets touched.
A decision rule you can use today
Ask three questions about the task, in this order.
1. Is someone waiting right now? If yes, use an event trigger. 2. Does it depend on the state of a record, like paid or unpaid? If yes, use a condition, checked on a clock. 3. Is the date itself the reason? If yes, use a plain clock.
Most jobs I see people struggle with are clock jobs pretending to be condition jobs. The invoice reminder above is the textbook case. The date said send. The state said do not.
A worked example: the missed-call follow-up
Say you run a plumbing company. Calls go to voicemail while you are under a sink. You want to automate the task of getting back to people.
Here is the wrong version. Every evening at 6 p.m., a job reads the day's missed calls and texts everyone. It is simple. It is also three to ten hours late, and the customer has already phoned your competitor.
Here is the better version. The missed call is the event. Within a minute it fires a text that says you are on a job and will call back, and asks what the problem is. Then a condition check runs every 30 minutes. Any missed call with no reply and no callback logged gets flagged for you.
Notice what happened. One task became an event plus a condition, and the clock only shows up as the check frequency. Same chore, far better result.
You also have to decide what the job does when it fires twice. If the same missed call triggers two texts, the customer thinks you are a spammer. So write the rule down: one text per call ID, ever. Systems call this being idempotent, which is a fancy word for safe to run again.
Where the job runs: your options
Once you know the trigger, you choose where it lives. Here are the realistic options, with the trade-off for each.
- A calendar reminder and a person. It costs nothing and handles any judgment call. It fails the day that person is sick, and it never scales. Fine for a task you do twice a month.
- The scheduling feature inside the app you already use. Your accounting or CRM tool often has built-in reminders and recurring actions, and setup takes minutes. The limit is that it only knows its own data, so a rule that spans two systems is out of reach.
- A managed automation service. You connect apps, pick a trigger and drag steps together, and someone else runs the servers. You pay by usage, so cost grows with your volume, and complex branching gets awkward.
- Self-hosted n8n on a VPS. This is how I run my own work, on a stack of n8n, Supabase, Next.js and Docker. It is cheap and reliable. The catch is that somebody has to own updates, backups and secrets. If that somebody is you, budget the time. The n8n documentation covers the scheduling and webhook triggers if you want to see how the three types map onto it.
- A custom script. Total control, and the longest list of things that can quietly rot. Pick this only when no tool fits the rule.
None of these is the right answer by default. The right one is the lowest option that can see all the data your rule needs.
How to know it quietly stopped
Here is the failure nobody plans for. An automation that errors loudly gets fixed. One that simply stops firing looks exactly like a quiet day.
I watched this happen on my own server. Someone deleted a monitoring job but left the script on disk, and for over two weeks nothing checked anything. Silence looked like good news.
The fix is a heartbeat. Make the job report in when it works, one short line, so a missing message becomes the alarm. For event triggers, add a second check that counts expected events against actions taken. If 14 leads arrived and 9 follow-ups went out, something is wrong and you want to hear about it that day.
Pick one place where failures land, and make it somewhere you will actually look. An inbox no one reads is not monitoring.
Before you automate anything customer-facing
If the task sends messages to customers, check the rules first. In the United States, the Federal Trade Commission publishes a plain guide to the CAN-SPAM Act covering commercial email, including how people opt out. Read it before you build a sequence, not after. Text messages and calls carry their own consent rules, so check those for your case too.
The U.S. Small Business Administration also keeps general guidance on running a business. It is worth a skim when you are deciding what to formalize.
A short start-to-finish plan
Here is how I would automate office tasks from scratch this week.
1. List five chores and write each trigger type next to it. 2. Cross out any chore where the rule lives only in your head. Write the rule down first. 3. Pick the one where someone is waiting on you. 4. Build it on the lowest option from the list that can see your data. 5. Run it by hand a few times before you let it run alone. 6. Add a heartbeat, then leave it alone for a week.
Automating work gets easier once you stop thinking in tasks and start thinking in triggers. The chore is rarely the hard part.
Want a hand with this?
If you have a list of chores and cannot tell which trigger fits, send me a note. Tell me what the task is and who is waiting on it. I will tell you honestly whether it needs a tool, a script or just a better calendar reminder.
---
*Written by Mario Lucas. Mario runs Utomat, an automation studio that builds AI voice agents and workflow automation for small businesses.*
Related reading: n8n vs Zapier for Small Business: Count Your Steps Before You Compare Prices.
Related reading: What Is a Personal Blog About Building Automation Software?.
Related reading: Automated Lead Nurturing: Write the Last Message First.