The modify order action in Automate lets you change the details of a pending order during an automation run using its Order ID. It is useful when an order is placed but not yet executed, and you want to update its parameters based on changing conditions.
This action applies only to pending orders and does not affect executed or cancelled orders.
When should I use modify order?
Use modify order when:
- You need to update an order that is still pending in the order book.
- Market conditions change after placing the order.
- You want to adjust price, quantity, or order type without cancelling and placing a new order.
- Your automation requires dynamic updates to an existing pending order.
If the order is already executed, rejected, or cancelled, this action will not make any changes.
Which fields can be changed using Modify order?
When configuring a modify order node, you can update the following fields for a pending order:
- Order ID – Used to identify the order that needs to be modified.
- Lots – Updates the quantity for the pending order.
- Order type – Updates the order type (for example, Limit order).
- Limit price – Updates the limit price for the order.
Only the fields you change are updated; all other order details remain unchanged.
Steps to use the modify order action in Automate
Follow these steps when building a new automation from scratch.
- 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.
- In the left panel, open the Actions tab.
- Expand Modify order.
- Click Modify order to add it to the workflow canvas.
- Click the node to open Edit node configuration.
- Enter the required Order ID.
- Update the fields you want to modify (lots, order type, limit price).
- Click Apply to save the changes.
- Connect the node to the required trigger or condition path.
- Click Validate to ensure the automation has no errors.
- After successful validation, click Run now or schedule the automation.
The order is modified only when the automation reaches this node during execution.
Use modify order only for pending orders, as executed orders cannot be changed.
Last updated: 22 Dec 2025
Related Articles
What is the Output section in nodes, and how can I use it?
Each node can produce output values (data) when it runs. The Output section is where you view and copy those values so you can reuse them in later nodes. Output values are the list of data fields a node exposes (for example: order_id, filled_price, ...
How Do I Use Cancel Order To Cancel All Open Orders or a Specific Order ID?
The cancel order action in Automate helps you automatically cancel open/pending orders when your automation reaches a specific trigger, condition, or exit path. You can either cancel all open orders or cancel a specific pending order by entering its ...
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 ...
How does the Order status trigger work, and which statuses can I wait for?
Order status is a Trigger type in FYERS Automate. It lets your automation move forward only when a specific order (placed earlier in the same automation run) reaches the status you choose. This trigger does not place orders by itself. Use Order ...
When should I use Wait time, and what’s the difference between “Wait duration” and “Wait till”?
Wait time is a Trigger type in FYERS Automate that pauses an automation before it moves to the next step. It is used when your strategy needs to wait for a specific amount of time or until a specific clock time is reached. This trigger does not place ...