# Update draft order note

The **Update draft order note** action updates [the notes on a draft order page](https://help.shopify.com/en/manual/fulfillment/managing-orders/managing-order-details.md#notes-comments) for the order that triggers the workflow.

When you create an order from a draft order, the draft order notes are carried over and added as order notes.

<aside class="note"><h4>Note</h4><p>By default, this action replaces the contents of the note. To add content to the existing note, add a customer note variable followed by the content that you want to add to the note in the <strong>Note</strong> field.</p>
<p>For example, in a flow that starts with a draft order trigger, enter <code>{{draftOrder.note}}</code> followed by the content to add.</p>
</aside>

## Fields

The **Update draft order note** action contains the following fields.

<table>
  <caption>Fields used in the Update draft order note action.</caption>
  <thead>
    <tr>
      <th scope="col" width="40%">Field</th>
      <th scope="col">Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td scope="row">Note</td>
      <td>The note to be applied to the draft order.</td>
    </tr>
  </tbody>
</table>

## Triggers

The **Update draft order note** action has a hidden field added to it by the trigger. This field, **Draft order ID**, identifies the draft order to update. The draft order ID is set by default and can't be changed.

The **Update draft order note** action can be used in workflows that include a draft order, which include the following triggers:

* [Draft order created](https://help.shopify.com/en/manual/shopify-flow/reference/triggers/draft-order-created.md)

## API details {#api-details}

To learn more, review the [draftOrderUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/draftOrderUpdate) mutation.

## Templates {#templates}

### Get notified when new draft order created

Receive an email when a new draft order is created. [View template](https://shopify.com/admin/apps/flow/editor/templates/2011e6c7-7a4a-4fbf-b65d-38f530522b4f)
