Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Draft Order Tags

Overview

The Update Draft Order Tags action adds or updates tags on a specific Shopify draft order using the Draft Order ID. Use this action to organise and track draft orders in your workflow with tags such as Pending Payment, Wholesale, Custom Order, or Follow Up.

Prerequisites

Before configuring this action, ensure the following:

  • You have an active Shopify connection configured under the Apps tab in Ownchat

  • The bot you want to configure is already created in the Bot Builder

  • The Draft Order ID is available as a static value or as a variable from a previous workflow node (e.g., from a Create Order as Draft response)

Step 1: Add an Update Draft Order Tags Node

  1. Click the plus icon in your bot workflow to add a new node.

  1. Go to the Connections tab within the node editor.

  1. Click Shopify to expand the available actions.

  1. Click Update Draft Order Tags to open the configuration form.

Step 2: Configure the Action

2.1 β€” Name the Action

Enter a descriptive name in the Action name field (e.g., Update Draft Order Tags).

2.2 β€” Select Connection

From the connection dropdown, select your Shopify connection (e.g., ieyal shopify live).

Step 3: Set the Draft Order ID

You have two options for supplying the Draft Order ID:

Option A β€” Static value Enter the Draft Order ID directly in the Order ID field.

Option B β€” Dynamic variable Click Add variable and select the variable that holds the Draft Order ID from your workflow (e.g., shopifydraftorder from a Create Order as Draft response).

Step 4: Add Tags

Select the tag you want to apply to the draft order. For example, select Pending Payment to mark the draft order accordingly.

Step 5: Store the Response

  1. Click the response variable field to open the dropdown.

  2. Select Create new variable and name it (e.g., draftordertags).

This variable holds the response returned by Shopify after the tag update and can be referenced in downstream workflow steps.

Step 6: Save and Publish

  1. Click Create to save the action configuration.

  1. Click Publish to deploy the bot with the new action.

Notes

  • The Draft Order ID is required. Use Option B when the draft order was created earlier in the same workflow to keep the flow fully dynamic.

  • This action applies to draft orders only. To tag a confirmed order, use Update Order Tags (5.4.8.12).

  • Tag values are case-sensitive in Shopify β€” use consistent naming across your workflows (e.g., always Pending Payment, not pending payment).

  • Changes take effect only after clicking Publish.

  • Shopify β€” Update Order Tags β€” Add or update tags on a confirmed Shopify order

  • Shopify β€” Create Order as Draft β€” Build a draft order before confirming

  • Shopify β€” Get Order Details β€” Retrieve details of an existing Shopify order

  • Bot Builder β€” Node Configuration β€” General guide to adding and configuring nodes

Last updated