Slack Hooks

Slack hooks are the simplest way to receive real-time updates about your account activity into your Slack team's inbox.

To use Slack hooks, you will have to authorize Xplenty to post content into your Slack team inbox. After the hook is created, your Slack team will be sent notifications every time the events are taking place. 

Creating Slack Hooks


Slack hooks are defined at the account level by account administrators. Here are step-by-step instructions on how to create a Slack hook.
  1. Click your avatar, then click Account settings
  2. Click Service Hooks from the left pane menu.
  3. Click + new hook.
  4. In the list, choose Slack.
  5. You will be redirected to Slack's authorization page to accept Xplenty's authorization request. Follow the instructions.
  6. Select the events you want to be notified about using this webhook:
      All Job Notifications: All events below.
      • Job Submitted: Job was submitted by user or schedule for execution.
      • Job Started: Job execution started.
      • Job Stopped: Job stopped by user.
      • Job Completed: Job completed successfully.
      • Job Failed: Job completed with failure.
    • All Cluster Notifications: All events below.
      • Cluster Requested: Cluster creation requested by user or schedule.
      • Cluster Available: Cluster is available and jobs can be run on it.
      • Cluster Terminated: Cluster is terminated.
      • Cluster Idled: No activity on the cluster for a specified interval.
      • Cluster Error: Cluster error occurred and jobs can't be executed on it.
  7. By default, the Slack hook is created active but you can disable it if you wish.
  8. Click create service hook to save your changes.
  9. You can trigger a ping event to test the hook.
That's it! You are ready to get real-time notifications right into your Slack team.

Please note that due to a technical limitation on Slack's side, deleting a Slack hook will not remove the integration from your Slack team. You will have to manually revoke Xplenty's integration.

Note: Xplenty is using minimal permission required to post messages to Slack teams ("incoming-webhook" scope). No read permissions are granted. You can read more about it here.

Feedback and Knowledge Base