Save a trigger. A trigger an agent creates is saved off; the owner turns it on.Requires the automations:write scope.
Authorizations
apiKeybearer
x-api-key
string
header
required
An Avazal API key (avz_…) created in Settings → API keys.
Body
application/json
name
string
required
scope
enum<string>
required
Available options:
team,
personal
when
object
required
When a trigger fires: on matching messages or on a schedule.
Option 1
Option 2
Show child attributes
agent
object
required
Option 1
Option 2
Show child attributes
prompt
string
required
refs
maxItems(24) · object[]
What the owner picked in the words, by id and position.
Maximum array length: 24
Show child attributes
routes
object[]
Option 1
Option 2
Option 3
Option 4
Show child attributes
sensitivity
enum<string>
Available options:
strict,
standard,
relaxed
Response
A saved trigger with its owner, state and last run.
A saved trigger with its owner, state and last run.
name
string
required
scope
enum<string>
required
Available options:
team,
personal
when
object
required
When a trigger fires: on matching messages or on a schedule.
Option 1
Option 2
Show child attributes
agent
object
required
Option 1
Option 2
Show child attributes
prompt
string
required
routes
object[]
required
Option 1
Option 2
Option 3
Option 4
Show child attributes
sensitivity
enum<string>
required
Available options:
strict,
standard,
relaxed
id
string
required
The object's id. Every operation that takes it accepts it.
ownerId
string
required
The Avazal user who created the trigger.
enabled
boolean
required
paused
object | null
required
Show child attributes
lastRunAt
string | null
required
suggested
boolean
required
url
string | null
required
A link that opens the object where it lives.
source
enum<string>
required
Where the object lives. Avazal is the source of its own objects.
Available options:
avazal,
slack,
gmail,
google-calendar,
google-drive,
linear,
github,
contacts
refs
maxItems(24) · object[]
What the owner picked in the words, by id and position.
Maximum array length: 24
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Avazal","description":"Avazal is a shared workspace for mail, Slack, calendar, contacts and documents. Agents reach all of it through one API and MCP server.","colors":{"primary":"#2F6BFF","light":"#5B8CFF","dark":"#2F6BFF"},"logo":{"light":"https://mintcdn.com/avazal-9edf8e01/5KeYYwrO_zgXt3I5/logo/light.svg?fit=max\u0026auto=format\u0026n=5KeYYwrO_zgXt3I5\u0026q=85\u0026s=ac226dfd9ad7d67c7ab3a678c01d23ac","dark":"https://mintcdn.com/avazal-9edf8e01/5KeYYwrO_zgXt3I5/logo/dark.svg?fit=max\u0026auto=format\u0026n=5KeYYwrO_zgXt3I5\u0026q=85\u0026s=04b0290561436d1a3ebc6907921bec7b","href":"https://www.avazal.com"},"favicon":"https://mintcdn.com/avazal-9edf8e01/UXXX8gYT-hZf8vtV/favicon.svg?fit=max\u0026auto=format\u0026n=UXXX8gYT-hZf8vtV\u0026q=85\u0026s=5146533bf90ed509bde3db2c89e0b504","api":{"openapi":"api-reference/openapi.json","playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python"]}},"background":{"color":{"light":"#FCFCFC","dark":"#141415"}},"navbar":{"links":[{"href":"mailto:hello@avazal.com","label":"Talk to us"}],"primary":{"type":"button","label":"Sign in","href":"https://www.avazal.com/login"}},"footer":{"socials":{"website":"https://www.avazal.com"}},"seo":{"metatags":{"canonical":"https://docs.avazal.com"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"avazal-9edf8e01","hasAudioNarration":false,"actualSubdomain":"avazal-9edf8e01","customDomains":["docs.avazal.com"],"gitSource":{"type":"github","owner":"charlietlamb","repo":"avazal","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6b1104059ffae5051c41f03c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b11624430285f058a180823","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API reference","count":73},{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"Documents","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Triggers","count":7},{"language":"default","tag":"Messages","count":6},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Events","count":5},{"language":"default","tag":"Tasks","count":5},{"language":"default","tag":"Concepts","count":4}]},"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":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#footer a[href*=\"mintlify.com\"]{display:none}"}]}
{"page":{"pagePath":"api-reference/triggers/create-a-trigger","slug":"/api-reference/triggers/create-a-trigger","pageMetadata":{"title":"Create Trigger","description":"","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.create","href":"/api-reference/triggers/create-a-trigger","autogeneratedByOpenApi":true},"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={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Save a trigger. A trigger an agent creates is saved off; the owner turns it on.`}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`automations:write`}),` scope.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Trigger","description":"","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.create","href":"/api-reference/triggers/create-a-trigger","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["triggers"],"operationId":"triggers.create","parameters":[],"security":["c3d09e3b-ca98-440e-9d88-e441460cd1ff","63d5ddd0-300d-41d0-a132-1bd2e4bcefa5"],"responses":{"200":"5915924d-950b-421f-a426-cafff1c78005","400":"c98786ca-f932-4046-891c-7e58bca388f6","401":"8299c799-bb6e-416e-930f-9961e5769869","403":"cd026075-002c-4db1-91af-1271347fb663","409":"0d21d3f5-2d90-40b5-94fb-6b7a5be646d1","422":"46819af5-93c9-44e0-9c59-556f4e7722a4"},"description":"Save a trigger. A trigger an agent creates is saved off; the owner turns it on.\n\nRequires the `automations:write` scope.","summary":"Create a trigger","requestBody":"0ffab47e-7800-47c5-87fc-78d68518e8b1","x-mint":{"metadata":{"title":"Create Trigger","description":""},"content":"Save a trigger. A trigger an agent creates is saved off; the owner turns it on.\n\nRequires the `automations:write` scope."},"method":"post","type":"path","servers":["d22b970d-3858-4d0a-9708-cc701772ab8f"],"path":"/v1/triggers.create","baseUrlOptions":["https://api.avazal.com"],"title":"Create a trigger","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","scope","when","agent","prompt"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"scope":{"type":"string","enum":["team","personal"],"isRequired":true,"uniqueKey":"scope","typeLabel":"enum\u003cstring>"},"when":{"oneOf":[{"type":"object","description":"When a trigger fires: on matching messages or on a schedule.","required":["_tag","conditions"],"properties":{"_tag":{"type":"string","enum":["Message"],"isRequired":true,"uniqueKey":"when.oneOf.0._tag","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","required":["fieldId","op"],"properties":{"fieldId":{"type":"string","enum":["type","priority","about","where","from","item","prompt"],"description":"What the condition tests about a message.","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].fieldId","typeLabel":"enum\u003cstring>"},"op":{"oneOf":[{"type":"object","required":["_tag","values"],"properties":{"_tag":{"type":"string","enum":["Is"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0._tag","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0.values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0.values","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","values"],"properties":{"_tag":{"type":"string","enum":["IsNot"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1.values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1.values","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1","typeLabel":"object"},{"type":"object","required":["_tag","text"],"properties":{"_tag":{"type":"string","enum":["Contains"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2._tag","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2.text","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Empty"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.3","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["NotEmpty"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.4._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.4","typeLabel":"object"},{"type":"object","required":["_tag","date"],"properties":{"_tag":{"type":"string","enum":["Before"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5._tag","typeLabel":"enum\u003cstring>"},"date":{"type":"string","description":"a string matching the pattern ^\\d{4}-\\d{2}-\\d{2}$","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5.date","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5","typeLabel":"object"},{"type":"object","required":["_tag","date"],"properties":{"_tag":{"type":"string","enum":["After"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6._tag","typeLabel":"enum\u003cstring>"},"date":{"type":"string","description":"a string matching the pattern ^\\d{4}-\\d{2}-\\d{2}$","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6.date","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"an array of at most 6 item(s)","title":"maxItems(6)","maxItems":6,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions","typeLabel":"maxItems(6) · object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0","typeLabel":"object"},{"type":"object","description":"When a trigger fires: on matching messages or on a schedule.","required":["_tag","days","at"],"properties":{"_tag":{"type":"string","enum":["Schedule"],"isRequired":true,"uniqueKey":"when.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"days":{"type":"array","minItems":1,"items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"uniqueKey":"when.oneOf.1.days.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"an array of at most 7 item(s)","title":"maxItems(7)","maxItems":7,"isRequired":true,"uniqueKey":"when.oneOf.1.days","typeLabel":"enum\u003cstring>[]"},"at":{"type":"string","description":"a string matching the pattern ^([01]\\d|2[0-3]):[0-5]\\d$","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","isRequired":true,"uniqueKey":"when.oneOf.1.at","typeLabel":"string"},"reads":{"type":"array","items":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","uniqueKey":"when.oneOf.1.reads.items.[INDEX]","typeLabel":"string"},"uniqueKey":"when.oneOf.1.reads","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"when","typeLabel":"object"},"agent":{"oneOf":[{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Avazal"],"isRequired":true,"uniqueKey":"agent.oneOf.0._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"agent.oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","connectionId","targetId"],"properties":{"_tag":{"type":"string","enum":["Connected"],"isRequired":true,"uniqueKey":"agent.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"connectionId":{"type":"string","title":"`acred_${string}`","description":"Connected agent account","pattern":"^acred_[\\s\\S]*?$","isRequired":true,"uniqueKey":"agent.oneOf.1.connectionId","typeLabel":"string"},"targetId":{"oneOf":[{"type":"string","description":"Where the agent runs, such as a device or repository, or null for its default.","isRequired":true,"uniqueKey":"agent.oneOf.1.targetId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the agent runs, such as a device or repository, or null for its default.","isRequired":true,"uniqueKey":"agent.oneOf.1.targetId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.oneOf.1.targetId","typeLabel":"string | null"},"model":{"type":"string","uniqueKey":"agent.oneOf.1.model","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"agent.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"agent","typeLabel":"object"},"prompt":{"type":"string","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"refs":{"type":"array","items":{"type":"object","required":["kind","id","label","start","end"],"properties":{"kind":{"type":"string","enum":["channel","person","agent","list"],"isRequired":true,"uniqueKey":"refs.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","title":"nonEmptyString","pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$","description":"A conversation id or `@dms`, a member user id, an agent connection id or `avazal`, or a list file id.","minLength":1,"isRequired":true,"uniqueKey":"refs.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","title":"nonEmptyString","pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$","minLength":1,"isRequired":true,"uniqueKey":"refs.items.[INDEX].label","typeLabel":"string"},"start":{"type":"integer","title":"int","minimum":0,"isRequired":true,"uniqueKey":"refs.items.[INDEX].start","typeLabel":"integer"},"end":{"type":"integer","title":"int","minimum":0,"isRequired":true,"uniqueKey":"refs.items.[INDEX].end","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"refs.items.[INDEX]","typeLabel":"object"},"description":"What the owner picked in the words, by id and position.","title":"maxItems(24)","maxItems":24,"uniqueKey":"refs","typeLabel":"maxItems(24) · object[]"},"routes":{"type":"array","items":{"oneOf":[{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Thread"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.0._tag","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["draft","post"],"uniqueKey":"routes.items.[INDEX].oneOf.0.mode","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","conversationId"],"properties":{"_tag":{"type":"string","enum":["Channel"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.1._tag","typeLabel":"enum\u003cstring>"},"conversationId":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.1.conversationId","typeLabel":"string"},"mode":{"type":"string","enum":["draft","post"],"uniqueKey":"routes.items.[INDEX].oneOf.1.mode","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["_tag","conversationId","listId"],"properties":{"_tag":{"type":"string","enum":["List"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2._tag","typeLabel":"enum\u003cstring>"},"conversationId":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2.conversationId","typeLabel":"string"},"listId":{"type":"string","description":"A Slack file id, such as F0123ABCD, for a file, List or canvas. From files_list, lists_list or documents_list.","title":"minLength(1)","minLength":1,"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2.listId","typeLabel":"string"},"action":{"type":"string","enum":["add","update"],"uniqueKey":"routes.items.[INDEX].oneOf.2.action","typeLabel":"enum\u003cstring>"},"comment":{"type":"boolean","uniqueKey":"routes.items.[INDEX].oneOf.2.comment","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Me"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"routes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"routes","typeLabel":"object[]"},"sensitivity":{"type":"string","enum":["strict","standard","relaxed"],"uniqueKey":"sensitivity","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","when":{"_tag":"Message","conditions":[{"op":{"_tag":"Is","values":["\u003cstring>"]}}]},"agent":{"_tag":"Avazal"},"prompt":"\u003cstring>","refs":[{"id":"\u003cstring>","label":"\u003cstring>","start":1,"end":1}],"routes":[{"_tag":"Thread"}]}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"5915924d-950b-421f-a426-cafff1c78005":{"description":"A saved trigger with its owner, state and last run.","content":{"application/json":{"schema":{"type":"object","required":["name","scope","when","agent","prompt","routes","sensitivity","id","ownerId","enabled","paused","lastRunAt","suggested","url","source"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"scope":{"type":"string","enum":["team","personal"],"isRequired":true,"uniqueKey":"scope","typeLabel":"enum\u003cstring>"},"when":{"oneOf":[{"type":"object","description":"When a trigger fires: on matching messages or on a schedule.","required":["_tag","conditions"],"properties":{"_tag":{"type":"string","enum":["Message"],"isRequired":true,"uniqueKey":"when.oneOf.0._tag","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","items":{"type":"object","required":["fieldId","op"],"properties":{"fieldId":{"type":"string","enum":["type","priority","about","where","from","item","prompt"],"description":"What the condition tests about a message.","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].fieldId","typeLabel":"enum\u003cstring>"},"op":{"oneOf":[{"type":"object","required":["_tag","values"],"properties":{"_tag":{"type":"string","enum":["Is"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0._tag","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0.values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0.values","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","values"],"properties":{"_tag":{"type":"string","enum":["IsNot"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"values":{"type":"array","items":{"type":"string","uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1.values.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1.values","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.1","typeLabel":"object"},{"type":"object","required":["_tag","text"],"properties":{"_tag":{"type":"string","enum":["Contains"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2._tag","typeLabel":"enum\u003cstring>"},"text":{"type":"string","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2.text","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.2","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Empty"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.3","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["NotEmpty"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.4._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.4","typeLabel":"object"},{"type":"object","required":["_tag","date"],"properties":{"_tag":{"type":"string","enum":["Before"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5._tag","typeLabel":"enum\u003cstring>"},"date":{"type":"string","description":"a string matching the pattern ^\\d{4}-\\d{2}-\\d{2}$","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5.date","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.5","typeLabel":"object"},{"type":"object","required":["_tag","date"],"properties":{"_tag":{"type":"string","enum":["After"],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6._tag","typeLabel":"enum\u003cstring>"},"date":{"type":"string","description":"a string matching the pattern ^\\d{4}-\\d{2}-\\d{2}$","pattern":"^\\d{4}-\\d{2}-\\d{2}$","isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6.date","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX].op","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"when.oneOf.0.conditions.items.[INDEX]","typeLabel":"object"},"description":"an array of at most 6 item(s)","title":"maxItems(6)","maxItems":6,"isRequired":true,"uniqueKey":"when.oneOf.0.conditions","typeLabel":"maxItems(6) · object[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.0","typeLabel":"object"},{"type":"object","description":"When a trigger fires: on matching messages or on a schedule.","required":["_tag","days","at"],"properties":{"_tag":{"type":"string","enum":["Schedule"],"isRequired":true,"uniqueKey":"when.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"days":{"type":"array","minItems":1,"items":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"uniqueKey":"when.oneOf.1.days.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"an array of at most 7 item(s)","title":"maxItems(7)","maxItems":7,"isRequired":true,"uniqueKey":"when.oneOf.1.days","typeLabel":"enum\u003cstring>[]"},"at":{"type":"string","description":"a string matching the pattern ^([01]\\d|2[0-3]):[0-5]\\d$","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","isRequired":true,"uniqueKey":"when.oneOf.1.at","typeLabel":"string"},"reads":{"type":"array","items":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","uniqueKey":"when.oneOf.1.reads.items.[INDEX]","typeLabel":"string"},"uniqueKey":"when.oneOf.1.reads","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"when.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"when","typeLabel":"object"},"agent":{"oneOf":[{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Avazal"],"isRequired":true,"uniqueKey":"agent.oneOf.0._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"agent.oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","connectionId","targetId"],"properties":{"_tag":{"type":"string","enum":["Connected"],"isRequired":true,"uniqueKey":"agent.oneOf.1._tag","typeLabel":"enum\u003cstring>"},"connectionId":{"type":"string","title":"`acred_${string}`","description":"Connected agent account","pattern":"^acred_[\\s\\S]*?$","isRequired":true,"uniqueKey":"agent.oneOf.1.connectionId","typeLabel":"string"},"targetId":{"oneOf":[{"type":"string","description":"Where the agent runs, such as a device or repository, or null for its default.","isRequired":true,"uniqueKey":"agent.oneOf.1.targetId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Where the agent runs, such as a device or repository, or null for its default.","isRequired":true,"uniqueKey":"agent.oneOf.1.targetId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent.oneOf.1.targetId","typeLabel":"string | null"},"model":{"type":"string","uniqueKey":"agent.oneOf.1.model","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"agent.oneOf.1","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"agent.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"agent","typeLabel":"object · object · null"},"prompt":{"type":"string","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"routes":{"type":"array","items":{"oneOf":[{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Thread"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.0._tag","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["draft","post"],"uniqueKey":"routes.items.[INDEX].oneOf.0.mode","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag","conversationId"],"properties":{"_tag":{"type":"string","enum":["Channel"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.1._tag","typeLabel":"enum\u003cstring>"},"conversationId":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.1.conversationId","typeLabel":"string"},"mode":{"type":"string","enum":["draft","post"],"uniqueKey":"routes.items.[INDEX].oneOf.1.mode","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["_tag","conversationId","listId"],"properties":{"_tag":{"type":"string","enum":["List"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2._tag","typeLabel":"enum\u003cstring>"},"conversationId":{"type":"string","title":"`chcv_${string}`","description":"Slack channel or DM","pattern":"^chcv_[\\s\\S]*?$","isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2.conversationId","typeLabel":"string"},"listId":{"type":"string","description":"A Slack file id, such as F0123ABCD, for a file, List or canvas. From files_list, lists_list or documents_list.","title":"minLength(1)","minLength":1,"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.2.listId","typeLabel":"string"},"action":{"type":"string","enum":["add","update"],"uniqueKey":"routes.items.[INDEX].oneOf.2.action","typeLabel":"enum\u003cstring>"},"comment":{"type":"boolean","uniqueKey":"routes.items.[INDEX].oneOf.2.comment","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["Me"],"isRequired":true,"uniqueKey":"routes.items.[INDEX].oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"routes.items.[INDEX].oneOf.3","typeLabel":"object"}],"uniqueKey":"routes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routes","typeLabel":"object[]"},"sensitivity":{"type":"string","enum":["strict","standard","relaxed"],"isRequired":true,"uniqueKey":"sensitivity","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The object's id. Every operation that takes it accepts it.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"ownerId":{"type":"string","description":"The Avazal user who created the trigger.","isRequired":true,"uniqueKey":"ownerId","typeLabel":"string"},"enabled":{"type":"boolean","isRequired":true,"uniqueKey":"enabled","typeLabel":"boolean"},"paused":{"oneOf":[{"type":"object","required":["reason","until","since"],"properties":{"reason":{"type":"string","enum":["daily_limit","key_broken","no_credits"],"isRequired":true,"uniqueKey":"paused.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"until":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"paused.oneOf.0.until.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"paused.oneOf.0.until.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"paused.oneOf.0.until","typeLabel":"string | null"},"since":{"type":"string","isRequired":true,"uniqueKey":"paused.oneOf.0.since","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"paused.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"paused.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"paused","typeLabel":"object | null"},"lastRunAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"lastRunAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"lastRunAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lastRunAt","typeLabel":"string | null"},"suggested":{"type":"boolean","isRequired":true,"uniqueKey":"suggested","typeLabel":"boolean"},"url":{"oneOf":[{"type":"string","description":"A link that opens the object where it lives.","isRequired":true,"uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","description":"A link that opens the object where it lives.","isRequired":true,"uniqueKey":"url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"url","typeLabel":"string | null"},"source":{"type":"string","enum":["avazal","slack","gmail","google-calendar","google-drive","linear","github","contacts"],"description":"Where the object lives. Avazal is the source of its own objects.","isRequired":true,"uniqueKey":"source","typeLabel":"enum\u003cstring>"},"refs":{"type":"array","items":{"type":"object","required":["kind","id","label","start","end"],"properties":{"kind":{"type":"string","enum":["channel","person","agent","list"],"isRequired":true,"uniqueKey":"refs.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","title":"nonEmptyString","pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$","description":"A conversation id or `@dms`, a member user id, an agent connection id or `avazal`, or a list file id.","minLength":1,"isRequired":true,"uniqueKey":"refs.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","title":"nonEmptyString","pattern":"^\\S[\\s\\S]*\\S$|^\\S$|^$","minLength":1,"isRequired":true,"uniqueKey":"refs.items.[INDEX].label","typeLabel":"string"},"start":{"type":"integer","title":"int","minimum":0,"isRequired":true,"uniqueKey":"refs.items.[INDEX].start","typeLabel":"integer"},"end":{"type":"integer","title":"int","minimum":0,"isRequired":true,"uniqueKey":"refs.items.[INDEX].end","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"refs.items.[INDEX]","typeLabel":"object"},"description":"What the owner picked in the words, by id and position.","title":"maxItems(24)","maxItems":24,"uniqueKey":"refs","typeLabel":"maxItems(24) · object[]"}},"additionalProperties":false,"description":"A saved trigger with its owner, state and last run.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","scope":"team","when":{"_tag":"Message","conditions":[{"fieldId":"type","op":{"_tag":"Is","values":["\u003cstring>"]}}]},"agent":{"_tag":"Avazal"},"prompt":"\u003cstring>","routes":[{"_tag":"Thread","mode":"draft"}],"sensitivity":"strict","id":"\u003cstring>","ownerId":"\u003cstring>","enabled":true,"paused":{"reason":"daily_limit","until":"\u003cstring>","since":"\u003cstring>"},"lastRunAt":"\u003cstring>","suggested":true,"url":"\u003cstring>","source":"avazal","refs":[{"kind":"channel","id":"\u003cstring>","label":"\u003cstring>","start":1,"end":1}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c98786ca-f932-4046-891c-7e58bca388f6":{"description":"The request did not match the expected schema","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"The request did not match the expected schema","required":["issues","message","_tag"],"properties":{"issues":{"type":"array","items":{"type":"object","required":["_tag","path","message"],"properties":{"_tag":{"type":"string","enum":["Pointer","Unexpected","Missing","Composite","Refinement","Transformation","Type","Forbidden"],"description":"The tag identifying the type of parse issue","isRequired":true,"uniqueKey":"oneOf.0.issues.items.[INDEX]._tag","typeLabel":"enum\u003cstring>"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"},{"type":"object","required":["_tag","key"],"properties":{"_tag":{"type":"string","enum":["symbol"],"isRequired":true,"uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX].oneOf.2._tag","typeLabel":"enum\u003cstring>"},"key":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX].oneOf.2.key","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"oneOf.0.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number | object"},"description":"The path to the property where the issue occurred","isRequired":true,"uniqueKey":"oneOf.0.issues.items.[INDEX].path","typeLabel":"(string | number | object)[]"},"message":{"type":"string","description":"A descriptive message explaining the issue","isRequired":true,"uniqueKey":"oneOf.0.issues.items.[INDEX].message","typeLabel":"string"}},"additionalProperties":false,"description":"Represents an error encountered while parsing a value to match the schema","uniqueKey":"oneOf.0.issues.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.issues","typeLabel":"object[]"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"_tag":{"type":"string","enum":["HttpApiDecodeError"],"isRequired":true,"uniqueKey":"oneOf.0._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["id","message","_tag"],"properties":{"id":{"type":"string","description":"The id that was passed and could not be read.","isRequired":true,"uniqueKey":"oneOf.1.id","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"_tag":{"type":"string","enum":["InvalidId"],"isRequired":true,"uniqueKey":"oneOf.1._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"issues":[{"_tag":"Pointer","path":["\u003cstring>"],"message":"\u003cstring>"}],"message":"\u003cstring>","_tag":"HttpApiDecodeError"}}},"exampleType":"generated"}},"exampleType":"generated"},"8299c799-bb6e-416e-930f-9961e5769869":{"description":"KeyRequired","content":{"application/json":{"schema":{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"_tag":{"type":"string","enum":["KeyRequired"],"isRequired":true,"uniqueKey":"_tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","_tag":"KeyRequired"}}},"exampleType":"generated"}},"exampleType":"generated"},"cd026075-002c-4db1-91af-1271347fb663":{"description":"FeatureOff","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["feature","_tag"],"properties":{"feature":{"type":"string","enum":["gmail","calendar","assistant","triggers"],"isRequired":true,"uniqueKey":"oneOf.0.feature","typeLabel":"enum\u003cstring>"},"_tag":{"type":"string","enum":["FeatureOff"],"isRequired":true,"uniqueKey":"oneOf.0._tag","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"oneOf.0.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["_tag"],"properties":{"_tag":{"type":"string","enum":["AccessPending"],"isRequired":true,"uniqueKey":"oneOf.1._tag","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"oneOf.1.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["scope","message","_tag"],"properties":{"scope":{"type":"string","enum":["messages:read","messages:write","messages:send","tasks:read","tasks:write","documents:read","documents:write","events:read","events:write","people:read","people:write","automations:read","automations:write","settings:read","settings:write","search:read"],"description":"A concept and the action an agent may take on it.","isRequired":true,"uniqueKey":"oneOf.2.scope","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.message","typeLabel":"string"},"_tag":{"type":"string","enum":["ScopeRequired"],"isRequired":true,"uniqueKey":"oneOf.2._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.message","typeLabel":"string"},"_tag":{"type":"string","enum":["OutsideRun"],"isRequired":true,"uniqueKey":"oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["tool","message","_tag"],"properties":{"tool":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.tool","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.message","typeLabel":"string"},"_tag":{"type":"string","enum":["ToolNotGranted"],"isRequired":true,"uniqueKey":"oneOf.4._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.4","typeLabel":"object"},{"title":"Forbidden"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"feature":"gmail","_tag":"FeatureOff","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0d21d3f5-2d90-40b5-94fb-6b7a5be646d1":{"description":"AskFirst","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["action","message","_tag"],"properties":{"action":{"type":"object","required":["tool","input"],"properties":{"tool":{"type":"string","description":"An Avazal tool name, e.g. messages_send.","pattern":"^[a-z]+_[a-z_]+$","isRequired":true,"uniqueKey":"oneOf.0.action.tool","typeLabel":"string"},"input":{"type":"object","required":[],"properties":{},"additionalProperties":{"oneOf":[{"$id":"/schemas/unknown","title":"unknown"}],"uniqueKey":"oneOf.0.action.input.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.0.action.input","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.action","typeLabel":"object"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"_tag":{"type":"string","enum":["AskFirst"],"isRequired":true,"uniqueKey":"oneOf.0._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"_tag":{"type":"string","enum":["TriggerLimit"],"isRequired":true,"uniqueKey":"oneOf.1._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"action":{"tool":"\u003cstring>","input":{}},"message":"\u003cstring>","_tag":"AskFirst"}}},"exampleType":"generated"}},"exampleType":"generated"},"46819af5-93c9-44e0-9c59-556f4e7722a4":{"description":"Unsupported","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.message","typeLabel":"string"},"_tag":{"type":"string","enum":["Unsupported"],"isRequired":true,"uniqueKey":"oneOf.0._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"_tag":{"type":"string","enum":["SharedKeyRequired"],"isRequired":true,"uniqueKey":"oneOf.1._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.message","typeLabel":"string"},"_tag":{"type":"string","enum":["AgentUnavailable"],"isRequired":true,"uniqueKey":"oneOf.2._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["message","_tag"],"properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.message","typeLabel":"string"},"_tag":{"type":"string","enum":["SharedListRoute"],"isRequired":true,"uniqueKey":"oneOf.3._tag","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","_tag":"Unsupported"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c3d09e3b-ca98-440e-9d88-e441460cd1ff":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"An Avazal API key (avz_…) created in Settings → API keys.","scopes":[],"schemeName":"apiKey"}},"63d5ddd0-300d-41d0-a132-1bd2e4bcefa5":{"bearer":{"type":"http","scheme":"bearer","description":"The same API key sent as `Authorization: Bearer avz_…`.","scopes":[],"schemeName":"bearer"}}},"servers":{"d22b970d-3858-4d0a-9708-cc701772ab8f":{"url":"https://api.avazal.com","description":"Avazal"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"An Avazal API key (avz_…) created in Settings → API keys.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","description":"An Avazal API key (avz_…) created in Settings → API keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The same API key sent as `Authorization: Bearer avz_…`.","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The same API key sent as `Authorization: Bearer avz_…`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"avazal-9edf8e01","siteName":"Avazal","title":"Create Trigger - Avazal","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-02T14:46:43.618Z","originalFileLocation":"api-reference/triggers/create-a-trigger.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Avazal\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Trigger - Avazal\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Avazal\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.avazal.com/api-reference/triggers/create-a-trigger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://avazal-9edf8e01.mintlify.site/_mintlify/api/og/v2?division=Triggers\u0026amp;title=Create+Trigger\u0026amp;theme=ec70f842ea1ef1eb667e5137\u0026amp;signature=787bada2b526b61f0741b543e1149615d1185a0ae6e9b8ac20b7aefdad5b5f23\">\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=\"Create Trigger - Avazal\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://avazal-9edf8e01.mintlify.site/_mintlify/api/og/v2?division=Triggers\u0026amp;title=Create+Trigger\u0026amp;theme=ec70f842ea1ef1eb667e5137\u0026amp;signature=787bada2b526b61f0741b543e1149615d1185a0ae6e9b8ac20b7aefdad5b5f23\">\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/avazal-9edf8e01/skDmRkgLYrCxYNIy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Avazal\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2F6BFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.avazal.com/api-reference/triggers/create-a-trigger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/triggers/create-a-trigger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.avazal.com/#organization\",\"name\":\"Avazal\",\"url\":\"https://docs.avazal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/avazal-9edf8e01/5KeYYwrO_zgXt3I5/logo/light.svg?fit=max\u0026auto=format\u0026n=5KeYYwrO_zgXt3I5\u0026q=85\u0026s=ac226dfd9ad7d67c7ab3a678c01d23ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.avazal.com#website\",\"name\":\"Avazal\",\"url\":\"https://docs.avazal.com\",\"publisher\":{\"@id\":\"https://docs.avazal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger#webpage\",\"url\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger\",\"name\":\"Create Trigger\",\"dateModified\":\"2026-12-02T14:46:43.618Z\",\"isPartOf\":{\"@id\":\"https://docs.avazal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Triggers\",\"item\":\"https://docs.avazal.com/api-reference/triggers/list-triggers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Trigger\",\"item\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger#apireference\",\"headline\":\"Create Trigger\",\"name\":\"Create Trigger\",\"url\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger\",\"mainEntityOfPage\":{\"@id\":\"https://docs.avazal.com/api-reference/triggers/create-a-trigger#webpage\"},\"dateModified\":\"2026-12-02T14:46:43.618Z\",\"publisher\":{\"@id\":\"https://docs.avazal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.avazal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Avazal\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Avazal\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/triggers/create-a-trigger.md","siteName":"Avazal","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","icon":"code","groups":[{"group":"Get started","pages":[{"title":"Avazal API reference","sidebarTitle":"Overview","icon":"compass","href":"/api-reference/overview"}]},{"group":"Profile","pages":[{"title":"Get Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/me.get","href":"/api-reference/me/who-am-i"},{"title":"Update Profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/me.update","href":"/api-reference/me/change-my-profile-status-or-presence"}]},{"group":"Accounts","pages":[{"title":"List Accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/accounts.list","href":"/api-reference/accounts/list-connected-accounts"}]},{"group":"Settings","pages":[{"title":"Get Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/settings.get","href":"/api-reference/settings/read-my-settings"},{"title":"Update Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/settings.update","href":"/api-reference/settings/change-my-settings"}]},{"group":"Search","pages":[{"title":"Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/search.query","href":"/api-reference/search/search-everything"},{"title":"Resolve Links","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/search.resolve","href":"/api-reference/search/open-links"}]},{"group":"Inbox","pages":[{"title":"Next Prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/inbox.next","href":"/api-reference/inbox/wait-for-chat-prompts"}]},{"group":"Conversations","pages":[{"title":"List Conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/conversations.list","href":"/api-reference/conversations/list-channels-dms-and-email-threads"},{"title":"Get Conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/conversations.get","href":"/api-reference/conversations/read-a-conversation"},{"title":"Create Conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/conversations.create","href":"/api-reference/conversations/create-a-channel-or-open-a-dm"},{"title":"Update Conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/conversations.update","href":"/api-reference/conversations/change-a-conversation"}]},{"group":"Messages","pages":[{"title":"List Messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.list","href":"/api-reference/messages/list-or-search-messages"},{"title":"Get Message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.get","href":"/api-reference/messages/read-a-message"},{"title":"Create Message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.create","href":"/api-reference/messages/post-reply-write-or-forward-a-message"},{"title":"Update Message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.update","href":"/api-reference/messages/edit-a-message-or-change-its-state"},{"title":"Delete Message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.delete","href":"/api-reference/messages/delete-a-message-draft-or-scheduled-send"},{"title":"Send Message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/messages.send","href":"/api-reference/messages/send-a-draft-or-scheduled-message-now"}]},{"group":"Reactions","pages":[{"title":"Create Reaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/reactions.create","href":"/api-reference/reactions/react-to-a-message"},{"title":"Delete Reaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/reactions.delete","href":"/api-reference/reactions/remove-your-reaction"}]},{"group":"Emoji","pages":[{"title":"List Emoji","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/emoji.list","href":"/api-reference/emoji/list-a-workspaces-custom-emoji"}]},{"group":"Files","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files.list","href":"/api-reference/files/list-shared-files"},{"title":"Get File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files.get","href":"/api-reference/files/read-a-file"},{"title":"Create File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files.create","href":"/api-reference/files/upload-a-file-to-attach"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/files.delete","href":"/api-reference/files/delete-an-uploaded-file"}]},{"group":"People","pages":[{"title":"List People","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/people.list","href":"/api-reference/people/list-people"},{"title":"Get Person","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/people.get","href":"/api-reference/people/read-a-person"},{"title":"Update Person","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/people.update","href":"/api-reference/people/pin-hide-or-rename-a-contact"}]},{"group":"Lists","pages":[{"title":"List Lists","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/lists.list","href":"/api-reference/lists/list-task-lists"},{"title":"Get List","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/lists.get","href":"/api-reference/lists/read-a-list"},{"title":"Create List","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/lists.create","href":"/api-reference/lists/create-a-slack-list"}]},{"group":"Tasks","pages":[{"title":"List Tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks.list","href":"/api-reference/tasks/list-tasks"},{"title":"Get Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks.get","href":"/api-reference/tasks/read-a-task"},{"title":"Create Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks.create","href":"/api-reference/tasks/create-a-task"},{"title":"Update Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks.update","href":"/api-reference/tasks/update-a-task"},{"title":"Delete Task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks.delete","href":"/api-reference/tasks/delete-a-slack-list-task"}]},{"group":"Comments","pages":[{"title":"List Comments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/comments.list","href":"/api-reference/comments/list-comments"},{"title":"Create Comment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/comments.create","href":"/api-reference/comments/comment"}]},{"group":"Links","pages":[{"title":"List Links","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/links.list","href":"/api-reference/links/list-links"},{"title":"Create Link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/links.create","href":"/api-reference/links/create-a-link"},{"title":"Update Link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/links.update","href":"/api-reference/links/change-a-bookmark"},{"title":"Delete Link","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/links.delete","href":"/api-reference/links/delete-a-link"}]},{"group":"Shares","pages":[{"title":"Get Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/shares.get","href":"/api-reference/shares/read-a-public-link"},{"title":"Update Share","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/shares.update","href":"/api-reference/shares/turn-a-public-link-on-or-off"}]},{"group":"Documents","pages":[{"title":"List Documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.list","href":"/api-reference/documents/list-documents-folders-and-canvases"},{"title":"Get Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.get","href":"/api-reference/documents/read-a-document"},{"title":"Create Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.create","href":"/api-reference/documents/create-a-document-folder-or-canvas"},{"title":"Update Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.update","href":"/api-reference/documents/edit-rename-move-or-restore-a-document"},{"title":"Delete Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.delete","href":"/api-reference/documents/delete-a-document-or-folder"},{"title":"List Revisions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.revisions","href":"/api-reference/documents/list-a-documents-revisions"},{"title":"Publish Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.publish","href":"/api-reference/documents/publish-a-canvas-draft-to-slack"},{"title":"Save Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/documents.save","href":"/api-reference/documents/save-something-a-run-made"}]},{"group":"Events","pages":[{"title":"List Events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events.list","href":"/api-reference/events/list-calendar-events-and-huddles"},{"title":"Get Event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events.get","href":"/api-reference/events/read-an-event-or-booked-meeting"},{"title":"Update Event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events.update","href":"/api-reference/events/accept-decline-or-tentatively-accept-an-invite"},{"title":"Create Event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events.create","href":"/api-reference/events/book-a-meeting-someone-accepted"},{"title":"Find Time","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events.find_time","href":"/api-reference/events/find-free-times-for-a-meeting"}]},{"group":"Notifications","pages":[{"title":"Create Notification","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/notifications.create","href":"/api-reference/notifications/remind-or-notify-someone-about-a-message"}]},{"group":"Triggers","pages":[{"title":"List Triggers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.list","href":"/api-reference/triggers/list-triggers"},{"title":"Get Trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.get","href":"/api-reference/triggers/read-a-trigger"},{"title":"Describe Trigger","description":"Turn plain words into a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.describe","href":"/api-reference/triggers/turn-plain-words-into-a-trigger"},{"title":"Create Trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.create","href":"/api-reference/triggers/create-a-trigger"},{"title":"Update Trigger","description":"Change a trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.update","href":"/api-reference/triggers/change-a-trigger"},{"title":"Delete Trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.delete","href":"/api-reference/triggers/delete-a-trigger"},{"title":"Run Trigger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/triggers.run","href":"/api-reference/triggers/try-a-trigger-now"}]},{"group":"Runs","pages":[{"title":"Create Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs.create","href":"/api-reference/runs/start-an-agent-on-an-ask"},{"title":"Update Run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs.update","href":"/api-reference/runs/report-what-you-did"},{"title":"Ask Person","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs.ask","href":"/api-reference/runs/ask-the-person-who-handed-you-this-run"},{"title":"Answer Ask","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/runs.answer","href":"/api-reference/runs/answer-an-agents-ask"}]},{"group":"Asks","pages":[{"title":"List Asks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/asks.list","href":"/api-reference/asks/list-what-you-owe"},{"title":"Update Ask","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/asks.update","href":"/api-reference/asks/mark-claim-or-link-an-ask"},{"title":"Reply to Ask","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/asks.reply","href":"/api-reference/asks/send-a-drafted-reply"}]}]}]},"basePath":"","title":"Create Trigger - Avazal","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","SectionHeading-CKObOTcn.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}