Webhooks let you react to every new Jam. The workflow recipes below are common patterns, each with steps for one or more no-code platforms, along with a code variant.Every workflow recipe assumes you already have a jam.created webhook endpoint. If you don’t, see Get Started with Webhooks first.
Open a PR from a Jam
Hand a new Jam to an agent that reads the bug and opens a fix PR.
Notify Slack on incoming Jams
Post a Slack message whenever a customer captures a Jam.
Auto-file a Linear or Jira ticket
Forward every new Jam to your tracker as a structured triage issue.
Prioritize Jams from key accounts
Filter by author domain and route high-value reports straight to the team.
Hand a new Jam to a coding agent that pulls the full context through Jam MCP, writes a fix, and opens a PR for review. Best for code-addressable bugs from a small set of senders (yourself, your QA team, a beta user).
This workflow runs an LLM agent against your repository. Scope it to a sandbox repo or a narrow set of paths before any merges land near production.
The flow:
jam.created fires.
A GitHub Actions workflow (or any runner you control) runs with the Jam ID.
The runner invokes an agent that calls Jam MCP for the recording, logs, network requests, and transcript.
The agent writes a patch in a new branch and opens a PR that links back to the Jam.
GitHub Actions
n8n with an agent
1
Add a repository_dispatch workflow
Create .github/workflows/jam-to-pr.yml and trigger on repository_dispatch with event type jam-created.
2
Deploy a small webhook receiver
Stand up a function (Netlify, Vercel, Workers) that verifies the Jam signature and POSTs to GitHub’s repository_dispatch API with the Jam ID in the client payload.
This workflow posts a Slack message whenever a Jam is captured through a Recording Link. Pair it with a public-facing Recording Link to collect feedback from your website and ping the team on every new report.
Every jam.created event becomes a triage issue with the title, description, captured URL, and a link back to the Jam.
Zapier
n8n
Make
Code
1
Trigger on jam.created
Use Webhooks by Zapier → Catch Hook, copy the generated URL, and register it in Settings → Webhooks with the jam.created event.
2
Send an example event from Jam
Open the endpoint in Jam and click Send Example so Zapier picks up the payload shape.
3
Add the Linear or Jira action
For Linear, choose Create Issue. For Jira, choose Create Issue.
4
Map the fields
Title: title (fall back to Bug from <author.email> if empty)
Description: combine description, originalUrl, and jamUrl so the Jam is the first link in the ticket
Status: Triage
Team or Project: pick the triage destination
Labels: tag with the Jam origin
5
Publish the Zap
Run a test and turn on the Zap.
1
Add a Webhook trigger node
Copy the production URL and register it in Jam with jam.created.
2
Add the tracker node
Use Linear → Create Issue or Jira → Create Issue. Authenticate with an API key.
3
Map the fields
Title: ={{$json.body.title || "Bug from " + $json.body.author.email}}
Description: include {{$json.body.description}}, the Jam link {{$json.body.jamUrl}}, and the captured URL {{$json.body.originalUrl}}
Labels: add the value of {{$json.body.origin}}
4
Activate the workflow
Send another example from Jam to confirm the ticket lands.
1
Add a Custom webhook trigger
Copy the URL, register it in Jam with jam.created, and send an example event so Make learns the schema.
2
Add the Linear or Jira module
Pick Create an Issue. Authenticate with your tracker credentials.
3
Map the fields
Use the Jam payload for Title, Description, and Labels. Put the Jam URL on the first line of the description so reviewers click into the recording immediately.
4
Turn on the scenario
Verify with one example event, then enable the scheduler.
The example below files a Linear issue. Swap the API call for Jira’s REST endpoint if you use Jira.
Route Jams captured on key-account domains straight to the team and tag them with a priority label. Pair it with a Recording Link in your help center or status page so a VIP customer’s report never sits in a queue.
The flow:
jam.created fires.
Match the originalUrl host against a list of key-account domains, or look it up in your CRM.
If matched, post to a high-priority Slack channel and create a P0 ticket.
If not, fall through to your normal triage flow.
Zapier
n8n
Code
1
Trigger on jam.created
Use Webhooks by Zapier → Catch Hook and register the URL in Jam.
2
Add a Paths step
Zapier’s Paths branches on a condition. Create a path called Key account.
3
Filter the Key account path
Add a Filter: Original URLContainsacme.comORbigco.com. Add one row per domain, or look the host up via Zapier CRM integrations.
4
Post to a priority Slack channel
In the Key account path, add Slack → Send Channel Message to #vip-bugs. Include the customer email, Jam title, and Jam URL.
5
Create a P0 ticket
Add Linear → Create Issue (or Jira). Set Priority to Urgent and add a P0 label.
6
Add the fallback path
In the default path, file the Jam in your normal triage queue.
7
Publish the Zap
Test each path with an example event from Jam, then publish.
If you maintain key accounts in HubSpot or Salesforce, swap the static domain list for a CRM lookup step before the Filter.
1
Trigger on jam.created
Add a Webhook trigger and register the URL in Jam.
2
Branch on the capture URL
Add an IF node. Condition: {{$json.body.originalUrl}} contains acme.com. Use an OR group for additional domains.
3
Wire the true branch to Slack and Linear
Add Slack → Post a message to #vip-bugs and Linear → Create Issue with priority Urgent.
4
Wire the false branch to your default triage
Send the payload to your existing flow or leave it to a second webhook listener.
5
Activate the workflow
Send a few example events from Jam with different capture URLs to confirm routing.
These flows share the same shape: pick up jam.created, call Jam MCP for full context, then do something with it.
Auto-triage a folder
Cluster a folder of Jams (bug bash, beta cycle, customer flow) into grouped tickets instead of one per duplicate.
Design QA into a PR
Turn a designer’s walk-through into either a fix PR or routed Figma comments.
Recordings into artifacts
Convert walk-throughs into doc drafts, test cases, or release notes with the MCP option to retrieve voice-over transcripts.
These patterns rely on Jam MCP for reading Jam content. See Get Started with MCP for the tool reference.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Jam Documenation","colors":{"primary":"#191919","light":"#a7f374","dark":"#99ea5f"},"logo":{"light":"https://mintcdn.com/jam-1eb4fd26/oTOrSrW8kcUbGST-/images/jam-wordmark-full-color-for-light-background-520x224.png?fit=max\u0026auto=format\u0026n=oTOrSrW8kcUbGST-\u0026q=85\u0026s=93d56e5d2dc005443fea58cb94ff71ae","dark":"https://mintcdn.com/jam-1eb4fd26/oTOrSrW8kcUbGST-/images/jam-wordmark-full-color-for-dark-background-520x224.png?fit=max\u0026auto=format\u0026n=oTOrSrW8kcUbGST-\u0026q=85\u0026s=60af6348e5ee9a15326137ede88bbf05"},"favicon":{"light":"https://mintcdn.com/jam-1eb4fd26/oTOrSrW8kcUbGST-/images/FavIcon64Light@1x.svg?fit=max\u0026auto=format\u0026n=oTOrSrW8kcUbGST-\u0026q=85\u0026s=66e19e3aec6cef8d6964eb6db94ab19a","dark":"https://mintcdn.com/jam-1eb4fd26/oTOrSrW8kcUbGST-/images/FavIcon64Dark@1x.svg?fit=max\u0026auto=format\u0026n=oTOrSrW8kcUbGST-\u0026q=85\u0026s=ece28b9950a428e52e216de6e5331160"},"appearance":{"default":"system"},"background":{"color":{"light":"#FCFCFC","dark":"#000000"}},"navbar":{"primary":{"type":"button","label":"Sign up for free","href":"https://jam.dev/login/?utm_campaign=docs_sign_up_free"}},"footer":{"socials":{"x":"https://x.com/jamdotdev","linkedin":"https://www.linkedin.com/company/jamdotdev","instagram":"https://www.instagram.com/jamdotdev","youtube":"https://www.youtube.com/@jamdotdev"},"links":[{"header":"About","items":[{"label":"Pricing","href":"https://jam.dev/pricing"},{"label":"Blog","href":"https://jam.dev/blog"}]},{"header":"Download","items":[{"label":"Extension","href":"https://chromewebstore.google.com/detail/jam/iohjgamcilhbgmhbnllfolmkmmekfmci"},{"label":"Jam for iOS","href":"https://jam.dev/ios"}]},{"header":"Help","items":[{"label":"Support","href":"https://jam.dev/help"},{"label":"Status","href":"https://jam.instatus.com/"}]}]},"seo":{"indexing":"all"},"fonts":{"family":"Inter"},"styling":{"codeblocks":{"theme":"css-variables"},"latex":false},"integrations":{"ga4":{"measurementId":"G-QHNGMPYZGY"}},"contextual":{"options":["copy","chatgpt","view","claude","cursor"],"display":"header"},"interaction":{"drilldown":false},"markdown":{"schema":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jam-1eb4fd26","hasAudioNarration":false,"actualSubdomain":"jam-1eb4fd26","customDomains":["jam.dev"],"gitSource":{"type":"github","owner":"jamdotdev","repo":"apiofjam","deployBranch":"master","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af245a328ac5197a28a1ed1","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Docs","count":45},{"language":"default","tag":"Integrations","count":19},{"language":"default","tag":"Developers","count":15},{"language":"default","tag":"Capture","count":11},{"language":"default","tag":"Send Jams to your tools","count":9},{"language":"default","tag":"Workspace and admin","count":7},{"language":"default","tag":"Request Jams from customers","count":7},{"language":"default","tag":"SDK","count":6},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"AI agents","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","href":"/docs/_mintlify/custom/jam-1eb4fd26/380de5377de4c00d/style.css"}],"page":{"pagePath":"webhooks-workflows","slug":"/webhooks-workflows","pageMetadata":{"title":"Webhook workflows","description":null,"href":"/webhooks-workflows"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Frame,Heading,Info,Note,OptimizedImage,Step,Steps,Tab,Tabs,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Webhooks let you react to every new Jam. The workflow recipes below are common patterns, each with steps for one or more no-code platforms, along with a code variant.`}),`\n`,_jsxs(_components.p,{children:[`Every workflow recipe assumes you already have a `,_jsx(_components.code,{children:`jam.created`}),` webhook endpoint. If you don’t, see `,_jsx(_components.a,{href:`/webhooks`,children:`Get Started with Webhooks`}),` first.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Open a PR from a Jam`,icon:`code-pull-request`,href:`#open-a-pr-from-a-jam`,children:_jsx(_components.p,{children:`Hand a new Jam to an agent that reads the bug and opens a fix PR.`})}),_jsx(Card,{title:`Notify Slack on incoming Jams`,icon:`slack`,href:`#notify-slack-on-incoming-jams`,children:_jsx(_components.p,{children:`Post a Slack message whenever a customer captures a Jam.`})}),_jsx(Card,{title:`Auto-file a Linear or Jira ticket`,icon:`ticket`,href:`#auto-file-a-linear-or-jira-ticket`,children:_jsx(_components.p,{children:`Forward every new Jam to your tracker as a structured triage issue.`})}),_jsx(Card,{title:`Prioritize Jams from key accounts`,icon:`crown`,href:`#prioritize-jams-from-key-accounts`,children:_jsx(_components.p,{children:`Filter by author domain and route high-value reports straight to the team.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`individual-workflows`,children:`Individual workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`open-a-pr-from-a-jam`,children:`Open a PR from a Jam`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Hand a new Jam to a coding agent that pulls the full context through `,_jsx(_components.a,{href:`/jam-mcp`,children:`Jam MCP`}),`, writes a fix, and opens a PR for review. Best for code-addressable bugs from a small set of senders (yourself, your QA team, a beta user).`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This workflow runs an LLM agent against your repository. Scope it to a sandbox repo or a narrow set of paths before any merges land near production.`})}),`\n`,_jsx(_components.p,{children:`The flow:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`jam.created`}),` fires.`]}),`\n`,_jsx(_components.li,{children:`A GitHub Actions workflow (or any runner you control) runs with the Jam ID.`}),`\n`,_jsx(_components.li,{children:`The runner invokes an agent that calls Jam MCP for the recording, logs, network requests, and transcript.`}),`\n`,_jsx(_components.li,{children:`The agent writes a patch in a new branch and opens a PR that links back to the Jam.`}),`\n`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`GitHub Actions`,id:`github-actions`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Add a repository_dispatch workflow`,children:_jsxs(_components.p,{children:[`Create `,_jsx(_components.code,{children:`.github/workflows/jam-to-pr.yml`}),` and trigger on `,_jsx(_components.code,{children:`repository_dispatch`}),` with event type `,_jsx(_components.code,{children:`jam-created`}),`.`]})}),_jsx(Step,{title:`Deploy a small webhook receiver`,children:_jsxs(_components.p,{children:[`Stand up a function (Netlify, Vercel, Workers) that verifies the Jam signature and POSTs to GitHub’s `,_jsx(_components.code,{children:`repository_dispatch`}),` API with the Jam ID in the client payload.`]})}),_jsx(Step,{title:`Register the receiver in Jam`,children:_jsxs(_components.p,{children:[`Add the function URL in `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),` and subscribe to `,_jsx(_components.code,{children:`jam.created`}),`.`]})}),_jsx(Step,{title:`Invoke an agent inside the workflow`,children:_jsxs(_components.p,{children:[`In the workflow, run `,_jsx(_components.a,{href:`https://www.anthropic.com/claude-code`,children:`Claude Code`}),` or your agent of choice with the Jam ID. The agent calls Jam MCP for context, edits files, commits, and opens a PR.`]})}),_jsx(Step,{title:`Scope the agent and gate the merge`,children:_jsx(_components.p,{children:`Restrict the agent to specific paths, set required reviewers on the PR, and run the test suite before any human approves.\\xA0`})})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes css-variables css-variables`,style:{backgroundColor:`var(--mint-background)`,\"--shiki-dark-bg\":`var(--mint-background)`,color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`name`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` Jam to PR`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`on`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` repository_dispatch`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` types`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` [`}),_jsx(_components.span,{style:{color:`var(--mint-token-string, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string, #297a3a)`},children:`jam-created`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`jobs`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` fix`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` runs-on`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` ubuntu-latest`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` steps`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` - `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`uses`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` actions/checkout@v4`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` - `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`name`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` Run agent`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` env`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` JAM_ID`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" ${{ github.event.client_payload.jamId }}\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` ANTHROPIC_API_KEY`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" ${{ secrets.ANTHROPIC_API_KEY }}\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` JAM_API_KEY`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" ${{ secrets.JAM_API_KEY }}\"})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` run`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` ./scripts/run-agent.sh`})]}),`\n`]})})})]}),_jsx(Tab,{title:`n8n with an agent`,id:`n8n-with-an-agent`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Trigger on jam.created`,children:_jsx(_components.p,{children:`Add a Webhook trigger and register the URL in Jam.`})}),_jsx(Step,{title:`Call your agent`,children:_jsx(_components.p,{children:`Use the HTTP Request node (or a Claude or OpenAI node) to send the Jam ID and ask the agent to call Jam MCP, write the fix, and push a branch.`})}),_jsx(Step,{title:`Open the PR`,children:_jsxs(_components.p,{children:[`Add a `,_jsx(_components.strong,{children:`GitHub → Create Pull Request`}),` node with the branch name the agent pushed.`]})}),_jsx(Step,{title:`Notify the team`,children:_jsx(_components.p,{children:`Add a Slack node so the PR URL lands in your engineering channel for review.`})})]})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Pair this with `,_jsx(_components.a,{href:`#auto-file-a-linear-or-jira-ticket`,children:`Auto-file a Linear or Jira ticket`}),`: the ticket tracks the bug, the PR tracks the fix, and both reference the same Jam URL.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`team-workflows`,children:`Team workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`notify-slack-on-incoming-jams`,children:`Notify Slack on incoming Jams`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`This workflow posts a Slack message whenever a Jam is captured through a `,_jsx(_components.a,{href:`/recording-links`,children:`Recording Link`}),`. Pair it with a public-facing Recording Link to collect feedback from your website and ping the team on every new report.`]})}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Zapier`,id:`zapier`,children:[_jsxs(_components.p,{children:[`Use this `,_jsx(_components.a,{href:`https://zapier.com/templates/details/notify-slack-of-incoming-recording-links-9cb456?secret=MTp0ZW1wbGF0ZTp5T3BoZkNNX2JJTE8wM3VJS2NIak1KZE5LZXdHaWV2V1pydmxLOUZNSVNVOnY3dWppbw`,children:`Zapier template`}),` or follow the steps below.`]}),_jsxs(Steps,{children:[_jsx(Step,{title:`Create a Zap in Zapier`,children:_jsxs(_components.p,{children:[`Open `,_jsx(_components.a,{href:`https://zapier.com/webintent/create-zap`,children:`Zapier’s create Zap page`}),`.`]})}),_jsxs(Step,{title:`Select Webhooks by Zapier as the trigger`,children:[_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`Webhooks by Zapier`}),` as the trigger app, then select `,_jsx(_components.strong,{children:`Catch Hook`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=81fab35578baa7a822000cbbaad5ca25`,alt:`Zapier trigger setup with Catch Hook selected for Webhooks by Zapier`,\"data-og-width\":`1564`,width:`1564`,\"data-og-height\":`972`,height:`972`,\"data-path\":`images/zapier-webhooks-catch-hook-selected.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=c133572fb960db20515c48dffaae3c85 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=bc0a42c4bf68bc6e15dd27ed8940f87f 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=2659e689f2f12f26bd915e8586c0d738 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=cee78c7711dff4485057a3c663aa28b1 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=57975162e94c232e9e71047952eedad5 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhooks-catch-hook-selected.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=f472af46a8ec46074915e1df73cf7115 2500w`})})]}),_jsxs(Step,{title:`Copy the webhook URL`,children:[_jsxs(_components.p,{children:[`Open the `,_jsx(_components.strong,{children:`Test`}),` tab and copy the webhook URL Zapier generated.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=f6421979e3fe60db0c2f281d812cced3`,alt:`Zapier Catch Hook test tab with a generated webhook URL and Copy button`,\"data-og-width\":`834`,width:`834`,\"data-og-height\":`972`,height:`972`,\"data-path\":`images/zapier-webhook-url-copy.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=9ed6789f9a922ed8939733a4751dc89c 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=8bee44a802377e1821cd2bdbcb246154 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=a41877d779f9878e4c8a04023f261401 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=3767a65d73fceecd09371ad2488521da 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=7ad71b9b2b7d8436fd3abaa550f799ad 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-webhook-url-copy.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=7c109767e3737d365813cfbcca611cbb 2500w`})})]}),_jsxs(Step,{title:`Create a jam.created webhook in Jam`,children:[_jsxs(_components.p,{children:[`Open `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),`, add a new endpoint, paste the Zapier URL, and subscribe to `,_jsx(_components.code,{children:`jam.created`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=4143da854f52d6006e97512392f4dc22`,alt:`Webhook endpoint setup with jam.created selected in Jam`,\"data-og-width\":`2162`,width:`2162`,\"data-og-height\":`1884`,height:`1884`,\"data-path\":`images/webhook-endpoint-jam-created.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=8d555c39874ba9249b6661af5000a99f 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=43210d85259c2bbb94abf25f33229d9b 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=005630c077809c5a68c1e404ad7b94c1 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=4a15ebe4ced332a228af116df801e537 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=06586a60e5267dbce1acba689c000258 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-jam-created.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=f76dd1ba36427208c9871c09babf1d32 2500w`})})]}),_jsxs(Step,{title:`Send an example event`,children:[_jsxs(_components.p,{children:[`Open the endpoint’s testing view and click `,_jsx(_components.strong,{children:`Send Example`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=c17cd502cd678977f645f855a917ed91`,alt:`Webhook endpoint testing view with Send Example and the event schema`,\"data-og-width\":`3346`,width:`3346`,\"data-og-height\":`2444`,height:`2444`,\"data-path\":`images/webhook-endpoint-send-example.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=6ff5f5ccf1216e04a802d070a139e711 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=c8780a96282ac237fe32cc3bce557aea 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=ba76043478c471911a426ffefd4a0d50 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=03dbab7af4a7e220ef75ee94408fc696 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=e6b07ba20658627727dbca88619e6a94 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/webhook-endpoint-send-example.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=de8d3db58a3bcd93f08ec6795e46b420 2500w`})})]}),_jsxs(Step,{title:`Test the Zapier trigger`,children:[_jsx(_components.p,{children:`Return to Zapier and test the trigger. Zapier shows a request record from the example event.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=2209a1b8e9f60f1fbd6a49bb7c659240`,alt:`Zapier test records view with request A selected from a webhook sample`,\"data-og-width\":`1608`,width:`1608`,\"data-og-height\":`2588`,height:`2588`,\"data-path\":`images/zapier-test-record-selected.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=cd6ed4861bf291282c497c6a22abb579 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=38d1312be7dcf0bfa6bee012afb569af 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=f76cf3785c727b7a131eb9c16f8dec77 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=fe7353b6e2bbbe1866fe1dff60a27087 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=47e8ee5b6241356eb23fdc5ec5ca1457 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-test-record-selected.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=d98d53ea0b604957d3ee20f3553593b8 2500w`})})]}),_jsx(Step,{title:`Add a Filter step for Recording Link origin`,children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.strong,{children:`Filter`}),`. Select `,_jsx(_components.strong,{children:`Origin`}),`, `,_jsx(_components.strong,{children:`Exactly matches`}),`, and `,_jsx(_components.code,{children:`recording_link`}),` to send Slack messages only for Recording Link Jams.`]})}),_jsxs(Step,{title:`Configure the Slack action`,children:[_jsx(_components.p,{children:`Add Slack as the action and map webhook fields into the message text.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=d206bfb4bf7db52d3666b2ef0f94b852`,alt:`Zapier Slack message action with webhook fields mapped into message text`,\"data-og-width\":`4194`,width:`4194`,\"data-og-height\":`2528`,height:`2528`,\"data-path\":`images/zapier-slack-message-fields.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=fbc2b8cb1b62908cb7b0c4d01558d776 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=0eb5b097000b48175e00d37aac15407a 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=d4c7f56253d2f87c3570c725bbfadfaa 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=63ebe3f46f24ee318052079127dc4c5f 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=adad9d9c9d83374aef938abc240862b0 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-slack-message-fields.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=63636ee6e70adbb3426fba7f23533b48 2500w`})})]}),_jsxs(Step,{title:`Test and publish the Zap`,children:[_jsxs(_components.p,{children:[`Run a final test, then click `,_jsx(_components.strong,{children:`Publish`}),`.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=092e9302071ce192da4a62f53a5a8d82`,alt:`Zapier toolbar with Test run and Publish buttons`,\"data-og-width\":`374`,width:`374`,\"data-og-height\":`94`,height:`94`,\"data-path\":`images/zapier-toolbar-publish.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=280\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=0a932a41985d7ee9c85ce0282834763e 280w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=560\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=060b53c9a1c2a8fc5d91d7b33d7176b1 560w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=840\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=f60c5b3ed0336e0b9954347960b88e14 840w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=1100\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=16ac3f205ca050de68b0db2fe0bcf0af 1100w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=1650\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=a73080a955b9d689057320d254e7a280 1650w, https://mintcdn.com/jam-1eb4fd26/RrmeVXBDuZ0Lb3fb/images/zapier-toolbar-publish.png?w=2500\u0026fit=max\u0026auto=format\u0026n=RrmeVXBDuZ0Lb3fb\u0026q=85\u0026s=11f1e0686b4c3522ec1e08b32755b173 2500w`})})]})]})]}),_jsx(Tab,{title:`n8n`,id:`n8n`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add a Webhook trigger node`,children:_jsxs(_components.p,{children:[`Set the HTTP method to `,_jsx(_components.strong,{children:`POST`}),` and copy the production URL.`]})}),_jsx(Step,{title:`Register the webhook in Jam`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),`, add a new endpoint with the n8n URL and subscribe to `,_jsx(_components.code,{children:`jam.created`}),`.`]})}),_jsx(Step,{title:`Add an IF node to filter Recording Link Jams`,children:_jsxs(_components.p,{children:[`Compare `,_jsx(_components.code,{children:`{{$json[\"body\"][\"origin\"]}}`}),` to `,_jsx(_components.code,{children:`recording_link`}),`.`]})}),_jsx(Step,{title:`Add a Slack node`,children:_jsxs(_components.p,{children:[`Use the `,_jsx(_components.strong,{children:`Post a message`}),` operation and pull the Jam URL from `,_jsx(_components.code,{children:`{{$json[\"body\"][\"jamUrl\"]}}`}),`.`]})}),_jsx(Step,{title:`Activate the workflow`,children:_jsxs(_components.p,{children:[`Toggle the workflow to `,_jsx(_components.strong,{children:`Active`}),` so n8n listens on the production URL.`]})})]})}),_jsx(Tab,{title:`Make`,id:`make`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create a scenario with a Custom webhook trigger`,children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.strong,{children:`Webhooks → Custom webhook`}),` and copy the generated URL.`]})}),_jsx(Step,{title:`Register the webhook in Jam`,children:_jsxs(_components.p,{children:[`In `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),`, add the Make URL and subscribe to `,_jsx(_components.code,{children:`jam.created`}),`. Send an example event so Make learns the payload schema.`]})}),_jsx(Step,{title:`Add a Filter between trigger and Slack`,children:_jsxs(_components.p,{children:[`Set the condition `,_jsx(_components.code,{children:`origin`}),` equals `,_jsx(_components.code,{children:`recording_link`}),`.`]})}),_jsx(Step,{title:`Add a Slack module`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Create a message`}),` and reference `,_jsx(_components.code,{children:`jamUrl`}),`, `,_jsx(_components.code,{children:`author.email`}),`, and `,_jsx(_components.code,{children:`title`}),` in the message body.`]})}),_jsx(Step,{title:`Turn on the scenario`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Run once`}),` to verify the flow, then toggle the scheduler on.`]})})]})}),_jsxs(Tab,{title:`Code`,id:`code`,children:[_jsxs(_components.p,{children:[`Deploy this handler to Netlify Functions, Vercel, or Cloudflare Workers, then register the URL in `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`28`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes css-variables css-variables`,style:{backgroundColor:`var(--mint-background)`,\"--shiki-dark-bg\":`var(--mint-background)`,color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`28`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`import`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { Webhook } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`from`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"svix\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`export`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` default`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` async`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (request) `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=>`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` request`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.text`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` headers`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` Object`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.fromEntries`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`request`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.headers);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` let`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` try`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Webhook`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`WEBHOOK_SECRET`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.verify`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` headers);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`catch`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 400`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` if`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.origin `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`!==`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"recording_link\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 200`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` fetch`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`SLACK_WEBHOOK_URL`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` method`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` headers`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { `}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` body`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` JSON`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.stringify`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` text`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" `New Jam from \"}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`author`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.email`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`: \u003c`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.jamUrl`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`|`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.title `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`??`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"Untitled Jam\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\">`\"}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` })`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 200`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`};`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`auto-file-a-linear-or-jira-ticket`,children:`Auto-file a Linear or Jira ticket`}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Every `,_jsx(_components.code,{children:`jam.created`}),` event becomes a triage issue with the title, description, captured URL, and a link back to the Jam.`]})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`Zapier`,id:`zapier-2`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Trigger on jam.created`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Webhooks by Zapier → Catch Hook`}),`, copy the generated URL, and register it in `,_jsx(_components.a,{href:`https://jam.dev/s/settings/webhooks`,children:_jsx(_components.strong,{children:`Settings → Webhooks`})}),` with the `,_jsx(_components.code,{children:`jam.created`}),` event.`]})}),_jsx(Step,{title:`Send an example event from Jam`,children:_jsxs(_components.p,{children:[`Open the endpoint in Jam and click `,_jsx(_components.strong,{children:`Send Example`}),` so Zapier picks up the payload shape.`]})}),_jsx(Step,{title:`Add the Linear or Jira action`,children:_jsxs(_components.p,{children:[`For Linear, choose `,_jsx(_components.strong,{children:`Create Issue`}),`. For Jira, choose `,_jsx(_components.strong,{children:`Create Issue`}),`.`]})}),_jsx(Step,{title:`Map the fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Title`}),`: `,_jsx(_components.code,{children:`title`}),` (fall back to `,_jsx(_components.code,{children:`Bug from \u003cauthor.email>`}),` if empty)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Description`}),`: combine `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`originalUrl`}),`, and `,_jsx(_components.code,{children:`jamUrl`}),` so the Jam is the first link in the ticket`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Status:`}),` Triage`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Team or Project`}),`: pick the triage destination`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Labels`}),`: tag with the Jam `,_jsx(_components.code,{children:`origin`})]}),`\n`]})}),_jsx(Step,{title:`Publish the Zap`,children:_jsx(_components.p,{children:`Run a test and turn on the Zap.`})})]})}),_jsx(Tab,{title:`n8n`,id:`n8n-2`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add a Webhook trigger node`,children:_jsxs(_components.p,{children:[`Copy the production URL and register it in Jam with `,_jsx(_components.code,{children:`jam.created`}),`.`]})}),_jsx(Step,{title:`Add the tracker node`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Linear → Create Issue`}),` or `,_jsx(_components.strong,{children:`Jira → Create Issue`}),`. Authenticate with an API key.`]})}),_jsx(Step,{title:`Map the fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Title`}),`: `,_jsx(_components.code,{children:`={{$json.body.title || \"Bug from \" + $json.body.author.email}}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Description`}),`: include `,_jsx(_components.code,{children:`{{$json.body.description}}`}),`, the Jam link `,_jsx(_components.code,{children:`{{$json.body.jamUrl}}`}),`, and the captured URL `,_jsx(_components.code,{children:`{{$json.body.originalUrl}}`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Labels`}),`: add the value of `,_jsx(_components.code,{children:`{{$json.body.origin}}`})]}),`\n`]})}),_jsx(Step,{title:`Activate the workflow`,children:_jsx(_components.p,{children:`Send another example from Jam to confirm the ticket lands.`})})]})}),_jsx(Tab,{title:`Make`,id:`make-2`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Add a Custom webhook trigger`,children:_jsxs(_components.p,{children:[`Copy the URL, register it in Jam with `,_jsx(_components.code,{children:`jam.created`}),`, and send an example event so Make learns the schema.`]})}),_jsx(Step,{title:`Add the Linear or Jira module`,children:_jsxs(_components.p,{children:[`Pick `,_jsx(_components.strong,{children:`Create an Issue`}),`. Authenticate with your tracker credentials.`]})}),_jsx(Step,{title:`Map the fields`,children:_jsxs(_components.p,{children:[`Use the Jam payload for `,_jsx(_components.strong,{children:`Title`}),`, `,_jsx(_components.strong,{children:`Description`}),`, and `,_jsx(_components.strong,{children:`Labels`}),`. Put the Jam URL on the first line of the description so reviewers click into the recording immediately.`]})}),_jsx(Step,{title:`Turn on the scenario`,children:_jsx(_components.p,{children:`Verify with one example event, then enable the scheduler.`})})]})}),_jsxs(Tab,{title:`Code`,id:`code-2`,children:[_jsx(_components.p,{children:`The example below files a Linear issue. Swap the API call for Jira’s REST endpoint if you use Jira.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`46`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes css-variables css-variables`,style:{backgroundColor:`var(--mint-background)`,\"--shiki-dark-bg\":`var(--mint-background)`,color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`46`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`import`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { Webhook } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`from`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"svix\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`export`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` default`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` async`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (request) `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=>`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` request`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.text`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` headers`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` Object`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.fromEntries`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`request`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.headers);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` let`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` try`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Webhook`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`WEBHOOK_SECRET`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.verify`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` headers);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`catch`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 400`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` title`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.title `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`||`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" `Bug from \"}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`author`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.email`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\"`\"}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` description`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.jamUrl`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.description `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`??`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.originalUrl `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`?`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" `Captured on: \"}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.originalUrl`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\"`\"}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` :`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` ]`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.join`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"\\\\n\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` fetch`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"https://api.linear.app/graphql\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` method`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` headers`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` Authorization`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`LINEAR_API_KEY`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` body`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` JSON`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.stringify`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` query`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" `\"})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` mutation IssueCreate($input: IssueCreateInput!) {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` issueCreate(input: $input) { success issue { id } }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\" `\"}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` variables`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` input`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` teamId`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`LINEAR_TEAM_ID`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` title`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` description`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` })`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 200`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`};`})}),`\n`]})})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`customer-workflows`,children:`Customer workflows`}),`\n`,_jsx(Heading,{level:`3`,id:`prioritize-jams-from-key-accounts`,children:`Prioritize Jams from key accounts`}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Route Jams captured on key-account domains straight to the team and tag them with a priority label. Pair it with a Recording Link in your help center or status page so a VIP customer’s report never sits in a queue.`})}),`\n`,_jsx(_components.p,{children:`The flow:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`jam.created`}),` fires.`]}),`\n`,_jsxs(_components.li,{children:[`Match the `,_jsx(_components.code,{children:`originalUrl`}),` host against a list of key-account domains, or look it up in your CRM.`]}),`\n`,_jsxs(_components.li,{children:[`If matched, post to a high-priority Slack channel and create a `,_jsx(_components.code,{children:`P0`}),` ticket.`]}),`\n`,_jsx(_components.li,{children:`If not, fall through to your normal triage flow.`}),`\n`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Zapier`,id:`zapier-3`,children:[_jsxs(Steps,{children:[_jsx(Step,{title:`Trigger on jam.created`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.strong,{children:`Webhooks by Zapier → Catch Hook`}),` and register the URL in Jam.`]})}),_jsx(Step,{title:`Add a Paths step`,children:_jsxs(_components.p,{children:[`Zapier’s `,_jsx(_components.strong,{children:`Paths`}),` branches on a condition. Create a path called `,_jsx(_components.strong,{children:`Key account`}),`.`]})}),_jsx(Step,{title:`Filter the Key account path`,children:_jsxs(_components.p,{children:[`Add a Filter: `,_jsx(_components.strong,{children:`Original URL`}),` `,_jsx(_components.strong,{children:`Contains`}),` `,_jsx(_components.code,{children:`acme.com`}),` `,_jsx(_components.strong,{children:`OR`}),` `,_jsx(_components.code,{children:`bigco.com`}),`. Add one row per domain, or look the host up via `,_jsx(_components.a,{href:`https://zapier.com/apps/crm-connector/integrations`,children:`Zapier CRM integrations`}),`.`]})}),_jsx(Step,{title:`Post to a priority Slack channel`,children:_jsxs(_components.p,{children:[`In the Key account path, add `,_jsx(_components.strong,{children:`Slack → Send Channel Message`}),` to `,_jsx(_components.code,{children:`#vip-bugs`}),`. Include the customer email, Jam title, and Jam URL.`]})}),_jsx(Step,{title:`Create a P0 ticket`,children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.strong,{children:`Linear → Create Issue`}),` (or Jira). Set `,_jsx(_components.strong,{children:`Priority`}),` to `,_jsx(_components.code,{children:`Urgent`}),` and add a `,_jsx(_components.code,{children:`P0`}),` label.`]})}),_jsx(Step,{title:`Add the fallback path`,children:_jsx(_components.p,{children:`In the default path, file the Jam in your normal triage queue.`})}),_jsx(Step,{title:`Publish the Zap`,children:_jsx(_components.p,{children:`Test each path with an example event from Jam, then publish.`})})]}),_jsx(Tip,{children:_jsx(_components.p,{children:`If you maintain key accounts in HubSpot or Salesforce, swap the static domain list for a CRM lookup step before the Filter.`})})]}),_jsx(Tab,{title:`n8n`,id:`n8n-3`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Trigger on jam.created`,children:_jsx(_components.p,{children:`Add a Webhook trigger and register the URL in Jam.`})}),_jsx(Step,{title:`Branch on the capture URL`,children:_jsxs(_components.p,{children:[`Add an `,_jsx(_components.strong,{children:`IF`}),` node. Condition: `,_jsx(_components.code,{children:`{{$json.body.originalUrl}}`}),` contains `,_jsx(_components.code,{children:`acme.com`}),`. Use an OR group for additional domains.`]})}),_jsx(Step,{title:`Wire the true branch to Slack and Linear`,children:_jsxs(_components.p,{children:[`Add `,_jsx(_components.strong,{children:`Slack → Post a message`}),` to `,_jsx(_components.code,{children:`#vip-bugs`}),` and `,_jsx(_components.strong,{children:`Linear → Create Issue`}),` with priority `,_jsx(_components.code,{children:`Urgent`}),`.`]})}),_jsx(Step,{title:`Wire the false branch to your default triage`,children:_jsx(_components.p,{children:`Send the payload to your existing flow or leave it to a second webhook listener.`})}),_jsx(Step,{title:`Activate the workflow`,children:_jsx(_components.p,{children:`Send a few example events from Jam with different capture URLs to confirm routing.`})})]})}),_jsx(Tab,{title:`Code`,id:`code-3`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes css-variables css-variables`,style:{backgroundColor:`var(--mint-background)`,\"--shiki-dark-bg\":`var(--mint-background)`,color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`import`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { Webhook } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`from`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"svix\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` KEY_ACCOUNT_DOMAINS`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Set`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`([`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"acme.com\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"bigco.com\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`]);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`export`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` default`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` async`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (request) `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=>`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` request`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.text`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` headers`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` Object`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.fromEntries`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`request`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.headers);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` let`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` try`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Webhook`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`process`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`env`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`WEBHOOK_SECRET`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` wh`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.verify`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(payload`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` headers);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`catch`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 400`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` host`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.originalUrl `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`?`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` URL`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`event`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`.originalUrl).hostname `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:` \"\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` const`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` isKeyAccount`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` =`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` [`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`...`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`KEY_ACCOUNT_DOMAINS`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`]`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.some`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (d) `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`=>`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` host `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`===`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` d `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`||`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` host`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:`.endsWith`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\"`.\"}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:\"${\"}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`d`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`}`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:\"`\"}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`)`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` );`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` if`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` (isKeyAccount) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` postToSlack`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"#vip-bugs\"`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` event);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` createLinearIssue`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(event`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { priority`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 1`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` labels`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` [`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"P0\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`] });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` } `}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`else`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` await`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` createLinearIssue`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(event`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { priority`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 3`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` labels`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` [`}),_jsx(_components.span,{style:{color:`var(--mint-token-string-expression, #297a3a)`,\"--shiki-dark\":`var(--mint-token-string-expression, #297a3a)`},children:`\"triage\"`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`] });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` return`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:` new`}),_jsx(_components.span,{style:{color:`var(--mint-token-function, #0068d6)`,\"--shiki-dark\":`var(--mint-token-function, #0068d6)`},children:` Response`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`(`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:`null`}),_jsx(_components.span,{style:{color:`var(--mint-token-punctuation, #171717)`,\"--shiki-dark\":`var(--mint-token-punctuation, #171717)`},children:`,`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` { status`}),_jsx(_components.span,{style:{color:`var(--mint-token-keyword, #bd2864)`,\"--shiki-dark\":`var(--mint-token-keyword, #bd2864)`},children:`:`}),_jsx(_components.span,{style:{color:`var(--mint-token-constant, #171717)`,\"--shiki-dark\":`var(--mint-token-constant, #171717)`},children:` 200`}),_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:` });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`var(--mint-foreground)`,\"--shiki-dark\":`var(--mint-foreground)`},children:`};`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`more-patterns`,children:`More patterns`}),`\n`,_jsxs(_components.p,{children:[`These flows share the same shape: pick up `,_jsx(_components.code,{children:`jam.created`}),`, call `,_jsx(_components.a,{href:`/jam-mcp`,children:`Jam MCP`}),` for full context, then do something with it.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Auto-triage a folder`,icon:`layers`,children:_jsx(_components.p,{children:`Cluster a folder of Jams (bug bash, beta cycle, customer flow) into grouped tickets instead of one per duplicate.`})}),_jsx(Card,{title:`Design QA into a PR`,icon:`pen-tool`,children:_jsx(_components.p,{children:`Turn a designer’s walk-through into either a fix PR or routed Figma comments.`})}),_jsx(Card,{title:`Recordings into artifacts`,icon:`file-text`,children:_jsx(_components.p,{children:`Convert walk-throughs into doc drafts, test cases, or release notes with the MCP option to retrieve voice-over transcripts.`})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`These patterns rely on Jam MCP for reading Jam content. See `,_jsx(_components.a,{href:`/jam-mcp`,children:`Get Started with MCP`}),` for the tool reference.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Webhook workflows","description":null,"href":"/webhooks-workflows"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Individual workflows","slug":"individual-workflows","depth":2,"children":[{"title":"Open a PR from a Jam","slug":"open-a-pr-from-a-jam","depth":3,"children":[]}]},{"title":"Team workflows","slug":"team-workflows","depth":2,"children":[{"title":"Notify Slack on incoming Jams","slug":"notify-slack-on-incoming-jams","depth":3,"children":[]},{"title":"Auto-file a Linear or Jira ticket","slug":"auto-file-a-linear-or-jira-ticket","depth":3,"children":[]}]},{"title":"Customer workflows","slug":"customer-workflows","depth":2,"children":[{"title":"Prioritize Jams from key accounts","slug":"prioritize-jams-from-key-accounts","depth":3,"children":[]}]},{"title":"More patterns","slug":"more-patterns","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"jam-1eb4fd26","siteName":"Jam Documenation","title":"Webhook workflows - Jam Documenation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T15:04:04.020Z","originalFileLocation":"webhooks-workflows.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Jam Documenation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Webhook workflows - Jam Documenation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jam Documenation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://jam.dev/docs/webhooks-workflows\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jam-1eb4fd26.mintlify.site/docs/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Webhook+workflows\u0026amp;theme=1463839cb5d584114f996bbf\u0026amp;signature=4bc7e5d8d0f08d114fc0abf1d865a0d10ff1976b45634f2c88b0253043b4379c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Webhook workflows - Jam Documenation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jam-1eb4fd26.mintlify.site/docs/_mintlify/api/og/v2?division=Webhooks\u0026amp;title=Webhook+workflows\u0026amp;theme=1463839cb5d584114f996bbf\u0026amp;signature=4bc7e5d8d0f08d114fc0abf1d865a0d10ff1976b45634f2c88b0253043b4379c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/jam-1eb4fd26/Plt66rpoQ3EQ04EP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jam Documenation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#191919\">\u003clink data-mint-head rel=\"canonical\" href=\"https://jam.dev/docs/webhooks-workflows\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/webhooks-workflows.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://jam.dev/#organization\",\"name\":\"Jam Documenation\",\"url\":\"https://jam.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jam-1eb4fd26/oTOrSrW8kcUbGST-/images/jam-wordmark-full-color-for-light-background-520x224.png?fit=max\u0026auto=format\u0026n=oTOrSrW8kcUbGST-\u0026q=85\u0026s=93d56e5d2dc005443fea58cb94ff71ae\"}},{\"@type\":\"WebSite\",\"@id\":\"https://jam.dev/docs#website\",\"name\":\"Jam Documenation\",\"url\":\"https://jam.dev/docs\",\"publisher\":{\"@id\":\"https://jam.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://jam.dev/docs/webhooks-workflows#webpage\",\"url\":\"https://jam.dev/docs/webhooks-workflows\",\"name\":\"Webhook workflows\",\"dateModified\":\"2026-11-03T15:04:04.020Z\",\"isPartOf\":{\"@id\":\"https://jam.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://jam.dev/docs/webhooks-workflows#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://jam.dev/docs/webhooks-workflows#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhooks\",\"item\":\"https://jam.dev/docs/webhooks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhook workflows\",\"item\":\"https://jam.dev/docs/webhooks-workflows\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://jam.dev/docs/webhooks-workflows#article\",\"headline\":\"Webhook workflows\",\"name\":\"Webhook workflows\",\"url\":\"https://jam.dev/docs/webhooks-workflows\",\"mainEntityOfPage\":{\"@id\":\"https://jam.dev/docs/webhooks-workflows#webpage\"},\"dateModified\":\"2026-11-03T15:04:04.020Z\",\"publisher\":{\"@id\":\"https://jam.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://jam.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jam Documenation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Jam Documenation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/webhooks-workflows.md","siteName":"Jam Documenation","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":"/introduction"}]},{"tab":"Developers","icon":"code","groups":[{"group":"MCP","pages":[{"title":"Jam MCP","href":"/jam-mcp"},{"title":"Personal access tokens","href":"/personal-access-tokens"}]},{"group":"CLI","pages":[{"title":"Jam CLI","href":"/cli"},{"title":"Get Jams from your agents","href":"/cli-record-browser"},{"title":"Record end-to-end tests","href":"/cli-e2e-tests"},{"title":"Request Jams from customers","href":"/cli-request-jams"},{"title":"CLI reference","href":"/cli-reference"}]},{"group":"SDK","pages":[{"title":"Configuration","sidebarTitle":"Overview","href":"/configuration-overview"},{"title":"Custom logs","href":"/custom-logs"},{"title":"Auto-blur","href":"/auto-blur"},{"title":"Sanitizers","href":"/sanitizers"},{"title":"Connect your domain","href":"/custom-recording-domain"},{"title":"Setting up logging in iOS","href":"/ios-logging"}]},{"group":"Webhooks","pages":[{"title":"Webhooks and events","description":"Send Jam events to your own HTTPS endpoint, Zapier workflow, or n8n automation when a new Jam is created.","href":"/webhooks"},{"title":"Webhook workflows","href":"/webhooks-workflows"}]}]},{"tab":"Guides","icon":"compass","pages":[{"title":"Guides","href":"/ai-agents"}]}]},"basePath":"","title":"Webhook workflows - Jam Documenation","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Buk2KjK6.js","DynamicMarkdown-DYYZTGpa.js","zoom-image-lightbox-T84NdC3b.js","lightbox-handle-r17bVUz3.js"]}