{
"error": "param is missing or the value is empty: automation_rule"
}
{
"error": "Form does not exist."
}
{
"error": "name is required."
}
Automation rules
Create an automation rule
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.
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.
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, the CLI and the MCP server.","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":""},"chroma":{"liveDeploymentHistoryId":"6ad8b1b2b264ebf3acb4af55","collectionId":"0e1d27db-f968-4988-86eb-56eb22164ea8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8b1b2b264ebf3acb4af55"},"entitlements":{},"buildId":"6ae267f52d16dd113501a871","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API","count":21},{"language":"default","tag":"Getting started","count":20},{"language":"default","tag":"CLI","count":11},{"language":"default","tag":"MCP","count":8},{"language":"default","tag":"API v1 (deprecated)","count":6},{"language":"default","tag":"Team members","count":5},{"language":"default","tag":"Commands","count":4},{"language":"default","tag":"Forms","count":3},{"language":"default","tag":"Submissions","count":1},{"language":"default","tag":"Reference","count":1}]},"assistantConfig":{},"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":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-enabled","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}#navbar-transition a,.nav-tabs-item.text-gray-800,.nav-tabs-item:hover,.navbar-link a,[data-nav=true] a{color:var(--text-white)!important}#navbar-transition a:hover,.navbar-link a:hover,[data-nav=true] a:hover{color:var(--text-light)!important}#navbar .text-sm,#navbar .text-xs,#navbar button,#navbar div,#navbar p,#navbar span{color:var(--white)!important}#navbar .bg-gray-300,#navbar .bg-gray-400,#navbar .bg-gray-500,#navbar .bg-gray-600,.nav-tabs-item .bg-primary,[data-headlessui-state=open] [id*=headlessui-dialog-panel]{background-color:var(--white)!important}.nav-tabs-item{color:rgba(255,255,255,.85)!important}.nav-tabs-item:hover>.absolute:not(.bg-primary){background-color:rgba(255,255,255,.4)!important}[data-headlessui-state=open] [id*=headlessui-dialog-panel] .dark\\:text-gray-400,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .navbar-link a,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .text-gray-600{color:var(--dark-gray)!important}#search-bar-entry .text-sm,#search-bar-entry .text-xs,#search-bar-entry button,#search-bar-entry div,#search-bar-entry img,#search-bar-entry p,#search-bar-entry span,#search-bar-entry svg,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .dark\\:hover\\:text-gray-300:hover,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .hover\\:text-gray-900:hover,[data-headlessui-state=open] [id*=headlessui-dialog-panel] .navbar-link a:hover{color:var(--primary-green)!important}"}],"page":{"pagePath":"api/automation-rules/create","slug":"/api/automation-rules/create","pageMetadata":{"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"},"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: [\"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. \", _jsx(_components.code, {\n children: \"name\"\n }), \" is required.\"]\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":"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"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetoform-apis/c7a6987cd31f1479/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Create an automation rule","tags":["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.","parameters":["76d2081d-4693-47a5-b476-16485e784ff3","1ce619f0-0195-4cc1-ab42-d3e1e533af13"],"requestBody":"c5d44012-96b6-427f-89ce-414a428ad459","responses":{"201":"f2cf9584-c525-444a-b6e1-6c167749df02","400":"a9710912-e2fa-4538-b5e5-b055390e0359","404":"4d7fbff1-888b-4b8b-9a62-d854a05a464e","422":"c1e41e4d-5db5-4883-b382-f63eb6bef9b7"},"method":"post","type":"path","servers":["cc5f5941-286e-4d83-b670-4306ff3a41bc"],"security":[],"path":"/forms/{form_id}/automation_rules","baseUrlOptions":["https://{your-subdomain}.neetoform.com/api/external/v2"],"title":"Create an automation rule","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"76d2081d-4693-47a5-b476-16485e784ff3":{"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"}},"1ce619f0-0195-4cc1-ab42-d3e1e533af13":{"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"}}},"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":{"f2cf9584-c525-444a-b6e1-6c167749df02":{"description":"Created - The automation rule was created","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"},"a9710912-e2fa-4538-b5e5-b055390e0359":{"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"},"4d7fbff1-888b-4b8b-9a62-d854a05a464e":{"description":"Not Found - The form does not exist","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Form does not exist."},"examples":{"Example":{"title":"Example","value":{"error":"Form does not exist."}}},"exampleType":"examples"}},"exampleType":"examples"},"c1e41e4d-5db5-4883-b382-f63eb6bef9b7":{"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":"Create an automation rule - NeetoForm Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T21:24:22.995Z","originalFileLocation":"api/automation-rules/create.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=\"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.\">\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=\"Create an automation rule - NeetoForm Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"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.\">\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/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetoform-apis.mintlify.app/_mintlify/api/og/v2?division=Automation+rules\u0026amp;title=Create+an+automation+rule\u0026amp;description=Create+an+automation+rule.+A+rule+runs+actions%2C+such+as+sending+emails+or+texts+or+calling+an+API+endpoint%2C+when+its+events+happen+and+its+conditions+match.+%60na\u0026amp;theme=1d22d0b23aafdc46ee97ef7b\u0026amp;signature=bdbde88eb57d597a3dd37fcbf49d73244dab854d89dbe6ca8c52a18a47df0cda\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an automation rule - NeetoForm Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetoform-apis.mintlify.app/_mintlify/api/og/v2?division=Automation+rules\u0026amp;title=Create+an+automation+rule\u0026amp;description=Create+an+automation+rule.+A+rule+runs+actions%2C+such+as+sending+emails+or+texts+or+calling+an+API+endpoint%2C+when+its+events+happen+and+its+conditions+match.+%60na\u0026amp;theme=1d22d0b23aafdc46ee97ef7b\u0026amp;signature=bdbde88eb57d597a3dd37fcbf49d73244dab854d89dbe6ca8c52a18a47df0cda\">\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/create\">\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/create.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/create#webpage\",\"url\":\"https://apidocs.neetoform.com/api/automation-rules/create\",\"name\":\"Create an automation rule\",\"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.\",\"dateModified\":\"2026-10-28T21:24:22.995Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetoform.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automation rules\",\"item\":\"https://apidocs.neetoform.com/api/automation-rules/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an automation rule\",\"item\":\"https://apidocs.neetoform.com/api/automation-rules/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/create#apireference\",\"headline\":\"Create an automation rule\",\"name\":\"Create an automation rule\",\"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.\",\"url\":\"https://apidocs.neetoform.com/api/automation-rules/create\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetoform.com/api/automation-rules/create#webpage\"},\"dateModified\":\"2026-10-28T21:24:22.995Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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":"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}","description":"Show one automation rule with its events, conditions and actions. Header values of `send_to_api` actions are not returned.","href":"/api/automation-rules/show"},{"title":"Create an automation rule","openapi":"bundled/automation-rules.yaml POST /forms/{form_id}/automation_rules","href":"/api/automation-rules/create"},{"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"},{"title":"Delete an automation rule","openapi":"bundled/automation-rules.yaml DELETE /forms/{form_id}/automation_rules/{id}","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"}]},{"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"}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/mcp/introduction"}]}]},"title":"Create an automation rule - NeetoForm Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}