Cookies on TrendGap

We use cookies and similar storage that keep TrendGap working and secure. With your permission, we would also like to remember your preferences and how you found us. You can change your mind at any time.

Read our cookie policy

We use cookies to keep TrendGap working. With your permission, we'd also remember your preferences and how you found us. Cookie policy

Skip to content
TrendGap
  • Product
    • Idea library
    • Idea reports
    • Trends
    • Market Radar
    • Validate an idea
    • Build and launch
    • SEO and AI tools
    • Ask TrendGap and MCP
  • Solutions
    • Indie hackers
    • SaaS founders
    • App developers
    • Agencies and studios
    • WordPress and extension makers
  • Free tools
    • Idea evaluator
    • Founder fit quiz
    • Founder calculators
  • Resources
    • Blog
    • Weekly report
    • Sample report
    • Built with TrendGap
    • How it works
    • FAQ
    • Docs
  • Pricing
  • About
  • Log in
Log inStart 7 days free
  • Product
    • Idea library
    • Idea reports
    • Trends
    • Market Radar
    • Validate an idea
    • Build and launch
    • SEO and AI tools
    • Ask TrendGap and MCP
  • Solutions
    • Indie hackers
    • SaaS founders
    • App developers
    • Agencies and studios
    • WordPress and extension makers
  • Free tools
    • Idea evaluator
    • Founder fit quiz
    • Founder calculators
  • Resources
    • Blog
    • Weekly report
    • Sample report
    • Built with TrendGap
    • How it works
    • FAQ
    • Docs
  • Pricing
  • About
Log inStart 7 days free
  1. Docs
  2. Watch a market
  3. Webhooks: send alerts to Slack, Discord or your own app
Watch a market

Webhooks: send alerts to Slack, Discord or your own app

Send your alerts to Slack, Discord or any HTTPS address as signed JSON, check the signature, and understand retries.
Who can use it: Pro and aboveLast checked November 9, 2026

Step-by-step guide

The Webhooks tab in Settings: a box for a new endpoint address and a table of endpoints with what each receives, the Test button and its delivery log.12345
The Webhooks tab on a phone: the box for a new endpoint address, then each endpoint with what it receives and its buttons.12345

Example screen: the ideas, apps and numbers are invented.

  1. Paste your addressUse the incoming-webhook address from Slack or Discord, or any HTTPS address of your own.Open this page in TrendGap
  2. Add the endpointAdd endpoint shows your signing secret once. Copy it and keep it somewhere safe.Open this page in TrendGap
  3. Choose what it receivesEach endpoint can take your alerts, the weekly report, or both.Open this page in TrendGap
  4. Send a testTest sends one message and tells you whether it arrived or why it failed.Open this page in TrendGap
  5. Check what was sentDelivery log lists each delivery with its time, type, attempt and result.Open this page in TrendGap
On this page
  • Add an endpoint
  • What gets sent
  • Check the signature
  • Answers, retries and switching off
  • Manage endpoints
Can't find an answer?

Write to support [at] trendgap.io and a person on the team will answer.

Contact us

A webhook sends your watchlist alerts to an address outside TrendGap. Paste the incoming-webhook address that Slack or Discord gives you, and the alerts arrive there as chat messages. Any other HTTPS address gets signed JSON (structured data a program can read), which you can pass on with automation tools or handle in your own code. Webhooks are on Pro and above; on other plans the section shows a "Pro" badge and a link to the plans.

Add an endpoint

  1. Open Settings and choose the "Webhooks" tab.
  2. Paste your address into "Endpoint URL".
  3. Click "Add endpoint".
  4. The "Signing secret" box opens. Click "Copy" and keep the secret somewhere safe: it is shown only once. Then click "Done".
  5. Click "Test" on the endpoint. You see "Test delivered" or the reason it failed.

The address must use https on the standard port and be a public web address: local, private and IP addresses are refused, and so are TrendGap's own addresses. The section shows how many endpoints your plan includes and how many you use.

What gets sent

  • Alerts: after each check, one message per endpoint with the alerts that passed your rules. The JSON type is "watch.alerts". A very large batch can arrive as several requests.
  • The weekly summary: on Monday after the weekly check, one message with the week's alert count, the gap of the week and the new ideas, sent only when there is something to say. The JSON type is "digest".
  • Tests: what the "Test" button sends. The JSON type is "webhook.test".

At a JSON endpoint, every body has "type", "timestamp" (an ISO date and time) and "data". For alerts, "data" holds "count", "url" and an "alerts" list. Each alert has its "id", "observed_on", "rule", "metric", "comparator", "threshold", "window_days", "value", "previous", "delta", "delta_pct", "new_entries", "released_on", a readable "headline", a "url" into the app, the "watch" (its "id", "kind", "subject", "storefront" and "label") and, for an idea your plan opens, the "niche" ("id", "title" and "slug"). Slack and Discord messages list the first alerts with links, then a link to the rest.

Check the signature

Each request carries three headers in the Standard Webhooks format: "webhook-id", "webhook-timestamp" (Unix seconds) and "webhook-signature". Any Standard Webhooks library can check them with your secret. To check by hand:

  1. Read the raw request body exactly as it arrived, before you parse it.
  2. Join three parts with dots: the webhook-id, the webhook-timestamp and the body.
  3. Take your secret, drop the "whsec_" prefix and base64-decode the rest. That is your key.
  4. Compute an HMAC-SHA256 of the joined text with that key, and base64-encode the result.
  5. Compare it with the value after "v1," in the webhook-signature header, using a constant-time comparison.
  6. Reject a request whose timestamp is far from your server's clock; a few minutes is a common tolerance.

The webhook-id stays the same when a message is sent again, so you can use it to drop duplicates.

Answers, retries and switching off

  • Reply with any 2xx status. Redirects are not followed and count as failures, and a receiver that takes too long counts as "timed out". Answer first and do slow work afterwards.
  • Failed alert deliveries are retried for about two days, with longer waits between attempts. Weekly summaries and tests are not retried.
  • After a number of failed deliveries in a row, the endpoint switches itself off. Check the URL, then switch "Deliver to this endpoint" back on.
  • The "Delivery log" lists each delivery with its "Time (UTC)", "Type", "Attempt" and "Result".
  • Tests are rate limited: if you send too many, wait a while before the next one.

Manage endpoints

  • "Deliver to this endpoint" pauses or resumes deliveries without removing the endpoint.
  • "New secret" creates a new signing secret. The old one stops working at once, so update your receiver.
  • "Remove" deletes the endpoint and its delivery log.
  • If you move to a plan with fewer endpoints, your oldest endpoints keep delivering and the others show "Not delivering". A plan without webhooks delivers to none.

Good to know

Webhook messages carry TrendGap's own numbers and headlines, never the text of complaints.

Related articles

  • Alerts, alert rules and the inboxHow alert rules decide what reaches you, how to add your own rule, and how to work through the alerts, summaries and notices in your inbox.
  • Your watchlist and every watch typeWatch ideas, apps, keywords, trend topics, rankings, AI brands and domains in one list, and see what changed and when it was last checked.
  • Connect your AI assistant to TrendGap (MCP)Let your AI assistant read TrendGap's data through MCP:
  • Plans and pricingWhat each plan includes, how the trial and yearly billing work, and where to find prices.
  • PreviousKeyword monitors, source scans and pain clusters
  • All docsBack to Watch a market

Find your next product in real complaints

7 days free on any monthly plan.

Start 7 days free
TrendGap

Let’s
connect

Contact us
support [at] trendgap.io
SendPulse

Email partner

Product

  • How it works
  • Ideas by track
  • Pricing
  • What each plan includes
  • Idea library
  • Idea reports
  • Trends
  • Market Radar
  • Validate an idea
  • Build and launch
  • SEO and AI tools
  • Ask TrendGap and MCP

Free tools

  • Idea evaluator
  • Founder calculators
  • Founder fit quiz

Company

  • Blog
  • Weekly report
  • Sample report
  • Built with TrendGap
  • FAQ
  • Docs
  • About
  • Contact

2026 © TrendGap is a product of DIVISION99 LLC. All rights reserved

  • Terms of service
  • Privacy policy
  • Cookie policy