Skip to content

Latest commit

 

History

History

auto-tag-customers-with-the-current-date

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-tag new customers with the current date

Tags: Auto-Tag, Customers

Use this task to tag incoming customers with the current date/time, using the format of your choice, and optionally a prefix and suffix. If you like, enable "Wait until the customer is enabled" to apply the tag when the customer's online account is activated, rather than when the customer is first created.

Default options

{
  "tag_date_format__required": "%Y%m%d",
  "tag_prefix": "signup-",
  "tag_suffix": null,
  "wait_until_the_customer_is_enabled__boolean": null
}

Learn about task options in Mechanic

Subscriptions

{% if options.wait_until_the_customer_is_enabled__boolean %}
  shopify/customers/enable
{% else %}
  shopify/customers/create
{% endif %}
shopify/customers/create

Learn about event subscriptions in Mechanic

Documentation

Use this task to tag incoming customers with the current date/time, using the format of your choice, and optionally a prefix and suffix. If you like, enable "Wait until the customer is enabled" to apply the tag when the customer's online account is activated, rather than when the customer is first created.

To customize the date/time format, use an "strftime" reference, like www.strfti.me.

Installing this task

Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!