Skip to main content

End run action

Stop an automation run on purpose and give it a status. End it as a success to skip the rest, or as failed so the problem shows up in your runs.

Written by Leo

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.

Adding the End run action in an Expenses automation and changing the status from Success to Failed

Note:

  • End run stops the whole run. It ends the run, not only the block it sits in. To leave only a loop, toggle on Break statement in the loop's menu instead.

  • Actions below it never run. Place End run last in a branch, usually inside Conditional actions.

  • Check the status. The action starts as Success. Choose Failed if 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 admin of the workspace the app is in. App permissions alone aren't enough.

Add the End run action

To end a run on purpose:

  1. Open the app and click the automations icon at the top right (Create and view automations).

  2. Open an automation, or select New automation and choose a trigger.

  3. Select Add action → End run. In the list, its description reads End run with a specific status.

  4. Select the status, which starts as Success, and choose Failed if needed.

  5. Select Save changes.

The End run action with the status Success, shown in the automation editor.

End run settings

The action reads End run with status Success. Select the status to change it:

  • Success ends the run as completed. Use it to skip the remaining actions when everything is fine.

  • Failed ends the run as failed. The run shows the status Failed with 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:

  1. Set the trigger to When a record is created in the Candidates app.

  2. Select Add action → Conditional actions and set the condition Email Is not empty.

  3. Inside the block, add Send email with the welcome message.

  4. Open the block's menu ••• and toggle on Else statement.

  5. In the else branch, select Add action → End run and choose Failed.

  6. 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 run with Failed is 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 run don'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 run runs the automation once. Under Run on, select the records, then select Save 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?

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?

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?

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?

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?

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 →

Did this answer your question?