-
Notifications
You must be signed in to change notification settings - Fork 174
Slack
Go to your organizations Apps & Integrations page. It should look like this;
Click on the "Manage" button in the top right hand corner, then choose
Custom Integrations > Bots > Add Configuration
Configure your bot settings and be sure to collect the API Token and add it into your config.json
file
Assuming that you have shopify-monitor deployed on a server you will have to have some http entrypoint in order to set this up. When initiating the script it should print "Local server started on port ". Here you can either run your server on a VPS, Heroku, AWS, etc. If you're just running it on your local computer you can port foward your IP address and bind it to the port so you can easily access the shopify-monitor http service. Assuming that you have that set up and have an HTTP Entrypoint to access the shopify-monitor web service then you can continue on with setting up custom commands.
Returns monitor status of specific configurations and server uptime.
How to configure:
- Custom Integrations > Slash Commands > Add Configuration (this)
- Set the command name to
/monitor
or whatever you want to name it - Set the URL to <domain/ip to shopify-monitor webserver>/command/status
- Make sure the Method type is
POST
and if so continue on and customize it however you like, just don't change the values instructed to input.