You can now collect user input when running tasks from Shopify admin action links. If a task includes
__userform
options, the Run tasks page will show those fields and pass values into the run as input.<name> (with
event.data
still supported for compatibility). This appears when exactly one task is selected; in batch mode, the same input is applied to every selected resource.
How to use it
  1. Add __userform to task options.
  2. Subscribe the task to mechanic/user/{resource} (so it shows up in Run tasks).
  3. On the Run tasks page, select the task and fill in the form. In Liquid, read values via input.<name>.
Learn more: