Skip to main content

Webhooks

To receive webhooks notifications about schema changes in your database, you can set them up in Atlas Schema Monitoring. webhooks can be sent to Slack, Workplace, or any HTTP endpoint.

Setting up Webhooks

  1. Log in to your Atlas Cloud account at https://auth.atlasgo.cloud.

  2. Click on Monitoring in the top-level navigation on the left side of the screen.

  3. Choose the database you want to monitor and click on the Webhooks tab.

  4. Click on the Add Webhook button

  5. Select the integration type and fill in the required information.

    URL (Required) - the URL of the slack integration, you can create one here.

    Screenshot Example

To test your configuration, use the Send Test Notification button.

Screenshot Example

After setting up the webhook, you will receive webhooks whenever there are a schema changes in the database.

Testing Webhooks

Let's create new table in our database and see how the webhook notification works.

CREATE TABLE test_table (
id INT PRIMARY KEY,
name VARCHAR(255)
);

Now, hit the Refresh button inside the Overview tab to trigger schema snapshot of the database.

Now, you should receive a webhook about the schema change.

Screenshot Example

When clicking on the link inside the message, you will be redirected to the Changelog tab, where you can see the details of the schema change.

Screenshot Example