Get told in Slack, or in your own tools, when something moves
Settings › Integrations › Webhooks and Slack posts three kinds of event from the desktop app: a run finished, a run failed, and a significant change. JSON deliveries are signed; every delivery is logged with its HTTP code.
By the Surfacedd teamUpdated 4 min readMarkdown
On this page
Short answer
Surfacedd posts events to Slack or to any https endpoint, such as Zapier, Make or n8n, when a run completes or fails, or when visibility, Google top-10 rankings or a local grid change significantly. JSON bodies carry an HMAC-SHA256 signature. Deliveries are free, retried three times, and sent while the app is running.
Open Settings › Integrations and find Webhooks and Slack. Each webhook has a name, a URL, the events it receives and the brands it covers. The list shows Send test, an on/off switch, New signing secret and delete for each one, and Recent deliveries shows every attempt with its tries and HTTP code. Webhooks cost nothing.
Add a Slack webhook
- In Slack, go to Apps › Incoming Webhooks › Add to channel, pick the channel and copy the Webhook URL. It starts with
https://hooks.slack.com/services/. - In Surfacedd, choose Add a webhook and pick Slack.
- Paste the URL, give it a name (for example the client's name), choose the events and the brands (All brands or specific ones).
- Choose Send test. A message should appear in the channel.
Slack gets a formatted message with the numbers: the brand, what happened and the figures behind it. Slack URLs aren't signed; Slack's own URL is the secret, so keep it private.
Add a JSON webhook (Zapier, Make, n8n or your own endpoint)
- Create a "catch hook" or webhook trigger in your tool and copy its URL. It must be
https://;http://works only forlocalhost, for testing. - Choose Add a webhook, pick JSON, paste the URL, name it and choose events and brands.
- Copy the Signing secret. It's shown once. Use New signing secret later if you lose it or want to rotate it.
- Choose Send test and check that your endpoint returns a 2xx status.
Events
| Event | Sent when |
|---|---|
run.completed | Any run finishes |
run.failed | Any run fails |
significant_change | A report's visibility moved significantly (the same like-for-like rule as the app's change arrows); a rank check moved keywords into or out of Google's top 10; or a local grid dropped (top-3 share down 15 points or more, or average rank 2 or more places worse) |
A significant change uses the same test as the app, so a webhook fires only when the app itself would mark a change, not on run-to-run noise. See ranges and samples.
Payload and headers
Every JSON delivery is a POST with this body:
{
"id": "…",
"type": "significant_change",
"created_at": "2026-11-20T09:00:00Z",
"brand": { "id": "…", "name": "…" },
"title": "…",
"data": { … }
}
id is the delivery id, brand can be null when an event isn't tied to one brand, and data holds the numbers for that event. Send test delivers an event of type test. Three headers come with it:
| Header | Contents |
|---|---|
Surfacedd-Event | The event type |
Surfacedd-Delivery | The delivery id; use it to ignore a repeat if a retry reaches you twice |
Surfacedd-Signature | t=<unix seconds>,v1=<hex>: an HMAC-SHA256 of "<t>.<raw body>" with your signing secret |
Verify the signature
Verify on the raw request body, before any JSON parsing, and reject requests older than five minutes. In Node.js:
import crypto from "node:crypto";
export function verify(secret, header, rawBody) {
const p = Object.fromEntries(header.split(",").map((x) => x.split("=")));
if (!p.t || !p.v1) return false;
if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
const mac = crypto.createHmac("sha256", secret).update(`${p.t}.${rawBody}`).digest("hex");
return mac.length === p.v1.length && crypto.timingSafeEqual(Buffer.from(mac), Buffer.from(p.v1));
}
The same scheme is shown in the app under For developers.
Delivery and retries
| Step | When |
|---|---|
| Written to the delivery log | Before anything is sent |
| Try 1 | At once |
| Try 2 | 1 minute later |
| Try 3 | 5 minutes after that |
| Failed | After 3 failed tries; a notice goes to your inbox |
A try counts as delivered when your endpoint returns a 2xx status. Recent deliveries shows Delivered, Retrying or the failure with its HTTP code.
Privacy
Webhook URLs and signing secrets are stored in your system keychain, not in the database. The database and logs see only a shortened form, such as "hooks.slack.com …Q7xT". Deleting a webhook drops its queued deliveries and removes the URL from the keychain. Sample brands never send.
What a webhook sends is your choice: the brand's name and the numbers for the event go to the URL you entered. See what leaves your computer.
What it doesn't do
- No email delivery: there's no Surfacedd server to send from.
- No deliveries while the app is closed; they catch up when it opens.
- No inbound webhooks: nothing outside can start a run.
Troubleshooting
| What you see | Cause | What to do |
|---|---|---|
| "Use an https:// URL" | The URL is http:// and not localhost | Use the https:// URL your tool gives you |
| "Slack incoming webhook URLs start with https://hooks.slack.com/services/" | A Slack URL from somewhere else | Copy the URL from Slack's Incoming Webhooks page |
| The test returns HTTP 401 or 403 | Your endpoint rejected the signature | Check you verify the raw body and use the current secret |
| Failed after 3 tries | Your endpoint was down or returned errors | Fix the endpoint; later events are delivered normally |
Keep reading
- IntegrationsKnow who needs to look today, without opening the appSurfacedd sends a Slack message or a signed JSON webhook when a run completes or fails, and when something changes beyond noise: AI visibility, Google top-10 rankings or a local grid's top-3 share. It's free.Read
- DocsSee whether last month's work moved your Google rankingsEach check reads Google's results three times per keyword and device and keeps the median, so one odd results page doesn't move a client report. Every read stays visible in the history.Read
- DocsSee which parts of town you lose in Google Maps, and to whomEach point on the grid is a Google Maps search for your keyword from that spot. You see where you're in the top 3, where a rival takes it, and whether the area you win grew since last month.Read
- DocsWhat leaves your computer when you use SurfaceddA request-by-request list of what the app sends, to whom and when, with the settings that reduce it.Read
How we research, write and correct pages: read our editorial policy.