How to Send Slack Alerts from GoAnywhere
To be able to send notifications to Slack you need to follow these steps:
- Create a Slack App (start building) and generate an incoming webhook using https://api.slack.com/
- Give the app a name and choose a workspace.
- Navigate to Add Features and Functionality > Incoming Webhook > Activate Incoming Webhooks > Add New Webhook to Workspace > Select Channel (if no channel exists, create one) > Allow.
- Copy Webhook URL to your clipboard: Example: https://hooks.slack.com/services/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
- Add Slack as Resource in GoAnywhere by navigating to Resources > REST Servers > Add REST Server > Add Webhook URL. Paste the URL in the clipboard and Save.
- Create a new project by navigating to Workflows >Create a project > Web Services > REST Post > Select the REST Server created in step 5.
- Add the following content:
{ "text": "Test message from GoAnywhere MFT" }
- Save.