Skip to content

Latest commit

 

History

History
 
 

temporarily-add-an-order-note

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Temporarily add an order note

Tags: Order Note

This task looks up orders by their order number, adds the note of your choice to the order record, and removes that same note 12 hours later. A bespoke task for a very specific merchant need, we publish this task as an example of getting creative with Mechanic. :)

Default options

{
  "hours_to_wait__number_required": 12,
  "order_note_to_add__required": null
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/text
user/orders/remove_note

Learn about event subscriptions in Mechanic

Documentation

This task looks up orders by their order number, adds the note of your choice to the order record, and removes that same note 12 hours later. A bespoke task for a very specific merchant need, we publish this task as an example of getting creative with Mechanic. :)

Run this task manually, and enter one or more order numbers (one per line, making sure to use the exact order number - including symbols and prefixes/suffixes. Mechanic will add the note you configure to the corresponding order, and remove it 12 hours later.

Mechanic will preserve any existing notes on file for these orders, appending the new note content to the end of the content already in place.

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!