Skip to content

Latest commit

 

History

History

auto-tag-customers-having-a-rolling-minimum-total-spend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Auto-tag customers having a rolling minimum total spend

Tags: Auto-Tag, Customers, Spend

This task runs daily to maintain tags for any customers that have a certain spending threshold within a rolling period of order history. Useful for rewarding customers who keep a consistent spend total.

Default options

{
  "minimum_total_spent__number_required": null,
  "customer_tag_to_apply__required": null,
  "days_of_order_history_to_consider__number_required": 30,
  "only_monitor_customers_having_this_tag": null,
  "run_hourly_instead_of_daily__boolean": null
}

Learn about task options in Mechanic

Subscriptions

{% if options.run_hourly_instead_of_daily__boolean %}
  mechanic/scheduler/hourly
{% else %}
  mechanic/scheduler/daily
{% endif %}
mechanic/user/trigger

Learn about event subscriptions in Mechanic

Documentation

This task runs daily to maintain tags for any customers that have a certain spending threshold within a rolling period of order history. Useful for rewarding customers who keep a consistent spend total.

Optionally, choose to filter by customers who have a specific tag, or to run hourly instead of daily for increased tagging frequency.

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!