{
"error": "param is missing or the value is empty: automation_rule"
}
{
"error": "Automation::Rule does not exist."
}
{
"error": "name is required."
}
Automation rules
Update an automation rule
Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.
{
"error": "param is missing or the value is empty: automation_rule"
}
{
"error": "Automation::Rule does not exist."
}
{
"error": "name is required."
}
Replace {your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
X-Api-Key
string
default:your-api-key
required
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
form_id
string
required
Unique ID of the form. Refer to Getting the Form ID for detailed instructions.
id
string
required
Unique ID of the automation rule.
Body
application/json
automation_rule
object
required
Hide child attributes
automation_rule.name
string
Name of the rule. Must be unique in the form, ignoring case. Required when creating a rule.
Example:
"Email the sales team"
automation_rule.description
string
Example:
"New leads"
automation_rule.status
enum<string>
Defaults to enabled.
Available options:
enabled,
disabled
automation_rule.performer
string
any (default), or the name of an organization role.
automation_rule.execution_delay
object | null
How long to wait after the event before the actions run.
Hide child attributes
automation_rule.execution_delay.value
integer
Required range: 1 <= x <= 15
Example:
5
automation_rule.execution_delay.unit
enum<string>
Available options:
minutes,
hours,
days
Example:
"minutes"
automation_rule.events
enum<string>[]
When the rule runs. When you send this on update, it replaces all current events.
Available options:
submission_created,
custom_field_updated
automation_rule.conditions
object[]
Conditions that must match. When you send this on update, it replaces all current conditions.
Hide child attributes
automation_rule.conditions.field
string
ID of a question or a custom field.
automation_rule.conditions.kind
enum<string>
Available options:
record,
custom_field
automation_rule.conditions.verb
string
See the verb values in the response.
automation_rule.conditions.join_type
enum<string>
Available options:
and_operator,
or_operator
automation_rule.conditions.metadata
object
automation_rule.actions
object[]
Actions to run. When you send this on update, it replaces all current actions.
Header values are not returned when you read a rule, so send the header values again when you resend a send_to_api action.
Hide child attributes
automation_rule.actions.name
string
See the name values in the response.
automation_rule.actions.actionable_type
string
automation_rule.actions.actionable_id
string
automation_rule.actions.metadata
object
Response
OK - The automation rule was updated
automation_rule
object
Hide child attributes
automation_rule.id
string
Example:
"0d4a5b8e-2f61-4b0c-8a3e-5f7c9e2d1a44"
automation_rule.name
string
Example:
"Email the sales team"
automation_rule.description
string | null
Example:
"New leads"
automation_rule.status
enum<string>
Available options:
enabled,
disabled
automation_rule.performer
string
any, or the name of an organization role.
Example:
"any"
automation_rule.display_order
integer
Position in the order in which rules run, starting from 1.
automation_rule.disabled_reason
string | null
automation_rule.execution_delay
object | null
How long to wait after the event before the actions run.
Hide child attributes
automation_rule.execution_delay.value
integer
Required range: 1 <= x <= 15
Example:
5
automation_rule.execution_delay.unit
enum<string>
Available options:
minutes,
hours,
days
Example:
"minutes"
automation_rule.created_at
string<date-time>
automation_rule.updated_at
string<date-time>
automation_rule.events
enum<string>[]
Available options:
submission_created,
custom_field_updated
automation_rule.conditions
object[]
Hide child attributes
automation_rule.conditions.id
string
automation_rule.conditions.field
string
ID of a question or a custom field.
automation_rule.conditions.kind
enum<string>
Available options:
record,
custom_field
automation_rule.conditions.verb
string
One of is, is_not, contains, does_not_contain, contains_any_of, contains_all_of, contains_none_of, starts_with, ends_with, any_of, none_of, less_than, greater_than, any_time, during, not_during, is_before or is_after.
Example:
"contains"
automation_rule.conditions.join_type
enum<string>
Available options:
and_operator,
or_operator
automation_rule.conditions.metadata
object
Holds value, or values (a list) for verbs that take many values. For choice questions, use option IDs.
Example:
{ "value": "@example.com" }
automation_rule.actions
object[]
Hide child attributes
automation_rule.actions.id
string
automation_rule.actions.name
string
One of email_to_responder, email_to_form_creator, email_to_all_members, email_to, sms_to_responder, sms_to, send_to_api or assign_field_value.
Example:
"email_to"
automation_rule.actions.actionable_type
string | null
Record for the *_to_responder actions, NeetoFieldsEngine::Field for assign_field_value. Otherwise empty.
automation_rule.actions.actionable_id
string | null
automation_rule.actions.metadata
object
Settings of the action.
Email actions: subject, body and, for email_to, emails. The body can use Liquid, for example {{all-answers}}.
SMS actions: body and, for sms_to, phone_numbers.
*_to_responder actions: value is the ID of the question that holds the responder's address or number.
send_to_api: endpoint, body (a JSON string), enable_custom_headers and custom_headers. Header values are never returned, only the keys.
assign_field_value: value.
Example:
{ "subject": "New lead", "body": "{{all-answers}}", "emails": ["sales@example.com"] }
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoForm Docs","description":"Developer docs for NeetoForm: the REST API and the CLI.","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neetoform-apis/-66QiVVszjHcVucP/assets/logo.svg?fit=max\u0026auto=format\u0026n=-66QiVVszjHcVucP\u0026q=85\u0026s=d350b3ee00a26ab9f9d6f4b30dbd0584","favicon":"https://mintcdn.com/neetoform-apis/HqahXeyqPCNJx-8w/assets/favicon.svg?fit=max\u0026auto=format\u0026n=HqahXeyqPCNJx-8w\u0026q=85\u0026s=1a3b3b7608dee2fae28509f76f624daa","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetoform/blog","label":"Blog"},{"href":"https://help.neetoform.com/","label":"Help center"},{"href":"https://neetoform.com/","label":"NeetoForm"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://neeto.com/community"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neetoform-apis","hasAudioNarration":false,"actualSubdomain":"neetoform-apis","customDomains":["apidocs.neetoform.com"],"gitSource":{"type":"github","owner":"neetoformapis","repo":"neeto-form-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae870c0dffaaabdc1bdb461","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API","count":128},{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"Form settings","count":17},{"language":"default","tag":"Getting started","count":13},{"language":"default","tag":"Forms","count":13},{"language":"default","tag":"Commands","count":12},{"language":"default","tag":"Questions","count":9},{"language":"default","tag":"Discount codes","count":8},{"language":"default","tag":"Automation rules","count":7},{"language":"default","tag":"Conditional logic","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green: #0da874;--white: #ffffff;--light-gray: #eeeeee;--dark-gray: #1f2937;--text-white: rgb(255, 255, 255);--text-light: rgb(238, 238, 238)}#navbar-transition,[data-nav=\"true\"]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}[data-nav=\"true\"] a,#navbar-transition a,.navbar-link a{color:var(--text-white)!important}[data-nav=\"true\"] a:hover,#navbar-transition a:hover,.navbar-link a:hover{color:var(--text-light)!important}#navbar button,#navbar span,#navbar div,#navbar p,#navbar .text-sm,#navbar .text-xs{color:var(--white)!important}#navbar .bg-gray-500,#navbar .bg-gray-400,#navbar .bg-gray-600,#navbar .bg-gray-300{background-color:var(--white)!important}.nav-tabs-item{color:rgba(255, 255, 255, 0.85)!important}.nav-tabs-item:hover,.nav-tabs-item.text-gray-800{color:var(--text-white)!important}.nav-tabs-item .bg-primary{background-color:var(--white)!important}.nav-tabs-item:hover>.absolute:not(.bg-primary){background-color:rgba(255, 255, 255, 0.4)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"]{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .text-gray-600,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:text-gray-400{color:var(--dark-gray)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .hover\\:text-gray-900:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:hover\\:text-gray-300:hover{color:var(--primary-green)!important}#search-bar-entry button,#search-bar-entry span,#search-bar-entry div,#search-bar-entry p,#search-bar-entry img,#search-bar-entry svg,#search-bar-entry .text-sm,#search-bar-entry .text-xs{color:var(--primary-green)!important}"}]}
{"page":{"pagePath":"api/automation-rules/update","slug":"/api/automation-rules/update","pageMetadata":{"title":"Update an automation rule","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/{id}","description":"Update an automation rule. Send only the keys you want to change. When you send `events`, `conditions` or `actions`, it replaces the whole current list. Header values of `send_to_api` actions are never returned, so send them again when you resend such an action.","href":"/api/automation-rules/update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Update an automation rule. Send only the keys you want to change. When you send \", _jsx(_components.code, {\n children: \"events\"\n }), \", \", _jsx(_components.code, {\n children: \"conditions\"\n }), \" or \", _jsx(_components.code, {\n children: \"actions\"\n }), \", it replaces the whole current list. Header values of \", _jsx(_components.code, {\n children: \"send_to_api\"\n }), \" actions are never returned, so send them again when you resend such an action.\"]\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,..._provideComponents(),...props.components},{Info}=_components;if(!Info)_missingMdxReference(`Info`,true);return _jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/api/workspace-subdomain`,children:`Workspace subdomain`}),`.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Update an automation rule","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/{id}","description":"Update an automation rule. Send only the keys you want to change. When you send `events`, `conditions` or `actions`, it replaces the whole current list. Header values of `send_to_api` actions are never returned, so send them again when you resend such an action.","href":"/api/automation-rules/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetoform-apis/c7a6987cd31f1479/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Update an automation rule","tags":["Automation Rules"],"description":"Update an automation rule. Send only the keys you want to change. When you send `events`, `conditions` or `actions`, it replaces the whole current list. Header values of `send_to_api` actions are never returned, so send them again when you resend such an action.","parameters":["43f7248c-ce54-4cca-abb6-66dbe82584cb","f2a9a534-00d2-475b-9d0d-14ce70bb670b","61fc38a1-f535-4abc-96b4-b21b88da7d65"],"requestBody":"b5ff45d6-ee25-474a-bf82-04513476ef1c","responses":{"200":"03b33e00-205b-420d-91e0-75166007b551","400":"5f8aba47-443c-464c-9a3f-e5dbd0e49c0b","404":"3679b043-7360-4874-9b09-69514e07cf6e","422":"85b5cab0-5012-4044-bdd3-e4c002cc325e"},"method":"patch","type":"path","servers":["cc5f5941-286e-4d83-b670-4306ff3a41bc"],"security":[],"path":"/forms/{form_id}/automation_rules/{id}","baseUrlOptions":["https://{your-subdomain}.neetoform.com/api/external/v2"],"title":"Update an automation rule","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"43f7248c-ce54-4cca-abb6-66dbe82584cb":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","required":true,"schema":{"type":"string","default":"your-api-key","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","uniqueKey":"","typeLabel":"string"}},"f2a9a534-00d2-475b-9d0d-14ce70bb670b":{"in":"path","name":"form_id","description":"Unique ID of the form. Refer to [Getting the Form ID](/api/getting-form-id) for detailed instructions.","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique ID of the form. Refer to [Getting the Form ID](/api/getting-form-id) for detailed instructions.","uniqueKey":"","typeLabel":"string"}},"61fc38a1-f535-4abc-96b4-b21b88da7d65":{"in":"path","name":"id","description":"Unique ID of the automation rule.","required":true,"schema":{"type":"string","isRequired":true,"description":"Unique ID of the automation rule.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["automation_rule"],"properties":{"automation_rule":{"type":"object","properties":{"name":{"type":"string","description":"Name of the rule. Must be unique in the form, ignoring case. Required when creating a rule.","example":"Email the sales team","uniqueKey":"automation_rule.name","typeLabel":"string"},"description":{"type":"string","example":"New leads","uniqueKey":"automation_rule.description","typeLabel":"string"},"status":{"type":"string","enum":["enabled","disabled"],"description":"Defaults to `enabled`.","uniqueKey":"automation_rule.status","typeLabel":"enum\u003cstring>"},"performer":{"type":"string","description":"`any` (default), or the name of an organization role.","uniqueKey":"automation_rule.performer","typeLabel":"string"},"execution_delay":{"oneOf":[{"type":"object","description":"How long to wait after the event before the actions run.","properties":{"value":{"type":"integer","minimum":1,"maximum":15,"example":5,"uniqueKey":"automation_rule.execution_delay.oneOf.0.value","typeLabel":"integer"},"unit":{"type":"string","enum":["minutes","hours","days"],"example":"minutes","uniqueKey":"automation_rule.execution_delay.oneOf.0.unit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"automation_rule.execution_delay.oneOf.0","typeLabel":"object"},{"type":"null","description":"How long to wait after the event before the actions run.","properties":{"value":{"type":"integer","minimum":1,"maximum":15,"example":5},"unit":{"type":"string","enum":["minutes","hours","days"],"example":"minutes"}},"uniqueKey":"automation_rule.execution_delay.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.execution_delay","typeLabel":"object | null"},"events":{"type":"array","description":"When the rule runs. When you send this on update, it replaces all current events.","items":{"type":"string","enum":["submission_created","custom_field_updated"],"uniqueKey":"automation_rule.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"automation_rule.events","typeLabel":"enum\u003cstring>[]"},"conditions":{"type":"array","description":"Conditions that must match. When you send this on update, it replaces all current conditions.","items":{"type":"object","properties":{"field":{"type":"string","description":"ID of a question or a custom field.","uniqueKey":"automation_rule.conditions.items.[INDEX].field","typeLabel":"string"},"kind":{"type":"string","enum":["record","custom_field"],"uniqueKey":"automation_rule.conditions.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"verb":{"type":"string","description":"See the `verb` values in the response.","uniqueKey":"automation_rule.conditions.items.[INDEX].verb","typeLabel":"string"},"join_type":{"type":"string","enum":["and_operator","or_operator"],"uniqueKey":"automation_rule.conditions.items.[INDEX].join_type","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","uniqueKey":"automation_rule.conditions.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"automation_rule.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"automation_rule.conditions","typeLabel":"object[]"},"actions":{"type":"array","description":"Actions to run. When you send this on update, it replaces all current actions.\nHeader values are not returned when you read a rule, so send the header values again when you resend a `send_to_api` action.\n","items":{"type":"object","properties":{"name":{"type":"string","description":"See the `name` values in the response.","uniqueKey":"automation_rule.actions.items.[INDEX].name","typeLabel":"string"},"actionable_type":{"type":"string","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_type","typeLabel":"string"},"actionable_id":{"type":"string","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_id","typeLabel":"string"},"metadata":{"type":"object","uniqueKey":"automation_rule.actions.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"automation_rule.actions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"automation_rule.actions","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"automation_rule","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"automation_rule":{"name":"Email the sales team","description":"New leads","performer":"\u003cstring>","execution_delay":{"value":5,"unit":"minutes"},"events":[],"conditions":[{"field":"\u003cstring>","verb":"\u003cstring>","metadata":{}}],"actions":[{"name":"\u003cstring>","actionable_type":"\u003cstring>","actionable_id":"\u003cstring>","metadata":{}}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"03b33e00-205b-420d-91e0-75166007b551":{"description":"OK - The automation rule was updated","content":{"application/json":{"schema":{"type":"object","properties":{"automation_rule":{"type":"object","properties":{"id":{"type":"string","example":"0d4a5b8e-2f61-4b0c-8a3e-5f7c9e2d1a44","uniqueKey":"automation_rule.id","typeLabel":"string"},"name":{"type":"string","example":"Email the sales team","uniqueKey":"automation_rule.name","typeLabel":"string"},"description":{"oneOf":[{"type":"string","example":"New leads","uniqueKey":"automation_rule.description.oneOf.0","typeLabel":"string"},{"type":"null","example":"New leads","uniqueKey":"automation_rule.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.description","typeLabel":"string | null"},"status":{"type":"string","enum":["enabled","disabled"],"uniqueKey":"automation_rule.status","typeLabel":"enum\u003cstring>"},"performer":{"type":"string","description":"`any`, or the name of an organization role.","example":"any","uniqueKey":"automation_rule.performer","typeLabel":"string"},"display_order":{"type":"integer","description":"Position in the order in which rules run, starting from 1.","uniqueKey":"automation_rule.display_order","typeLabel":"integer"},"disabled_reason":{"oneOf":[{"type":"string","uniqueKey":"automation_rule.disabled_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"automation_rule.disabled_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.disabled_reason","typeLabel":"string | null"},"execution_delay":{"oneOf":[{"type":"object","description":"How long to wait after the event before the actions run.","properties":{"value":{"type":"integer","minimum":1,"maximum":15,"example":5,"uniqueKey":"automation_rule.execution_delay.oneOf.0.value","typeLabel":"integer"},"unit":{"type":"string","enum":["minutes","hours","days"],"example":"minutes","uniqueKey":"automation_rule.execution_delay.oneOf.0.unit","typeLabel":"enum\u003cstring>"}},"uniqueKey":"automation_rule.execution_delay.oneOf.0","typeLabel":"object"},{"type":"null","description":"How long to wait after the event before the actions run.","properties":{"value":{"type":"integer","minimum":1,"maximum":15,"example":5},"unit":{"type":"string","enum":["minutes","hours","days"],"example":"minutes"}},"uniqueKey":"automation_rule.execution_delay.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.execution_delay","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"automation_rule.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"automation_rule.updated_at","typeLabel":"string\u003cdate-time>"},"events":{"type":"array","items":{"type":"string","enum":["submission_created","custom_field_updated"],"uniqueKey":"automation_rule.events.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"automation_rule.events","typeLabel":"enum\u003cstring>[]"},"conditions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"automation_rule.conditions.items.[INDEX].id","typeLabel":"string"},"field":{"type":"string","description":"ID of a question or a custom field.","uniqueKey":"automation_rule.conditions.items.[INDEX].field","typeLabel":"string"},"kind":{"type":"string","enum":["record","custom_field"],"uniqueKey":"automation_rule.conditions.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"verb":{"type":"string","description":"One of `is`, `is_not`, `contains`, `does_not_contain`, `contains_any_of`, `contains_all_of`, `contains_none_of`, `starts_with`, `ends_with`, `any_of`, `none_of`, `less_than`, `greater_than`, `any_time`, `during`, `not_during`, `is_before` or `is_after`.","example":"contains","uniqueKey":"automation_rule.conditions.items.[INDEX].verb","typeLabel":"string"},"join_type":{"type":"string","enum":["and_operator","or_operator"],"uniqueKey":"automation_rule.conditions.items.[INDEX].join_type","typeLabel":"enum\u003cstring>"},"metadata":{"type":"object","description":"Holds `value`, or `values` (a list) for verbs that take many values. For choice questions, use option IDs.","example":{"value":"@example.com"},"uniqueKey":"automation_rule.conditions.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"automation_rule.conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"automation_rule.conditions","typeLabel":"object[]"},"actions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"automation_rule.actions.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"One of `email_to_responder`, `email_to_form_creator`, `email_to_all_members`, `email_to`, `sms_to_responder`, `sms_to`, `send_to_api` or `assign_field_value`.","example":"email_to","uniqueKey":"automation_rule.actions.items.[INDEX].name","typeLabel":"string"},"actionable_type":{"oneOf":[{"type":"string","description":"`Record` for the `*_to_responder` actions, `NeetoFieldsEngine::Field` for `assign_field_value`. Otherwise empty.","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"`Record` for the `*_to_responder` actions, `NeetoFieldsEngine::Field` for `assign_field_value`. Otherwise empty.","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.actions.items.[INDEX].actionable_type","typeLabel":"string | null"},"actionable_id":{"oneOf":[{"type":"string","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"automation_rule.actions.items.[INDEX].actionable_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"automation_rule.actions.items.[INDEX].actionable_id","typeLabel":"string | null"},"metadata":{"type":"object","description":"Settings of the action.\n- Email actions: `subject`, `body` and, for `email_to`, `emails`. The body can use Liquid, for example `{{all-answers}}`.\n- SMS actions: `body` and, for `sms_to`, `phone_numbers`.\n- `*_to_responder` actions: `value` is the ID of the question that holds the responder's address or number.\n- `send_to_api`: `endpoint`, `body` (a JSON string), `enable_custom_headers` and `custom_headers`. Header values are never returned, only the keys.\n- `assign_field_value`: `value`.\n","example":{"subject":"New lead","body":"{{all-answers}}","emails":["sales@example.com"]},"uniqueKey":"automation_rule.actions.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"automation_rule.actions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"automation_rule.actions","typeLabel":"object[]"}},"uniqueKey":"automation_rule","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"automation_rule":{"id":"0d4a5b8e-2f61-4b0c-8a3e-5f7c9e2d1a44","name":"Email the sales team","description":"New leads","status":"enabled","performer":"any","display_order":123,"disabled_reason":"\u003cstring>","execution_delay":{"value":5,"unit":"minutes"},"created_at":"2023-11-07T05:31:56Z","updated_at":"2023-11-07T05:31:56Z","events":["submission_created"],"conditions":[{"id":"\u003cstring>","field":"\u003cstring>","kind":"record","verb":"contains","join_type":"and_operator","metadata":{"value":"@example.com"}}],"actions":[{"id":"\u003cstring>","name":"email_to","actionable_type":"\u003cstring>","actionable_id":"\u003cstring>","metadata":{"subject":"New lead","body":"{{all-answers}}","emails":["sales@example.com"]}}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"5f8aba47-443c-464c-9a3f-e5dbd0e49c0b":{"description":"Bad Request - The `automation_rule` key is missing","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"param is missing or the value is empty: automation_rule"},"examples":{"Example":{"title":"Example","value":{"error":"param is missing or the value is empty: automation_rule"}}},"exampleType":"examples"}},"exampleType":"examples"},"3679b043-7360-4874-9b09-69514e07cf6e":{"description":"Not Found - The form or the automation rule does not exist","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Automation::Rule does not exist."},"examples":{"Example":{"title":"Example","value":{"error":"Automation::Rule does not exist."}}},"exampleType":"examples"}},"exampleType":"examples"},"85b5cab0-5012-4044-bdd3-e4c002cc325e":{"description":"Unprocessable Entity - The rule is invalid, for example the name is missing or already used","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"name is required."},"examples":{"Example":{"title":"Example","value":{"error":"name is required."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"cc5f5941-286e-4d83-b670-4306ff3a41bc":{"description":"NeetoForm APIs","url":"https://{your-subdomain}.neetoform.com/api/external/v2","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/api/workspace-subdomain)."}}}}},"originalFileLocation":"bundled/automation-rules.yaml"},"subdomain":"neetoform-apis","siteName":"NeetoForm Docs","title":"Update an automation rule - NeetoForm Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T21:24:22.992Z","originalFileLocation":"api/automation-rules/update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_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/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update an automation rule - NeetoForm Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetoform.com/api/automation-rules/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetoform-apis.mintlify.site/_mintlify/api/og/v2?division=Automation+rules\u0026amp;title=Update+an+automation+rule\u0026amp;description=Update+an+automation+rule.+Send+only+the+keys+you+want+to+change.+When+you+send+%60events%60%2C+%60conditions%60+or+%60actions%60%2C+it+replaces+the+whole+current+list.+Header+\u0026amp;theme=643883eb564d2b47e0c20f73\u0026amp;signature=1c2e0ee81db48914c49c1f8dd05a584d34d0e5abcdce97bcc0f97a37c7bd7f90\">\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=\"Update an automation rule - NeetoForm Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetoform-apis.mintlify.site/_mintlify/api/og/v2?division=Automation+rules\u0026amp;title=Update+an+automation+rule\u0026amp;description=Update+an+automation+rule.+Send+only+the+keys+you+want+to+change.+When+you+send+%60events%60%2C+%60conditions%60+or+%60actions%60%2C+it+replaces+the+whole+current+list.+Header+\u0026amp;theme=643883eb564d2b47e0c20f73\u0026amp;signature=1c2e0ee81db48914c49c1f8dd05a584d34d0e5abcdce97bcc0f97a37c7bd7f90\">\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/neetoform-apis/jLxdB8ISa_rQQzIo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoForm Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetoform.com/api/automation-rules/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/automation-rules/update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetoform.com/#organization\",\"name\":\"NeetoForm Docs\",\"url\":\"https://apidocs.neetoform.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neetoform-apis/-66QiVVszjHcVucP/assets/logo.svg?fit=max\u0026auto=format\u0026n=-66QiVVszjHcVucP\u0026q=85\u0026s=d350b3ee00a26ab9f9d6f4b30dbd0584\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetoform.com#website\",\"name\":\"NeetoForm Docs\",\"url\":\"https://apidocs.neetoform.com\",\"publisher\":{\"@id\":\"https://apidocs.neetoform.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/update#webpage\",\"url\":\"https://apidocs.neetoform.com/api/automation-rules/update\",\"name\":\"Update an automation rule\",\"description\":\"Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.\",\"dateModified\":\"2026-10-28T21:24:22.992Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetoform.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automation rules\",\"item\":\"https://apidocs.neetoform.com/api/automation-rules/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update an automation rule\",\"item\":\"https://apidocs.neetoform.com/api/automation-rules/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/update#apireference\",\"headline\":\"Update an automation rule\",\"name\":\"Update an automation rule\",\"description\":\"Update an automation rule. Send only the keys you want to change. When you send events, conditions or actions, it replaces the whole current list. Header values of send_to_api actions are never returned, so send them again when you resend such an action.\",\"url\":\"https://apidocs.neetoform.com/api/automation-rules/update\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/update#webpage\"},\"dateModified\":\"2026-10-28T21:24:22.992Z\",\"publisher\":{\"@id\":\"https://apidocs.neetoform.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetoform.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoForm Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NeetoForm Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/automation-rules/update.md","siteName":"NeetoForm Docs","nav":{"global":null,"tabs":[{"tab":"API","icon":"code","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"NeetoForm API","href":"/api/introduction"},{"title":"Workspace subdomain","href":"/api/workspace-subdomain"},{"title":"Authentication","href":"/api/authentication"},{"title":"Pagination","href":"/api/pagination"},{"title":"HTTP response codes","href":"/api/response-codes"},{"title":"Getting the form ID","href":"/api/getting-form-id"}]},{"group":"Forms","icon":"file-text","pages":[{"title":"List forms","openapi":"bundled/forms.yaml GET /forms","href":"/api/forms/list"},{"title":"Show a form","openapi":"bundled/forms.yaml GET /forms/{form_id}","href":"/api/forms/show"},{"title":"Show a form outline","openapi":"bundled/forms.yaml GET /forms/{form_id}/outline","href":"/api/forms/outline"},{"title":"Create form","openapi":"bundled/forms.yaml POST /forms","href":"/api/forms/create"},{"title":"Update a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}","href":"/api/forms/update"},{"title":"Delete a form","openapi":"bundled/forms.yaml DELETE /forms/{form_id}","href":"/api/forms/delete"},{"title":"Update many forms","openapi":"bundled/forms.yaml PATCH /forms/bulk_update","href":"/api/forms/bulk-update"},{"title":"Delete many forms","openapi":"bundled/forms.yaml DELETE /forms/bulk_destroy","href":"/api/forms/bulk-delete"},{"title":"Count forms","openapi":"bundled/forms.yaml GET /forms/counts","href":"/api/forms/counts"},{"title":"Clone a form","openapi":"bundled/forms.yaml POST /forms/{form_id}/clone","href":"/api/forms/clone"},{"title":"Publish a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}/publish","href":"/api/forms/publish"},{"title":"Reset a form","openapi":"bundled/forms.yaml PATCH /forms/{form_id}/reset","href":"/api/forms/reset"},{"title":"Transfer forms","openapi":"bundled/forms.yaml POST /forms/transfer","href":"/api/forms/transfer"}]},{"group":"Questions","icon":"circle-question","pages":[{"title":"List question kinds","openapi":"bundled/questions.yaml GET /question_kinds","href":"/api/questions/kinds"},{"title":"List questions","openapi":"bundled/questions.yaml GET /forms/{form_id}/questions","href":"/api/questions/list"},{"title":"Show a question","openapi":"bundled/questions.yaml GET /forms/{form_id}/questions/{id}","href":"/api/questions/show"},{"title":"Add a question","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions","href":"/api/questions/create"},{"title":"Add questions in bulk","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions/bulk_create","href":"/api/questions/bulk-create"},{"title":"Update a question","openapi":"bundled/questions.yaml PATCH /forms/{form_id}/questions/{id}","href":"/api/questions/update"},{"title":"Delete a question","openapi":"bundled/questions.yaml DELETE /forms/{form_id}/questions/{id}","href":"/api/questions/delete"},{"title":"Duplicate a question","openapi":"bundled/questions.yaml POST /forms/{form_id}/questions/{id}/clone","href":"/api/questions/clone"},{"title":"Reorder questions","openapi":"bundled/questions.yaml PATCH /forms/{form_id}/questions/reorder","href":"/api/questions/reorder"}]},{"group":"Conditional logic","icon":"code-branch","pages":[{"title":"List conditions","openapi":"bundled/conditions.yaml GET /forms/{form_id}/conditions","href":"/api/conditions/list"},{"title":"Show a condition","openapi":"bundled/conditions.yaml GET /forms/{form_id}/conditions/{id}","href":"/api/conditions/show"},{"title":"Create a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions","href":"/api/conditions/create"},{"title":"Update a condition","openapi":"bundled/conditions.yaml PATCH /forms/{form_id}/conditions/{id}","href":"/api/conditions/update"},{"title":"Delete a condition","openapi":"bundled/conditions.yaml DELETE /forms/{form_id}/conditions/{id}","href":"/api/conditions/delete"},{"title":"Clone a condition","openapi":"bundled/conditions.yaml POST /forms/{form_id}/conditions/{id}/clone","href":"/api/conditions/clone"},{"title":"Reorder conditions","openapi":"bundled/conditions.yaml PATCH /forms/{form_id}/conditions/reorder","href":"/api/conditions/reorder"}]},{"group":"Automation rules","icon":"bolt","pages":[{"title":"List automation rules","openapi":"bundled/automation-rules.yaml GET /forms/{form_id}/automation_rules","href":"/api/automation-rules/list"},{"title":"Show an automation rule","openapi":"bundled/automation-rules.yaml GET /forms/{form_id}/automation_rules/{id}","href":"/api/automation-rules/show"},{"title":"Create an automation rule","openapi":"bundled/automation-rules.yaml POST /forms/{form_id}/automation_rules","description":"Create an automation rule. A rule runs actions, such as sending emails or texts or calling an API endpoint, when its events happen and its conditions match. `name` is required.","href":"/api/automation-rules/create"},{"title":"Update an automation rule","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/{id}","href":"/api/automation-rules/update"},{"title":"Delete an automation rule","openapi":"bundled/automation-rules.yaml DELETE /forms/{form_id}/automation_rules/{id}","description":"Delete an automation rule.","href":"/api/automation-rules/delete"},{"title":"Clone an automation rule","openapi":"bundled/automation-rules.yaml POST /forms/{form_id}/automation_rules/{id}/clone","href":"/api/automation-rules/clone"},{"title":"Reorder automation rules","openapi":"bundled/automation-rules.yaml PATCH /forms/{form_id}/automation_rules/reorder","href":"/api/automation-rules/reorder"}]},{"group":"Thank-you pages","icon":"circle-check","pages":[{"title":"List thank-you pages","openapi":"bundled/thank-you-pages.yaml GET /forms/{form_id}/thank_you_pages","href":"/api/thank-you-pages/list"},{"title":"Add a thank-you page","openapi":"bundled/thank-you-pages.yaml POST /forms/{form_id}/thank_you_pages","href":"/api/thank-you-pages/create"},{"title":"Get a thank-you page","openapi":"bundled/thank-you-pages.yaml GET /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/show"},{"title":"Update a thank-you page","openapi":"bundled/thank-you-pages.yaml PATCH /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/update"},{"title":"Delete a thank-you page","openapi":"bundled/thank-you-pages.yaml DELETE /forms/{form_id}/thank_you_pages/{id}","href":"/api/thank-you-pages/delete"}]},{"group":"Form settings","icon":"sliders","pages":[{"title":"Get email notification settings","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/email_notifications/{kind}","href":"/api/form-settings/show-email-notification"},{"title":"Update email notification settings","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/email_notifications/{kind}","href":"/api/form-settings/update-email-notification"},{"title":"Get unique submission setting","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/unique_submission","href":"/api/form-settings/show-unique-submission"},{"title":"Update unique submission setting","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/unique_submission","href":"/api/form-settings/update-unique-submission"},{"title":"Get form availability","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/availability","href":"/api/form-settings/show-availability"},{"title":"Update form availability","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/availability","href":"/api/form-settings/update-availability"},{"title":"Get access control","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/access_control","href":"/api/form-settings/show-access-control"},{"title":"Update access control","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/access_control","href":"/api/form-settings/update-access-control"},{"title":"List access control invitations","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/access_control_invitations","href":"/api/form-settings/list-invitations"},{"title":"Add access control invitations","openapi":"bundled/form-settings.yaml POST /forms/{form_id}/access_control_invitations","href":"/api/form-settings/create-invitations"},{"title":"Remove access control invitations","openapi":"bundled/form-settings.yaml DELETE /forms/{form_id}/access_control_invitations","href":"/api/form-settings/delete-invitations"},{"title":"List discount codes of a form","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/discount_codes","href":"/api/form-settings/list-discount-codes"},{"title":"Update discount codes of a form","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/discount_codes","href":"/api/form-settings/update-discount-codes"},{"title":"Get tracking codes","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/tracking_codes","href":"/api/form-settings/show-tracking-codes"},{"title":"Update tracking codes","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/tracking_codes","href":"/api/form-settings/update-tracking-codes"},{"title":"Get NeetoChat setting","openapi":"bundled/form-settings.yaml GET /forms/{form_id}/neeto_chat","href":"/api/form-settings/show-neeto-chat"},{"title":"Update NeetoChat setting","openapi":"bundled/form-settings.yaml PATCH /forms/{form_id}/neeto_chat","href":"/api/form-settings/update-neeto-chat"}]},{"group":"Message templates","icon":"envelope","pages":[{"title":"List message templates","openapi":"bundled/message-templates.yaml GET /forms/{form_id}/message_templates","href":"/api/message-templates/list"},{"title":"Add a message template","openapi":"bundled/message-templates.yaml POST /forms/{form_id}/message_templates","href":"/api/message-templates/create"},{"title":"Get a message template","openapi":"bundled/message-templates.yaml GET /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/show"},{"title":"Update a message template","openapi":"bundled/message-templates.yaml PATCH /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/update"},{"title":"Delete a message template","openapi":"bundled/message-templates.yaml DELETE /forms/{form_id}/message_templates/{id}","href":"/api/message-templates/delete"}]},{"group":"Share","icon":"share-nodes","pages":[{"title":"Get share details","openapi":"bundled/share.yaml GET /forms/{form_id}/share","href":"/api/share/show"},{"title":"Update the public link","openapi":"bundled/share.yaml PATCH /forms/{form_id}/public_link","href":"/api/share/update-public-link"},{"title":"Create a prefilled link","openapi":"bundled/share.yaml POST /forms/{form_id}/prefilled_link","href":"/api/share/prefilled-link"},{"title":"Send email invitations","openapi":"bundled/share.yaml POST /forms/{form_id}/email_invitations","href":"/api/share/email-invitations"}]},{"group":"Submissions","icon":"inbox","pages":[{"title":"List submissions","openapi":"bundled/submissions.yaml GET /forms/{form_id}/submissions","href":"/api/submissions/list"},{"title":"Get a submission","openapi":"bundled/submissions.yaml GET /forms/{form_id}/submissions/{id}","href":"/api/submissions/get"},{"title":"Delete a submission","openapi":"bundled/submissions.yaml DELETE /forms/{form_id}/submissions/{id}","href":"/api/submissions/delete"},{"title":"Delete submissions in bulk","openapi":"bundled/submissions.yaml DELETE /forms/{form_id}/submissions/bulk_destroy","href":"/api/submissions/bulk-delete"},{"title":"Send responses by email","openapi":"bundled/submissions.yaml POST /forms/{form_id}/submissions/send_responses","href":"/api/submissions/send-responses"},{"title":"Export submissions","openapi":"bundled/submissions.yaml POST /forms/{form_id}/exports","href":"/api/submissions/export"},{"title":"Get form insights","openapi":"bundled/submissions.yaml GET /forms/{form_id}/insights","href":"/api/submissions/insights"}]},{"group":"Themes","icon":"palette","pages":[{"title":"List themes","openapi":"bundled/themes.yaml GET /themes","href":"/api/themes/list"},{"title":"Get a theme","openapi":"bundled/themes.yaml GET /themes/{id}","href":"/api/themes/show"},{"title":"Create a theme","openapi":"bundled/themes.yaml POST /themes","href":"/api/themes/create"},{"title":"Update a theme","openapi":"bundled/themes.yaml PATCH /themes/{id}","href":"/api/themes/update"},{"title":"Delete a theme","openapi":"bundled/themes.yaml DELETE /themes/{id}","href":"/api/themes/delete"},{"title":"Apply a theme to a form","openapi":"bundled/themes.yaml PATCH /forms/{form_id}/theme","href":"/api/themes/apply"},{"title":"Upload a theme background image","href":"/api/themes/background-image"}]},{"group":"Images","icon":"image","pages":[{"title":"Upload an image from a URL","openapi":"bundled/images.yaml POST /images","href":"/api/images/upload-from-url"},{"title":"Reserve an image upload","openapi":"bundled/images.yaml POST /image_uploads","href":"/api/images/reserve-upload"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"List form webhooks","openapi":"bundled/webhooks.yaml GET /forms/{form_id}/webhooks","href":"/api/webhooks/list-form"},{"title":"Create a form webhook","openapi":"bundled/webhooks.yaml POST /forms/{form_id}/webhooks","href":"/api/webhooks/create-form"},{"title":"List workspace webhooks","openapi":"bundled/webhooks.yaml GET /webhooks","href":"/api/webhooks/list"},{"title":"Create a workspace webhook","openapi":"bundled/webhooks.yaml POST /webhooks","href":"/api/webhooks/create"},{"title":"Get a webhook","openapi":"bundled/webhooks.yaml GET /webhooks/{id}","href":"/api/webhooks/show"},{"title":"Delete a webhook","openapi":"bundled/webhooks.yaml DELETE /webhooks/{id}","href":"/api/webhooks/delete"}]},{"group":"Discount codes","icon":"tag","pages":[{"title":"List discount codes","openapi":"bundled/discount-codes.yaml GET /discount_codes","href":"/api/discount-codes/list"},{"title":"Get a discount code","openapi":"bundled/discount-codes.yaml GET /discount_codes/{id}","href":"/api/discount-codes/show"},{"title":"Create a discount code","openapi":"bundled/discount-codes.yaml POST /discount_codes","href":"/api/discount-codes/create"},{"title":"Update a discount code","openapi":"bundled/discount-codes.yaml PATCH /discount_codes/{id}","href":"/api/discount-codes/update"},{"title":"Delete a discount code","openapi":"bundled/discount-codes.yaml DELETE /discount_codes/{id}","href":"/api/discount-codes/delete"},{"title":"List forms for discount codes","openapi":"bundled/discount-codes.yaml GET /discount_codes/forms","href":"/api/discount-codes/list-forms"},{"title":"List redemptions","openapi":"bundled/discount-codes.yaml GET /discount_codes/{discount_code_id}/redemptions","href":"/api/discount-codes/redemptions"},{"title":"Get the report","openapi":"bundled/discount-codes.yaml GET /discount_codes/{discount_code_id}/report","href":"/api/discount-codes/report"}]},{"group":"Templates","icon":"copy","pages":[{"title":"List templates","openapi":"bundled/templates.yaml GET /templates","href":"/api/templates/list"},{"title":"Get a template","openapi":"bundled/templates.yaml GET /templates/{id}","href":"/api/templates/show"},{"title":"Create a form from a template","openapi":"bundled/templates.yaml POST /templates/{template_id}/forms","href":"/api/templates/create-form"}]},{"group":"Team members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api/team-members/list"},{"title":"Get a team member","openapi":"bundled/team-members.yaml GET /team-members/{team_member_id}","href":"/api/team-members/show"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api/team-members/add"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api/team-members/update"},{"title":"Remove team member","openapi":"bundled/team-members.yaml DELETE /team-members/{team_member_id}","href":"/api/team-members/remove"},{"title":"List deactivated team members","openapi":"bundled/deactivated-team-members.yaml GET /deactivated_team_members","href":"/api/team-members/list-deactivated"},{"title":"Reactivate a team member","openapi":"bundled/deactivated-team-members.yaml PATCH /deactivated_team_members/{id}/reactivate","href":"/api/team-members/reactivate"}]},{"group":"Roles","icon":"user-shield","pages":[{"title":"List roles","openapi":"bundled/roles.yaml GET /roles","href":"/api/roles/list"}]},{"group":"Audit logs","icon":"clock-rotate-left","pages":[{"title":"List audit logs","openapi":"bundled/audit-logs.yaml GET /audit_logs","href":"/api/audit-logs/list"}]},{"group":"IP restriction","icon":"shield","pages":[{"title":"Get IP restriction","openapi":"bundled/ip-restriction.yaml GET /ip_restriction","href":"/api/ip-restriction/show"}]},{"group":"Custom domains","icon":"globe","pages":[{"title":"List custom domains","openapi":"bundled/custom-domains.yaml GET /custom_domains","href":"/api/custom-domains/list"},{"title":"Get a custom domain","openapi":"bundled/custom-domains.yaml GET /custom_domains/{hostname}","href":"/api/custom-domains/show"},{"title":"Add a custom domain","openapi":"bundled/custom-domains.yaml POST /custom_domains","href":"/api/custom-domains/create"},{"title":"Remove a custom domain","openapi":"bundled/custom-domains.yaml DELETE /custom_domains/{hostname}","href":"/api/custom-domains/delete"}]},{"group":"API keys","icon":"key","pages":[{"title":"List API keys","openapi":"bundled/api-keys.yaml GET /api_keys","href":"/api/api-keys/list"},{"title":"Revoke an API key","openapi":"bundled/api-keys.yaml DELETE /api_keys/{id}","href":"/api/api-keys/delete"}]},{"group":"API v1 (deprecated)","icon":"triangle-exclamation","pages":[{"title":"List forms","openapi":"bundled-v1/forms.yaml GET /forms","href":"/api-reference-v1/forms/list"},{"title":"List submissions","openapi":"bundled-v1/submissions.yaml GET /forms/{form_id}/submissions","href":"/api-reference-v1/submissions/list"},{"title":"List team members","openapi":"bundled-v1/team-members.yaml GET /team_members","href":"/api-reference-v1/team-members/list"},{"title":"Add team members","openapi":"bundled-v1/team-members.yaml POST /team_members","href":"/api-reference-v1/team-members/add"},{"title":"Update team member","openapi":"bundled-v1/team-members.yaml PATCH /team_members/{team_member_id}","href":"/api-reference-v1/team-members/update"},{"title":"Remove team members","openapi":"bundled-v1/team-members.yaml DELETE /team_members","href":"/api-reference-v1/team-members/remove"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},"basePath":"","title":"Update an automation rule - NeetoForm Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}