Skip to content

Send a Workflow Down Different Paths with Conditions

Learn how to make a NotionApps workflow do one thing when your rules match and another thing when they do not, how to keep a workflow to its own events, and how to check the path before anyone is affected.

A workflow without a Condition runs every step, every time. A Condition step checks your rules and sends the run one of two ways: Yes or No. You choose the step each one goes to, or End workflow. A Choose path step does the same for three or more ways. Only start when stops a workflow from starting at all for events that are not meant for it.

Use it when the same workflow should not do the same thing for every event.

Common uses:

  • Send only some events on. Notify people about a news event, and end quietly for everything else.
  • Treat a few cases differently. Send approved, changed and rejected decisions to three different steps.
  • Share one webhook between workflows. Two workflows listen to the same app webhook, and each one starts only for its own events.
  • You need a workflow you can edit. If you have none, create one first.
  • Know the name of the value you want to check. In this guide the app receives webhook events that carry a source value of news or event-reminder.
  • A rule reads its value from a path. Event data starts with payload., for example payload.source. A value from an earlier step starts with context.
  • If you have a Condition that was saved before 3 December 2026, read Conditions saved before 3 December 2026 first.

Open the app in the builder. In the left sidebar, under Automate, click Workflows. Click the workflow in the list, or click New and give it a name, for example News alert.

Under Sections, click Build. You see the Trigger at the top, the Add a step tiles, the steps of the workflow below them, and the Inspector on the right.

Annotated screenshot: Open the workflow in Build

Step 2: Keep the workflow to its own events with Only start when

Section titled “Step 2: Keep the workflow to its own events with Only start when”

Use this step when the workflow should not start at all for some events. If it should start and then decide, skip to Step 3.

Under the trigger, find Only start when. The line under it reads Optional. A non-matching event does not create a workflow run. Click Add filter. A rule group appears, and the button changes to Remove filter.

Fill in the rule:

  • Field: payload.source
  • Type: Text
  • Comparison: is
  • Compare to: news

The small line under the rule reads it back to you as one sentence, ending in is news. If no rule is shown yet, click Add rule first.

Annotated screenshot: Add a filter under Only start when

Two workflows on one webhook. When Trigger is Webhook received and Where it happens is Entire app, you see this hint: Every workflow on this webhook receives every event. Use Only start when to keep this workflow to its own events. If News alert and Event reminder both use the app webhook, both receive every event. Without a filter, an event-reminder event also starts News alert.

Give each workflow its own filter:

Workflow Only start when
News alert payload.source is news
Event reminder payload.source is event-reminder

Now a news event starts only News alert. No run is created for the other workflow, so nothing shows in its run history.

Annotated screenshot: The hint for workflows that share the app webhook

Only start when can read the event's data only. No step has run yet, so a context. field is not allowed here. To take the filter off, click Remove filter.

Step 3: Add a Condition and write its rules

Section titled “Step 3: Add a Condition and write its rules”

In Add a step, click the Condition tile. Its description reads Routes Yes and No to the destinations you choose. The step appears in the workflow with two lanes, Yes and No.

Annotated screenshot: Add a Condition

Click the Condition. In the Inspector, type a Step name that reads like a question, for example Is it news?. Under Rules, fill in a rule the same way as in Step 2:

  • Field: start typing and pick a path from the list, or type one, for example payload.source.
  • Type: Text, Number, Date or Yes/No. The type decides which comparisons you can choose. When the builder knows the field's type, it sets Type for you.
  • Comparison: see the table below.
  • Compare to: the value to compare with. For is any of and is none of the box is called Values: type a value and press Enter, once per value.

For a text rule you can also tick Ignore upper and lower case. It is off unless you tick it, so News and news are different values.

Annotated screenshot: Write a rule

Comparison Offered for Type True when
is Text, Number, Date The value equals what you typed. For a date, it is the same moment.
is not Text, Number, Date The value does not equal what you typed. Also true when the field is missing.
contains Text The text has what you typed somewhere in it.
does not contain Text The text does not have what you typed in it. Also true when the field is missing.
starts with Text The text begins with what you typed.
ends with Text The text ends with what you typed.
is any of Text, Number The value equals at least one of the values in your list.
is none of Text, Number The value equals none of the values in your list. Also true when the field is missing.
is greater than Number The number is more than yours.
is at least Number The number is yours or more.
is less than Number The number is less than yours.
is at most Number The number is yours or less.
is before Date The date is earlier than yours.
is after Date The date is later than yours.
is on or before Date The date is yours or earlier.
is on or after Date The date is yours or later.
is true Yes/No The value is yes or true.
is false Yes/No The value is no or false.
is empty Text, Number, Date, Yes/No The field is missing, blank, or an empty list.
is not empty Text, Number, Date, Yes/No The field has a value.

Three things to know:

  • A value that cannot be read counts as not matching. If the field is missing, or it is not a number where you asked for a Number, the rule is false and the workflow carries on. It does not fail. The three "not" comparisons (is not, does not contain, is none of) are true in that case.
  • Notion values are compared by name. A select, status, person or relation is read by its name or value, so payload.status is Approved matches a status named Approved. For a field with several values, such as a multi-select, is is true when any one of them matches, and is not is true only when none of them does.
  • A date without a time is a whole day in the workflow's time zone. is before 2026-12-10 means before midnight at the start of 10 December. Set the zone under Settings, in Time zone for dates. Until you do, the hint there reads Dates are compared in UTC. Choose a time zone.

A Condition has one rule group. Use Match at the top of the group to say how its rules combine:

  • All of these are true: every rule must match.
  • Any of these is true: one matching rule is enough.

Click Add rule for another rule in the same group. Click Add group to put a group inside the group, with its own Match. That lets you mix the two. For example:

  • All of these are true
    • payload.source is event-reminder
    • Any of these is true
      • payload.days_before is 7 (Number)
      • payload.days_before is 1 (Number)

This matches a reminder event that is seven days or one day ahead, and nothing else. Because the type is Number, it matches whether the event sends 7 as a number or as the text "7".

To take something out, click Remove rule or Remove group.

Annotated screenshot: Combine rules with All or Any

Under the rules, the Inspector shows Yes and No. Each has a Then list. Pick End workflow, or pick a step of this workflow.

A new Condition starts with No on End workflow. Yes starts on the step that came after the Condition, or on End workflow when nothing comes after it. Check both before you publish.

For Is it news?:

  • Yes → Then: Send news alert
  • No → Then: End workflow

Annotated screenshot: Choose where Yes and No go

To add a new step on one side only, choose a step type beside that outcome and click Add step to Yes lane or Add step to No lane. You can also click a lane in the workflow first. The hint under Add a step changes to Adding to the Yes lane. Dragging stays inside this lane. and every tile you click goes into that lane. Click Add to the main line instead to go back.

In the workflow, each lane lists its steps and ends with where it goes next: End workflow, or the name of the step it continues to. Both lanes can lead to the same later step, so two paths can join again.

Annotated screenshot: The Yes and No lanes in the workflow

If you remove a step that an outcome points to, the builder asks Where should incoming paths go? Choose Next step or End workflow.

Step 6: Use Choose path for three or more ways

Section titled “Step 6: Use Choose path for three or more ways”

When Yes and No are not enough, add a Choose path step from Add a step. Its description reads Checks named paths from top to bottom and takes the first match.

Click the step. For each path:

  1. Type a Path name, for example News.
  2. Write its rules, the same way as in a Condition.
  3. Pick its Then.

Click Add path for the next one. At the bottom, set Then under Otherwise. Otherwise is where the run goes when no path matches. It is always there and cannot be removed.

Order Path name Rule Then
1 News payload.source is news Send news alert
2 Event reminder payload.source is event-reminder Send reminder
Otherwise Tell the owner

The helper at the top reads Paths are checked from top to bottom. The first match wins. Later paths are not checked once one matches, so put the most specific path first. Use Up and Down to change the order, and Remove to delete a path.

Already have a Condition? Click Convert to Choose path. Its rules become the first path, named Yes, and Otherwise takes the place of No.

Annotated screenshot: Use Choose path for three or more ways

Annotated screenshot: Otherwise and the order of the paths

Click Save draft. Under Sections, click Simulate. The screen is titled Test this workflow.

A test asks the server which path the live workflow would take. It creates no run, sends no message, calls no webhook and writes no record.

  1. Under Sample payload, type the event data as JSON, for example { "source": "event-reminder", "days_before": 7 }.
  2. If a rule reads a value from an earlier step, give that value under Sample step outputs.
  3. In Version to test, choose Draft being edited or Currently published. Each one shows its version number.
  4. If a date rule depends on today, set Simulated time. It is entered in the workflow's time zone.
  5. Click Test this workflow.

Annotated screenshot: Set up a test

Choose what happens at steps that wait. A step that waits shows a list named after the step, such as Wait for reply simulated outcome. Pick what should happen in this test:

Step Choices
Wait for message Message received or Timed out
Call webhook and wait Response received or Timed out
A step that asks for a decision Each decision the step offers, and Timed out when the step can time out

The first choice is used when you pick nothing. The result shows your choice on the step, for example Simulated: Timed out.

Annotated screenshot: Choose what happens at a step that waits

Read the result. The right-hand panel lists every step in order:

  • Only start when: matched or Only start when: did not match comes first, when the workflow has a filter.
  • A step on the path shows Would run.
  • A Condition or Choose path shows the way it went: Took Yes → Send news alert, Took No → End workflow, Took path News → Send news alert or Took Otherwise → Tell the owner.
  • A step that was not on the path shows why it was skipped:
Reason What happened
Skipped: No went to End workflow The step is on the Yes side, and the Condition took No. The reason names where No went.
Skipped: path News was taken The step is on another side, and this path was taken. Yes and Otherwise are named the same way: Skipped: path Yes was taken.
Skipped: workflow ended at Send news alert The workflow ended at the named step before it got here.
Skipped: did not start (Only start when did not match) The filter turned the event away, so no step ran.

Click Rule results on a Condition or Choose path to see each rule on one line: the field, its type, the value the workflow found, the comparison, the value you asked for, and Yes, No or Not checked. The comparison is shown as a short code, for example equals for is. Not checked means the answer was already decided by an earlier rule.

A No can carry a reason in brackets:

Reason What it means
missing_field The data has no value at that path.
type_mismatch The value does not fit the rule's Type.
not_a_number The value could not be read as a number.
invalid_date The value could not be read as a date.

Annotated screenshot: Read the result

If the result starts with Incomplete: depends on sample values you have not filled in, a rule needed a value from an earlier step that you did not supply. The rule shows Needs a sample value for and the path. Add that value under Sample step outputs and test again.

Do not confuse this with the Test workflow button in Activity. That button starts a real run of the published workflow.

Go back to Build and click Publish. You see Workflow published. The workflow now takes these paths for real events.

Publish stays unavailable while a rule or a destination has a problem. The problems are listed under Fix problems. You can still click Save draft with problems in it.

Click Activity. Run history lists each time the workflow ran. Click a run to see the Step timeline.

  • A Condition or Choose path shows the way it went, in the same words as the test: Took Yes → Send news alert, Took No → End workflow.
  • Click Rule results under it to see each rule and its answer.
  • Steps the run did not get to are listed after the others with a Not reached badge. When the run has finished, or a path it took passed the step by, the badge is followed by the reason, in the same words as the test. A step of a run that has not finished shows the badge alone.
  • A Condition that ran before 3 December 2026 shows Recorded before condition paths. Took and the step it went to.

An event that Only start when turned away created no run, so it is not in this list.

Annotated screenshot: Read the route in run history

Click a run, then click Test with this run's data. The Simulate section opens with that run's event data, the outputs of its steps, its start time and the outcomes it recorded, and runs the test at once. You see Testing with run, the run's reference, and data.

Use it to see why a run went the way it did, or to try the same event against a draft you have changed. If the run is still waiting at a step, that step shows This run is still waiting here.

If the test and the run went different ways, the result says The simulator and this run took different paths and names the first step where they differ. For a run from before 3 December 2026 it adds This run used the earlier condition behavior.

Click Stop using this run's data to go back to your own sample.

Annotated screenshot: Test again with a real run's data

Before this date a Condition never stopped anything. The next step ran whether the rules matched or not. Now a Condition does what it says.

  • It ends the workflow when its rules do not match. Yes goes to the step that came next. No ends the workflow.
  • The builder shows a notice on it: This condition now ends the workflow when its rules do not match. Choose where No should go. If the workflow should stop when the rules do not match, leave it. If not, open the Condition, pick a step under No → Then, save and publish.
  • A Condition with no rules still always continues. It shows This condition has no rules, so it always continues. You cannot publish the workflow again until the Condition has a rule. Add a rule, or remove the step.
  • Some older "not" rules can now give the opposite result. This applies to is not, does not contain and is none of on a number, a checkbox, or a Notion select, status, person or relation. For example, payload.count is not 5 used to be true when the event sent the number 5 and the rule held the text 5. Now the two are equal, so the rule is false. Test every workflow that has such a rule.
  • Past events are not run again. Runs that already happened stay as they were. The change applies to events that arrive from 3 December 2026.

The fastest check for an older workflow: open a recent run in Activity, click Test with this run's data, and read which way it goes now.

  • A rule group holds up to 20 rules and groups. Groups go up to 3 levels deep.
  • is any of and is none of take up to 50 values.
  • A Choose path step holds 1 to 10 paths. A path name is 1 to 40 characters and must be different from the other names in that step.
  • Type is Text, Number, Date or Yes/No.
  • Only start when reads the event's data only, not values from steps.
  • A path cannot lead back to its own Condition or Choose path.
  • A test sends nothing and creates no run. The sample data for one test can be up to 256 KB in total. You can run up to 30 tests a minute.
  • Test with this run's data fills in only the most recent message a run received.

In the messages below, the text before the colon is the name of your step.

What you see What it means What to do
a rule group cannot be empty. or This group is empty. Add a rule before publishing. A Condition, a path or a group has no rule. Click Add rule, or click Remove group.
every rule needs a field. A rule has nothing in Field. Pick or type a path.
every field must start with payload. or context. The path has no starting word. Put payload. in front for event data, for example payload.source.
Only start when can only use the event's data. A rule in Only start when reads a context. path. Use a payload. path, or move the rule into a Condition.
needs a value. The comparison needs a value and Compare to or Values is empty. Type the value, or choose is empty or is not empty.
is not a number., is not a valid date. or is not Yes or No. The value you typed does not fit the Type. Fix the value, or change Type. A date looks like 2026-12-10.
this comparison is not available for and a type The rule's comparison does not belong to its Type. Pick a Comparison from the list again.
is any of and is none of accept at most 50 values. The list is too long. Remove values, or split the rule into two.
a rule group can have at most 20 items. or rule groups can nest at most 3 levels. The group is too big or too deep. Move some rules into a second Condition.
Yes needs a valid destination., No needs a valid destination. or Otherwise needs a valid destination. The outcome points to a step that is no longer there. Pick a step or End workflow in Then.
cannot create a cycle. The outcome leads back to this same step. Pick a later step, or End workflow.
add between 1 and 10 paths. A Choose path step has no paths, or more than 10. Click Add path, or remove some.
every path needs a name of 1 to 40 characters. or path names must be unique. A path name is blank, too long, or used twice. Change the Path name.
This path can never be reached because an earlier path has identical rules. Two paths have the same rules, so the first always wins. This is a warning. You can still publish. Change the rules of one, or remove it.
Both outcomes go to the same step. This condition does not change what happens. Yes and No have the same Then. This is a warning. You can still publish. Pick a different Then for one of them.
This step sends to everyone and runs on every event that starts this workflow. A notification to everyone is on every path and the workflow has no Only start when. This is a warning. Add a filter in Only start when, or put the step on one side of a Condition.
Time zone for dates must be a valid IANA time zone. The time zone under Settings is not a known zone. Type a zone such as Europe/Berlin.
This step has paths the builder cannot edit yet The step was built with an older kind of path. It keeps running as it did, and the workflow shows it with Read only paths. Leave it as it is. To change the paths, build them again with a new Choose path step.
The workflow ends at a Condition and it used to carry on The Condition was saved before 3 December 2026. No now ends the workflow. Open it and pick a step under No → Then.
A notification goes out for events meant for another workflow Both workflows listen to the same app webhook. Add Only start when to each workflow. See Step 2.
A rule says No and the value looks right The Type does not fit the value, or the capital letters differ. Open Rule results and read the value the workflow found. Change Type, or tick Ignore upper and lower case.
Save the workflow draft before testing it. The workflow has never been saved. Click Save draft in Build, then test.
Payload must be a JSON object. Sample payload is not JSON inside { }. Fix the JSON.
Incomplete: depends on sample values you have not filled in A rule reads a value from an earlier step and the test has none. Add the value under Sample step outputs.
Simulated time is not a date and time we can read. Use a value such as 2026-12-10T09:00. Simulated time could not be read. Pick the date and time again.
The sample is too large to test. Remove fields the workflow does not use. The sample is over the size limit. Cut the sample down to the fields your rules read.
Too many tests in a row. Try again in a minute. You reached the limit of tests per minute. Wait a minute.
Testing is unavailable right now. The server could not run the test. The builder does not guess a result. Try again. If it keeps happening, contact support.
The builder is out of date. Reload to test with the current rules. Your tab is older than the server. The result shown is still the server's. Reload the page.
Open a run before testing with its data. No run is open yet. Click a run in Run history, wait for its Step timeline, then click the button.
This workflow was changed by a newer version of the builder. Reload to keep editing. The save came from a tab that was open before the update. Reload the page, then make the change again.