Auto-tag new customers
This task tags every new customer, with the same configurable tag. :)
Try this taskWhen it runs
Occurs whenever a customer is created
What you choose
Tag
Documentation
This task tags every new customer, with the same configurable tag. :)
This task tags new customers, as their accounts are created.
To tag all of your existing customers at once, open the "Customers" section of your store, then click the checkbox in the upper-right corner of the list. You'll then see an option to "Select all 50+ customers in your store". Click it, then use the "Actions" -> "Add tags" menu item to tag all customers.
Task code and subscriptions
You can edit the Liquid code after installing this task. View on GitHub or ask a question in the Mechanic Slack community.
Subscriptions
shopify/customers/create
How task subscriptions work
Option types and flags
- Tag (required)
Task code
{% action "shopify" %}
mutation {
tagsAdd(
id: {{ customer.admin_graphql_api_id | default: "gid://shopify/Customer/1234567890" | json }}
tags: {{ options.tag__required | json }}
) {
userErrors {
field
message
}
}
}
{% endaction %}
Mechanic Liquid reference