4.3 Slack app & webhook

Create a Slack app and Incoming Webhook

  1. Sign in to slack.com, create a workspace (e.g. sentinel) or reuse one.

  2. Create channel vprofile-actions (Private).

  3. Open api.slack.com/apps -> Create New App -> From scratch (name vpro-act-notifications), pick the workspace -> Create app.

  4. Incoming Webhooks -> Activate.

    Incoming Webhooks page

  5. Add New Webhook to Workspace -> choose channel vprofile-actions -> Allow.

    Allow webhook

  6. Copy the Webhook URL and save it. Test:

    curl -X POST -H 'Content-type: application/json' \
      --data '{"text":"Hello, World!"}' <YOUR_SLACK_WEBHOOK_URL>