In this lesson
Every automation fits in one sentence.
You will learn that sentence, the names of the parts and a simple calculation for choosing what to automate.
- Explain an automation in terms of trigger and action
- Know the difference between asking and being notified
- Choose your first task by the monthly math
The sentence that explains everything
Think of the bakery on the corner. Every day, at 6 in the morning, someone turns on the oven. When the bread is ready, someone opens the door. Nobody decides this again each morning. It is routine.
Automation is the same thing, done by a tool. The sentence is: when X happens, do Y.
The "when" is the trigger. The "do" is the action. The whole line of steps is called a flow. Everything you build in this course is a variation of that sentence.
Trigger: the when
The trigger is an event, not a place. "The spreadsheet" is not a trigger. "A new row in the spreadsheet" is.
It comes in three kinds:
- Someone did something: they filled in a form.
- The clock struck a time: every Monday, at 8 a.m.
- A system sent a notification: the payment was confirmed.
When a system is the one notifying, the tool can work in two ways. With polling, it asks from time to time: "anything new?". With a webhook, the system notifies it right away.
Picture a mailbox. Looking in the mailbox every 15 minutes is polling. The doorbell is the webhook.
Action and condition
The action is what the tool does: write a row, send an email, notify someone. Reading data is safe. Creating, changing or deleting calls for care, because deleting cannot always be undone.
The condition is the "if". Example: if the order is over R$ 1,000, notify the manager. It works with clear data, such as an amount, a date or a ticked option. With free text, such as a long email, it cannot decide.
The AI step: tidying up free text
When the data is free text, an AI step comes in. It reads the message and returns tidy fields, such as "type: quote". After that, the condition works again. The AI organizes. The rule decides.
What the pros know
When a system notifies you through a webhook, the same notification can arrive twice. Stripe says so in its documentation: now and then the address receives the same event more than once. The defense is to store the code of every event already handled and ignore the repeat. People with experience building flows think about this from the start, because without that safeguard the customer may get two confirmation emails, or be charged twice. In no-code tools, this becomes an "already sent" column in the spreadsheet.
What is worth automating
Not everything should become an automation. A good candidate is a manual task that repeats and that a machine would do the same way every time. Deciding, negotiating and answering a serious complaint stay with people.
To choose, do the monthly math: times per month times minutes each time.
| Task | Times per month | Minutes | Total |
|---|---|---|---|
| Confirm an appointment | 200 | 2 | 400 |
| Copy sign-ups from the website | 40 | 3 | 120 |
| Do the monthly accounts | 1 | 60 | 60 |
The winner is confirming appointments. It is less tiring than the monthly accounts, but it costs six times more time. This is hypothetical, but very typical of a small clinic.
Careful
Do not paste customers' names and phone numbers into an assistant just so it can map out your day. Describe it in numbers: "I served 14 customers, 9 came through Instagram".
Practice · 10 min
- Pick three tasks you do every week. Write the trigger and the action of each one in one sentence.
- Note how many times a month each one happens and how many minutes it takes. Work out the total.
- Mark the ones that need a person to decide. The others are candidates.
Summary
- Automation is "when this happens, do that": the trigger starts it, the action does the work.
- The trigger is someone doing something, a set time arriving or a system sending a notification.
- Polling is asking every now and then. A webhook is being notified right away, and the notification can come twice.
- The AI tidies up the free text; the rule decides.
- The math that decides: times per month times minutes each time.
Sources
Read on October 30, 2026.
- Zapier. Learn key concepts in Zap workflows: trigger, action and polling
- Stripe. Receba eventos da Stripe no seu endpoint de webhook: duplicate events
- Rau, Vivek; Google. Eliminating Toil: the hallmarks of repetitive work
- Anthropic. Building effective agents: workflows with AI as one part
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses