Slack
Connect Mechanic to your Slack workspace, so that you can post messages from Mechanic to a channel in your workspace. New order notifications? Error Notifications? The options are endless. You now have a Slack to Shopify integration.
Authentication
Before using the Slack integration install the Mechanic Slack app in your Slack workspace:
Go to your Mechanic Settings screen
Click on Authentication
Install the Mechanic Slack app from the Slack tab
Basic Usage
See full usage here.
{% action "slack" %}
{
"account": "SLACK_ACCOUNT_NAME",
"method": "POST",
"url_path": "/chat.postMessage",
"headers": {
"Content-Type": "application/json"
},
"body": {
"channel": "CHANNEL_ID",
"text": "Slack Example Message",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Lorem ipsum dolor sit amet consectetur adipiscing elit."
}
}
]
}
}
{% endaction %}Last updated
Was this helpful?