Orders

Tag new orders by payment gateway

Adds one or more payment-gateway tags to each new order based on the gateway names in the webhook payload.

When to use this template

This template is built for Shopify stores using the JsWorkflows app.

Use this template when you want a ready-made workflow for this use case: Adds one or more payment-gateway tags to each new order based on the gateway names in the webhook payload.

It is designed for Shopify order operations and gives you a production-ready starting point instead of building the automation from scratch.

This workflow uses the Shopify webhook trigger model and starts from the "Order created" trigger. It includes setup fields for merchant-facing values, so you can configure the workflow before installing it.

Setup guide

Before you start

This template tags each new order based on the payment gateway names in the webhook payload.

Configure in setup

  • Tag prefix: prefix prepended to each normalized payment gateway name

Notes

  • Gateway names are lowercased and normalized to tag-safe text
  • If Shopify does not include any gateway names, the workflow adds an unknown tag under the configured prefix

Setup fields

Tag prefix
textRequiredconfig

Prefix to use when building payment gateway tags.