Add product tags

The Add product tags action adds a tag to the product that triggers the workflow.

Fields

The Add product tags action contains the following fields.

Fields used in the Add product tags action.
FieldDescription
TagsThe tags to add to a product. Tags are case sensitive. To add multiple tags, do one of the following:
  • Enter each tag separately by typing the tag, and then pressing the enter key.
  • Enter multiple tags by separating them with commas. Whitespace between commas is removed.

    For example, entering tag1,tag2,tag3 and then pressing enter key results in tag1,tag2,tag3 initially displaying in the action. When the action is taken, three separate tags are added: tag1, tag2, and tag3.

Triggers

The Add product tags action has a hidden field added to it by the trigger. This field, Product ID, identifies the product to add tags to. The product ID is set by default and can be used with triggers that contain products or variants, including:

Example

Example of a workflow that adds a tags when a product is added to the store

In this example workflow, the new arrival tag is added to all newly created products.

API details

To learn more, review the tagsAdd mutation.

Common issues

Flow says that it added a tag but the tag isn't available in the Admin.

Reason: an app (typically) or Admin user overwrote the tag. This happens because many apps use the same events, such as Order created, as Flow. Flow often finishes first, and then other apps make edits that don't take into account the new tags.

Solution: the best solution would be for the app to have an action in Flow that you could call after Flow runs. If such an action isn't available, then you should contact the app to ask them how to avoid overwriting your tags. If you can't solve the issue with the app, then you can try inserting a "Wait" step in Flow to delay when Flow adds tags.

Can’t find the answers you’re looking for? We’re here to help.