Topic 1 of 6 · 4 min read
Triggers, actions and data mapping in workflows
Goal: Sketch a workflow for a recurring task with its trigger, filters, actions and the field mapped at each step.
A no-code workflow is a chain: one trigger starts it, and each later step receives the data the earlier steps produced. You draw the chain, you map fields from one step into the next, and the platform runs it for you.
Check yourself · 1 of 3
In a workflow, what is a trigger?
Why it matters
Tools such as Zapier, Make, n8n and Power Automate all work this way, even though they use different words. Zapier calls a workflow a Zap. Make calls it a scenario. n8n and Power Automate call it a workflow and a flow. Once you see the chain, you can move between them. Most broken workflows are not broken by the AI. They are broken by a wrong trigger or a field mapped to the wrong place.
The parts
- Trigger. The event that starts a run: a new email, a form answer, a row added to a sheet, or a timer such as "every weekday at 8:00". Microsoft documents the timer kind as a scheduled cloud flow. A trigger either waits for the app to tell it something happened, or checks the app on a schedule.
- Filter. A yes-or-no gate. If the condition is false, the run stops. "Only continue if the sender is not our own domain."
- Branch. Different paths for different cases: invoices go one way, support questions go another.
- Action. A thing the workflow does in an app: add a row, send a message, create a task, call a model.
- Mapping. For each action field, you choose where its value comes from. Usually it is a field from the trigger or from an earlier step, such as "Subject" or "Total". You can also type a fixed value.
How to sketch one
Before you open any tool, write the chain on paper. For each step write three things: what comes in, what the step does, and what goes out. Then check that every field a step needs is produced by something before it.
Before and after
Before: "When an email arrives, put it in the tracker."
Which emails? Which tracker column gets what? Nothing says.
After: Trigger: new email in the "Orders" label. Filter: continue only if the body contains an order number. Action 1: add a row in the Orders sheet, with Sender in column A, Subject in column B, and the order number in column C. Action 2: post the row link in the team chat.
What goes wrong
- No filter. Newsletters and replies trigger the chain and fill the sheet with junk.
- Mapping the wrong field. The sender's name lands in the date column. The run shows as successful, but the data is wrong.
- Fields that are sometimes empty. A step that needs a phone number fails the day a customer leaves it blank. Decide in advance what happens then.
- A loop. An action that writes to the same place the trigger watches can start the workflow again and again.
Examples
Weekly report chain
Trigger: every Monday at 8:00. Action 1: read last week's rows from the sales sheet. Action 2: send the rows to a model with the instruction to write a 5-line summary. Action 3: email the summary to the sales manager, with the summary text mapped into the email body.
There is no filter here because the timer only fires once. The mapping that matters is the model's reply into the email body.
A filter that saves money
A support inbox gets 200 emails a day, and 60 are automatic out-of-office replies. A filter on the subject line stops those before the AI step, so the workflow spends effort only on the 140 real messages.
Key points
- A workflow is a trigger followed by filters, branches and actions, and each step can use data from the steps before it.
- Zapier, Make, n8n and Power Automate use different names for the same parts, so learn the chain, not one tool's menu.
- A filter stops a run early when its condition is false, which keeps junk events from reaching later steps.
- Mapping means choosing, for each action field, which earlier field or fixed value fills it.
- Sketching each step as input, action and output on paper catches missing fields before you build.
Common mistakes
- Building before sketching, then finding that a needed field never exists.
- Skipping the filter, so every event runs the whole chain.
- Trusting a green run without opening the output to check the mapped values.
- Letting an action write to the place the trigger watches, which causes a loop.
Check yourself · 2 of 3
A step has a field called "Recipient". You choose "Sender" from the trigger email to fill it. What is this called?
Check yourself · 3 of 3
Your workflow adds a row to a sheet whenever a new row appears in that same sheet. What is the most likely result?
Practice items, not counted towards your mastery.
Start here
- Zapier Help Center (opens in a new tab)DocsFree
Official guides to Zaps, triggers, actions, filters, testing and task usage.
- n8n Advanced AI documentation (opens in a new tab)DocsFree
How n8n adds model, agent and structured-output nodes to a workflow.
- Make Help Center: error handling (opens in a new tab)DocsFree
Make's error handlers: ignore, resume, rollback, break and commit.
More for this topic
- Run a cloud flow on a schedule in Power Automate (opens in a new tab)DocsFree
Microsoft's steps for a scheduled trigger, the simplest recurring workflow.