Mechanic is a development and ecommerce automation platform for Shopify. :)
This task demonstrates Mechanic's opt-in ability to perform a task's generated actions in a sequence, rather than in parallel. To try this task, enable the "Perform action runs in sequence" option, in the task's advanced settings.
Runs Occurs when a user manually triggers the task. Configuration includes fail the sixth action.
This task demonstrates Mechanic's opt-in ability to perform a task's generated actions in a sequence, rather than in parallel. To try this task, enable the "Perform action runs in sequence" option, in the task's advanced settings.
Read more: Generating sequences of actions
Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Shopifolks, everybody.
That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.
(By the way, have you seen our documentation? Have you joined the Slack community?)
mechanic/user/trigger
{% for n in (1..10) %} {% if options.fail_the_sixth_action__boolean and n == 6 %} {% action "echo", n: n, __error: "!" %} {% else %} {% action "echo", n: n %} {% endif %} {% endfor %}