When should I use Modify order, and which fields can be changed?

When Should I Use Modify Order, and Which Fields Can Be Changed?

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