Send a message to Slack, with Mechanic.

Mechanic is a development platform for Shopify. :)

Send a message to Slack

Purely for demonstration purposes, this task illustrates how one might set up a script to send Slack messages. As written, this task requires a Slack incoming webhook URL - [learn how to generate this]( Then, [learn more about sending to Slack with Mechanic](

Runs when a user triggers the task. Configuration includes slack incoming webhook url.

15-day free trial – unlimited tasks

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Gurus, 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.

Open source
View on GitHub to contribute to this task
when a user triggers the task (mechanic/user/trigger)
slack incoming webhook url (required)
{% action "http" %}
    "method": "post",
    "url": {{ options.slack_incoming_webhook_url__required | json }},
    "body": {
      "text": "hello, world!"
{% endaction %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.