{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Notifique","description":"API multicanal para WhatsApp, SMS, e-mail, push e mais. Integre, teste no sandbox e use IA com llms.txt e MCP.","colors":{"primary":"#fbbf24","light":"#fbbf24","dark":"#fbbf24"},"logo":{"light":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882","dark":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/dark.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=2df6ca04be3fb36c080492c1c205975f"},"favicon":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/favicon.svg?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=3ea7b1631da416de0c1a7ee57d439c56","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"href":"welcome/welcome"},{"language":"en","href":"en/welcome/welcome"},{"language":"es","href":"es/welcome/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tribus","hasAudioNarration":false,"actualSubdomain":"tribus","customDomains":["docs.notifique.dev"],"gitSource":{"type":"github","owner":"notifique-dev","repo":"notifique-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad52bcc29f358e945e24eef","collectionId":"53455186-1186-4cb7-b9b1-ff28dfb2c0ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad52bcc29f358e945e24eef"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad52bcc29f358e945e24eef","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Guias","count":56},{"language":"default","tag":"Automações","count":53},{"language":"en","tag":"WhatsApp","count":50},{"language":"default","tag":"Contatos","count":49},{"language":"pt-BR","tag":"WhatsApp","count":46},{"language":"es","tag":"WhatsApp","count":46},{"language":"pt-BR","tag":"Guias","count":40},{"language":"en","tag":"Guides","count":40},{"language":"es","tag":"Guías","count":40},{"language":"pt-BR","tag":"Automações","count":38},{"language":"en","tag":"Add-ons","count":37},{"language":"en","tag":"Automations","count":35},{"language":"es","tag":"Add-ons","count":35},{"language":"pt-BR","tag":"Add-ons","count":34},{"language":"en","tag":"Instagram","count":33},{"language":"pt-BR","tag":"Instagram","count":32},{"language":"es","tag":"Automatizaciones","count":32},{"language":"es","tag":"Instagram","count":32},{"language":"en","tag":"Contacts","count":29},{"language":"pt-BR","tag":"Contatos","count":28},{"language":"en","tag":"Telegram","count":28},{"language":"es","tag":"Contactos","count":28},{"language":"es","tag":"Telegram","count":27},{"language":"pt-BR","tag":"Telegram","count":25},{"language":"pt-BR","tag":"Instâncias","count":25},{"language":"default","tag":"Voz","count":23},{"language":"en","tag":"Instâncias","count":22},{"language":"es","tag":"Instâncias","count":21},{"language":"default","tag":"Chat","count":21},{"language":"default","tag":"WhatsApp","count":19},{"language":"en","tag":"Mensagens","count":18},{"language":"en","tag":"Voice","count":17},{"language":"es","tag":"Mensagens","count":17},{"language":"pt-BR","tag":"Voz","count":15},{"language":"pt-BR","tag":"Mensagens","count":15},{"language":"es","tag":"Voz","count":15},{"language":"default","tag":"Assistentes","count":14},{"language":"default","tag":"Add-ons","count":14},{"language":"default","tag":"Mensagens","count":13},{"language":"default","tag":"Push","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"welcome-hero.css","content":"@keyframes welcome-line-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-240}}@keyframes welcome-node-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}@keyframes welcome-ring-expand{0%{opacity:.5;transform:scale(.6)}70%,to{opacity:0;transform:scale(2.2)}}@keyframes welcome-glow-drift{0%,to{transform:translate(0,0) scale(1)}33%{transform:translate(24px,-16px) scale(1.05)}66%{transform:translate(-18px,12px) scale(.95)}}@keyframes welcome-grid-pulse{0%,to{opacity:.35}50%{opacity:.9}}.welcome-hero{position:relative;overflow:hidden;text-align:center;padding:96px 24px;margin-bottom:-16px;background:#09090b;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);-webkit-mask-size:100% 100%;mask-size:100% 100%}.welcome-hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}.welcome-hero-glow{position:absolute;border-radius:50%;filter:blur(72px);opacity:.45;animation:welcome-glow-drift 18s ease-in-out infinite}.welcome-hero-glow-1{width:420px;height:420px;top:-120px;left:8%;background:rgba(251,191,36,.22);animation-delay:0s}.welcome-hero-glow-2{width:360px;height:360px;top:10%;right:5%;background:rgba(245,158,11,.14);animation-delay:-6s}.welcome-hero-glow-3{width:280px;height:280px;bottom:-40px;left:42%;background:rgba(251,191,36,.1);animation-delay:-12s}.welcome-hero-svg{position:absolute;inset:0;width:100%;height:100%;opacity:.9}.welcome-hero-grid line{stroke:rgba(251,191,36,.06);stroke-width:1}.welcome-hero-grid line:nth-child(odd){animation:welcome-grid-pulse 8s ease-in-out infinite}.welcome-hero-grid line:nth-child(even){animation:welcome-grid-pulse 8s ease-in-out infinite reverse;animation-delay:-4s}.welcome-hero-path{fill:none;stroke:url(#welcome-line-gradient);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:6 14;animation:welcome-line-flow 22s linear infinite}.welcome-hero-path-2{animation-duration:28s;animation-direction:reverse;stroke-dasharray:4 18;opacity:.7}.welcome-hero-path-3{animation-duration:18s;stroke-dasharray:8 10;opacity:.55}.welcome-hero-node{fill:#fbbf24;filter:drop-shadow(0 0 8px rgba(251,191,36,.65));animation:welcome-node-pulse 4s ease-in-out infinite}.welcome-hero-node-2{animation-delay:-1.2s}.welcome-hero-node-3{animation-delay:-2.4s}.welcome-hero-node-4{animation-delay:-.6s}.welcome-hero-node-5{animation-delay:-1.8s}.welcome-hero-node-6{animation-delay:-3s}.welcome-hero-ring{fill:none;stroke:rgba(251,191,36,.2);stroke-width:1;transform-origin:center;animation:welcome-ring-expand 5s ease-out infinite}.welcome-hero-ring-2{animation-delay:-2.5s}.welcome-hero-content{position:relative;z-index:2}@media (prefers-reduced-motion:reduce){.welcome-hero-glow,.welcome-hero-grid line,.welcome-hero-node,.welcome-hero-path,.welcome-hero-ring{animation:none!important}}"}],"page":{"pagePath":"api-reference/automações/atualizar-automação","slug":"/api-reference/automações/atualizar-automação","pageMetadata":{"title":"Atualizar automação","description":"Altera uma automação.","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json patch /v1/automations/{automationId}","href":"/api-reference/automações/atualizar-automação","autogeneratedByOpenApi":true},"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: \"Altera uma automação.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}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":"Atualizar automação","description":"Altera uma automação.","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json patch /v1/automations/{automationId}","href":"/api-reference/automações/atualizar-automação","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Automações"],"summary":"Atualizar automação","operationId":"ntfAuto_patchAutomation","parameters":["9d504ffb-1329-44c9-b8b1-15f96d9b9f95"],"requestBody":"c5d0ce00-72a9-4bd5-9b52-70c270bd5007","responses":{"200":"a6830fce-8cdf-4377-945b-592cdf52017c","400":"31770f90-163e-4f95-a300-be46537a9123","401":"ee4bc04a-75d8-42e9-b911-ad83cee6330c","402":"7b906bfb-c24c-48d3-8ac7-8b1802efb594","403":"95b00945-ec0f-489e-9f1d-13ecf266cb05","404":"17893865-2c21-4612-852e-77b52a6a2947"},"description":"Altera uma automação.","method":"patch","type":"path","servers":["0017c63d-e6db-4f58-96ba-78c97fc9550f"],"security":["b86b57af-95ed-43df-a418-11a56c2ecda4","c77e8d31-a73b-410a-b2d7-069e1867d075"],"path":"/v1/automations/{automationId}","baseUrlOptions":["https://api.notifique.dev"],"title":"Atualizar automação","codeSamples":[],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.name":"Exemplo","body.status":"ENABLED","body.graph.steps.items.0.oneOf.0.stepKey":"string","body.graph.steps.items.0.oneOf.0.stepType":"trigger","body.graph.connections.items.0.from":"5511999999999","body.graph.connections.items.0.to":"5511999999999","body.graph.connections.items.0.branch":"true"}]},"dependencies":{"parameters":{"9d504ffb-1329-44c9-b8b1-15f96d9b9f95":{"name":"automationId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Cuid da automação.","uniqueKey":"","typeLabel":"string"},"description":"Cuid da automação."}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":256,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","enum":["ENABLED","DISABLED"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"graph":{"type":"object","required":["steps","connections"],"properties":{"steps":{"type":"array","minItems":2,"items":{"oneOf":[{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"trigger"},"properties":{"stepKey":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["trigger"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.stepType","typeLabel":"enum\u003cstring>"},"config":{"oneOf":[{"type":"object","required":["triggerKind","eventName"],"example":{"triggerKind":"event","eventName":"string"},"properties":{"triggerKind":{"type":"string","enum":["event"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.0.triggerKind","typeLabel":"enum\u003cstring>"},"eventName":{"type":"string","minLength":1,"maxLength":256,"description":"Nome cadastrado em `POST /v1/events`. Não pode começar com `notifique:` (case-insensitive), exceto eventos internos allowlisted.","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.0.eventName","typeLabel":"string"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.0","typeLabel":"object"},{"type":"object","required":["triggerKind","channel"],"example":{"triggerKind":"channelInbound","channel":"WHATSAPP","inboundKind":"dm","instanceId":"clxx...","webWidgetId":"clxx...","conversationSessionPolicy":{}},"properties":{"triggerKind":{"type":"string","enum":["channelInbound"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.triggerKind","typeLabel":"enum\u003cstring>"},"channel":{"type":"string","enum":["WHATSAPP","TELEGRAM","SMS","WEB_WIDGET","INSTAGRAM"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.channel","typeLabel":"enum\u003cstring>"},"inboundKind":{"type":"string","enum":["dm","comment"],"default":"dm","description":"INSTAGRAM: DM ou comentário em post. Outros canais ignoram.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.inboundKind","typeLabel":"enum\u003cstring>"},"instanceId":{"oneOf":[{"type":"string","maxLength":128,"description":"WA/TG/SMS/INSTAGRAM: instância específica; omitir ou `null` = qualquer instância do canal no workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.instanceId.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":128,"description":"WA/TG/SMS/INSTAGRAM: instância específica; omitir ou `null` = qualquer instância do canal no workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.instanceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.instanceId","typeLabel":"string | null"},"webWidgetId":{"oneOf":[{"type":"string","maxLength":128,"description":"WEB_WIDGET: widget específico; omitir ou `null` = qualquer widget do workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.webWidgetId.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":128,"description":"WEB_WIDGET: widget específico; omitir ou `null` = qualquer widget do workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.webWidgetId.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.webWidgetId","typeLabel":"string | null"},"conversationSessionPolicy":{"type":"object","description":"Política opcional de sessão inbound (inatividade, cooldown pós-encerramento, keywords, debounce do assistente).","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1.conversationSessionPolicy","typeLabel":"object"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.1","typeLabel":"object"},{"type":"object","required":["triggerKind"],"example":{"triggerKind":"webhook","payloadMappings":[],"contactIdPath":"clxx...","emailPath":"string","phonePath":"string"},"properties":{"triggerKind":{"type":"string","enum":["webhook"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.triggerKind","typeLabel":"enum\u003cstring>"},"payloadMappings":{"type":"array","maxItems":40,"items":{"type":"object","required":["alias","jsonPath"],"properties":{"alias":{"type":"string","maxLength":64,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.payloadMappings.items.[INDEX].alias","typeLabel":"string"},"jsonPath":{"type":"string","maxLength":512,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.payloadMappings.items.[INDEX].jsonPath","typeLabel":"string"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.payloadMappings.items.[INDEX]","typeLabel":"object"},"default":[],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.payloadMappings","typeLabel":"object[]"},"contactIdPath":{"oneOf":[{"type":"string","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.contactIdPath.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.contactIdPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.contactIdPath","typeLabel":"string | null"},"emailPath":{"oneOf":[{"type":"string","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.emailPath.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.emailPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.emailPath","typeLabel":"string | null"},"phonePath":{"oneOf":[{"type":"string","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.phonePath.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":512,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.phonePath.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2.phonePath","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.2","typeLabel":"object"},{"type":"object","required":["triggerKind","callPhase"],"example":{"triggerKind":"whatsappCall","callPhase":"initiated","instanceId":"clxx..."},"properties":{"triggerKind":{"type":"string","enum":["whatsappCall"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3.triggerKind","typeLabel":"enum\u003cstring>"},"callPhase":{"type":"string","enum":["initiated","answered","completed","hung_up","failed","no_answer","rejected"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3.callPhase","typeLabel":"enum\u003cstring>"},"instanceId":{"oneOf":[{"type":"string","maxLength":128,"description":"Instância WhatsApp específica; omitir ou `null` = qualquer instância do workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3.instanceId.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":128,"description":"Instância WhatsApp específica; omitir ou `null` = qualquer instância do workspace.","uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3.instanceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3.instanceId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.0.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"delay","config":{"durationMs":1,"editorPlaceholder":true,"editorDraft":true}},"properties":{"stepKey":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.1.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["delay"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.1.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["durationMs"],"properties":{"durationMs":{"type":"integer","minimum":0,"maximum":2592000000,"description":"Máximo 30 dias em ms. Para persistir: `durationMs` > 0 e não usar só `editorDraft`.","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.1.config.durationMs","typeLabel":"integer"},"editorPlaceholder":{"type":"boolean","uniqueKey":"graph.steps.items.[INDEX].oneOf.1.config.editorPlaceholder","typeLabel":"boolean"},"editorDraft":{"type":"boolean","uniqueKey":"graph.steps.items.[INDEX].oneOf.1.config.editorDraft","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.1.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"condition","config":{"source":"event","operator":"equals","propertyKey":"string","compareValue":"string"}},"properties":{"stepKey":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["condition"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["source","operator"],"properties":{"source":{"type":"string","enum":["event","contact","message"],"description":"`event` ou `contact` quando o gatilho é evento da API. `message` é **obrigatório** quando o gatilho é mensagem recebida em canal (compara texto inbound: body → bodyPreview → preview).","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.source","typeLabel":"enum\u003cstring>"},"operator":{"type":"string","enum":["equals","notEquals","exists","isEmpty","contains","startsWith","endsWith","gt","lt","gte","lte"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.operator","typeLabel":"enum\u003cstring>"},"propertyKey":{"oneOf":[{"type":"string","maxLength":256,"description":"Obrigatório para `source` `event` ou `contact`: path no payload (pontos permitidos) ou campo do contato. Omitir para `message`.","uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.propertyKey.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":256,"description":"Obrigatório para `source` `event` ou `contact`: path no payload (pontos permitidos) ou campo do contato. Omitir para `message`.","uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.propertyKey.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.propertyKey","typeLabel":"string | null"},"compareValue":{"oneOf":[{"type":"string","description":"Obrigatório (não vazio) para operadores exceto `exists` e `isEmpty`. Para `gt`, `lt`, `gte` e `lte`, o valor da esquerda e o `compareValue` são interpretados como números (string numérica ou número JSON); se algum não for número finito, a condição é falsa.","uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.compareValue.oneOf.0","typeLabel":"string"},{"type":"null","description":"Obrigatório (não vazio) para operadores exceto `exists` e `isEmpty`. Para `gt`, `lt`, `gte` e `lte`, o valor da esquerda e o `compareValue` são interpretados como números (string numérica ou número JSON); se algum não for número finito, a condição é falsa.","uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.compareValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config.compareValue","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.2.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendTemplate","config":{"templateId":"clxx...","channels":["whatsapp"],"fromEmail":"string","instanceId":"clxx...","telegramInstanceId":"clxx...","variables":{}}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendTemplate"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["templateId","channels"],"properties":{"templateId":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.templateId","typeLabel":"string"},"channels":{"type":"array","minItems":1,"items":{"type":"string","enum":["whatsapp","sms","email","telegram"],"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.channels.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.channels","typeLabel":"enum\u003cstring>[]"},"fromEmail":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.fromEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.fromEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.fromEmail","typeLabel":"string | null"},"instanceId":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.instanceId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.instanceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.instanceId","typeLabel":"string | null"},"telegramInstanceId":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.telegramInstanceId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.telegramInstanceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.telegramInstanceId","typeLabel":"string | null"},"variables":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.variables.additionalProperties","typeLabel":"string"},"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config.variables","typeLabel":"object"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.3.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendEmail","config":{"htmlBody":"string","fromEmail":"string"}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.4.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendEmail"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.4.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["subject","htmlBody"],"properties":{"htmlBody":{"type":"string","maxLength":100000,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.4.config.htmlBody","typeLabel":"string"},"fromEmail":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.4.config.fromEmail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.4.config.fromEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.4.config.fromEmail","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.4.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendWhatsapp","config":{"instanceId":"clxx..."}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.5.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendWhatsapp"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.5.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["instanceId","body"],"properties":{"instanceId":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.5.config.instanceId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.5.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendSms","config":{}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.6.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendSms"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.6.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["body"],"properties":{},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.6.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendTelegram","config":{"instanceId":"clxx..."}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.7.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendTelegram"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.7.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["instanceId","body"],"properties":{"instanceId":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.7.config.instanceId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.7.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendPush","config":{"pushAppId":"clxx..."}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.8.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendPush"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.8.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["pushAppId","title","body"],"properties":{"pushAppId":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.8.config.pushAppId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.8.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"sendRcs","config":{}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.9.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["sendRcs"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.9.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","required":["body"],"properties":{},"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.9.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"updateContact","config":{"name":"Exemplo","email":"string","phone":"string","url":"https://example.com/resource","custom":{},"actions":[{"fieldKey":"string","intent":"clear","literal":"string","eventPath":"string"}]}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["updateContact"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.email.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.phone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.phone","typeLabel":"string | null"},"url":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.url.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.url","typeLabel":"string | null"},"custom":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.custom.additionalProperties","typeLabel":"string"},"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.custom","typeLabel":"object"},"actions":{"type":"array","maxItems":50,"items":{"type":"object","required":["fieldKey","intent"],"properties":{"fieldKey":{"type":"string","minLength":1,"maxLength":128,"description":"`name` | `email` | `phone` | `url` | `custom:chave`. Com `intent: clear`, não use `custom:`.","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].fieldKey","typeLabel":"string"},"intent":{"type":"string","enum":["clear","set"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].intent","typeLabel":"enum\u003cstring>"},"literal":{"oneOf":[{"type":"string","description":"Valor fixo ou placeholders; usado com `set`.","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].literal.oneOf.0","typeLabel":"string"},{"type":"null","description":"Valor fixo ou placeholders; usado com `set`.","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].literal.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].literal","typeLabel":"string | null"},"eventPath":{"oneOf":[{"type":"string","description":"Chave no payload do evento (com `set`).","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].eventPath.oneOf.0","typeLabel":"string"},{"type":"null","description":"Chave no payload do evento (com `set`).","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].eventPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX].eventPath","typeLabel":"string | null"}},"example":{"fieldKey":"string","intent":"clear","literal":"string","eventPath":"string"},"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions.items.[INDEX]","typeLabel":"object"},"description":"Lista preferida. Se presente e não vazia, validação extra aplica-se (não misturar `clear` com `custom:`).","uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config.actions","typeLabel":"object[]"}},"description":"Legado: campos planos + `custom`. Novo fluxo: `actions`.","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.10.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"deleteContact","config":{}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.11.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["deleteContact"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.11.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","additionalProperties":false,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.11.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"createContact","config":{"name":"Exemplo","email":"string","phone":"string"}},"properties":{"stepKey":{"type":"string","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["createContact"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.email.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.phone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config.phone","typeLabel":"string | null"}},"description":"Pelo menos um de `email` ou `phone` não vazio após trim.","isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.12.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","required":["stepKey","stepType","config"],"example":{"stepKey":"string","stepType":"endFlow","config":{}},"properties":{"stepKey":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.13.stepKey","typeLabel":"string"},"stepType":{"type":"string","enum":["endFlow"],"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.13.stepType","typeLabel":"enum\u003cstring>"},"config":{"type":"object","description":"Terminator: no outgoing connections; engine completes with no side effects.","additionalProperties":false,"isRequired":true,"uniqueKey":"graph.steps.items.[INDEX].oneOf.13.config","typeLabel":"object"}},"uniqueKey":"graph.steps.items.[INDEX].oneOf.13","typeLabel":"object"}],"uniqueKey":"graph.steps.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"graph.steps","typeLabel":"object[]"},"connections":{"type":"array","minItems":1,"items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.connections.items.[INDEX].from","typeLabel":"string"},"to":{"type":"string","minLength":1,"maxLength":128,"isRequired":true,"uniqueKey":"graph.connections.items.[INDEX].to","typeLabel":"string"},"branch":{"type":"string","enum":["true","false"],"description":"Obrigatório apenas saindo de `condition`.","uniqueKey":"graph.connections.items.[INDEX].branch","typeLabel":"enum\u003cstring>"}},"example":{"from":"5511999999999","to":"5511999999999","branch":"true"},"uniqueKey":"graph.connections.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"graph.connections","typeLabel":"object[]"},"nodeLayout":{"type":"object","additionalProperties":{"type":"object","required":["x","y"],"properties":{"x":{"type":"number","isRequired":true,"uniqueKey":"graph.nodeLayout.additionalProperties.x","typeLabel":"number"},"y":{"type":"number","isRequired":true,"uniqueKey":"graph.nodeLayout.additionalProperties.y","typeLabel":"number"}},"uniqueKey":"graph.nodeLayout.additionalProperties","typeLabel":"object"},"description":"Opcional: posições do editor visual (`stepKey` → coordenadas).","properties":{},"uniqueKey":"graph.nodeLayout","typeLabel":"object"}},"description":"Grafo acíclico (DAG) com exatamente um `trigger`. Arestas a partir de `condition` exigem `branch`: `true` | `false`.","example":{"steps":[{"stepKey":"string","stepType":"trigger"}],"connections":[{"from":"5511999999999","to":"5511999999999","branch":"true"}],"nodeLayout":{}},"uniqueKey":"graph","typeLabel":"object"}},"example":{"name":"Exemplo","status":"ENABLED","graph":{"steps":[{"stepKey":"string","stepType":"trigger"}],"connections":[{"from":"5511999999999","to":"5511999999999","branch":"true"}],"nodeLayout":{}}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"Exemplo","status":"ENABLED","graph":{"steps":[{"stepKey":"string","stepType":"trigger"}],"connections":[{"from":"5511999999999","to":"5511999999999","branch":"true"}],"nodeLayout":{}}},"examples":{"Example":{"title":"Example","value":{"name":"Exemplo","status":"ENABLED","graph":{"steps":[{"stepKey":"string","stepType":"trigger"}],"connections":[{"from":"5511999999999","to":"5511999999999","branch":"true"}],"nodeLayout":{}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a6830fce-8cdf-4377-945b-592cdf52017c":{"description":"Atualizado (inclui `graphJson` e `graphVersion` incrementado quando o grafo muda).","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"description":"Resposta JSON vazia (sucesso sem payload).","properties":{"success":{"type":"boolean","example":true,"uniqueKey":"success","typeLabel":"boolean"}},"example":{"success":true},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"31770f90-163e-4f95-a300-be46537a9123":{"description":"`name` vazio, ou `graph` inválido (mesmos códigos que na criação).","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"string","description":"Mensagem detalhada (validação Zod concatena com `; ` em INVALID_GRAPH).","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","description":"Código estável quando o grafo ou vínculo com evento falha.","enum":["INVALID_GRAPH","DUPLICATE_STEP_KEY","TRIGGER_COUNT","UNKNOWN_STEP","CONDITION_BRANCHES","CONDITION_BRANCH_TAG","CONDITION_BRANCH_DUP","BRANCH_INVALID","TRIGGER_NOT_ROOT","GRAPH_CYCLE","UNREACHABLE_STEP","DELAY_INCOMPLETE","CONDITION_SOURCE","CONDITION_PROPERTY","CONDITION_OPERATOR","CONDITION_VALUE","SEND_TEMPLATE_ID","SEND_EMAIL_INCOMPLETE","SEND_WHATSAPP_INCOMPLETE","SEND_TEXT_INCOMPLETE","SEND_TELEGRAM_INCOMPLETE","SEND_PUSH_INCOMPLETE","UPDATE_CONTACT_EMPTY","UPDATE_CONTACT_FIELD","UPDATE_CONTACT_INTENT","UPDATE_CONTACT_CLEAR_CUSTOM","UPDATE_CONTACT_VALUE","CREATE_CONTACT_RECIPIENT","EVENT_NOT_REGISTERED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Campo inválido ou ausente.","uniqueKey":"message","typeLabel":"string"}},"example":{"success":false,"error":"string","code":"INVALID_GRAPH"},"uniqueKey":"","typeLabel":"object"},"examples":{"emptyName":{"title":"emptyName","value":{"success":false,"error":"Bad Request","message":"name cannot be empty","code":"BAD_REQUEST"}}},"exampleType":"examples"}},"exampleType":"examples"},"ee4bc04a-75d8-42e9-b911-ad83cee6330c":{"description":"Chave ausente ou inválida. No middleware global de `/v1` também ocorre quando não há API Key.","content":{"application/json":{"schema":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","example":"VALIDATION_ERROR","uniqueKey":"code","typeLabel":"string"}},"example":{"success":false,"error":"Unauthorized","message":"string"},"uniqueKey":"","typeLabel":"object"},"examples":{"route":{"title":"route","value":{"success":false,"error":"Unauthorized","message":"Invalid or missing API Key","code":"UNAUTHORIZED"}},"middleware":{"title":"middleware","value":{"success":false,"error":"Unauthorized","message":"API Key is required. Provide Authorization: Bearer \u003ckey> or x-api-key header.","code":"UNAUTHORIZED"}}},"exampleType":"examples"}},"exampleType":"examples"},"7b906bfb-c24c-48d3-8ac7-8b1802efb594":{"description":"Plano expirado ou workspace suspenso (`WORKSPACE_BLOCKED`), limite de automações do plano (`PLAN_LIMIT_AUTOMATIONS`) ou plano/trial sem saldo para automações/eventos (`PREMIUM_FEATURE_REQUIRES_PLAN_OR_BALANCE`).","content":{"application/json":{"schema":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"string","enum":["Payment Required"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"Plan expired or suspended","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","enum":["WORKSPACE_BLOCKED","PLAN_LIMIT_AUTOMATIONS","PREMIUM_FEATURE_REQUIRES_PLAN_OR_BALANCE"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"}},"example":{"success":false,"error":"Payment Required","message":"Plan expired or suspended","code":"WORKSPACE_BLOCKED"},"uniqueKey":"","typeLabel":"object"},"examples":{"workspaceBlocked":{"title":"workspaceBlocked","value":{"success":false,"error":"Payment Required","message":"Plan expired or suspended","code":"WORKSPACE_BLOCKED"}},"premiumFeature":{"title":"premiumFeature","value":{"success":false,"error":"Payment Required","message":"Premium automations require an active plan, trial, or balance","code":"PREMIUM_FEATURE_REQUIRES_PLAN_OR_BALANCE"}}},"exampleType":"examples"}},"exampleType":"examples"},"95b00945-ec0f-489e-9f1d-13ecf266cb05":{"description":"Sem escopo `automations:write`.","content":{"application/json":{"schema":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"string","enum":["Forbidden"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","example":"FORBIDDEN","uniqueKey":"code","typeLabel":"string"}},"example":{"success":false,"error":"Forbidden","message":"string"},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Forbidden","message":"Missing scope: automations:write","code":"FORBIDDEN"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Forbidden","message":"Missing scope: automations:write","code":"FORBIDDEN"}}},"exampleType":"examples"}},"exampleType":"examples"},"17893865-2c21-4612-852e-77b52a6a2947":{"description":"Automação inexistente ou excluída.","content":{"application/json":{"schema":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"string","enum":["Not Found"],"isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","example":"NOT_FOUND","uniqueKey":"code","typeLabel":"string"}},"example":{"success":false,"error":"Not Found","message":"string"},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Not Found","message":"Automation not found","code":"NOT_FOUND"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Not Found","message":"Automation not found","code":"NOT_FOUND"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b86b57af-95ed-43df-a418-11a56c2ecda4":{"ntfAutoBearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"`Authorization: Bearer sk_live_...`","scopes":[]}},"c77e8d31-a73b-410a-b2d7-069e1867d075":{"ntfAutoApiKeyHeader":{"type":"apiKey","in":"header","name":"x-api-key","description":"Mesmo valor da chave, sem prefixo Bearer.","scopes":[]}}},"servers":{"0017c63d-e6db-4f58-96ba-78c97fc9550f":{"url":"https://api.notifique.dev","description":"Produção"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"`Authorization: Bearer sk_live_...`","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"`Authorization: Bearer sk_live_...`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ntfAutoBearerAuth","name":"Authorization"}],"title":"ntfAutoBearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Mesmo valor da chave, sem prefixo Bearer.","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"Mesmo valor da chave, sem prefixo Bearer.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ntfAutoApiKeyHeader","name":"x-api-key"}],"title":"ntfAutoApiKeyHeader"}]},"originalFileLocation":"automations-api/api-reference/openapi-automations.json"},"subdomain":"tribus","siteName":"Notifique","title":"Atualizar automação - Notifique","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/api-reference/automações/atualizar-automação","matchLevel":0},"en":{"href":"/en/welcome/welcome","matchLevel":4},"es":{"href":"/es/welcome/welcome","matchLevel":4}}},"lastModified":"2026-08-31T13:53:44.327Z","originalFileLocation":"api-reference/automações/atualizar-automação.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Altera uma automação.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Notifique\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Atualizar automação - Notifique\">\u003cmeta data-mint-head property=\"og:description\" content=\"Altera uma automação.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Notifique\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.notifique.dev/api-reference/automações/atualizar-automação\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=Automa%C3%A7%C3%B5es\u0026amp;title=Atualizar+automa%C3%A7%C3%A3o\u0026amp;description=Altera+uma+automa%C3%A7%C3%A3o.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=32bdb15c98b0bde3df4aee3715717784907493903b1795d858615caec5ea6e83\">\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=\"Atualizar automação - Notifique\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Altera uma automação.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=Automa%C3%A7%C3%B5es\u0026amp;title=Atualizar+automa%C3%A7%C3%A3o\u0026amp;description=Altera+uma+automa%C3%A7%C3%A3o.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=32bdb15c98b0bde3df4aee3715717784907493903b1795d858615caec5ea6e83\">\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/tribus/lrSzNckWGT07xfjB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Notifique\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#fbbf24\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.notifique.dev/api-reference/automações/atualizar-automação\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.notifique.dev/#organization\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.notifique.dev#website\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o#webpage\",\"url\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o\",\"name\":\"Atualizar automação\",\"description\":\"Altera uma automação.\",\"dateModified\":\"2026-08-31T13:53:44.327Z\",\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automações\",\"item\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/listar-automa%C3%A7%C3%B5es\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atualizar automação\",\"item\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o#apireference\",\"headline\":\"Atualizar automação\",\"name\":\"Atualizar automação\",\"description\":\"Altera uma automação.\",\"url\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o\",\"mainEntityOfPage\":{\"@id\":\"https://docs.notifique.dev/api-reference/automa%C3%A7%C3%B5es/atualizar-automa%C3%A7%C3%A3o#webpage\"},\"dateModified\":\"2026-08-31T13:53:44.327Z\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Notifique\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Notifique","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"tabs":[{"tab":"Bem-vindo","pages":[{"title":"Bem-vindo","href":"/welcome/welcome"}]},{"tab":"Guias","pages":[{"title":"Guias","href":"/guides/introducao/comece-aqui"}]},{"tab":"WhatsApp","pages":[{"title":"WhatsApp","href":"/whatsapp-api/como-funciona/introducao"}]},{"tab":"SMS","pages":[{"title":"SMS","href":"/sms-api/como-funciona/introducao"}]},{"tab":"Telegram","pages":[{"title":"Telegram","href":"/telegram-api/como-funciona/introducao"}]},{"tab":"Instagram","pages":[{"title":"Instagram","href":"/instagram-api/como-funciona/introducao"}]},{"tab":"Emails","pages":[{"title":"Emails","href":"/emails-api/como-funciona/introducao"}]},{"tab":"Push","pages":[{"title":"Push","href":"/push-api/como-funciona/introducao"}]},{"tab":"Chat","pages":[{"title":"Chat","href":"/chat-api/como-funciona/introducao"}]},{"tab":"RCS","pages":[{"title":"RCS","href":"/rcs-api/como-funciona/introducao"}]},{"tab":"Voz","pages":[{"title":"Voz","href":"/voice-api/como-funciona/introducao"}]},{"tab":"Chat no site","pages":[{"title":"Chat no site","href":"/ai-web-widget"}]},{"tab":"Templates","pages":[{"title":"Templates","href":"/template-api/como-funciona/introducao"}]},{"tab":"Contatos","pages":[{"title":"Contatos","href":"/contacts-api/como-funciona/introducao"}]},{"tab":"Automações","groups":[{"group":"Automações","pages":[{"title":"Introdução","icon":"diagram-project","href":"/automations-api/como-funciona/introducao"},{"title":"Quick Start","icon":"bolt","href":"/automations-api/como-funciona/quick-start"},{"title":"Escopos da API Key","icon":"key","href":"/automations-api/como-funciona/escopos-da-api-key"},{"title":"Eventos","icon":"bolt","href":"/automations-api/como-funciona/eventos"},{"title":"Eventos dos Webhooks","icon":"code-merge","href":"/automations-api/como-funciona/eventos-do-webhooks"},{"title":"Assistentes","icon":"user-robot","href":"/automations-api/como-funciona/assistentes"},{"title":"Base de conhecimento","icon":"book-open","href":"/automations-api/como-funciona/base-de-conhecimento"},{"title":"Integrações MCP","icon":"plug","href":"/automations-api/como-funciona/integracoes-mcp"},{"title":"Casos de uso","icon":"lightbulb","href":"/automations-api/como-funciona/casos-de-uso"}]},{"group":"Eventos","pages":[{"title":"Listar eventos","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/events","href":"/api-reference/eventos/listar-eventos"},{"title":"Cadastrar evento","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json post /v1/events","href":"/api-reference/eventos/cadastrar-evento"},{"title":"Disparar evento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/events/send","href":"/api-reference/eventos/disparar-evento"},{"title":"Consultar evento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/events/{eventId}","href":"/api-reference/eventos/consultar-evento"},{"title":"Atualizar evento","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json patch /v1/events/{eventId}","href":"/api-reference/eventos/atualizar-evento"},{"title":"Excluir evento","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json delete /v1/events/{eventId}","href":"/api-reference/eventos/excluir-evento"},{"title":"Excluir eventos em lote","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/events/batch/delete","href":"/api-reference/eventos/excluir-eventos-em-lote"}]},{"group":"Automações","pages":[{"title":"Listar automações","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/automations","href":"/api-reference/automações/listar-automações"},{"title":"Criar automação","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json post /v1/automations","href":"/api-reference/automações/criar-automação"},{"title":"Consultar automação","description":"Consulta uma automação.","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/automations/{automationId}","href":"/api-reference/automações/consultar-automação"},{"title":"Atualizar automação","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json patch /v1/automations/{automationId}","href":"/api-reference/automações/atualizar-automação"},{"title":"Excluir automação","description":"Remove uma automação.","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json delete /v1/automations/{automationId}","href":"/api-reference/automações/excluir-automação"},{"title":"Parar automação","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json post /v1/automations/{automationId}/stop","href":"/api-reference/automações/parar-automação"},{"title":"Compor automação com IA","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/ai-compose","href":"/api-reference/automações/compor-automação-com-ia"},{"title":"Criar chatbot rápido WhatsApp","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/quick-chatbot","href":"/api-reference/automações/criar-chatbot-rápido-whatsapp"},{"title":"Criar agente pós-disparo","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/post-campaign-agent","href":"/api-reference/automações/criar-agente-pós-disparo"},{"title":"Excluir automações em lote","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/batch/delete","href":"/api-reference/automações/excluir-automações-em-lote"},{"title":"Duplicar automação","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/{automationId}/duplicate","href":"/api-reference/automações/duplicar-automação"},{"title":"Gerar ou revogar secret de webhook","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/{automationId}/webhook-secret","href":"/api-reference/automações/gerar-ou-revogar-secret-de-webhook"},{"title":"Disparar teste da automação","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/automations/{automationId}/test-trigger","href":"/api-reference/automações/disparar-teste-da-automação"}]},{"group":"Runs","pages":[{"title":"Listar execuções","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/automations/{automationId}/runs","href":"/api-reference/runs/listar-execuções"},{"title":"Detalhe da execução","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/automations/{automationId}/runs/{runId}","href":"/api-reference/runs/detalhe-da-execução"}]},{"group":"Assistentes","pages":[{"title":"Listar assistentes","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/assistants","href":"/api-reference/assistentes/listar-assistentes"},{"title":"Criar assistente","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/assistants","href":"/api-reference/assistentes/criar-assistente"},{"title":"Obter assistente","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/assistants/{id}","href":"/api-reference/assistentes/obter-assistente"},{"title":"Atualizar assistente","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/assistants/{id}","href":"/api-reference/assistentes/atualizar-assistente"},{"title":"Excluir assistente","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/assistants/{id}","href":"/api-reference/assistentes/excluir-assistente"},{"title":"Invocar assistente (teste)","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/assistants/{id}/invoke","href":"/api-reference/assistentes/invocar-assistente-teste"},{"title":"Histórico do thread de teste","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/assistants/{id}/invoke/messages","href":"/api-reference/assistentes/histórico-do-thread-de-teste"},{"title":"Listar bindings MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/assistants/{id}/mcp-bindings","href":"/api-reference/assistentes/listar-bindings-mcp"},{"title":"Vincular conexão MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/assistants/{id}/mcp-bindings","href":"/api-reference/assistentes/vincular-conexão-mcp"},{"title":"Atualizar binding MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/assistants/{id}/mcp-bindings/{bindingId}","href":"/api-reference/assistentes/atualizar-binding-mcp"},{"title":"Remover binding MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/assistants/{id}/mcp-bindings/{bindingId}","href":"/api-reference/assistentes/remover-binding-mcp"},{"title":"Listar bindings HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/assistants/{id}/http-tool-bindings","href":"/api-reference/assistentes/listar-bindings-http-tool"},{"title":"Vincular HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/assistants/{id}/http-tool-bindings","href":"/api-reference/assistentes/vincular-http-tool"},{"title":"Remover binding HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/assistants/{id}/http-tool-bindings/{bindingId}","href":"/api-reference/assistentes/remover-binding-http-tool"}]},{"group":"Bases de conhecimento","pages":[{"title":"Listar bases","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/knowledge-bases","href":"/api-reference/bases-de-conhecimento/listar-bases"},{"title":"Criar base","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/knowledge-bases","href":"/api-reference/bases-de-conhecimento/criar-base"},{"title":"Obter base","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/knowledge-bases/{id}","href":"/api-reference/bases-de-conhecimento/obter-base"},{"title":"Atualizar base","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/knowledge-bases/{id}","href":"/api-reference/bases-de-conhecimento/atualizar-base"},{"title":"Excluir base","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/knowledge-bases/{id}","href":"/api-reference/bases-de-conhecimento/excluir-base"},{"title":"Listar documentos","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/knowledge-bases/{id}/documents","href":"/api-reference/bases-de-conhecimento/listar-documentos"},{"title":"Criar documento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/knowledge-bases/{id}/documents","href":"/api-reference/bases-de-conhecimento/criar-documento"},{"title":"Obter documento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/knowledge-bases/{id}/documents/{docId}","href":"/api-reference/bases-de-conhecimento/obter-documento"},{"title":"Atualizar documento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/knowledge-bases/{id}/documents/{docId}","href":"/api-reference/bases-de-conhecimento/atualizar-documento"},{"title":"Excluir documento","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/knowledge-bases/{id}/documents/{docId}","href":"/api-reference/bases-de-conhecimento/excluir-documento"}]},{"group":"MCP","pages":[{"title":"Listar conexões MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/mcp-connections","href":"/api-reference/mcp/listar-conexões-mcp"},{"title":"Criar conexão MCP","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/mcp-connections","href":"/api-reference/mcp/criar-conexão-mcp"},{"title":"Obter conexão","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/mcp-connections/{id}","href":"/api-reference/mcp/obter-conexão"},{"title":"Atualizar conexão","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/mcp-connections/{id}","href":"/api-reference/mcp/atualizar-conexão"},{"title":"Excluir conexão","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/mcp-connections/{id}","href":"/api-reference/mcp/excluir-conexão"},{"title":"Atualizar manifest de tools (CUSTOM_URL)","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/mcp-connections/{id}/refresh-manifest","href":"/api-reference/mcp/atualizar-manifest-de-tools-custom_url"}]},{"group":"HTTP tools","pages":[{"title":"Listar HTTP tools","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/http-tools","href":"/api-reference/http-tools/listar-http-tools"},{"title":"Criar HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json post /v1/http-tools","href":"/api-reference/http-tools/criar-http-tool"},{"title":"Obter HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json get /v1/http-tools/{id}","href":"/api-reference/http-tools/obter-http-tool"},{"title":"Atualizar HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json patch /v1/http-tools/{id}","href":"/api-reference/http-tools/atualizar-http-tool"},{"title":"Excluir HTTP tool","deprecated":null,"version":null,"openapi":"/es/automations-api/api-reference/openapi-automations.json delete /v1/http-tools/{id}","href":"/api-reference/http-tools/excluir-http-tool"}]},{"group":"Inbox","pages":[{"title":"Listar conversas","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/inbox/conversations","href":"/api-reference/inbox/listar-conversas"},{"title":"Detalhe da conversa","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/inbox/conversations/{conversationKey}","href":"/api-reference/inbox/detalhe-da-conversa"},{"title":"Métricas do inbox","deprecated":null,"version":null,"openapi":"/automations-api/api-reference/openapi-automations.json get /v1/inbox/metrics","href":"/api-reference/inbox/métricas-do-inbox"}]}]},{"tab":"Add-ons","pages":[{"title":"Add-ons","href":"/addons"}]}]},{"language":"en","pages":[{"title":"en","href":"/en/welcome/welcome"}]},{"language":"es","pages":[{"title":"es","href":"/es/welcome/welcome"}]}]},"basePath":"","title":"Atualizar automação - Notifique","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}