Sending Metabase alerts to webhooks

Metabase can push question alert results to an HTTP endpoint as well as email and Slack. This page explains how to set up the webhook, who may create it, what the payload carries, and where it fits beside your other channels.

On this page

Sending Metabase alerts to webhooks for incident tools and automation

A team that wants a saved question's result to open an incident or start an automated workflow should not depend on someone reading an inbox. Metabase alerts can send question results by email, Slack or webhook, and an admin must configure at least one of these channels before alerts can be created. Webhooks are limited to admins and people with settings access, so the first decision is who owns the alert wiring. Assign that role to a small group that can be audited, and confirm in your own instance which accounts currently hold settings access before you build anything that depends on it.

A webhook alert is an HTTP endpoint that receives the alert when its condition is met. Your side needs a receiving service that accepts the request, validates it, and passes it to the incident tool or workflow engine. Treat this as a delivery path, not a data connector: Metabase does not give the endpoint a new way to query your warehouse, and the endpoint only sees what the alert sends. Plan the endpoint's authentication, its network reachability from the Metabase server, and its behavior when it is unavailable. Confirm in the Metabase webhook documentation which request details the alert sends and how retries are handled before you rely on either.

Keep webhooks beside email and Slack rather than replacing them. A single alert can serve several purposes, so pick the channel by who must act: automation for the on-call path, Slack or email for people who need the context. Test each channel with a non-production question and confirm that a failed webhook call is visible to the owner, since a silent failure in an incident path is worse than no alert at all. Record the owner, the endpoint, and the alert's threshold in your runbook so that changes to the question or the endpoint are reviewed together.

What you need before creating a webhook alert

A webhook alert depends on four things lining up: a Metabase account with the right access, a question worth alerting on, an endpoint you control, and a network path between the two. Work through the cards in order before you touch the alert settings, because a gap in any one of them shows up later as a silent failure.

Admin or settings access

Only admins and people with settings access can set up webhooks for alerts, so the person building the integration needs that role before anything else. Confirm who holds it in your instance, and avoid sharing an admin login with the automation team. Record which named account owns the webhook so that a departure does not leave the alert orphaned.

Alerts docs

A webhook channel in place

Metabase alerts send results by email, Slack or webhook, and an admin must configure at least one of these channels first. Webhooks are one channel among several, so decide whether this alert should go only to the endpoint or also to people in email or Slack. Check that the channel is set up and tested before you attach it to a question.

A question suited to alerting

An alert fires on the results of a saved question, so build and save the question first and confirm it returns the rows you expect. Choose a question with a stable, bounded result set and a clear trigger condition, such as a row count above a threshold. Test it against current data, because a question that returns very large or unpredictable results will produce noisy or unclear payloads.

A receiving HTTPS endpoint you control

The endpoint is the system that receives each alert, typically an incident tool or an automation workflow. Ask the owner to confirm how requests are authenticated, how the payload is parsed, and what response Metabase should expect. Also agree how the endpoint handles duplicate or late deliveries and whether it expects retries, since these details are not something you can assume from the Metabase side.

Outbound network rules

The Metabase host must be allowed to make outbound HTTP requests to the endpoint, which often means a firewall or egress proxy rule and, for internal systems, a DNS entry the Metabase server can resolve. Test the path from the Metabase host itself, not from your laptop, because the container or VM may have different routes. Record the destination host and port so the change is reviewable.

Confirm the version against the docs

Webhook behavior and the alert settings screens can change between Metabase releases, so confirm the version you run against the current webhook documentation before you design the payload handling. Plan the check as part of your upgrade routine so a version change does not quietly alter the request format your endpoint depends on. Note the exact version in your change record.

Webhooks docs

How to configure a webhook alert step by step

This sequence takes a self-hosted Metabase from a question with no alerting to a tested webhook that delivers alert payloads to an endpoint your incident or automation tools monitor. Each step ends with a check so you know the step is complete before you move on.

  1. Confirm who has settings access

    Before anything else, check which people hold admin rights or settings access in your Metabase instance, because only admins and people with settings access can set up webhooks for alerts. Ask the instance owner to confirm the names of the people who will build and maintain the alert, and make sure they can open the admin settings area. The step is done when each person who will configure the webhook can reach the Admin settings page and see the channel options.

  2. Create the webhook channel in admin settings

    In the admin settings, open the area for notification channels and add a webhook. Enter the HTTP endpoint that will receive alert payloads, which is usually an URL provided by your incident tool or an automation platform you operate. Save the channel and keep the endpoint owner informed of the URL so they can expect traffic from your Metabase server. The step is done when the webhook appears in the list of channels with the endpoint you entered.

  3. Test the channel against the receiving endpoint

    Use the test function on the webhook channel to send a sample payload to the endpoint before you attach it to any question. Confirm that your Metabase server can reach the endpoint through its network path and any proxy or firewall rules, since outbound delivery depends on your environment. Ask the endpoint owner to confirm that the test payload arrived and was logged. The step is done when the endpoint logs a received test payload and the sender reports a successful delivery.

  4. Create or select the question

    Open the saved question that should drive the alert, or create a new one in the query builder or SQL editor. Check that the question returns the rows or values you want to monitor and that its results are stable enough to be checked on a schedule. Save the question in a collection your team can find later. The step is done when the question runs successfully and shows the expected result in the preview.

  5. Set the alert condition and schedule

    Open the alert setup for the saved question and define the condition that triggers a notification, such as a row count or a threshold on a value. Choose how often Metabase checks the question, keeping in mind that frequent checks add load to the source database. Review the condition with the team that owns the incident response so the trigger matches what they expect. The step is done when the alert shows the chosen condition and schedule in the alert summary.

  6. Add the webhook as the recipient

    In the alert's delivery settings, select the webhook channel you created as a destination. You can combine it with email or Slack recipients on the same alert, so check whether any existing recipients should stay in place. Confirm that only the intended webhook is selected, because a misdirected alert can trigger incident workflows for the wrong team. The step is done when the alert lists the webhook as a recipient next to any other channels you chose.

  7. Send a test alert and verify receipt

    Use the option to send a test alert so Metabase runs the question and delivers a payload through the webhook. Compare the payload the endpoint receives with the question result and confirm that the fields your automation depends on are present. Record the payload format in your runbook so future changes can be checked against it. The step is done when the endpoint logs the test alert payload and the team confirms the content matches the question output.

How webhooks sit beside email and Slack alerts

Metabase can send one alert through email, Slack or a webhook, and the choice of channel decides who or what receives the result. Email and Slack deliver to people, while a webhook delivers to a system. A message in a Slack channel or an inbox expects a person to read it and act. A webhook posts the alert payload to an HTTP endpoint that an incident tool, workflow engine or script then processes. Before you configure anything, decide the audience for each alert and map it to a channel. Many alerts will need a human and a system at the same time, which means more than one channel. Metabase's alerts documentation lists the three delivery options, and an admin must set up at least one channel before alerts can be sent.

Recipient controls for email and Slack, such as who is included in a subscription and how people without Metabase accounts receive results, are covered on the Metabase Slack and email subscriptions and alerts page, so this section does not repeat them. The point to settle here is ownership. Every alert should have a named owner who knows what happens when it fires and who acts on it. If a webhook replaces an email or Slack notification that people used to receive, the on-call engineer or data owner may stop seeing the alert at all, even though the endpoint received it. Confirm with each team whether a webhook is an addition to a human notification or a substitute for it, and document the answer with the alert.

What the webhook payload carries and how your system should read it

This table maps the information a Metabase question alert carries to the fields an incident or automation system usually needs, such as title, severity and dedupe key. The exact payload keys depend on the Metabase version you install, so confirm them against the webhook documentation before writing a parser. Treat the mapping as a design starting point, not a fixed schema.

Alert elementWhat it likely representsReceiving system fieldConfirm before build
Question nameThe saved question that triggered the alertIncident title or alert nameField name and whether it is always present
Alert conditionThe rule, such as rows returned or a goal being crossedAlert reason or descriptionHow the condition is expressed in the payload
Result dataRows or values returned by the question at send timeEvent details or enrichmentSize limits and whether rows are truncated
Link back to MetabaseURL to the question or alert for investigationRunbook or source linkWhether the link is absolute and which base URL it uses
TimestampWhen the alert was evaluatedEvent time and dedupe window inputTime zone and format of the value
Alert identifierStable ID for the alert or questionDedupe key or correlation keyWhether an ID exists and stays stable across edits
SeverityUsually not a native alert fieldSeverity set by your mapping rulesAssign in your system from question tags or ownership, not from the payload

Securing the webhook endpoint and the data it sends

A Metabase webhook sends question results from your Metabase host to a system outside it, so the controls sit at three points: who can point an alert at an address, what leaves the host and where it can travel. The cards below cover the endpoint, the payload, the credentials and the network path that connect them.

Require HTTPS for every endpoint

Point webhook alerts only at HTTPS URLs that your team controls or that a vendor documents as its ingestion endpoint. Plain HTTP sends alert results, and any token in a header, across the network unencrypted. Confirm that the receiving service presents a valid certificate chain that your Metabase host trusts, especially if the endpoint is on an internal certificate authority. Check the URL again after any DNS or load balancer change.

Webhooks docs

Authenticate requests on the receiving side

Metabase sends the webhook request to the address you configure, so the receiving service has to decide whether a request is genuine. Ask the receiving tool whether it supports a shared secret, a signature header or an allowlist of source addresses, and confirm which of these Metabase can send. Reject requests that fail verification rather than processing the body. If the endpoint accepts only a static bearer token, treat it as a credential and handle it as one.

Limit who can create webhooks

Only admins and people with settings access can use webhooks for alerts, so the people who can send data outside Metabase are already a small group. Review that list on a schedule and remove settings access from anyone who no longer needs it. Record which webhook URLs exist and who owns each one, because a webhook created for a test often outlives the test.

Keep sensitive rows out of payloads

An alert sends question results, so a question that returns customer rows or personal data will copy those rows to the endpoint. Build alert questions that return aggregates, counts or identifiers that the receiving tool needs, and exclude fields that are not required for the response. Ask the owner of each question to confirm which columns appear in the result before the alert is enabled, and repeat that review when the question changes.

Rotate endpoint tokens on a schedule

Any secret embedded in a webhook URL or header is only as safe as its last rotation. Store the token in your secrets manager rather than in a wiki, and set a rotation date for each endpoint. When you rotate, create the new credential at the receiving service, update the Metabase webhook, send a test alert, and only then revoke the old credential. Keep a list of which webhooks depend on each token so rotation does not break an incident workflow.

Restrict outbound paths from the Metabase host

Metabase's host can reach any address its network allows, so limit outbound traffic to the endpoints that alerts need. Use firewall or egress proxy rules that allow only the specific destinations and ports, and deny the rest by default. Test each rule with a real alert, since a blocked webhook fails quietly if nobody watches the delivery. Review the rules whenever a new webhook is added, and confirm the path is documented in your network inventory.

Why a Metabase webhook alert does not arrive

This table lists the failures that most often stop a Metabase question alert from reaching a webhook endpoint, with the cause and fix for each. Work down the rows in order, since the first two checks (channel setup and permissions) are the ones teams miss most often.

FailureLikely causeFix
No channel configuredThe webhook was not set up by an admin before the alert was created, so there was no channel to send through.Create the webhook channel in admin settings first, then create or recreate the alert so it uses that channel.
User lacks admin or settings accessOnly admins and people with settings access can use webhooks for alerts, so the alert owner cannot select the channel.Ask an admin to create the alert or grant the required settings access, then confirm the alert shows the webhook option.
Endpoint unreachableThe receiver is down, the URL is wrong, or a firewall or proxy between the Metabase server and the endpoint blocks outbound requests.Test the URL from the Metabase host itself, check egress rules and proxy settings, and confirm the receiver accepts POST requests on that path.
TLS certificate not trustedThe receiver uses a certificate issued by a private or internal certificate authority that the Metabase host does not trust.Install the internal root certificate in the trust store used by the Metabase JVM or container, then retest the endpoint.
Alert condition never metThe question returns no rows or never crosses the threshold, so Metabase has nothing to send.Run the question manually, confirm the alert condition against current data, and check the alert schedule and last run result.
Receiver rejects payload fieldsThe receiver validates against a fixed schema and fails on fields it does not expect in the alert payload.Review the payload Metabase sends against the receiver's schema, relax validation or map fields in the receiver, then retest with a sample alert.

Questions buyers ask before setting up Metabase webhook alerts

Is a Metabase webhook alert free on open source?

The pricing page lists Open Source as free, but it does not state which plan includes webhook alerts, so confirm that before you commit. The alerts documentation confirms that alerts can go by email, Slack or webhook, and that only admins and people with settings access can create webhooks. The pricing page places SSO, row and column permissions, multi-tenant data segregation and usage analytics and auditing in the Pro and Enterprise plans. Do not assume alerts follow those features. Ask Metabase in writing which plan covers webhook alerts on the version you plan to run, and keep that answer with your scope document.

How long does a basic Metabase webhook alert setup take?

No duration is published for this work, so the answer depends mostly on the receiving end. On the Metabase side, a basic setup is short: an admin creates the webhook, points it at an endpoint, and attaches an alert to one saved question. The time goes into the endpoint. An existing endpoint that already accepts the payload can be tested quickly. An endpoint that must be built, reviewed by security and tested against your incident tool can take much longer. Ask your endpoint owner for their own lead time before you set a go-live date, and test with a question whose results you control.

What does a team need in place for webhook alerts?

Three roles or assets are needed before the first alert fires:

  • An admin or a person with settings access in Metabase, because only they can create webhooks.
  • An endpoint owner who can confirm the receiving URL, how requests are authenticated, and what the incident tool or automation does with each payload.
  • A saved question whose results define the alert condition, plus at least one channel configured first. Metabase requires an admin to set up at least one of email, Slack or webhook before alerts can send.

The admin and the endpoint owner often sit in different teams, so agree on who approves changes to the webhook and who answers when an alert looks wrong.

Can an internal team set up Metabase webhook alerts without a partner?

Yes, for a single endpoint with a clear purpose, provided an admin and an endpoint owner are available and the team can test the receiving side. The Metabase steps are not the hard part. Internal teams usually need outside help when the endpoint must be designed with security review, when several incident tools or automation flows depend on the output, or when nobody on the team has time to own alert logic after go-live. DeployOpen plans, implements and documents self-hosted platforms in your infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. A quote follows from that written scope.

What makes webhook alert work take more effort?

Effort rises with the number of decisions the alert has to make, not with the Metabase setup itself. The main drivers are:

  • Complex routing, such as sending different questions to different endpoints, teams or severity levels.
  • Deduplication, so one underlying data problem does not open many incidents or trigger repeated automation runs.
  • Incident tool mapping, where each payload field must land in the right ticket, priority or workflow field.
  • Endpoint security, including how the receiver authenticates requests and where secrets are stored.
  • Ongoing ownership of alert conditions as the underlying data and the business rules change.

Ask any quote to name which of these drivers it assumes, and what happens when one of them changes after go-live.

How do Metabase webhook alerts differ from Slack and email alerts?

All three are alert channels that an admin sets up before alerts can send. Email and Slack suit people who read the result and decide what to do. A webhook suits a system that opens a ticket, pages someone or starts an automation. The trade-off is effort: email and Slack need a recipient or channel, while a webhook needs an endpoint that receives the request, parses the payload and handles failures. Confirm in your Metabase version whether one alert can notify several channels at once, and whether a failed webhook delivery is retried. The Metabase alerts documentation covers the channel options in detail.

Who should own a Metabase webhook alert after go-live?

Give ownership to two named people: one for the saved question and its alert condition, and one for the endpoint. The question owner decides what counts as an alert and reviews it when the underlying data changes. The endpoint owner keeps the receiving service running, rotates credentials, and checks that the incident tool still maps the payload correctly. Record both owners in your runbook, along with the admin who can change the webhook in Metabase. Without named owners, alerts often keep firing after the team that wanted them has moved on, or stop firing without anyone noticing.

How a question alert reaches an incident tool

The flow starts with a saved question that runs on a schedule inside Metabase. The alert engine checks the result against the alert condition, and when it fires, Metabase fans the notification out to the channels an admin has set up: email, Slack, or a webhook. The webhook call leaves Metabase and crosses into the receiving system's network, so the endpoint's authentication, TLS and retry handling are the points to check before go-live.

Alert delivery from a saved question to an external incident tool.

How DeployOpen scopes and delivers Metabase alert integrations

DeployOpen treats webhook alerts as part of the wider Metabase design: who may create them, what receiving system is trusted, and how alerts sit beside email and Slack channels. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before any build work starts.

How we scope

  • Confirm which questions should alert, who owns each one, and which incident or automation tool receives the webhook
  • Confirm which people hold admin or settings access, since only they can create webhook alerts
  • Agree in writing how webhooks, email and Slack channels divide responsibilities for each alert type

How we build

  • Configure the alert channels in your self-hosted Metabase and test each delivery path before go-live
  • Review the receiving endpoint for authentication, TLS and handling of the alert payload
  • Test alert behavior with the payload your automation actually parses, using a documented non-production endpoint first

How we hand over

  • Document the alert inventory, webhook endpoints, owners and the admin access that creates or changes them
  • Record the test results and the steps to rotate endpoint credentials and disable a webhook safely
  • Walk your operations team through troubleshooting failed deliveries and the change process for new alerts

How we support

  • Support ongoing alert changes, endpoint updates and Metabase upgrades that may affect alert delivery, through a retainer
  • Retest alert paths after each Metabase upgrade, using the same written test cases from the handover
  • Agree the support scope and response expectations in writing with your retainer terms

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.