Assertion

Use the Assertion flow step to validate specific conditions when testing or debugging a flow. If the defined conditions are met, the flow continues; if not, the flow fails. You can repeatedly run a flow with Assertions until all Assertions pass, ensuring all necessary conditions are met before you promote the flow to main.

For example, you can use an Assertion to validate that certain properties output from a Map Step are shaped correctly when you do not want to send the data to a target system yet. In this scenario, you can run the flow and validate that the data looks correct without sending and deleting the data from the target app.

You should not use this step in main flows. Actions and Stop Flow steps are both preferred methods of validating flow step outcomes. Both options provide more details about a flow's outcome, making them better for production flows.

Step Inputs

Select +Add Item to add an Assertion.

Label

Expected

Actual

Assertion Type

Step Outputs

There are two possible outputs for an Assertion step, depending on whether the Assertion conditions are met.