End run is an action that stops the current run at that point and sets its final status to Success or Failed (the actions below it don't run). It's meant to help you stop early when the rest of an automation doesn't apply, or when something is wrong and someone should look at it.
You can use this action for many things, including:
Stopping a run for records that don't need the next steps, such as expenses that are already approved.
Marking a run as failed when a lead has no email address, so it appears in your list of failed runs.
Note:
End runstops the whole run. It ends the run, not only the block it sits in. To leave only a loop, toggle onBreak statementin the loop's menu instead.Actions below it never run. Place
End runlast in a branch, usually insideConditional actions.Check the status. The action starts as
Success. ChooseFailedif the run should show up as failed.
Who can use the End run action?
Automations are available on all plans: Free, Plus, and Premium. The number of automation actions per month depends on your plan. See the limits for your plan on our pricing page.
To add or change this action, you need to be a
Workspace adminof the workspace the app is in. App permissions alone aren't enough.
Add the End run action
To end a run on purpose:
Open the app and click the automations icon at the top right (
Create and view automations).Open an automation, or select
New automationand choose a trigger.Select
Add action→End run. In the list, its description readsEnd run with a specific status.Select the status, which starts as
Success, and chooseFailedif needed.Select
Save changes.
End run settings
The action reads End run with status Success. Select the status to change it:
Successends the run as completed. Use it to skip the remaining actions when everything is fine.Failedends the run as failed. The run shows the statusFailedwith the reason "Workflow exited by dedicated Action".
The action menu ••• has Settings, Continue on error, Deactivate, Turn into, Duplicate, and Remove. Learn more about action settings →
Let's look at an example
Let's say your recruiting team wants to know about every new candidate without an email address. Here's how:
Set the trigger to
When a record is createdin theCandidatesapp.Select
Add action→Conditional actionsand set the conditionEmailIs not empty.Inside the block, add
Send emailwith the welcome message.Open the block's menu
•••and toggle onElse statement.In the else branch, select
Add action→End runand chooseFailed.Select
Save changes.
The next time a candidate is added without an email address, the run stops and is marked as failed. Open the automation's Runs panel to see which candidates need attention. Follow notifies you about all failed runs, including runs you end with Failed.
End run errors
An
End runwithFailedis not an error in your automation. It's the status you chose, and it shows as a failed run in the list.If actions below
End rundon't run, that's expected. Move them above it, or into a different branch.If you want the run to count as a success and still skip steps, choose
Success.
Test, pause, or edit the End run action
Manual runruns the automation once. UnderRun on, select the records, then selectSave and start run.A simulated run shows where the run stops, without changing data. Learn more about testing automations →
To change the status, open the automation, select the status on the action, then select
Save changes.
Learn more
FAQs
What's the difference between Success and Failed?
What's the difference between Success and Failed?
Success ends the run as completed. Failed ends it as failed. In both cases, the actions below End run don't run.
Can I end only a loop?
Can I end only a loop?
Not with End run, which ends the whole run. To leave only a loop, open the loop's menu ••• and toggle on Break statement.
Can I end a run without any condition?
Can I end a run without any condition?
Yes, but then the run always stops at that action. Put End run inside Conditional actions to stop only for some records.
Can I stop a run from a script?
Can I stop a run from a script?
Yes. Throw an error in Execute script, and the run fails at that point with your message. Learn more about Execute script →
Are you a developer using the Tape API for automations?
Are you a developer using the Tape API for automations?
The automation API has its own documentation for developers. Full reference: exit in the developer docs →
Still have questions? Find answers and get help from community experts in the Tape community →
