Build automations with n8n
Learn to build n8n workflows with a different workflow in each session: connecting services, transforming data, storing state in data tables, handling errors and creating AI agents with skills and MCP tools.
Find your starting point
A good fit when you want to build n8n workflows, store their state, handle errors and take first steps with AI agents, checking each run.
- Hours and sessions
- 12 hours live · 6 sessions of 2 h.
- Group size
- Up to 12 participants per trainer as a reference, adjusted to the practice and feedback.
What you will learn
- 01
Build workflows that connect services and transform data with nodes, expressions and conditions.
- 02
Store state in data tables and handle errors with retries and an error workflow.
- 03
Configure an AI agent with instructions, skills and MCP tools, and review its runs.
A proposed programme
You will build a different workflow in each session, with increasing complexity: reading orders from Google Sheets, transforming items with expressions, storing state in a data table, responding to errors, creating an AI agent with skills and connecting it to tools through MCP. We will review each run node by node to understand what changed and what may happen if the workflow runs again.
We adapt the selection and depth of the modules to the group's starting point and goals.
01Workflows and data
Triggers, nodes, items, JSON, expressions and conditions with examples adapted to the group's level.
You will work on
- Create a manually triggered workflow that reads the orders in the sheet and follow each item through its JSON data.
- Map fields with expressions, normalise amounts and separate incomplete entries with If or Switch.
- Update only orders that meet the conditions, locating them by their unique identifier.
- Practice
- Process complete, empty and invalidly formatted orders, and check which row is updated in each case.
- How you will check it
- A workflow the participant can explain node by node, with the identifier retained from start to finish.
02State and errors
Data tables to store records and avoid duplicates; retries and error workflows to respond to a failure.
You will work on
- Store processed orders in a data table and check it before repeating an action.
- Configure retries on a node and an error workflow that reports the failure with its context.
- Distinguish a temporary error from an incomplete entry and decide what should be retried.
- Practice
- Run the same order twice and trigger a controlled error; review the data table, the trace and the notification received.
- How you will check it
- A record without duplicates and an error notification with enough data to investigate it.
03AI agents
An agent with instructions, memory, skills and tools, including an MCP connection, with tests of its runs.
You will work on
- Create an AI agent with instructions, memory and a skill describing how to answer questions about orders.
- Give it the data table and a practice MCP server as tools, limiting what it can change.
- Review in the runs which tool it chose, with what data and what it answered.
- Practice
- Ask the agent about the status of several orders, including one that does not exist, and compare its answers with the data table.
- How you will check it
- Answers traceable to the tools used; the missing order is recognised without inventing data.
Review orders without losing track of each record
Teaching example
Suggested practice: build a different workflow in each session, from reading orders in a sheet to an agent that consults tools through MCP. Each workflow adds new n8n features and is reviewed node by node with fictional data; services and technical depth are defined for each edition.
Fictional classroom case. A Google Sheets spreadsheet contains orders with a unique pedido_id, quantity, unit price and status. Order PED-104 has 3 units at €12.50; PED-105 has no quantity. Both start as «Pending». We work on a copy containing practice data.
- Starting point
- The team calculates subtotals and marks orders as reviewed manually. A value that looks numeric may arrive as text, and row order can change.
- First attempt
- The first version of the exercise sends every order to the destination and treats amounts as though they were already numbers. It does not separate the empty value and uses the row’s position to locate the order.
- What we review
- The trainer asks participants to retain pedido_id, validate the original values and transform only the agreed decimal format. An If node passes only valid, pending orders; Update Row matches the unique identifier. Before repeating, participants reread the status and review which writes could occur.
- Result
- PED-104 retains its identifier and receives a €37.50 subtotal and «Reviewed» status. PED-105 is separated for review and remains unchanged. When the sheet is read again, the reviewed order no longer meets the pending condition and is not updated again in this test.
The workflow we will build
- Google Sheets
Read orders
A manual trigger queries the practice rows.
- Edit Fields
Prepare amounts
Retain the ID, validate and calculate the subtotal.
- If
Valid and pending
Separate incomplete entries and reviewed orders.
- Google Sheets
Update by ID
Write subtotal and status to the correct order.
Teaching diagram of a manual workflow: read, prepare, decide and update. The incomplete branch is reviewed without writing to the sheet.
What happens to each input
Complete order
- pedido_id
- PED-104
- Quantity received
- 3
- Price received
- 12,50
- Initial status
- Pending
Expected result: a €37.50 subtotal and «Reviewed» status on PED-104.
Follow the same ID through the nodes and check quantity, normalised price and updated row.
Incomplete order
- pedido_id
- PED-105
- Quantity received
- Empty
- Price received
- 12,50
- Initial status
- Pending
Expected result: the review branch leaves PED-105 unchanged in the sheet.
Locate the condition that fails. Separating this entry is different from a credentials or API failure.
Before calling it complete
- The identifier stays with the item and the update matches pedido_id rather than relying on row position.
- The empty quantity is separated before writing; the valid record’s subtotal is €37.50 and an empty value is not treated as zero.
- The second test rereads status and checks expected writes; repeating an execution is not assumed to be harmless.
Sessions to put it into practice.
Reference edition: 12 live hours across 6 sessions of 2 hours, with a different workflow in each. Practice uses the n8n environment and practice data we prepare. Installing or deploying company infrastructure to production is outside the training scope.
- Session 12 h
Read orders from a sheet
Define the case, review authorised access and build a manual run that reads the orders.
By the endA workflow that reads the sheet and shows each order as an item.
- Session 22 h
Transform and route items
Follow the JSON data, map fields with expressions, normalise amounts and separate incomplete entries with If or Switch.
By the endOrders prepared by route and a row updated by its unique identifier.
- Session 32 h
Store state in a data table
Record processed orders, check them before acting and test a second run without duplicates.
By the endA data table that lets the workflow run again without repeating actions.
- Session 42 h
Errors and retries
Read traces, trigger a controlled error, configure retries and an error workflow that reports with context.
By the endA diagnosed failure and a notification useful for investigating it.
- Session 52 h
An AI agent with skills
Create an agent with instructions, memory and a skill about orders, and give it the data table as a tool.
By the endAn agent that answers questions about orders with verifiable data.
- Session 62 h
Agent with MCP and final challenge
Connect an MCP server as a tool, limit what it can do and solve a variation with trainer feedback.
By the endA documented classroom agent with tools, limits and diagnostic steps.
Advanced blocks to take things further.
We can include these blocks in your training when your team needs more depth.
More complete workflows
Add scheduling, new services and logic for handling more complex data formats.
Prepare reliable operations
Practise hosting, concurrency and recovery decisions, and define checks before a deployment.
We agree the selection, depth and time when preparing your proposal.
With guidance, practice and support.
Each delivery includes working materials, feedback on practical work and assessment against the agreed objectives.
Materials you can keep
Downloadable, versioned guides, exercises and review criteria for internal use.
To prepare and complete the delivery
A short recommendation, an editable communications kit and a group learning report.
The Optimal Flow certificate
A certificate of achievement after the agreed assessment.
A month of email support
On the content covered, up to two accumulated hours for the whole group.

