Skip to content

Latest commit

 

History

History
 
 

maintain-a-tag-for-orders-processed-today

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Maintain a tag for orders processed today

Tags: Auto-Tag, Orders

This task auto-tags today's new orders, as they're processed, and auto-untags them when the date changes. Optionally, choose to untag outside of a rolling 24-hour window, instead of untagging yesterday's orders at midnight.

Default options

{
  "use_rolling_24_hour_window__boolean": null,
  "order_tag__required": null
}

Learn about task options in Mechanic

Subscriptions

shopify/orders/create

{% if options.use_rolling_24_hour_window__boolean %}
  mechanic/scheduler/10min
{% else %}
  mechanic/scheduler/daily
{% endif %}

Learn about event subscriptions in Mechanic

Documentation

This task auto-tags today's new orders, as they're processed, and auto-untags them when the date changes. Optionally, choose to untag outside of a rolling 24-hour window, instead of untagging yesterday's orders at midnight.

YouTube: See the development video for this task!

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!