Module 1 · What to automate

Trigger and action: how every automation works

Lesson 1 of 12 8 min lesson Updated on October 30, 2026
Progress in the course8%

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.

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:

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.

TaskTimes per monthMinutesTotal
Confirm an appointment2002400
Copy sign-ups from the website403120
Do the monthly accounts16060

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

  1. Pick three tasks you do every week. Write the trigger and the action of each one in one sentence.
  2. Note how many times a month each one happens and how many minutes it takes. Work out the total.
  3. Mark the ones that need a person to decide. The others are candidates.

Summary

Sources

Read on October 30, 2026.

  1. Zapier. Learn key concepts in Zap workflows: trigger, action and polling
  2. Stripe. Receba eventos da Stripe no seu endpoint de webhook: duplicate events
  3. Rau, Vivek; Google. Eliminating Toil: the hallmarks of repetitive work
  4. Anthropic. Building effective agents: workflows with AI as one part

Lesson quiz

Three situations to apply what you learned.

Lesson 1 of 12

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp