Automate your work with AI, from the first rule to the complete workflow
Your progress
0 lesson completed out of 50

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 14, module 4: The building blocks of a flow Filters, conditions and routers to make a flow take decisions How does a flow know who to send a quote request to?

The filter decides whether the flow continues, the router which way. [Diagram: A filter or a router] Filter Router The filter decides whether the flow continues. The router decides which way it goes. Write the decisions as "if… then…" before you click. Prompt: If the postcode doesn't start with 33, then status Out of area. If Windows or Doors, then Julien. Otherwise Sandrine. Response: Three rules a colleague can review in thirty seconds, and that can be copied as they are into an If and a Switch. A fallback route catches whatever no rule picks up. [Diagram: Sorting a quote request] 1. Does the postcode start with 33? 2. Is the project type Windows, Doors, Staircase or Fit-out? Yes to all: Router by type: Julien for windows and doors, Marc for staircases and fit-outs. The traps come from text typed in by hand. "windows" instead of "Windows" An extra space after the word A field left empty Two conditions true at once, and the request goes out twice. Make the conditions mutually exclusive Test on a prepared set of cases A rule is enough for a closed field: keep AI for free text. [Diagram: A rule or an AI to decide] Vertical: severity of an error; horizontal: form of the information. Rule and approval AI that proposes AI that classifies Preferred: Simple rule A rule settles everything that comes in through a closed field. AI only comes in for free text. In the exercise, you write the rules for a van hire company with three branches. Your turn: Bookings for a van hire company with three branches The written lesson, the worked exercise and the quiz are below the video.

Lesson 14 of 50 · module 4, the building blocks of a workflow

Filters, conditions and routers to make a flow take decisions

A flow decides using rules written before you click, in “if… then…” form. The filter stops what must not continue; the router sends each request down its path. Conditions combine with AND and OR, are tested on a set of cases, and a fallback route always catches whatever no rule picks up.

  • 27 min of reading
  • 1 min 51 of video
  • 7 diagrams
  • 1 demande to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Write the Decisions box of a sheet as “if… then…” rules, including the case where no rule applies
  • Build a filter and a router in n8n, Make or Zapier, with mutually exclusive conditions and a fallback route
  • Test a router on a prepared set of cases, including the traps of letter case, spaces and empty fields

What’s covered

  1. Write the decisions before you click
  2. A filter, a router, and their conditions
  3. The fallback route and route order
  4. Build the sorting in n8n
  5. A rule or an AI
  6. 3 worked examples, followed from start to finish
  7. Exercise with answers · Bookings for a van hire company with three branches
  8. 3 practice exercises, from guided to demanding cases
  9. The quiz

Key points

  • Decisions are written as “if… then…” on the sheet before you click, and always end with an “otherwise”.
  • The filter decides whether the flow continues, the router decides which way; a customer never disappears through a filter, they go down a route that leaves a trace.
  • Every router has a fallback route; in the n8n Switch, it is turned off by default.
  • Write mutually exclusive conditions: in Make and in Zapier Paths, a request can follow several routes.
  • A rule decides closed fields; AI only comes in for free text, with the same fallback route.