--- title: "Running Flow Actions From A Rule" slug: "running-flow-actions-from-a-rule" description: "Configure Rules to evaluate data input, return true or false outcomes, modify values, and initiate Flows based on Rule conditions." updated: 2026-07-13T16:59:05Z published: 2026-07-13T16:59:05Z canonical: "documentation.decisions.com/running-flow-actions-from-a-rule" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Running Flow Actions From A Rule ## Overview Rules evaluate a data input and can be configured to return an outcome that is dependent on whether the input satisfies the Rule's conditions. Actions, such as changing the input value or initiating a Flow can be assigned and will run alongside the true or false outcomes that are outputted by logical Rules. This article requires prior knowledge of creating Rules and Flows. Please visit [Creating a Rule](https://documentation.decisions.com/version-10/docs/create-rules) and [Creating a Flow](https://documentation.decisions.com/version-10/docs/creating-your-first-flow-2) for more information on these subjects. ## Example This example will use two Flows (Admin Flow, Non Admin Flow) that will send a Popup Notification when successfully ran. The Rule will test whether the Email for the user contains "@admin". If it does, the Admin Flow will run. If it does not, the Non Admin Flow will run. The example below will cover how to add a Flow to the Rule's outcome and how to test the action. [ExampleLab[RuleActions].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BRuleActions%5D.zip) Actions are not available if **Allow Actions** is not enabled for the rule. To enable actions, check Allow Actions in the properties panel. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200433138.png) 1. Once Rule Actions have been enabled, in the Result block, select Add 2. A context menu will appear, allowing us to select various actions for the Rule. For this example, Run Flow is used.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200505395.png) 3. Create or pick the desired flow for each outcome path.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200567734.png) If creating a Unit Test for a Rule, select the Run Actions option under UnitTests on the Properties panel. This will allow any Flow actions added to a Rule's output to run when debugging using a Unit Test. To learn how to create a Unit Test, see [Running Unit Tests on a Flow](https://documentation.decisions.com/version-10/docs/running-unit-tests-from-the-flow-designer).![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200585894.png) ## Debug 1. To ensure the Rule works, select **Debug** on the top panel of the Rule Designer. 2. In the Email ID textbox, enter an email address with "admin@" (admin@email.com) and click START DEBUGGING.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200608539.png) The Rule will evaluate as True and run the Admin Flow since the email provided contained admin@. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200625070.png) 3. Click CREATE NEW SESSION and enter an email address that does not contain admin@ (example@email.com) and click START DEBUGGING.  Notice that the Rule evaluates as false![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781200647579.png)