To receive webhooks in Airbyte, you can follow the...
# ask-ai
k
To receive webhooks in Airbyte, you can follow these steps to set up Slack notifications, which utilize webhooks. Here’s a detailed guide: ### Step 1: Create a Slack App 1. Navigate to [Slack API Apps](https://api.slack.com/apps/) and select Create an App. 2. Select From Scratch. Enter your App Name (e.g., Airbyte Sync Notifications) and pick your desired Slack workspace. 3. Enable Incoming Webhooks: - In the left sidebar, click on Incoming Webhooks. - Click the slider button in the top right to turn the feature on. - Click Add New Webhook to Workspace. 4. Select the channel that you want to receive Airbyte notifications in (ideally a dedicated one), and click Allow to give it permissions to access the channel. You should see the bot show up in the selected channel now. You will see an active webhook right above the Add New Webhook to Workspace button. 5. Click Copy to copy the link to your clipboard, which you will need to enter into Airbyte. Your Webhook URL should look similar to this:
Copy code
<https://hooks.slack.com/services/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PM1>
For more details, refer to the [Create a Slack app](https://docs.airbyte.com/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#create-a-slack-app) documentation. ### Step 2: Enable the Slack Notification in Airbyte 1. Click Settings and navigate to Notifications. On this page, you can toggle each slider to decide whether you want notifications on each notification type. Paste the copied webhook URL to
Webhook URL
. 2. Test it out: you can click Test to send a test message to the channel. Or, just run a sync now and try it out! For a successful sync, you should receive a notification that looks like this: 3. Click Save changes to ensure you continue to receive alerts about your Airbyte syncs. For more details, refer to the [Enable the Slack notification in Airbyte](https://docs.airbyte.com/cloud/managing-airbyte-cloud/manage-airbyte-cloud-notifications#enable-the-slack-notification-in-airbyte) documentation. ### Example Webhook Notification Payload Here is an example of the payload returned for a failed sync notification: ```json { "data": { "workspace": { "id": "b510e39b-e9e2-4833-9a3a-963e51d35fb4", "name": "Workspace1", "url": "https://link/to/ws" }, "connection": { "id": "64d901a1-2520-4d91-93c8-9df438668ff0", "name": "Connection", "url": "https://link/to/connection" }, "source": { "id": "c0655b08-1511-4e72-b7da-24c5d54de532", "name": "Source", "url": "https://link/to/source" }, "destination": { "id": "5621c38f-8048-4abb-85ca-b34ff8d9a298", "name": "Destination", "url": "https://link/to/destination" }, "jobId": 9988, "startedAt": "