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
- Add __userform to task options.
- Subscribe the task to mechanic/user/{resource} (so it shows up in Run tasks).
- On the Run tasks page, select the task and fill in the form. In Liquid, read values via input.<name>.
Learn more:
- Admin action links: https://learn.mechanic.dev/core/shopify/admin-action-links
- User Form: https://learn.mechanic.dev/core/tasks/user-form