Skip to content

Commit e5fb186

Browse files
ericallamTrigger.dev RepoOps
authored andcommitted
docs(webhooks): list 12 new named webhook sources
Lists the new named webhook sources on the sources page: `loops()` and `granola()` (Standard Webhooks), `autumn()` (Svix), `metronome()`, `mux()`, `tailscale()`, `langfuse()`, `infisical()`, `planetscale()`, `plain()` and `firecrawl()` (provider-specific HMAC), and `supabase()`. Supabase database webhooks aren't signed, so the page explains adding an `Authorization: Bearer <secret>` header to the webhook. The filters page also shows how to match any event of a batched array payload: `event any ( type == 'nodeCreated' )`. Mono-RevId: d7e19f30f093b9bb81bc40ca05a91601d2da2091
1 parent 3349df0 commit e5fb186

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎docs/webhooks/filters.mdx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ event.billing.country == event.shipping.country
116116
event.items any ( quantity > 0 )
117117
```
118118

119+
When the payload itself is an array, as with providers that batch several events into one request (Tailscale, for example), quantify over `event`:
120+
121+
```text Filter expression
122+
event any ( type == 'nodeCreated' )
123+
```
124+
119125
### Spacing
120126

121127
Separate paths, operators, and values with one space. Parentheses may touch what they enclose, as in `(event.amount > 0)` and `any (quantity > 0)`. Lists and quoted strings may contain spaces (`['opened', 'closed']`, `'Fix the build'`). These forms work with both the TypeScript validator and the deployment parser.

‎docs/webhooks/sources.mdx‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,17 @@ Each function below returns a source with its provider's verification configurat
9696

9797
| Verification | Source functions |
9898
| --- | --- |
99-
| Svix | `clerk()`, `resend()`, `brex()` |
100-
| Standard Webhooks | `openai()`, `replicate()`, `recallai()`, `composio()` |
99+
| Svix | `clerk()`, `resend()`, `brex()`, `autumn()` |
100+
| Standard Webhooks | `openai()`, `replicate()`, `recallai()`, `composio()`, `loops()`, `granola()` |
101101
| HMAC-SHA256 with `X-Hub-Signature-256` | `whatsapp()` |
102102
| Shared secret in `X-Gitlab-Token` | `gitlab()` |
103-
| Provider-specific HMAC | `calendly()`, `calCom()`, `sentry()`, `pagerduty()`, `vercel()`, `linear()`, `notion()`, `typeform()`, `docusign()`, `jira()`, `intercom()`, `zendesk()`, `attio()`, `workos()`, `elevenlabs()`, `vapi()`, `retell()`, `shopify()` |
103+
| Shared secret as `Authorization: Bearer` | `supabase()` |
104+
| Provider-specific HMAC | `calendly()`, `calCom()`, `sentry()`, `pagerduty()`, `vercel()`, `linear()`, `notion()`, `typeform()`, `docusign()`, `jira()`, `intercom()`, `zendesk()`, `attio()`, `workos()`, `elevenlabs()`, `vapi()`, `retell()`, `shopify()`, `metronome()`, `mux()`, `tailscale()`, `langfuse()`, `infisical()`, `planetscale()`, `plain()`, `firecrawl()` |
104105

105106
Provider IDs containing a hyphen use a camel case function name: the `cal-com` provider is `webhooks.calCom()`.
106107

108+
Supabase database webhooks aren't signed, so `supabase()` checks a shared secret instead. Generate the endpoint's secret on Trigger.dev, then add an `Authorization` header with the value `Bearer <secret>` under the webhook's HTTP Headers in Supabase.
109+
107110
Slack also ships as a chat channel in `@trigger.dev/slack`.
108111

109112
## Endpoint validation

0 commit comments

Comments
 (0)