Tags: Auto-Tag, Orders, Shipping
This task automatically adds the tag of your choice to incoming orders, based on the country in the order's shipping address.
- View in the task library: tasks.mechanic.dev/auto-tag-orders-by-shipping-address-country
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"tags_to_apply_and_country_codes__keyval_required": null
}
Learn about task options in Mechanic
shopify/orders/create
Learn about event subscriptions in Mechanic
This task automatically adds the tag of your choice to incoming orders, based on the country in the order's shipping address.
Begin by clicking the Add item link next to the Tags to apply and country codes field. Enter tags on the left (one per row), and for each tag add one or more two-character country codes on the right, separated by commas. Country codes should be entered in all caps. Find country codes here.
Example input: Central America > BZ,CR,SV,GT,HN,NI,PA
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.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!