Build a trigger that the other system calls: register the flow’s address when the flow goes on, turn the call into items and remove the address again.
A webhook trigger lets the other system tell Automation when something happens. It registers the flow’s address with the other system when the flow is switched on, and removes it when the flow is switched off.
Register context.webhookUrl with the other system and store the id of the registration.
run
Receives each call and returns the items. Return [context.payload.body] to pass the body on as one item, or build several items. Return an empty list to start nothing, for example for a ping.
The body, read as JSON when it is JSON and as text otherwise.
queryParams
The query parameters.
method
POST or GET.
The headers of the call are not handed to the plug. A signature that the other system sends in a header cannot be checked in run. Prefer a system that signs the body or lets you choose a secret that travels in the body or in the address.
Handshake and renewal hooks are not called, so a system that first asks the address to answer a challenge cannot be connected with a plug trigger. Use a flow with the built-in Webhook received trigger and answer with Respond to webhook in that case.
A webhook trigger cannot be tested before the flow is published, because the other system sends the data. Switch the flow on, cause an event in the other system and open the run.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Collabase","description":"Guides, administration and reference for Collabase, the collaboration platform from Switzerland: Docs, Projects, Test Management, Automation, Meetings and more.","colors":{"primary":"#0f4d38","light":"#ccfc75","dark":"#ccfc75"},"logo":{"light":"https://mintcdn.com/collabase-5ba5d338/j8uDSq0SfAexl3JI/images/logo-black.svg?fit=max\u0026auto=format\u0026n=j8uDSq0SfAexl3JI\u0026q=85\u0026s=22aa49d3e2d8036d080f1efb9ff9b531","dark":"https://mintcdn.com/collabase-5ba5d338/j8uDSq0SfAexl3JI/images/logo-white.svg?fit=max\u0026auto=format\u0026n=j8uDSq0SfAexl3JI\u0026q=85\u0026s=0487f394598030171c39de08c6f366b3"},"favicon":{"light":"https://mintcdn.com/collabase-5ba5d338/j8uDSq0SfAexl3JI/images/favicon-light.png?fit=max\u0026auto=format\u0026n=j8uDSq0SfAexl3JI\u0026q=85\u0026s=d37c20abb2f09323711170c227ce7086","dark":"https://mintcdn.com/collabase-5ba5d338/j8uDSq0SfAexl3JI/images/favicon-dark.png?fit=max\u0026auto=format\u0026n=j8uDSq0SfAexl3JI\u0026q=85\u0026s=92ae1ef55e741de8ad13e652a5519c2f"},"api":{"examples":{"prefill":true,"autogenerate":true},"url":"full","mdx":{"auth":{"method":"bearer"}}},"background":{"color":{"light":"#f7f7f7"}},"navbar":{"primary":{"type":"button","label":"Back to website","href":"https://collabase.ch"}},"search":{"prompt":"Search the documentation"},"seo":{"metatags":{"og:site_name":"Collabase documentation","twitter:card":"summary_large_image"},"organization":{"name":"Collabase","url":"https://collabase.ch"}},"fonts":{"heading":{"family":"Outfit","weight":500},"body":{"family":"Outfit","weight":400}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"ga4":{"measurementId":"G-9YS9SX848Y"},"cookies":{"key":"collabase-doku-messung","value":"erlaubt"}},"errors":{"404":{"redirect":false,"title":"Page not found","description":"This page does not exist or has moved. Search above, or [go to the documentation home](/)."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","add-mcp","cursor","vscode"],"display":"header"},"thumbnails":{"preset":"headline","eyebrow":{"source":"tab"}},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"markdown":{"schema":true,"instructions":["Collabase documentation. Interface labels are quoted in English, as they appear in the product.","Features marked Enterprise need the Collabase Enterprise Edition licence."]},"navigation":{"languages":[{"language":"en","footer":{"links":[{"header":"Collabase","items":[{"label":"Website","href":"https://collabase.ch"},{"label":"Download","href":"https://collabase.ch/en/download"},{"label":"Trust center","href":"https://collabase.ch/vertrauen"},{"label":"Support","href":"https://infometis.atlassian.net/servicedesk/customer/portal/1/group/81"}]}]},"navbar":{"primary":{"type":"button","label":"Back to website","href":"https://collabase.ch"}},"href":""}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"collabase-5ba5d338","hasAudioNarration":false,"actualSubdomain":"collabase-5ba5d338","customDomains":["collabase.ch"],"gitSource":{"type":"github","owner":"collabase","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"3c48481f-443b-4103-9892-257afad28ca1","liveDeploymentHistoryId":"6adcccda3e0e90aa2af91745","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adcccda3e0e90aa2af91745"},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adfc1d2ad68c5d775db877e","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"en","tag":"Apps","count":136},{"language":"en","tag":"API reference","count":106},{"language":"en","tag":"Automation","count":70},{"language":"en","tag":"Guides","count":54},{"language":"en","tag":"Meetings","count":52},{"language":"en","tag":"Administration","count":40},{"language":"en","tag":"Core concepts","count":23},{"language":"en","tag":"Projects","count":21},{"language":"en","tag":"Test Management","count":16},{"language":"en","tag":"HERMES project management","count":14}],"searchSettings":{"maxResults":6,"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","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":"billing-updated-9-15","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":"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}],"privacy":{"consentBanner":{"enabled":true}},"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@keyframes home-float{0%,to{transform:translateY(0) rotate(var(--r))}50%{transform:translateY(-10px) rotate(calc(var(--r) + 2deg))}}:root{--brand-lime:#ccfc75;--brand-green:#77f355;--brand-mint:#1ae299;--brand-sage-1:#dfe9c0;--brand-sage-2:#c9dfae;--brand-sage-3:#b5d2a0;--brand-wald:#0f4d38;--page:#f7f7f7;--card-line:#e5e5e5;--card-hairline:rgb(0 0 0 / 0.06);--brand-ink-on-neon:#10200a;--brand-core-gradient:linear-gradient(90deg, #ccfc75, #77f355, #1ae299)}.brand-marker{background:var(--brand-sage-2);border-radius:.375rem;color:var(--brand-wald);padding:0 .35em}.dark .brand-marker{background:0 0;color:var(--brand-lime);padding:0}.brand-marker-action{background:var(--brand-lime);border-radius:.375rem;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:var(--brand-ink-on-neon);padding:0 .3em}.brand-cards [data-component-part=card-icon]{align-items:center;background:var(--brand-sage-2);border-radius:.5rem;box-sizing:content-box;display:inline-flex;justify-content:center;padding:.4rem}.brand-cards [data-component-part=card-icon] svg{background-color:var(--brand-wald)!important}.dark .brand-cards [data-component-part=card-icon]{background:0 0;box-shadow:inset 0 0 0 1px rgb(204 252 117/.35)}.dark .brand-cards [data-component-part=card-icon] svg{background-color:var(--brand-lime)!important}.nav-tag-pill .nav-tag-pill-text,[data-badge][data-color=green]{background:var(--brand-sage-1);color:var(--brand-wald)}.dark .nav-tag-pill .nav-tag-pill-text{background:var(--brand-core-gradient);color:var(--brand-ink-on-neon)}#topbar-cta-button,#topbar-cta-button a,#topbar-cta-button span{color:var(--brand-ink-on-neon)!important}html[data-current-path=\"/\"] header#navbar,html[data-current-path=\"/de\"] header#navbar{backdrop-filter:blur(12px);background-color:rgb(255 255 255/.95)}html.dark[data-current-path=\"/\"] header#navbar,html.dark[data-current-path=\"/de\"] header#navbar{background-color:rgb(9 9 9/.8)}[data-badge][data-color=green]{border-color:var(--brand-sage-3)}.dark [data-badge][data-color=green]{background:var(--brand-lime);border-color:var(--brand-lime);color:var(--brand-ink-on-neon)}h1,h2,h3{letter-spacing:-.03em}body{letter-spacing:-.01em}.home-hero{overflow:hidden;position:relative}.home-title{color:#171717;font-size:2.5rem;font-weight:500;letter-spacing:-.03em;line-height:1.05}@media (min-width:1024px){.home-title{font-size:3.5rem}}.dark .home-title{color:#fafafa}.home-pill{background:#fff;border-radius:.5rem;box-shadow:0 0 0 1px var(--card-line);color:#404040;display:inline-block;font-size:.8125rem;font-weight:500;padding:.25rem .75rem}.dark .home-pill{background:rgb(255 255 255/.06);box-shadow:0 0 0 1px rgb(255 255 255/.12);color:#e5e5e5}.home-section-title{color:#171717;font-size:1.5rem;font-weight:500;letter-spacing:-.025em}.dark .home-section-title{color:#fafafa}.home-link:hover{color:var(--brand-wald)}.dark .home-link:hover{color:var(--brand-lime)}.home-cards .card,.home-search{background:#fff;border:1px solid var(--card-hairline);margin:6px;outline:1px solid var(--card-line);outline-offset:5px}.home-search{border-radius:.625rem;box-shadow:none;width:calc(100% - 12px)}.home-cards .card{border-radius:.875rem}.dark .home-cards .card,.dark .home-search{background:#171717;border-color:rgb(255 255 255/.08);outline-color:rgb(255 255 255/.12)}.home-cards .card{box-shadow:none}.home-cards .card:hover{border-color:var(--brand-sage-3)}.dark .home-cards .card:hover{border-color:rgb(204 252 117/.5)}.home-cards [data-component-part=card-icon]:not(.brand-cards *){background:0 0}.brand-cards [data-component-part=card-icon]{box-shadow:0 0 0 1px var(--brand-sage-3)}.home-cards{--home-gap:1.25rem}[data-component-part=card-title]{letter-spacing:-.01em}html body #banner{background:#0b0f0a;border-bottom:1px solid rgb(204 252 117/.3)}.home-bg,.home-dots{inset:0;position:absolute}.home-bg{pointer-events:none}.home-dots{background-image:radial-gradient(rgb(15 77 56/.18) 1px,transparent 1.5px);background-size:22px 22px;mask-image:radial-gradient(70% 90% at 50% 0,#000 30%,transparent 100%);-webkit-mask-image:radial-gradient(70% 90% at 50% 0,#000 30%,transparent 100%)}.dark .home-dots{background-image:radial-gradient(rgb(204 252 117/.16) 1px,transparent 1.5px)}.home-float{--r:0deg;animation:home-float 9s ease-in-out infinite;display:none;position:absolute;transform:rotate(var(--r))}.home-float img{border-radius:1.1rem;height:4.5rem;margin:0;width:4.5rem}@media (min-width:1100px){.home-float{display:block}}.home-float:nth-child(2){--r:-8deg;animation-delay:0s;left:6%;top:3rem}.home-float:nth-child(3){--r:6deg;animation-delay:-2s;left:15%;top:11rem}.home-float:nth-child(4){--r:-4deg;animation-delay:-4s;left:4%;top:18rem}.home-float:nth-child(5){--r:8deg;animation-delay:-1s;right:6%;top:4rem}.home-float:nth-child(6){--r:-6deg;animation-delay:-3s;right:15%;top:12rem}.home-float:nth-child(7){--r:5deg;animation-delay:-5s;right:4%;top:19rem}.home-float:nth-child(8){--r:-3deg;animation-delay:-6s;left:14%;top:24rem}@media (prefers-reduced-motion:reduce){.home-float{animation:none}}"}],"page":{"pagePath":"developer/plugs/webhook-trigger","slug":"/developer/plugs/webhook-trigger","pageMetadata":{"title":"Webhook trigger","sidebarTitle":"Webhook trigger","icon":"webhook","description":"Build a trigger that the other system calls: register the flow's address when the flow goes on, turn the call into items and remove the address again.","href":"/developer/plugs/webhook-trigger"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Build a trigger that the other system calls: register the flow’s address when the flow goes on, turn the call into items and remove the address again.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A webhook trigger lets the other system tell Automation when something happens. It registers the flow’s address with the other system when the flow is switched on, and removes it when the flow is switched off.`}),`\n`,_jsx(Heading,{level:`2`,id:`the-address`,children:`The address`}),`\n`,_jsxs(_components.p,{children:[`Every flow has one webhook address. Collabase hands it to the trigger as `,_jsx(_components.code,{children:`context.webhookUrl`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://your-instance/api/v1/automation/webhooks/\u003cflow id>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Anyone who knows the address can call it. See `,_jsx(_components.a,{href:`/automation/webhooks`,children:`Webhooks`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`enable-run-disable`,children:`Enable, run, disable`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` orderChanged`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`createTrigger`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"order_changed\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` displayName:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Order changed\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` description:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"Starts when an order changes.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` type:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` TriggerStrategy`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:`WEBHOOK`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` props:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` sampleData:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`id:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"A1\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`status:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` \"shipped\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onEnable`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` hook`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` registerHook`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`webhookUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`store`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`put`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"hookId\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`hook`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onDisable`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` hookId`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`store`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`>(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"hookId\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`hookId`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` removeHook`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`auth`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`hookId`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` run`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`context`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hook`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onEnable`})}),_jsxs(_components.td,{children:[`Register `,_jsx(_components.code,{children:`context.webhookUrl`}),` with the other system and store the id of the registration.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`run`})}),_jsxs(_components.td,{children:[`Receives each call and returns the items. Return `,_jsx(_components.code,{children:`[context.payload.body]`}),` to pass the body on as one item, or build several items. Return an empty list to start nothing, for example for a ping.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`onDisable`})}),_jsx(_components.td,{children:`Delete the registration, using the stored id.`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`what-run-receives`,children:[`What `,_jsx(_components.code,{children:`run`}),` receives`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`context.payload`}),` holds the call that arrived:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Content`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`body`})}),_jsx(_components.td,{children:`The body, read as JSON when it is JSON and as text otherwise.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`queryParams`})}),_jsx(_components.td,{children:`The query parameters.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`method`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST`}),` or `,_jsx(_components.code,{children:`GET`}),`.`]})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The headers of the call are not handed to the plug. A signature that the other system sends in a header cannot be checked in `,_jsx(_components.code,{children:`run`}),`. Prefer a system that signs the body or lets you choose a secret that travels in the body or in the address.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`not-supported`,children:`Not supported`}),`\n`,_jsxs(_components.p,{children:[`Handshake and renewal hooks are not called, so a system that first asks the address to answer a challenge cannot be connected with a plug trigger. Use a flow with the built-in `,_jsx(_components.strong,{children:`Webhook received`}),` trigger and answer with `,_jsx(_components.strong,{children:`Respond to webhook`}),` in that case.`]}),`\n`,_jsx(Heading,{level:`2`,id:`test`,children:`Test`}),`\n`,_jsx(_components.p,{children:`A webhook trigger cannot be tested before the flow is published, because the other system sends the data. Switch the flow on, cause an event in the other system and open the run.`}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/developer/plugs/triggers`,children:`Triggers overview`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/automation/webhooks`,children:`Webhooks`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/developer/plugs/storage`,children:`Persistent storage`})}),`\n`]})]})}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":"dark","config":{},"pageMetadata":{"title":"Webhook trigger","sidebarTitle":"Webhook trigger","icon":"webhook","description":"Build a trigger that the other system calls: register the flow's address when the flow goes on, turn the call into items and remove the address again.","href":"/developer/plugs/webhook-trigger"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The address","slug":"the-address","depth":2,"children":[]},{"title":"Enable, run, disable","slug":"enable-run-disable","depth":2,"children":[]},{"title":"What run receives","slug":"what-run-receives","depth":2,"children":[]},{"title":"Not supported","slug":"not-supported","depth":2,"children":[]},{"title":"Test","slug":"test","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"collabase-5ba5d338","siteName":"Collabase","title":"Webhook trigger - Collabase","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developer/plugs/webhook-trigger","matchLevel":0}}},"lastModified":"2026-10-26T21:10:55.437Z","gitLastModified":"2026-10-26T21:10:38.000Z","originalFileLocation":"developer/plugs/webhook-trigger.mdx","locale":"en"},"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=\"description\" content=\"Build a trigger that the other system calls: register the flow\u0026#x27;s address when the flow goes on, turn the call into items and remove the address again.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Collabase\">\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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Webhook trigger - Collabase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build a trigger that the other system calls: register the flow\u0026#x27;s address when the flow goes on, turn the call into items and remove the address again.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Collabase documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://collabase.ch/docs/developer/plugs/webhook-trigger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://collabase-5ba5d338.mintlify.app/_mintlify/api/og/v2?division=Automation\u0026amp;title=Webhook+trigger\u0026amp;description=Build+a+trigger+that+the+other+system+calls%3A+register+the+flow%27s+address+when+the+flow+goes+on%2C+turn+the+call+into+items+and+remove+the+address+again.\u0026amp;theme=9b75927d6034ee3ce45ec503\u0026amp;signature=4ca284549dae72133c951f2d57a7075d28c519533e7ec7ecf751adbb97c46cb4\">\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 trigger - Collabase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build a trigger that the other system calls: register the flow\u0026#x27;s address when the flow goes on, turn the call into items and remove the address again.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://collabase-5ba5d338.mintlify.app/_mintlify/api/og/v2?division=Automation\u0026amp;title=Webhook+trigger\u0026amp;description=Build+a+trigger+that+the+other+system+calls%3A+register+the+flow%27s+address+when+the+flow+goes+on%2C+turn+the+call+into+items+and+remove+the+address+again.\u0026amp;theme=9b75927d6034ee3ce45ec503\u0026amp;signature=4ca284549dae72133c951f2d57a7075d28c519533e7ec7ecf751adbb97c46cb4\">\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/collabase-5ba5d338/gB0h8fOyOzfM50Et/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Collabase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f4d38\">\u003clink data-mint-head rel=\"canonical\" href=\"https://collabase.ch/docs/developer/plugs/webhook-trigger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/developer/plugs/webhook-trigger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://collabase.ch/#organization\",\"name\":\"Collabase\",\"url\":\"https://collabase.ch\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/collabase-5ba5d338/j8uDSq0SfAexl3JI/images/logo-black.svg?fit=max\u0026auto=format\u0026n=j8uDSq0SfAexl3JI\u0026q=85\u0026s=22aa49d3e2d8036d080f1efb9ff9b531\"}},{\"@type\":\"WebSite\",\"@id\":\"https://collabase.ch/docs#website\",\"name\":\"Collabase\",\"url\":\"https://collabase.ch/docs\",\"publisher\":{\"@id\":\"https://collabase.ch/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger#webpage\",\"url\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger\",\"name\":\"Webhook trigger\",\"description\":\"Build a trigger that the other system calls: register the flow's address when the flow goes on, turn the call into items and remove the address again.\",\"dateModified\":\"2026-10-26T21:10:38.000Z\",\"isPartOf\":{\"@id\":\"https://collabase.ch/docs#website\"},\"breadcrumb\":{\"@id\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Plug triggers\",\"item\":\"https://collabase.ch/docs/developer/plugs/triggers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhook trigger\",\"item\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger#article\",\"headline\":\"Webhook trigger\",\"name\":\"Webhook trigger\",\"description\":\"Build a trigger that the other system calls: register the flow's address when the flow goes on, turn the call into items and remove the address again.\",\"url\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger\",\"mainEntityOfPage\":{\"@id\":\"https://collabase.ch/docs/developer/plugs/webhook-trigger#webpage\"},\"dateModified\":\"2026-10-26T21:10:38.000Z\",\"publisher\":{\"@id\":\"https://collabase.ch/#organization\"},\"isPartOf\":{\"@id\":\"https://collabase.ch/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Collabase\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Collabase","nav":{"global":null,"languages":[{"language":"en","footer":{"links":[{"header":"Collabase","items":[{"label":"Website","href":"https://collabase.ch"},{"label":"Download","href":"https://collabase.ch/en/download"},{"label":"Trust center","href":"https://collabase.ch/vertrauen"},{"label":"Support","href":"https://infometis.atlassian.net/servicedesk/customer/portal/1/group/81"}]}]},"navbar":{"primary":{"type":"button","label":"Back to website","href":"https://collabase.ch"}},"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"Apps","icon":"layout-grid","pages":[{"title":"Apps","href":"/docs/overview"}]},{"tab":"Administration","icon":"settings","pages":[{"title":"Administration","href":"/installation"}]},{"tab":"Automation","icon":"workflow","groups":[{"group":"Overview","icon":"hand","pages":[{"title":"Automation","sidebarTitle":"Overview","icon":"hand","href":"/automation/overview"}]},{"group":"Build flows","icon":"hammer","pages":[{"title":"Building flows","sidebarTitle":"Building flows","icon":"hammer","href":"/automation/building-flows"},{"title":"The flow editor","sidebarTitle":"Editor","icon":"pen-tool","href":"/automation/editor"},{"title":"Triggers","sidebarTitle":"Triggers","icon":"zap","href":"/automation/triggers"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/automation/webhooks"},{"title":"Passing data","sidebarTitle":"Passing data","icon":"arrow-right-left","href":"/automation/passing-data"},{"title":"Step inputs","sidebarTitle":"Step inputs","icon":"text-cursor-input","href":"/automation/step-inputs"},{"title":"Workspace variables","sidebarTitle":"Variables","icon":"braces","href":"/automation/variables"},{"title":"Tables","sidebarTitle":"Tables","icon":"table","href":"/automation/tables"}]},{"group":"Run and publish","icon":"rocket","pages":[{"title":"Publishing flows","sidebarTitle":"Publishing flows","icon":"rocket","href":"/automation/publishing-flows"},{"title":"Flow approvals","sidebarTitle":"Flow approvals","icon":"shield-check","href":"/automation/flow-approvals"},{"title":"Runs and approvals","icon":"activity","href":"/automation/runs"},{"title":"Debugging runs","sidebarTitle":"Debugging runs","icon":"bug","href":"/automation/debugging-runs"},{"title":"Flow version history","sidebarTitle":"Version history","icon":"history","href":"/automation/version-history"}]},{"group":"Agents and AI","icon":"bot","pages":[{"title":"AI and agents in Automation","sidebarTitle":"AI and agents","icon":"bot","href":"/automation/agents-and-ai"},{"title":"Agent step","sidebarTitle":"Agent step","icon":"bot","href":"/automation/agent-step"},{"title":"Agent tools","sidebarTitle":"Agent tools","icon":"wrench","href":"/automation/agent-tools"},{"title":"AI provider","sidebarTitle":"AI provider","icon":"brain","href":"/automation/ai-provider"},{"title":"Build with AI","sidebarTitle":"Build with AI","icon":"sparkles","href":"/automation/build-with-ai"},{"title":"MCP server","sidebarTitle":"MCP server","icon":"plug","href":"/automation/mcp-server"},{"title":"Chat page","icon":"message-square","href":"/automation/chat-page"}]},{"group":"Share and reuse","icon":"layout-template","pages":[{"title":"Template library","sidebarTitle":"Template library","icon":"layout-template","href":"/automation/template-library"},{"title":"Import, export and templates","icon":"file-up","href":"/automation/import-export-templates"},{"title":"Git sync and releases","icon":"git-branch","href":"/automation/git-sync"}]},{"group":"Workspaces and plugs","icon":"folder-kanban","pages":[{"title":"Automation workspaces","sidebarTitle":"Workspaces","icon":"folder","href":"/automation/workspaces"},{"title":"Connections","icon":"key-round","href":"/automation/connections"},{"title":"Plugs","icon":"blocks","href":"/automation/plugs"},{"title":"Plug reference","href":"/automation/plug-reference"}]},{"group":"Reference","icon":"book-a","pages":[{"title":"Limits","sidebarTitle":"Limits","icon":"gauge","href":"/automation/limits"},{"title":"Audit events","sidebarTitle":"Audit events","icon":"scroll-text","href":"/automation/audit-events"}]},{"group":"Build a plug","icon":"hammer","pages":[{"title":"Build plugs","sidebarTitle":"Overview","icon":"blocks","href":"/developer/plugs/overview"},{"title":"Get started with a plug","sidebarTitle":"Get started","icon":"play","href":"/developer/plugs/get-started"},{"title":"Plug definition","sidebarTitle":"Plug definition","icon":"file-code","href":"/developer/plugs/definition"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"key-round","href":"/developer/plugs/authentication"},{"title":"Actions","sidebarTitle":"Actions","icon":"mouse-pointer-click","href":"/developer/plugs/actions"},{"title":"Properties","sidebarTitle":"Properties","icon":"sliders-horizontal","href":"/developer/plugs/properties"},{"title":"Props validation","sidebarTitle":"Props validation","icon":"badge-check","href":"/developer/plugs/validation"}]},{"group":"Plug triggers","icon":"zap","pages":[{"title":"Triggers of a plug","sidebarTitle":"Overview","icon":"zap","href":"/developer/plugs/triggers"},{"title":"Polling trigger","sidebarTitle":"Polling trigger","icon":"refresh-cw","description":"Build a trigger that asks the other system for new items every five minutes and remembers where it stopped, with the polling helper of the framework.","href":"/developer/plugs/polling-trigger"},{"title":"Webhook trigger","sidebarTitle":"Webhook trigger","icon":"webhook","href":"/developer/plugs/webhook-trigger"}]},{"group":"Plug runtime","icon":"cpu","pages":[{"title":"Flow control","sidebarTitle":"Flow control","icon":"git-branch","description":"A plug action returns a result and the flow goes on. To wait, ask a person or answer a caller, combine your action with the flow control steps.","href":"/developer/plugs/flow-control"},{"title":"Persistent storage","sidebarTitle":"Persistent storage","icon":"database","href":"/developer/plugs/storage"},{"title":"Files","sidebarTitle":"Files","icon":"file","href":"/developer/plugs/files"},{"title":"Limits of the sandbox","sidebarTitle":"Sandbox limits","icon":"shield","href":"/developer/plugs/sandbox"}]},{"group":"Ship a plug","icon":"upload","pages":[{"title":"Test a plug","sidebarTitle":"Testing","icon":"flask-conical","href":"/developer/plugs/testing"},{"title":"Publish and versions","sidebarTitle":"Publish and versions","icon":"upload","href":"/developer/plugs/publish"},{"title":"Build a plug","icon":"terminal","href":"/automation/build-a-plug"}]}]},{"tab":"Developers","icon":"code-xml","pages":[{"title":"Developers","href":"/developer/overview"}]},{"tab":"API reference","icon":"code","pages":[{"title":"API reference","href":"/api/introduction"}]},{"tab":"Release notes","icon":"list","pages":[{"title":"Release notes","href":"/changelog/overview"}]}]}]},"title":"Webhook trigger - Collabase","buildId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","deploymentId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","dynamics":[],"chunks":[]}