Module: 1/5
Lesson: 3/7
Exercises:
Module 1 | Lesson 2

Lesson 2: Triggers, Actions, Data

Walking Through a Complete Example

Let's map something concrete: "When I receive an email with 'invoice' in the subject, extract the key details and add them to my expense tracking spreadsheet."

Trigger: Email arrives AND subject line contains the word "invoice" - This is specific. It doesn't trigger on every email, just ones matching the pattern.

First action: Extract data from the email - Pull out: sender, subject, date received, any amounts mentioned - This is transformation. Raw email becomes structured data.

Second action: Format the data - Clean it up. Make sure all amounts are numbers, dates are in the right format, etc. - Prepare it to be added to a spreadsheet

Third action: Add a row to the spreadsheet - Take the formatted data and write it as a new row in your expense tracker - Data is the email information flowing from action to action to action

Optional fourth action: Send you a notification - "New invoice logged: $2,500 from Acme Corp" - Data: the key details from the extracted email

Data flow: Email arrives → extracted details → formatted data → spreadsheet row → notification sent

Each arrow is a step. Each step takes what came before and does something with it.

🔒

This lesson is premium

Get full access to AI Workflows — all modules, all lessons, lifetime access.

Already purchased? Sign in to restore access.