Lesson 1 of 8 · 8 min read · last verified 2026-10-15
Trigger, step, action
In this lesson you will:
- Describe any automation as a trigger, a sequence of steps and a final action
- Identify which link in the chain lets text from outside enter, and which can change something
P4 was about one assistant that people talk to. This module is about the other kind of thing: a system that does something without anyone talking to it.
An email arrives and a row appears in a spreadsheet. A form is submitted and a draft reply lands in someone’s folder. A file is saved and a summary is posted to a channel. Nobody asked in the moment. The thing was set up once and now runs.
Platforms for this exist in large numbers, from visual canvases that connect apps with boxes and arrows to plain scripts on a schedule. n8n is one of them: an open-source workflow platform with a visual node canvas, which you can host yourself or use as a hosted service. The names differ and the shape underneath is the same everywhere.
Three parts
A trigger. Something that starts a run. A message arrives, a form is sent, a time is reached, a file changes, a button is pressed.
Steps. Things that transform or decide. Look up a record, extract fields, classify, summarise, branch on a condition.
An action. The step that changes something outside the chain. Write a row, send a message, create a ticket, move money, publish a page.
That is all of it. A model, when there is one, is a step. It is not the system, and describing an automation as “an AI agent that handles our support email” hides the structure that decides whether it is safe.
The trigger decides who is in the room
Triggers come in three kinds, and they differ in a way people overlook.
Something happened. An event: a message, a submission, a sale. These put someone else’s text at the start of the chain. A support inbox, a contact form and a webhook are all open to whoever chooses to write to them.
A time was reached. A schedule. Nobody supplies anything; the chain reads whatever it reads on its own. These are the quietest, and the easiest to forget exist.
A person pressed a button. Manual. The person is the input, and is usually someone you know.
P3·L1 asked who decides what the text says. For an automation, the trigger is usually the answer, and an event trigger is nearly always an untrusted input surface. Everything P3 said about text you did not write applies to the first box, and then to every box after it, because each step passes along whatever it received.
Draw it before you build it
Before opening any platform, write the chain on paper, one line per link:
- Trigger — what starts it, and who can cause that.
- Each step — what it reads and what it produces.
- The action — what it changes, and whether that can be undone.
Then add a column that platforms do not show you: for every link, what is the worst thing it could do with the input it received?
You are not predicting an attack. You are finding which link carries the consequence, because it is almost never the one that looks clever. The step with the model in it tends to attract all the attention, and the step that sends the email tends to cause all the damage.
A worked example that has no model in it
Lrnon’s own deployment is an automation, and a plain one.
- Trigger: a push to the main branch.
- Steps: install, validate content, build the site, generate headers.
- Action: upload the result to the live Worker.
There is no model anywhere in it, and it is still the automation that has surprised this project most. In one stretch a build log read Success while the newest commit had never been built, apparently because a retry in the dashboard had re-run the previous one. L5 returns to that, because it is the clearest example of a quiet failure available.
For now the point is simpler. The chain was always there, whether or not anyone had drawn it, and drawing it is how you see where a mistake would land.
Try it now (10 minutes)
Pick something you do by hand every week that you wish a machine did. Write it as a chain: trigger, steps, action.
Then mark two things.
- Which link lets text from outside in? That is where P3 applies.
- Which link changes something you cannot take back? That is where L6 applies.
If they are the same link, or one feeds the other directly with nothing between, note it. That adjacency is the shape of most automation incidents.
Check your understanding
Recap
An automation is a trigger, some steps and an action, and a model is one step among them. The trigger decides whose text enters the chain, and an event trigger usually means strangers supply the first input. Draw the chain before building it, and ask of each link what the worst thing is that it could do with what it received. The link that looks clever and the link that causes harm are rarely the same one.
🗂 3 flashcards from this lesson join your daily review.
Tools named in this lesson
No vendor pays to be described here, and Lrnon favours none. If one advertises with Lrnon, it says so beside its description. Each description below is drawn from the vendor's own published material or from openly reported use, on the date shown. Follow the link for the current position — it is the authority, not us.
- n8nn8nOfficial source ↗checked 2026-08-22