Skip to content

Bundle BuilderFAQ

Tagging orders with Bundles using Shopify Flow

To automatically tag orders containing bundle offers, you can set up a workflow in Shopify Flow. This workflow will check for the custom attribute _mw_marketing_offers_offer_id in your orders and add a specific tag to those that include bundle offers. Here’s a detailed guide, with a visual reference from your provided screenshot:

  1. Open Shopify Flow: Access the Shopify Flow app from your Shopify admin dashboard.

  2. Create a new workflow: Click on “Create workflow” to start a new automation.

  3. Set Trigger:

    • Trigger Event: Select “Order Created” as the trigger event. This ensures that the workflow starts whenever a new order is created.
  4. Add Condition:

    • Condition Type: Choose the condition to check for the custom attribute**:\
      • click on Add variables\
      • choose ‘order’\
      • find ‘lineitems’\
      • choose ‘customAttributes’\
      • choose ‘key’\
      • Condition:** Set to ‘Equal to’\
      • set ‘Key’ as _mw_marketing_offers_offer_id

Shopify Flow condition checking custom attribute key _mw_marketing_offers_offer_id

  1. Apply Action:

    • Action Type: Select “Add order tags.”
    • Tag Value: Enter mw_bundle_offer as the tag to be added to the orders that meet the condition.
  2. Save and Activate: Save your workflow and activate it to start automatically tagging orders with the specified attribute.

You can test your flow on a certain order, which includes bundles. To do that follow these steps:

  • click on ‘Select test event’ on the top of your flow

Shopify Flow workflow with the Select test event button at the top

  • click ‘Add event’ - ‘Create event’

Test your workflow panel with Add event menu open and Create event option

  • Name event and select an order for test

Create event panel with event name and a selected test order

  • run the test and see the result

Workflow test run result with the condition passing on the True branch