The stop automation action in Automate is used to immediately halt a running automation when it reaches a defined trigger, condition, or exit path. Depending on the option selected, it can stop just the automation logic or stop the automation and also square off positions.
This action is commonly used for exit conditions, safety cut-offs, profit booking, and risk management.
What does stop automation do?
When a Stop automation node is executed:
- The automation stops immediately.
- No further triggers, conditions, or actions are evaluated.
- Any future scheduled runs are halted unless the automation is manually started again.
- What happens to open positions depends on the specific stop option you choose.
Types of stop automation
FYERS Automate currently provides three stop automation options in the Actions panel.
1) Stop automation
- Stops the automation immediately.
- Does not square off any positions.
- All open positions remain active in the market.
Configuration: Add the Stop automation action to the canvas and connect it to the required trigger or condition. No additional settings are required.
2) Stop automation and square off positions
- Stops the automation immediately.
- Squares off all open positions in the account, including manual trades and positions from other automations.
Configuration: Add the Stop automation and square off positions action to the canvas and connect it to the required trigger or exit path. This option does not require further configuration.
3) Stop automation and square off current positions
- Stops the automation immediately.
- Squares off only the positions created by the current automation.
- Positions from other automations or manual trades remain untouched.
Configuration: Add the Stop automation and square off current positions action to the canvas and connect it to the required trigger or condition. No additional inputs are required.
Steps to add any condition in stop automation
Use the steps below to correctly add and run a Stop automation action.
- Log in to FYERS Web and go to Automate → Dashboard.
- Click Create automation.
- In the workflow canvas, add the required start, trigger, or condition nodes.
- Open the Actions tab and expand Stop automation.
- Drag and drop the required stop automation action onto the canvas.
- Connect the action node to the appropriate trigger or condition path.
- Click Validate to confirm the automation has no errors.
- After successful validation, click Run now or schedule the automation.
The stop automation action is executed only when its connected path is reached during a run.
Always use Stop automation and square off current positions when running multiple automations to avoid closing unrelated trades.
Last updated: 22 Dec 2025
Related Articles
How can I stop a running automation?
You can stop an automation from the Dashboard or end it by scheduling inside the workflow. Ways to stop 1) From the Automate Dashboard (My automations) Go to Automate → Dashboard → My automations. Open the row actions for the running automation. ...
What happens if I manually square off positions created by an automation?
When you manually square off a position that was opened by an Automate workflow, it immediately affects the run. Here’s exactly what happens and how to manage exits safely. Explanation Manually squaring off any position opened by that automation ...
What does the “Check only for this automation” checkbox mean?
The checkbox Check only for this automation decides what positions are checked. Turn it ON to check only the trades made by this automation. Turn it OFF to check the scheduled automations to be run in the future. What it does ON (checked): Uses only ...
How Does Square Off Work for Closing Positions From This Automation or Across the Account?
The square off action in Automate is used to exit open positions when an automation reaches a specific trigger, condition, or exit path. Depending on the selected action type, it can close only positions created by the current automation or positions ...
How Do I Place Trades With Place Order and Choose Instrument, Strike/Expiry, and Quantity/Lots?
The place order action in Automate lets you place a live trade automatically when your automation reaches a specific trigger, condition, or step. Based on the order type you select, you can place options, futures, or a direct order for a symbol, and ...