{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A connected app, or the service that connects it, answered with an error or could not be reached.",
"code": "upstream_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "This part of the API is not available on the server right now. Retry later.",
"code": "service_unavailable",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
Send the app (its id, such as gmail), the trigger (the event’s id, such as GMAIL_NEW_GMAIL_MESSAGE), and the event’s config. A workflow has one app event, and setting a new one replaces the old one.Each event starts one run. What the app sent arrives as the input event, so a step reads {{inputs.event.subject}}. event_source says which app and event it was, and when it came. The same event is never run twice. Each run uses your credits like any run. When a run cannot start, for example because the account is out of credits, last_error on Get a workflow’s app event says why.In the app, open the workflow in the builder, press ⌘K (or Ctrl+K), choose the Triggers tab, then App events. It lists each app’s events and their settings.
Status
Why
409app_not_connected
The app is not connected. detail.connect_url connects it. See Connected apps.
422
The event or one of its settings is wrong.
Only the workflow’s owner can set it, because the events come from the owner’s account. Needs workflows:write and workflows:invoke. MCP tool: update_workflow with app_trigger.
Authorizations
ApiKeyAuthApiKeyHeader
Authorization
string
header
required
API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.
Headers
Idempotency-Key
string
Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.
{
"detail": "The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.",
"code": "invalid_json",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The API key is missing, malformed, revoked, or expired.",
"code": "unauthorized",
"type": "authentication_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "The key lacks a scope, is limited to other skills or workflows, or you may not do this.",
"code": "permission_denied",
"type": "permission_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "It does not exist, or it is not yours to see.",
"code": "not_found",
"type": "invalid_request_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).",
"code": "conflict",
"type": "conflict_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.",
"code": "rate_limited",
"type": "rate_limit_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "Something broke on our side. Retry; credits a run already used are not given back.",
"code": "internal_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "A connected app, or the service that connects it, answered with an error or could not be reached.",
"code": "upstream_error",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{
"detail": "This part of the API is not available on the server right now. Retry later.",
"code": "service_unavailable",
"type": "api_error",
"request_id": "3f9a1c2b7d4e"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Valendata","colors":{"primary":"#059669","light":"#10B981","dark":"#047857"},"logo":{"light":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f","dark":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/dark.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=1ea5c3396fd1e49155699be16454b976","href":"https://valendata.com/"},"favicon":"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/favicon.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=b944978557448233e2ed6a35d1330a18","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"mailto:info@valendata.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://valendata.com"}},"footer":{"socials":{"website":"https://valendata.com"}},"fonts":{"family":"Geist"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"valendata","hasAudioNarration":false,"actualSubdomain":"valendata","customDomains":["docs.valendata.com"],"gitSource":{"type":"github","owner":"prinzeval","repo":"valendata-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0211d21d4d5684bbe657cf","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API reference","count":135},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Skills","count":16},{"language":"default","tag":"Concepts","count":13},{"language":"default","tag":"Runs","count":12},{"language":"default","tag":"Workflow triggers","count":10},{"language":"default","tag":"How-to guides","count":10},{"language":"default","tag":"Logins","count":9},{"language":"default","tag":"Skill versions","count":9},{"language":"default","tag":"Workflows","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"site-roles","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist';\n font-style: normal;\n font-weight: 300 800;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geist/v5/gyByhwUxId8gMEwcGFU.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-sans: \"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;--font-mono: \"Geist Mono\", \"SF Mono\", Consolas, monospace}body,html,h1,h2,h3,h4,h5,h6,p,span,a,button,input,select,textarea{font-family:var(--font-sans)!important}code,pre,kbd,samp{font-family:var(--font-mono)!important}h1,h2,h3,h4,h5,h6{letter-spacing:-0.025em!important}html:not(.dark) h1,html:not(.dark) h2,html:not(.dark) h3,html:not(.dark) h4,html:not(.dark) h5,html:not(.dark) h6{color:#0e0f10!important}html:not(.dark) strong,html:not(.dark) b{color:#0e0f10!important;font-weight:700!important}html:not(.dark) p,html:not(.dark) li{color:#334155!important}html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f8fafc!important}html.dark strong,html.dark b{color:#ffffff!important;font-weight:700!important}html.dark p,html.dark li{color:#cbd5e1!important}div[class*=\"pointer-events-none\"][class*=\"bg-gradient-to-b\"]{display:none!important}img.nav-logo{height:2rem!important;max-width:none!important}button[aria-label*=\"Ask AI\"i],button[aria-label*=\"AI\"i],button[aria-label*=\"Assistant\"i],button:has(svg[data-icon=\"sparkles\"]),button:has(svg[data-icon=\"wand-magic-sparkles\"]),div[class*=\"ai-widget\"],div[class*=\"ask-ai\"],div[class*=\"ai-chat\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/workflow-triggers/app-event-set","slug":"/api-reference/workflow-triggers/app-event-set","pageMetadata":{"title":"Start a workflow on an app event","description":"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"},"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: \"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\"\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`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Table}=_components;if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Send the `,_jsx(_components.code,{children:`app`}),` (its id, such as `,_jsx(_components.code,{children:`gmail`}),`), the `,_jsx(_components.code,{children:`trigger`}),` (the event’s id, such as `,_jsx(_components.code,{children:`GMAIL_NEW_GMAIL_MESSAGE`}),`), and the event’s `,_jsx(_components.code,{children:`config`}),`. A workflow has one app event, and setting a new one replaces the old one.`]}),`\n`,_jsxs(_components.p,{children:[`Each event starts one run. What the app sent arrives as the input `,_jsx(_components.code,{children:`event`}),`, so a step reads `,_jsx(_components.code,{children:`{{inputs.event.subject}}`}),`. `,_jsx(_components.code,{children:`event_source`}),` says which app and event it was, and when it came. The same event is never run twice. Each run uses your `,_jsx(_components.a,{href:`/concepts/credits`,children:`credits`}),` like any run. When a run cannot start, for example because the account is out of credits, `,_jsx(_components.code,{children:`last_error`}),` on `,_jsx(_components.a,{href:`/api-reference/workflow-triggers/app-event-get`,children:`Get a workflow’s app event`}),` says why.`]}),`\n`,_jsxs(_components.p,{children:[`In the app, open the workflow in the builder, press `,_jsx(_components.strong,{children:`⌘K`}),` (or `,_jsx(_components.strong,{children:`Ctrl+K`}),`), choose the `,_jsx(_components.strong,{children:`Triggers`}),` tab, then `,_jsx(_components.strong,{children:`App events`}),`. It lists each app’s events and their settings.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Why`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`409`}),` `,_jsx(_components.code,{children:`app_not_connected`})]}),_jsxs(_components.td,{children:[`The app is not connected. `,_jsx(_components.code,{children:`detail.connect_url`}),` connects it. See `,_jsx(_components.a,{href:`/concepts/connected-apps`,children:`Connected apps`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The event or one of its settings is wrong.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Only the workflow’s owner can set it, because the events come from the owner’s account. Needs `,_jsx(_components.code,{children:`workflows:write`}),` and `,_jsx(_components.code,{children:`workflows:invoke`}),`. MCP tool: `,_jsx(_components.code,{children:`update_workflow`}),` with `,_jsx(_components.code,{children:`app_trigger`}),`.`]})]})}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":{"config":{},"pageMetadata":{"title":"Start a workflow on an app event","description":"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Workflows"],"summary":"Start a workflow on an app event","operationId":"set_workflow_app_trigger","security":["55ef4313-d364-4865-8ec1-2581eda68a23","ada002d6-64b5-4292-8b91-280f56e37399"],"parameters":["8e3e8356-9c1c-4dde-bc83-defe66543400","fc4d9549-2ae2-4078-a592-a57448a85f2e"],"requestBody":"57575d4e-0013-4988-824f-bef7d63294f7","responses":{"200":"22eae6c4-11eb-4c07-a1e1-75484c63f116","400":"2e884913-f69d-4bbf-b166-1bb2dd1857d9","401":"ff0d431d-cdab-4911-a93c-e70f831dba54","403":"8f15e451-2ddf-425a-91fa-2c75878dc4ad","404":"813158fb-c33d-4d7e-948b-e6d047a3c91a","409":"166dd01b-3c1a-4fdd-bd2d-293650299aff","422":"87d3ac13-273f-4ef0-bdc2-c861eac6f8e6","429":"dd584430-f0be-4ddd-b237-0d0dda8a9475","500":"6ed61d65-36ce-4794-955e-c95518190756","502":"7379de6f-c0a8-4d04-ba56-515d2aa398c0","503":"36e847b2-8def-44ab-a218-be341d3fdd2a"},"description":"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.","x-mcp-tool":"update_workflow","method":"put","type":"path","servers":["c84457e9-c3bb-411e-99c4-4891ba75f452"],"path":"/v1/workflows/{slug}/app-trigger","baseUrlOptions":["https://api.valendata.com"],"title":"Start a workflow on an app event","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8e3e8356-9c1c-4dde-bc83-defe66543400":{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"fc4d9549-2ae2-4078-a592-a57448a85f2e":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":false,"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","uniqueKey":"","typeLabel":"string"},"description":"Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with `Idempotent-Replayed: true`) and does nothing twice; the same key with a different request is a 422 `idempotency_key_reused`.","example":"order-1234"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"app":{"type":"string","maxLength":100,"minLength":1,"title":"App","description":"The app's id, e.g. gmail.","isRequired":true,"uniqueKey":"app","typeLabel":"string"},"trigger":{"type":"string","maxLength":200,"minLength":1,"title":"Trigger","description":"The event's id, e.g. GMAIL_NEW_GMAIL_MESSAGE.","isRequired":true,"uniqueKey":"trigger","typeLabel":"string"},"config":{"additionalProperties":true,"type":"object","title":"Config","description":"The event's settings.","uniqueKey":"config","typeLabel":"Config · object"}},"type":"object","required":["app","trigger"],"title":"AppTriggerIn","uniqueKey":"","typeLabel":"AppTriggerIn · object"},"examples":{"Example":{"title":"Example","value":{"app":"\u003cstring>","trigger":"\u003cstring>","config":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"22eae6c4-11eb-4c07-a1e1-75484c63f116":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"workflow_id":{"type":"string","title":"Workflow Id","isRequired":true,"uniqueKey":"workflow_id","typeLabel":"string"},"app":{"type":"string","title":"App","description":"The app's id, e.g. gmail.","isRequired":true,"uniqueKey":"app","typeLabel":"string"},"trigger":{"type":"string","title":"Trigger","description":"The event's id, e.g. GMAIL_NEW_GMAIL_MESSAGE.","isRequired":true,"uniqueKey":"trigger","typeLabel":"string"},"enabled":{"type":"boolean","title":"Enabled","isRequired":true,"uniqueKey":"enabled","typeLabel":"boolean"},"trigger_name":{"oneOf":[{"type":"string","title":"Trigger Name","uniqueKey":"trigger_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Trigger Name","uniqueKey":"trigger_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"trigger_name","typeLabel":"string | null"},"config":{"additionalProperties":true,"type":"object","title":"Config","description":"The event's settings.","uniqueKey":"config","typeLabel":"Config · object"},"last_event_at":{"oneOf":[{"type":"string","title":"Last Event At","uniqueKey":"last_event_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Event At","uniqueKey":"last_event_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_event_at","typeLabel":"string | null"},"last_error":{"oneOf":[{"type":"string","title":"Last Error","uniqueKey":"last_error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Last Error","uniqueKey":"last_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_error","typeLabel":"string | null"},"created_at":{"oneOf":[{"type":"string","title":"Created At","uniqueKey":"created_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Created At","uniqueKey":"created_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_at","typeLabel":"string | null"},"updated_at":{"oneOf":[{"type":"string","title":"Updated At","uniqueKey":"updated_at.oneOf.0","typeLabel":"string"},{"type":"null","title":"Updated At","uniqueKey":"updated_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"updated_at","typeLabel":"string | null"}},"type":"object","required":["id","workflow_id","app","trigger","enabled"],"title":"AppTriggerView","uniqueKey":"","typeLabel":"AppTriggerView · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","workflow_id":"\u003cstring>","app":"\u003cstring>","trigger":"\u003cstring>","enabled":true,"trigger_name":"\u003cstring>","config":{},"last_event_at":"\u003cstring>","last_error":"\u003cstring>","created_at":"\u003cstring>","updated_at":"\u003cstring>"}}},"exampleType":"generated"}},"headers":{"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"`true` when this is the stored answer to an earlier request with the same Idempotency-Key.","schema":{"type":"string"}}},"exampleType":"generated"},"2e884913-f69d-4bbf-b166-1bb2dd1857d9":{"description":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The request is malformed: the body is not JSON, the cursor or Idempotency-Key is not valid.","code":"invalid_json","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"ff0d431d-cdab-4911-a93c-e70f831dba54":{"description":"The API key is missing, malformed, revoked, or expired.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The API key is missing, malformed, revoked, or expired.","code":"unauthorized","type":"authentication_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"8f15e451-2ddf-425a-91fa-2c75878dc4ad":{"description":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"The key lacks a scope, is limited to other skills or workflows, or you may not do this.","code":"permission_denied","type":"permission_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"813158fb-c33d-4d7e-948b-e6d047a3c91a":{"description":"It does not exist, or it is not yours to see.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"It does not exist, or it is not yours to see.","code":"not_found","type":"invalid_request_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"166dd01b-3c1a-4fdd-bd2d-293650299aff":{"description":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A conflict with the current state, a request with this Idempotency-Key is still running, or the cloud browser is unavailable (`cloud_browser_paused`: nothing ran or was charged; the message says why — the browser never changes by itself, so to run it on your own Chrome call again with browser_type extension), or you picked browser_type extension and your Chrome is not connected (`extension_not_connected`).","code":"conflict","type":"conflict_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"87d3ac13-273f-4ef0-bdc2-c861eac6f8e6":{"description":"A field is invalid (`param` names it), or the Idempotency-Key was used with a different request.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid request — name: Field required","code":"validation_error","type":"invalid_request_error","request_id":"3f9a1c2b7d4e","param":"name","errors":[{"type":"missing","loc":["body","name"],"msg":"Field required"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"dd584430-f0be-4ddd-b237-0d0dda8a9475":{"description":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Too many requests for this key, or too many runs in progress. Wait `Retry-After` seconds.","code":"rate_limited","type":"rate_limit_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"6ed61d65-36ce-4794-955e-c95518190756":{"description":"Something broke on our side. Retry; credits a run already used are not given back.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"Something broke on our side. Retry; credits a run already used are not given back.","code":"internal_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"7379de6f-c0a8-4d04-ba56-515d2aa398c0":{"description":"A connected app, or the service that connects it, answered with an error or could not be reached.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"A connected app, or the service that connects it, answered with an error or could not be reached.","code":"upstream_error","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"A connected app, or the service that connects it, answered with an error or could not be reached.","code":"upstream_error","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"},"36e847b2-8def-44ab-a218-be341d3fdd2a":{"description":"This part of the API is not available on the server right now. Retry later.","headers":{"X-RateLimit-Limit":{"description":"Requests a minute this API key may make.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) the current window ends.","schema":{"type":"integer"}},"X-Request-ID":{"description":"This request's id (yours, if you sent a valid `X-Request-ID`). Quote it to support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["detail","code","type","request_id"],"properties":{"detail":{"oneOf":[{"type":"string","description":"What went wrong. A string, or an object for errors with more to say.","isRequired":true,"uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"object","description":"What went wrong. A string, or an object for errors with more to say.","additionalProperties":true,"isRequired":true,"uniqueKey":"detail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"detail","typeLabel":"string | object"},"code":{"type":"string","description":"Stable machine-readable code. Known values: `bad_request`, `invalid_json`, `invalid_cursor`, `invalid_idempotency_key`, `unauthorized`, `payment_required`, `permission_denied`, `not_found`, `method_not_allowed`, `conflict`, `app_not_connected`, `connection_required`, `connection_not_found`, `connection_expired`, `idempotency_key_in_use`, `idempotent_replay_unavailable`, `payload_too_large`, `unsupported_media_type`, `validation_error`, `idempotency_key_reused`, `rate_limited`, `internal_error`, `upstream_error`, `service_unavailable`, `cloud_browser_paused`, `extension_not_connected`.","example":"not_found","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"type":{"type":"string","enum":["invalid_request_error","authentication_error","billing_error","permission_error","conflict_error","idempotency_error","rate_limit_error","api_error"],"description":"The broad category of the error.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"Also in the `X-Request-ID` header.","example":"3f9a1c2b7d4e","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"param":{"type":"string","description":"The field at fault, on validation errors (dotted path, e.g. `inputs.city`).","uniqueKey":"param","typeLabel":"string"},"errors":{"type":"array","items":{"additionalProperties":true,"type":"object","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Every validation problem, on a 422 from request validation.","uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"This part of the API is not available on the server right now. Retry later.","code":"service_unavailable","type":"api_error","request_id":"3f9a1c2b7d4e"},"examples":{"Example":{"title":"Example","value":{"detail":"This part of the API is not available on the server right now. Retry later.","code":"service_unavailable","type":"api_error","request_id":"3f9a1c2b7d4e"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"55ef4313-d364-4865-8ec1-2581eda68a23":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"}},"ada002d6-64b5-4292-8b91-280f56e37399":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"c84457e9-c3bb-411e-99c4-4891ba75f452":{"url":"https://api.valendata.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vd_sk_...","description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key with the `vd_sk_` prefix, as `Authorization: Bearer vd_sk_...`. Create keys in Settings → API Keys.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same API key in the `x-api-key` header.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"x-api-key","type":"string","description":"The same API key in the `x-api-key` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"x-api-key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"openapispec.json"},"subdomain":"valendata","siteName":"Valendata","title":"Start a workflow on an app event - Valendata","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T11:24:20.219Z","originalFileLocation":"api-reference/workflow-triggers/app-event-set.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=\"light\"}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=\"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Valendata\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_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=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a workflow on an app event - Valendata\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Valendata\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Workflow+triggers\u0026amp;title=Start+a+workflow+on+an+app+event\u0026amp;description=Start+a+workflow+each+time+something+happens+in+one+of+your+connected+apps%2C+such+as+a+new+email+in+Gmail.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=16c5ff948e2d9cbff4af068a4c61a99313477a09d3233f1f6b7e36b39a4ad020\">\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=\"Start a workflow on an app event - Valendata\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://valendata.mintlify.site/_mintlify/api/og/v2?division=Workflow+triggers\u0026amp;title=Start+a+workflow+on+an+app+event\u0026amp;description=Start+a+workflow+each+time+something+happens+in+one+of+your+connected+apps%2C+such+as+a+new+email+in+Gmail.\u0026amp;theme=60be650521ac305407bb7919\u0026amp;signature=16c5ff948e2d9cbff4af068a4c61a99313477a09d3233f1f6b7e36b39a4ad020\">\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=\"/mintlify-assets/_mintlify/favicons/valendata/XZEEt82cwKhlpZb_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Valendata\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#059669\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workflow-triggers/app-event-set.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.valendata.com/#organization\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/valendata/ek-VmQlTDo3EULAI/logo/light.png?fit=max\u0026auto=format\u0026n=ek-VmQlTDo3EULAI\u0026q=85\u0026s=a40071ed32459ae366f67671063ec09f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.valendata.com#website\",\"name\":\"Valendata\",\"url\":\"https://docs.valendata.com\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set#webpage\",\"url\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set\",\"name\":\"Start a workflow on an app event\",\"description\":\"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\",\"dateModified\":\"2026-11-19T11:24:20.219Z\",\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow triggers\",\"item\":\"https://docs.valendata.com/api-reference/workflow-triggers/webhook-create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start a workflow on an app event\",\"item\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set#apireference\",\"headline\":\"Start a workflow on an app event\",\"name\":\"Start a workflow on an app event\",\"description\":\"Start a workflow each time something happens in one of your connected apps, such as a new email in Gmail.\",\"url\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set\",\"mainEntityOfPage\":{\"@id\":\"https://docs.valendata.com/api-reference/workflow-triggers/app-event-set#webpage\"},\"dateModified\":\"2026-11-19T11:24:20.219Z\",\"publisher\":{\"@id\":\"https://docs.valendata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.valendata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Valendata\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Valendata\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/workflow-triggers/app-event-set.md","siteName":"Valendata","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","icon":"book-open","pages":[{"title":"API overview","sidebarTitle":"Overview","href":"/api-reference/introduction"},{"title":"Authentication and scopes","href":"/api-reference/authentication"},{"title":"Errors and limits","href":"/api-reference/errors"},{"title":"Pagination and idempotency","href":"/api-reference/pagination-and-idempotency"}]},{"group":"Universal web API","icon":"earth-americas","pages":[{"title":"Universal web API","href":"/api-reference/web-api"}]},{"group":"Skills","icon":"bolt","pages":[{"title":"List skills","openapi":"GET /v1/skills","href":"/api-reference/skills/list"},{"title":"List skill categories","openapi":"GET /v1/skills/categories","href":"/api-reference/skills/list-categories"},{"title":"Create a skill","openapi":"POST /v1/skills","href":"/api-reference/skills/create"},{"title":"Get a skill creation","openapi":"GET /v1/skill-creations/{creation_id}","href":"/api-reference/skills/get-creation"},{"title":"List skill creations","openapi":"GET /v1/skill-creations","href":"/api-reference/skills/list-creations"},{"title":"Cancel a skill creation","api":"POST https://api.valendata.com/v1/skill-creations/{creation_id}/cancel","href":"/api-reference/skills/cancel-creation"},{"title":"Get a skill","openapi":"GET /v1/skills/{slug}","href":"/api-reference/skills/get"},{"title":"Clone a skill","openapi":"POST /v1/skills/{slug}/clone","href":"/api-reference/skills/clone"},{"title":"Update a skill","openapi":"PATCH /v1/skills/{slug}","href":"/api-reference/skills/update"},{"title":"Delete a skill","openapi":"DELETE /v1/skills/{slug}","href":"/api-reference/skills/delete"},{"title":"Delete unused archived skills","openapi":"POST /v1/skills/archived/delete-unused","href":"/api-reference/skills/delete-unused-archived"},{"title":"Get a skill's health","openapi":"GET /v1/skills/{slug}/health","href":"/api-reference/skills/health"},{"title":"Get a skill's speed","openapi":"GET /v1/skills/{slug}/speed","href":"/api-reference/skills/speed"},{"title":"Try a faster tier","openapi":"POST /v1/skills/{slug}/speed/try","href":"/api-reference/skills/try-speed"},{"title":"Get a speed trial","openapi":"GET /v1/skills/{slug}/speed/trials/{trial_id}","href":"/api-reference/skills/get-speed-trial"},{"title":"Use a tier","openapi":"POST /v1/skills/{slug}/speed/use","href":"/api-reference/skills/use-speed"}]},{"group":"Marketplace","icon":"store","pages":[{"title":"Find a skill for a task","openapi":"GET /v1/marketplace/search","href":"/api-reference/marketplace/search"},{"title":"List marketplace categories","openapi":"GET /v1/marketplace/categories","href":"/api-reference/marketplace/list-categories"}]},{"group":"Sites","icon":"globe","pages":[{"title":"List proven sites","api":"GET https://api.valendata.com/v1/sites/proven","href":"/api-reference/sites/list-proven"},{"title":"Get a site","api":"GET https://api.valendata.com/v1/sites/{domain}","href":"/api-reference/sites/get"},{"title":"Create a site request","api":"POST https://api.valendata.com/v1/site-requests","href":"/api-reference/sites/create-request"},{"title":"List your site requests","api":"GET https://api.valendata.com/v1/site-requests/mine","href":"/api-reference/sites/list-requests"},{"title":"Remove your vote","api":"DELETE https://api.valendata.com/v1/site-requests/{request_id}/vote","href":"/api-reference/sites/delete-vote"}]},{"group":"Site APIs","icon":"sitemap","pages":[{"title":"List your site APIs","api":"GET https://api.valendata.com/v1/apis","href":"/api-reference/site-apis/list"},{"title":"Get a site API","api":"GET https://api.valendata.com/v1/apis/{domain}","href":"/api-reference/site-apis/get"},{"title":"Run an endpoint","api":"POST https://api.valendata.com/v1/apis/{domain}/{endpoint_name}/run","href":"/api-reference/site-apis/run"},{"title":"Rename an endpoint","api":"PATCH https://api.valendata.com/v1/apis/{domain}/endpoints/{skill_id}","href":"/api-reference/site-apis/rename-endpoint"},{"title":"Set a site's defaults","api":"PUT https://api.valendata.com/v1/apis/{domain}/defaults","href":"/api-reference/site-apis/update-defaults"}]},{"group":"Runs","icon":"play","pages":[{"title":"List runs","openapi":"GET /v1/runs","href":"/api-reference/runs/list"},{"title":"Run a skill and wait","openapi":"POST /v1/skills/{slug}/run","href":"/api-reference/runs/run-skill"},{"title":"Start a skill run","openapi":"POST /v1/skills/{slug}/runs","href":"/api-reference/runs/start-skill-run"},{"title":"List skill runs","openapi":"GET /v1/skills/{slug}/runs","href":"/api-reference/runs/list-skill-runs"},{"title":"Run a workflow and wait","openapi":"POST /v1/workflows/{slug}/run","href":"/api-reference/runs/run-workflow"},{"title":"Start a workflow run","openapi":"POST /v1/workflows/{slug}/runs","href":"/api-reference/runs/start-workflow-run"},{"title":"List workflow runs","openapi":"GET /v1/workflows/{slug}/runs","href":"/api-reference/runs/list-workflow-runs"},{"title":"Get a run","openapi":"GET /v1/runs/{run_id}","href":"/api-reference/runs/get"},{"title":"Get a run's changes","openapi":"GET /v1/runs/{run_id}/changes","href":"/api-reference/runs/get-changes"},{"title":"Cancel a run","openapi":"POST /v1/runs/{run_id}/cancel","href":"/api-reference/runs/cancel"},{"title":"Resume a run","openapi":"POST /v1/runs/{run_id}/resume","href":"/api-reference/runs/resume"},{"title":"Send a sign-in code","openapi":"POST /v1/runs/{run_id}/otp","href":"/api-reference/runs/send-code"}]},{"group":"Batches","icon":"list-check","pages":[{"title":"Estimate a batch","openapi":"POST /v1/skills/{slug}/batches/estimate","href":"/api-reference/batches/estimate"},{"title":"Start a batch","openapi":"POST /v1/skills/{slug}/batches","href":"/api-reference/batches/start"},{"title":"List batches","openapi":"GET /v1/batches","href":"/api-reference/batches/list"},{"title":"Get a batch","openapi":"GET /v1/batches/{batch_id}","href":"/api-reference/batches/get"},{"title":"List a batch's inputs","openapi":"GET /v1/batches/{batch_id}/items","href":"/api-reference/batches/list-items"},{"title":"Get a batch's rows","openapi":"GET /v1/batches/{batch_id}/rows","href":"/api-reference/batches/get-rows"},{"title":"Download a batch's rows as CSV","openapi":"GET /v1/batches/{batch_id}/rows.csv","href":"/api-reference/batches/get-rows-csv"},{"title":"Cancel a batch","openapi":"POST /v1/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel"}]},{"group":"Skill versions","icon":"code-branch","pages":[{"title":"List versions","openapi":"GET /v1/skills/{slug}/versions","href":"/api-reference/versions/list"},{"title":"Compare two versions","openapi":"GET /v1/skills/{slug}/versions/{a}/diff/{b}","href":"/api-reference/versions/diff"},{"title":"Restore a version","openapi":"POST /v1/skills/{slug}/versions/{n}/restore","href":"/api-reference/versions/restore"},{"title":"Pin a version","openapi":"PUT /v1/skills/{slug}/pin","href":"/api-reference/versions/pin"},{"title":"Check for a marketplace update","openapi":"GET /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-check"},{"title":"Take a marketplace update","openapi":"POST /v1/skills/{slug}/marketplace-update","href":"/api-reference/versions/marketplace-update-take"},{"title":"Keep your version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/keep-mine","href":"/api-reference/versions/marketplace-update-keep-mine"},{"title":"Take the original's version after a clash","openapi":"POST /v1/skills/{slug}/marketplace-update/use-theirs","href":"/api-reference/versions/marketplace-update-use-theirs"},{"title":"Set automatic marketplace updates","openapi":"PUT /v1/skills/{slug}/marketplace-update/settings","href":"/api-reference/versions/marketplace-update-settings"}]},{"group":"Improvements","icon":"wrench","pages":[{"title":"Improve a skill","openapi":"POST /v1/skills/{slug}/improve","href":"/api-reference/improvements/improve"},{"title":"Get an improvement","openapi":"GET /v1/skill-improvements/{improvement_id}","href":"/api-reference/improvements/get"},{"title":"List a skill's improvements","openapi":"GET /v1/skills/{slug}/improvements","href":"/api-reference/improvements/list"},{"title":"Talk to a skill","openapi":"POST /v1/skills/{slug}/doctor","href":"/api-reference/improvements/talk"},{"title":"Read a skill's chat","openapi":"GET /v1/skills/{slug}/doctor","href":"/api-reference/improvements/chat"},{"title":"Stop a skill's doctor","openapi":"POST /v1/skills/{slug}/doctor/stop","href":"/api-reference/improvements/stop"}]},{"group":"Schedules","icon":"clock","pages":[{"title":"List schedules","openapi":"GET /v1/schedules","href":"/api-reference/schedules/list"},{"title":"Get a schedule","openapi":"GET /v1/schedules/{schedule_id}","href":"/api-reference/schedules/get"},{"title":"List a skill's schedules","openapi":"GET /v1/skills/{slug}/schedules","href":"/api-reference/schedules/list-skill-schedules"},{"title":"Schedule a skill","openapi":"POST /v1/skills/{slug}/schedules","href":"/api-reference/schedules/create-skill-schedule"},{"title":"List a workflow's schedules","openapi":"GET /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/list-workflow-schedules"},{"title":"Schedule a workflow","openapi":"POST /v1/workflows/{slug}/schedules","href":"/api-reference/schedules/create-workflow-schedule"},{"title":"Update a schedule","openapi":"PATCH /v1/schedules/{schedule_id}","href":"/api-reference/schedules/update"},{"title":"Delete a schedule","openapi":"DELETE /v1/schedules/{schedule_id}","href":"/api-reference/schedules/delete"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"title":"List workflows","openapi":"GET /v1/workflows","href":"/api-reference/workflows/list"},{"title":"Create a workflow","openapi":"POST /v1/workflows","href":"/api-reference/workflows/create"},{"title":"Get a workflow","openapi":"GET /v1/workflows/{slug}","href":"/api-reference/workflows/get"},{"title":"Clone a workflow","openapi":"POST /v1/workflows/{slug}/clone","href":"/api-reference/workflows/clone"},{"title":"Update a workflow","openapi":"PATCH /v1/workflows/{slug}","href":"/api-reference/workflows/update"},{"title":"Delete a workflow","openapi":"DELETE /v1/workflows/{slug}","href":"/api-reference/workflows/delete"},{"title":"Read a workflow's chat","openapi":"GET /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/chat"},{"title":"Talk to a workflow","openapi":"POST /v1/workflows/{slug}/doctor","href":"/api-reference/workflows/talk"},{"title":"Stop a workflow's doctor","openapi":"POST /v1/workflows/{slug}/doctor/stop","href":"/api-reference/workflows/stop-doctor"}]},{"group":"Workflow versions","pages":[{"title":"List workflow versions","openapi":"GET /v1/workflows/{slug}/versions","href":"/api-reference/workflow-versions/list"},{"title":"Compare two workflow versions","openapi":"GET /v1/workflows/{slug}/versions/{a}/diff/{b}","href":"/api-reference/workflow-versions/diff"},{"title":"Restore a workflow version","openapi":"POST /v1/workflows/{slug}/versions/{n}/restore","href":"/api-reference/workflow-versions/restore"}]},{"group":"Workflow triggers","icon":"bolt-lightning","pages":[{"title":"Create a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-create"},{"title":"Get a workflow webhook","openapi":"GET /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-get"},{"title":"Update a workflow webhook","openapi":"PATCH /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-update"},{"title":"Rotate a workflow webhook","openapi":"POST /v1/workflows/{slug}/webhook/rotate","href":"/api-reference/workflow-triggers/webhook-rotate"},{"title":"List a workflow webhook's deliveries","openapi":"GET /v1/workflows/{slug}/webhook/deliveries","href":"/api-reference/workflow-triggers/webhook-deliveries"},{"title":"Delete a workflow webhook","description":"Remove a workflow's webhook. Its URL stops working.","openapi":"DELETE /v1/workflows/{slug}/webhook","href":"/api-reference/workflow-triggers/webhook-delete"},{"title":"Start a workflow on an app event","openapi":"PUT /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-set"},{"title":"Get a workflow's app event","description":"The app event a workflow starts on, whether it is on, and when the last event came.","openapi":"GET /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-get"},{"title":"Pause or resume a workflow's app event","openapi":"PATCH /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-update"},{"title":"Remove a workflow's app event","openapi":"DELETE /v1/workflows/{slug}/app-trigger","href":"/api-reference/workflow-triggers/app-event-delete"}]},{"group":"Logins","icon":"key","pages":[{"title":"List logins","openapi":"GET /v1/logins","href":"/api-reference/logins/list"},{"title":"Create a login","openapi":"POST /v1/logins","href":"/api-reference/logins/create"},{"title":"Get a login","openapi":"GET /v1/logins/{login_id}","href":"/api-reference/logins/get"},{"title":"Update a login","openapi":"PATCH /v1/logins/{login_id}","href":"/api-reference/logins/update"},{"title":"Delete a login","openapi":"DELETE /v1/logins/{login_id}","href":"/api-reference/logins/delete"},{"title":"List browser profiles","openapi":"GET /v1/profiles","href":"/api-reference/logins/list-profiles"},{"title":"Get a question card","openapi":"GET /v1/questions/{card_id}","href":"/api-reference/logins/get-question"},{"title":"Answer a question card","openapi":"POST /v1/questions/{card_id}/answer","href":"/api-reference/logins/answer-question"},{"title":"Send a code for a login","openapi":"POST /v1/logins/{login_id}/code","href":"/api-reference/logins/send-code"}]},{"group":"Connected apps","icon":"plug","pages":[{"title":"List apps","openapi":"GET /v1/apps","href":"/api-reference/apps/list"},{"title":"List connected apps","openapi":"GET /v1/apps/connected","href":"/api-reference/apps/list-connected"},{"title":"Get an app","openapi":"GET /v1/apps/{app}","href":"/api-reference/apps/get"},{"title":"Disconnect an app","openapi":"DELETE /v1/apps/{app}/connection","href":"/api-reference/apps/disconnect"},{"title":"List an app's connections","openapi":"GET /v1/apps/{app}/connections","href":"/api-reference/apps/list-connections"},{"title":"Disconnect one connection","openapi":"DELETE /v1/apps/{app}/connections/{connection_id}","href":"/api-reference/apps/disconnect-connection"},{"title":"List an app's tools","openapi":"GET /v1/apps/{app}/tools","href":"/api-reference/apps/list-tools"},{"title":"Run an app tool","openapi":"POST /v1/apps/{app}/tools/{tool}/run","href":"/api-reference/apps/run-tool"}]},{"group":"Follow-ups","icon":"hourglass-half","pages":[{"title":"Create a follow-up","openapi":"POST /v1/followups","href":"/api-reference/followups/create"},{"title":"List follow-ups","openapi":"GET /v1/followups","href":"/api-reference/followups/list"},{"title":"Get a follow-up","openapi":"GET /v1/followups/{followup_id}","href":"/api-reference/followups/get"},{"title":"Cancel a follow-up","openapi":"POST /v1/followups/{followup_id}/cancel","href":"/api-reference/followups/cancel"}]},{"group":"Background jobs","icon":"layer-group","pages":[{"title":"Start background jobs","openapi":"POST /v1/jobs","href":"/api-reference/jobs/start"},{"title":"List background jobs","openapi":"GET /v1/jobs","href":"/api-reference/jobs/list"},{"title":"Get a background job","openapi":"GET /v1/jobs/{job_id}","href":"/api-reference/jobs/get"},{"title":"Cancel a background job","openapi":"POST /v1/jobs/{job_id}/cancel","href":"/api-reference/jobs/cancel"}]},{"group":"Notes","icon":"note-sticky","pages":[{"title":"List notes","openapi":"GET /v1/notes","href":"/api-reference/notes/list"},{"title":"Create a note","openapi":"POST /v1/notes","href":"/api-reference/notes/create"},{"title":"Get a note","openapi":"GET /v1/notes/{note_id}","href":"/api-reference/notes/get"},{"title":"Update a note","openapi":"PATCH /v1/notes/{note_id}","href":"/api-reference/notes/update"},{"title":"Delete a note","openapi":"DELETE /v1/notes/{note_id}","href":"/api-reference/notes/delete"}]},{"group":"Account and usage","icon":"user","pages":[{"title":"Get your account","openapi":"GET /v1/account","href":"/api-reference/account/get"},{"title":"Get usage","openapi":"GET /v1/usage","href":"/api-reference/account/usage"},{"title":"Get the sign-up email default","openapi":"GET /v1/account/signup-email","href":"/api-reference/account/get-signup-email"},{"title":"Set the sign-up email default","openapi":"PUT /v1/account/signup-email","href":"/api-reference/account/set-signup-email"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"About webhooks","href":"/api-reference/webhooks/overview"},{"title":"Get the signing secret","openapi":"GET /v1/webhooks/secret","href":"/api-reference/webhooks/secret"},{"title":"Rotate the signing secret","openapi":"POST /v1/webhooks/secret/rotate","href":"/api-reference/webhooks/rotate-secret"}]}]}]},"basePath":"","title":"Start a workflow on an app event - Valendata","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}