Auto-tag new customers, with Mechanic.

Mechanic is a development platform for Shopify. :)

Auto-tag new customers

This task tags every new customer, with the same configurable tag. :)

Runs when a customer is created. Configuration includes tag.

15-day free trial – unlimited tasks


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.

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Gurus, everybody.

That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.

Open source
View on GitHub to contribute to this task
when a customer is created (shopify/customers/create)
tag (required)
{% action "shopify" %}
  mutation {
      id: {{ customer.admin_graphql_api_id | default: "gid://shopify/Customer/1234567890" | json }}
      tags: {{ options.tag__required | json }}
    ) {
      userErrors {
{% endaction %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.