Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Configure Slack with the Webhook #9123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions docs/platform/triggers/trigger-pipelines-using-slack-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,26 @@ Click on **Continue**.
Click on **Create Trigger**

### Configure Slack with the Webhook

This section explains how to configure Slack with your webhook to enable real-time notifications. Follow these steps to integrate the webhook and set it up for bot events in your chosen channel

1. Navigate to your Slack account.
2. Under Settings, go to **Event Subscriptions**.
3. Turn on **Enable Events**
4. In the **Webhook URL** field, paste the webhook URL you configured earlier. The URL will be auto-verified to ensure it's valid.
5. After the URL is verified, configure the webhook under the **Subscribe to Bot Events** section.
6. Add the desired channel.
This section explains how to configure Slack with your webhook to enable real-time notifications.

Follow these steps to integrate the webhook and set it up for bot events in your chosen channel:

1. Go to the [Slack website](https://api.slack.com/) on your browser.
2. After logging in, click on **Your Apps** located in the top-right corner of the page.
3. On the **Your Apps** page:
- Select an existing app where you want to configure your webhook.
- To create a new app, click **Create New App**.
1. Choose **From a manifest** if you want to use a manifest file to define the app's basic info, such as scope and settings:
- Select the workspace where you want the app to be used.
- Update the JSON content based on your requirements, such as the app's name, settings, etc.
- Click **Create App**.
2. Choose **From scratch** to manually add the app name and workspace through the UI.
4. In the **Your Apps** page, under **Features** in the left navigation bar, go to **Event Subscriptions**.
5. Turn on **Enable Events**.
6. In the **Request URL** field, paste the webhook URL you configured earlier. The URL will be automatically verified to ensure it is valid.
7. Under the **Subscribe to Bot Events** section, add the events that should trigger the webhook. Click **Save Changes**.
8. Navigate to your Slack application and open the channel where you want the webhook to trigger events. In the channel settings, go to the **Integrations** tab and add the app you just created.

For more information, visit the [Slack Documentation](https://api.slack.com/apis/events-api).

Now that Slack is configured, any relevant Slack event in the configured channel will trigger the pipeline.
Loading