{
"error": {
"code": "VALIDATION_ERROR",
"message": "One or more fields are invalid",
"meta": {
"issues": [
{
"field": "to.0.value",
"code": "invalid_format",
"message": "must be a valid email address"
}
]
}
},
"requestId": "<string>"
}
Board
Create an automation
Creates an Automation on the board (the board’s workflows). Requires update permission and
the key’s “Automations” access (a separate toggle on the key, off by default, independent of
“Edit Boards”); a key’s board allowlist applies.
Always created paused. Nothing runs until the automation is switched on in the Aptly app,
so the API can’t set one live. Existing cards are not enrolled: once it is switched on a stage
automation applies to cards that enter the stage afterwards.
Validated strictly - the request is refused outright on the first problem. Unknown
properties, a stage / field / template / inbox / contact type / user / team that doesn’t exist
(or is archived) on this board or organization, an email template used for an SMS (or the
reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing
field, with an unsupported operator or a bad value, a delay with business hours, or a task or
due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving
automations that would send cards round in a circle are all rejected with 400. Shape problems
come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by
checking against your data come back as INVALID_DATA with a message that names the path
(for example actions[1].templateId: template "abc" was not found).
Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms,
task, assign, update_fields, stage, due_date, notify, archive, archive_convos,
webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and
related-card actions aren’t available through the API.
The response is the stored automation (the same shape GET .../automations returns).
Required with a partner bearer token (board-admin): the company that owns the board.
Standard boards such as unit share one board UUID across companies, so the board is
looked up by UUID within this company. companyId in the request body or query string
is also accepted. A partner request without a company is rejected with MISSING_DATA
(400), and a board the company does not own is BOARD_NOT_FOUND (404). Ignored for API
keys, whose company comes from the key.
One thing the automation does. Actions run in order. At most one stage, one due_date and one
archive action per automation. Every id, stage and field named here must exist on the board /
organization or the whole request is rejected.
When the actions run after the trigger. Defaults to { "mode": "now" }. A trigger with
frequency: once can only use now or after. Times of day are hours (0-23) in the
organization's time zone, and the automation fires within four hours after that time.
The stored automation. archived: true means paused.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Aptly API","colors":{"primary":"#0066FF"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aptly-10a57313","hasAudioNarration":false,"actualSubdomain":"aptly-10a57313","customDomains":["docs.getaptly.com"],"gitSource":{"type":"github","owner":"workturbo","repo":"core-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{},"buildId":"6af609fc60edfa9e72e99fa7","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":240},{"language":"default","tag":"Board","count":35},{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"Inboxes","count":15},{"language":"default","tag":"Aptly Portal","count":14},{"language":"default","tag":"Contacts","count":10},{"language":"default","tag":"Cards","count":9},{"language":"default","tag":"Knowledge","count":8},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"eSignature","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/board/create-an-automation","slug":"/api-reference/board/create-an-automation","pageMetadata":{"title":"Create an automation","description":"Creates an Automation on the board (the board's `workflows`). Requires `update` permission and\nthe key's \"Automations\" access (a separate toggle on the key, off by default, independent of\n\"Edit Boards\"); a key's board allowlist applies.\n\n**Always created paused.** Nothing runs until the automation is switched on in the Aptly app,\nso the API can't set one live. Existing cards are not enrolled: once it is switched on a stage\nautomation applies to cards that enter the stage afterwards.\n\n**Validated strictly - the request is refused outright on the first problem.** Unknown\nproperties, a stage / field / template / inbox / contact type / user / team that doesn't exist\n(or is archived) on this board or organization, an email template used for an SMS (or the\nreverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing\nfield, with an unsupported operator or a bad value, a delay with business hours, or a task or\ndue-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving\nautomations that would send cards round in a circle are all rejected with `400`. Shape problems\ncome back as `VALIDATION_ERROR` with the offending path in `meta.issues`; problems found by\nchecking against your data come back as `INVALID_DATA` with a message that names the path\n(for example `actions[1].templateId: template \"abc\" was not found`).\n\nSupported triggers: `stage`, `segment` (conditions), `reply`. Supported actions: `email`, `sms`,\n`task`, `assign`, `update_fields`, `stage`, `due_date`, `notify`, `archive`, `archive_convos`,\n`webhook`. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and\nrelated-card actions aren't available through the API.\n\nThe response is the stored automation (the same shape `GET .../automations` returns).\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/automations","href":"/api-reference/board/create-an-automation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates an Automation on the board (the board’s \", _jsx(_components.code, {\n children: \"workflows\"\n }), \"). Requires \", _jsx(_components.code, {\n children: \"update\"\n }), \" permission and\\nthe key’s “Automations” access (a separate toggle on the key, off by default, independent of\\n“Edit Boards”); a key’s board allowlist applies.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Always created paused.\"\n }), \" Nothing runs until the automation is switched on in the Aptly app,\\nso the API can’t set one live. Existing cards are not enrolled: once it is switched on a stage\\nautomation applies to cards that enter the stage afterwards.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Validated strictly - the request is refused outright on the first problem.\"\n }), \" Unknown\\nproperties, a stage / field / template / inbox / contact type / user / team that doesn’t exist\\n(or is archived) on this board or organization, an email template used for an SMS (or the\\nreverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing\\nfield, with an unsupported operator or a bad value, a delay with business hours, or a task or\\ndue-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving\\nautomations that would send cards round in a circle are all rejected with \", _jsx(_components.code, {\n children: \"400\"\n }), \". Shape problems\\ncome back as \", _jsx(_components.code, {\n children: \"VALIDATION_ERROR\"\n }), \" with the offending path in \", _jsx(_components.code, {\n children: \"meta.issues\"\n }), \"; problems found by\\nchecking against your data come back as \", _jsx(_components.code, {\n children: \"INVALID_DATA\"\n }), \" with a message that names the path\\n(for example \", _jsx(_components.code, {\n children: \"actions[1].templateId: template \\\"abc\\\" was not found\"\n }), \").\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Supported triggers: \", _jsx(_components.code, {\n children: \"stage\"\n }), \", \", _jsx(_components.code, {\n children: \"segment\"\n }), \" (conditions), \", _jsx(_components.code, {\n children: \"reply\"\n }), \". Supported actions: \", _jsx(_components.code, {\n children: \"email\"\n }), \", \", _jsx(_components.code, {\n children: \"sms\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"task\"\n }), \", \", _jsx(_components.code, {\n children: \"assign\"\n }), \", \", _jsx(_components.code, {\n children: \"update_fields\"\n }), \", \", _jsx(_components.code, {\n children: \"stage\"\n }), \", \", _jsx(_components.code, {\n children: \"due_date\"\n }), \", \", _jsx(_components.code, {\n children: \"notify\"\n }), \", \", _jsx(_components.code, {\n children: \"archive\"\n }), \", \", _jsx(_components.code, {\n children: \"archive_convos\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"webhook\"\n }), \". Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and\\nrelated-card actions aren’t available through the API.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The response is the stored automation (the same shape \", _jsx(_components.code, {\n children: \"GET .../automations\"\n }), \" returns).\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an automation","description":"Creates an Automation on the board (the board's `workflows`). Requires `update` permission and\nthe key's \"Automations\" access (a separate toggle on the key, off by default, independent of\n\"Edit Boards\"); a key's board allowlist applies.\n\n**Always created paused.** Nothing runs until the automation is switched on in the Aptly app,\nso the API can't set one live. Existing cards are not enrolled: once it is switched on a stage\nautomation applies to cards that enter the stage afterwards.\n\n**Validated strictly - the request is refused outright on the first problem.** Unknown\nproperties, a stage / field / template / inbox / contact type / user / team that doesn't exist\n(or is archived) on this board or organization, an email template used for an SMS (or the\nreverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing\nfield, with an unsupported operator or a bad value, a delay with business hours, or a task or\ndue-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving\nautomations that would send cards round in a circle are all rejected with `400`. Shape problems\ncome back as `VALIDATION_ERROR` with the offending path in `meta.issues`; problems found by\nchecking against your data come back as `INVALID_DATA` with a message that names the path\n(for example `actions[1].templateId: template \"abc\" was not found`).\n\nSupported triggers: `stage`, `segment` (conditions), `reply`. Supported actions: `email`, `sms`,\n`task`, `assign`, `update_fields`, `stage`, `due_date`, `notify`, `archive`, `archive_convos`,\n`webhook`. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and\nrelated-card actions aren't available through the API.\n\nThe response is the stored automation (the same shape `GET .../automations` returns).\n","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/automations","href":"/api-reference/board/create-an-automation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create an automation","description":"Creates an Automation on the board (the board's `workflows`). Requires `update` permission and\nthe key's \"Automations\" access (a separate toggle on the key, off by default, independent of\n\"Edit Boards\"); a key's board allowlist applies.\n\n**Always created paused.** Nothing runs until the automation is switched on in the Aptly app,\nso the API can't set one live. Existing cards are not enrolled: once it is switched on a stage\nautomation applies to cards that enter the stage afterwards.\n\n**Validated strictly - the request is refused outright on the first problem.** Unknown\nproperties, a stage / field / template / inbox / contact type / user / team that doesn't exist\n(or is archived) on this board or organization, an email template used for an SMS (or the\nreverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing\nfield, with an unsupported operator or a bad value, a delay with business hours, or a task or\ndue-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving\nautomations that would send cards round in a circle are all rejected with `400`. Shape problems\ncome back as `VALIDATION_ERROR` with the offending path in `meta.issues`; problems found by\nchecking against your data come back as `INVALID_DATA` with a message that names the path\n(for example `actions[1].templateId: template \"abc\" was not found`).\n\nSupported triggers: `stage`, `segment` (conditions), `reply`. Supported actions: `email`, `sms`,\n`task`, `assign`, `update_fields`, `stage`, `due_date`, `notify`, `archive`, `archive_convos`,\n`webhook`. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and\nrelated-card actions aren't available through the API.\n\nThe response is the stored automation (the same shape `GET .../automations` returns).\n","operationId":"createAutomation","tags":["Board"],"security":["780f72d4-3564-46d3-b618-b6d9a74dfc70","816d8ec1-fa37-492b-abfa-519348bd83a6"],"parameters":["92136622-ff2d-4a49-9f39-a4b41e59b519","ec58c57a-71e8-4989-8e9e-a5210860b25b"],"requestBody":"acd96838-cb4a-45c1-9e31-81feb3807114","responses":{"201":"608bc195-8b8d-42c0-b471-6df27f2f7429","400":"d1029e15-acc1-445d-bff7-55996eb85163","401":"dc2339bf-d5ff-4696-b5f0-0c3ab1641cd5","403":"a8e306ed-cd70-4c66-a129-1e3aaa61499b","404":"1eba5016-9b68-42a6-803f-f20c122a118a"},"method":"post","type":"path","servers":["d27f2090-af7d-4890-9097-3520d47c2fd6"],"path":"/api/board/{boardId}/configuration/automations","baseUrlOptions":["https://core-api.getaptly.com"],"title":"Create an automation","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"92136622-ff2d-4a49-9f39-a4b41e59b519":{"name":"x-company-id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Required with a partner bearer token (`board-admin`): the company that owns the board.\nStandard boards such as `unit` share one board UUID across companies, so the board is\nlooked up by UUID within this company. `companyId` in the request body or query string\nis also accepted. A partner request without a company is rejected with `MISSING_DATA`\n(400), and a board the company does not own is `BOARD_NOT_FOUND` (404). Ignored for API\nkeys, whose company comes from the key.\n","uniqueKey":"","typeLabel":"string"},"description":"Required with a partner bearer token (`board-admin`): the company that owns the board.\nStandard boards such as `unit` share one board UUID across companies, so the board is\nlooked up by UUID within this company. `companyId` in the request body or query string\nis also accepted. A partner request without a company is rejected with `MISSING_DATA`\n(400), and a board the company does not own is `BOARD_NOT_FOUND` (404). Ignored for API\nkeys, whose company comes from the key.\n"},"ec58c57a-71e8-4989-8e9e-a5210860b25b":{"name":"boardId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The board's UUID.","uniqueKey":"","typeLabel":"string"},"description":"The board's UUID."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["title","trigger","actions"],"properties":{"title":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"title","typeLabel":"string"},"trigger":{"oneOf":[{"type":"object","description":"What starts the automation. Exactly one `type`.","required":["type","stage"],"properties":{"type":{"type":"string","enum":["stage"],"isRequired":true,"uniqueKey":"trigger.oneOf.0.type","typeLabel":"enum\u003cstring>"},"stage":{"type":"string","description":"A stage of the board, spelled exactly as it is on the board (case and spacing included). A stage trigger fires at most once per card.","isRequired":true,"uniqueKey":"trigger.oneOf.0.stage","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"trigger.oneOf.0","typeLabel":"object"},{"type":"object","description":"What starts the automation. Exactly one `type`.","required":["type","conditions"],"properties":{"type":{"type":"string","enum":["segment"],"isRequired":true,"uniqueKey":"trigger.oneOf.1.type","typeLabel":"enum\u003cstring>"},"conditions":{"type":"array","minItems":1,"maxItems":25,"description":"Rules a card must meet, ANDed together - the same rule format as board segments (`fieldUuid`,\n`operator`, `value`, ...; see `GET /api/board/{boardId}/segments`). At least one rule is\nrequired, because an automation with no conditions would run on every card. A rule on an\nunknown field, an operator the field doesn't support, a missing or malformed value, a stage or\noption that isn't on the board, or a user who isn't in the company is rejected, as are rules\non `archived`/`deleted` and `valueSource: currentUser` (an automation runs without a signed-in\nuser). The rules are saved as a segment named `Automation - \u003ctitle>`.\n","items":{"type":"object","uniqueKey":"trigger.oneOf.1.conditions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"trigger.oneOf.1.conditions","typeLabel":"object[]"},"frequency":{"type":"string","enum":["everyTime","once"],"default":"everyTime","description":"`once` fires the first time a card matches; `everyTime` fires again each time it stops and starts matching.","uniqueKey":"trigger.oneOf.1.frequency","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"trigger.oneOf.1","typeLabel":"object"},{"type":"object","description":"What starts the automation. Exactly one `type`.","required":["type"],"properties":{"type":{"type":"string","enum":["reply"],"isRequired":true,"uniqueKey":"trigger.oneOf.2.type","typeLabel":"enum\u003cstring>"},"stages":{"type":"array","maxItems":50,"default":[],"description":"Only fire for cards in these stages. Empty means any stage.","items":{"type":"string","uniqueKey":"trigger.oneOf.2.stages.items.[INDEX]","typeLabel":"string"},"uniqueKey":"trigger.oneOf.2.stages","typeLabel":"string[]"},"frequency":{"type":"string","enum":["everyTime","once"],"default":"everyTime","uniqueKey":"trigger.oneOf.2.frequency","typeLabel":"enum\u003cstring>"},"audience":{"type":"string","enum":["anyone","relatedContacts"],"default":"anyone","description":"`relatedContacts` requires the sender to be a contact related to the card.","uniqueKey":"trigger.oneOf.2.audience","typeLabel":"enum\u003cstring>"},"reopenArchived":{"type":"boolean","default":false,"description":"Reopen an archived card when a reply arrives.","uniqueKey":"trigger.oneOf.2.reopenArchived","typeLabel":"boolean"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"trigger.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"trigger","typeLabel":"object"},"actions":{"type":"array","minItems":1,"maxItems":10,"items":{"oneOf":[{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","inbox","templateId","to"],"properties":{"type":{"type":"string","enum":["email"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"inbox":{"type":"string","description":"The sending inbox id, or \"assignee\" for the card assignee's inbox. Must be an active email inbox with users.","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.inbox","typeLabel":"string"},"templateId":{"type":"string","description":"An active email template of the organization.","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.templateId","typeLabel":"string"},"to":{"oneOf":[{"type":"object","description":"Who an email or SMS goes to.","required":["type"],"properties":{"type":{"type":"string","enum":["assignee"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.0","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type"],"properties":{"type":{"type":"string","enum":["relatedContacts"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.1","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","contactTypeIds"],"properties":{"type":{"type":"string","enum":["contactTypes"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.2.type","typeLabel":"enum\u003cstring>"},"contactTypeIds":{"type":"array","minItems":1,"maxItems":25,"description":"Contact type ids of the organization. Related contacts of these types receive the message.","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.2.contactTypeIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.2.contactTypeIds","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.2","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","addresses"],"properties":{"type":{"type":"string","enum":["specific"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.3.type","typeLabel":"enum\u003cstring>"},"addresses":{"type":"array","minItems":1,"maxItems":25,"description":"Email addresses for an email, E.164 phone numbers (+15551234567) for an SMS. No repeats.","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.3.addresses.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.3.addresses","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.3","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","fieldUuid"],"properties":{"type":{"type":"string","enum":["field"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.4.type","typeLabel":"enum\u003cstring>"},"fieldUuid":{"type":"string","description":"An email, user or contact field of the board (an SMS needs a user or contact field).","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.4.fieldUuid","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.to","typeLabel":"object"},"cc":{"type":"array","maxItems":10,"default":[],"items":{"type":"string","format":"email","uniqueKey":"actions.items.[INDEX].oneOf.0.cc.items.[INDEX]","typeLabel":"string\u003cemail>"},"uniqueKey":"actions.items.[INDEX].oneOf.0.cc","typeLabel":"string\u003cemail>[]"},"deliveryMode":{"type":"string","enum":["multiple","single"],"default":"multiple","description":"`single` sends one email to all recipients; `multiple` sends each their own.","uniqueKey":"actions.items.[INDEX].oneOf.0.deliveryMode","typeLabel":"enum\u003cstring>"},"fallback":{"type":"object","additionalProperties":false,"required":["inbox","templateId"],"description":"Send an SMS instead to recipients with no email address. Needs an active phone inbox and an SMS template.","properties":{"inbox":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.fallback.inbox","typeLabel":"string"},"templateId":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.fallback.templateId","typeLabel":"string"}},"uniqueKey":"actions.items.[INDEX].oneOf.0.fallback","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","inbox","templateId","to"],"properties":{"type":{"type":"string","enum":["sms"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"inbox":{"type":"string","description":"The sending phone inbox id, or \"assignee\".","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.inbox","typeLabel":"string"},"templateId":{"type":"string","description":"An active SMS template of the organization.","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.templateId","typeLabel":"string"},"to":{"oneOf":[{"type":"object","description":"Who an email or SMS goes to.","required":["type"],"properties":{"type":{"type":"string","enum":["assignee"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.0","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type"],"properties":{"type":{"type":"string","enum":["relatedContacts"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.1","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","contactTypeIds"],"properties":{"type":{"type":"string","enum":["contactTypes"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.2.type","typeLabel":"enum\u003cstring>"},"contactTypeIds":{"type":"array","minItems":1,"maxItems":25,"description":"Contact type ids of the organization. Related contacts of these types receive the message.","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.2.contactTypeIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.2.contactTypeIds","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.2","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","addresses"],"properties":{"type":{"type":"string","enum":["specific"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.3.type","typeLabel":"enum\u003cstring>"},"addresses":{"type":"array","minItems":1,"maxItems":25,"description":"Email addresses for an email, E.164 phone numbers (+15551234567) for an SMS. No repeats.","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.3.addresses.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.3.addresses","typeLabel":"string[]"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.3","typeLabel":"object"},{"type":"object","description":"Who an email or SMS goes to.","required":["type","fieldUuid"],"properties":{"type":{"type":"string","enum":["field"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.4.type","typeLabel":"enum\u003cstring>"},"fieldUuid":{"type":"string","description":"An email, user or contact field of the board (an SMS needs a user or contact field).","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.4.fieldUuid","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.to","typeLabel":"object"},"fallback":{"type":"object","additionalProperties":false,"required":["inbox","templateId"],"description":"Send an email instead to recipients with no phone number.","properties":{"inbox":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.fallback.inbox","typeLabel":"string"},"templateId":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.fallback.templateId","typeLabel":"string"}},"uniqueKey":"actions.items.[INDEX].oneOf.1.fallback","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","source"],"properties":{"type":{"type":"string","enum":["task"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"source":{"type":"string","enum":["template","manual"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.2.source","typeLabel":"enum\u003cstring>"},"templateId":{"type":"string","description":"Required for `template`. A task template of this board.","uniqueKey":"actions.items.[INDEX].oneOf.2.templateId","typeLabel":"string"},"tasks":{"type":"array","minItems":1,"maxItems":20,"description":"Required for `manual`.","items":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","maxLength":200,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX].title","typeLabel":"string"},"description":{"type":"string","maxLength":2000,"uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX].description","typeLabel":"string"},"userId":{"type":"string","description":"An active user of the organization. Defaults to the card assignee.","uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX].userId","typeLabel":"string"},"dueInDays":{"type":"integer","minimum":0,"maximum":365,"uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX].dueInDays","typeLabel":"integer"},"dueFrom":{"type":"string","description":"\"now\" (default) or a date field uuid. Needs dueInDays.","uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX].dueFrom","typeLabel":"string"}},"uniqueKey":"actions.items.[INDEX].oneOf.2.tasks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"actions.items.[INDEX].oneOf.2.tasks","typeLabel":"object[]"},"fieldUuid":{"type":"string","description":"A task list (checkboxlist) field to put the tasks on. Defaults to the card's checklist.","uniqueKey":"actions.items.[INDEX].oneOf.2.fieldUuid","typeLabel":"string"},"useBusinessDays":{"type":"boolean","default":false,"description":"Count the tasks' due dates in business days. Rejected when no business hours are configured, because the due dates would fall on calendar days instead.","uniqueKey":"actions.items.[INDEX].oneOf.2.useBusinessDays","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","mode"],"properties":{"type":{"type":"string","enum":["assign"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["user","team","roundRobin","contactField"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.3.mode","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","description":"Required for `user`.","uniqueKey":"actions.items.[INDEX].oneOf.3.userId","typeLabel":"string"},"teamId":{"type":"string","description":"Required for `team`. An active team.","uniqueKey":"actions.items.[INDEX].oneOf.3.teamId","typeLabel":"string"},"contactFieldUuid":{"type":"string","description":"Required for `contactField`. A contact or user field of the board.","uniqueKey":"actions.items.[INDEX].oneOf.3.contactFieldUuid","typeLabel":"string"},"onlyIfUnassigned":{"type":"boolean","default":false,"uniqueKey":"actions.items.[INDEX].oneOf.3.onlyIfUnassigned","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","fields"],"properties":{"type":{"type":"string","enum":["update_fields"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"fields":{"type":"array","minItems":1,"maxItems":20,"description":"Each field at most once.","items":{"type":"object","additionalProperties":false,"required":["fieldUuid","value"],"properties":{"fieldUuid":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.4.fields.items.[INDEX].fieldUuid","typeLabel":"string"},"value":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.4.fields.items.[INDEX].value","typeLabel":"any"}},"uniqueKey":"actions.items.[INDEX].oneOf.4.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.4.fields","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","stage"],"properties":{"type":{"type":"string","enum":["stage"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"stage":{"type":"string","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.5.stage","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type"],"properties":{"type":{"type":"string","enum":["due_date"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"from":{"type":"string","default":"now","description":"\"now\", \"clear\", or a date field uuid.","uniqueKey":"actions.items.[INDEX].oneOf.6.from","typeLabel":"string"},"days":{"type":"integer","minimum":-366,"maximum":1999,"description":"Required unless `from` is \"clear\".","uniqueKey":"actions.items.[INDEX].oneOf.6.days","typeLabel":"integer"},"useBusinessDays":{"type":"boolean","description":"Count `days` in business days. Not valid when `from` is \"clear\". Rejected when no business hours are configured, because the due date would fall on calendar days instead.","uniqueKey":"actions.items.[INDEX].oneOf.6.useBusinessDays","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type"],"properties":{"type":{"type":"string","enum":["notify"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"userIds":{"type":"array","maxItems":25,"default":[],"items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.7.userIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"actions.items.[INDEX].oneOf.7.userIds","typeLabel":"string[]"},"teamIds":{"type":"array","maxItems":25,"default":[],"items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.7.teamIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"actions.items.[INDEX].oneOf.7.teamIds","typeLabel":"string[]"},"fieldUuids":{"type":"array","maxItems":10,"default":[],"description":"User fields of the board.","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.7.fieldUuids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"actions.items.[INDEX].oneOf.7.fieldUuids","typeLabel":"string[]"},"notifyCardCreator":{"type":"boolean","default":false,"uniqueKey":"actions.items.[INDEX].oneOf.7.notifyCardCreator","typeLabel":"boolean"},"message":{"type":"string","maxLength":1000,"description":"Plain text (no \u003c or >).","uniqueKey":"actions.items.[INDEX].oneOf.7.message","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type"],"properties":{"type":{"type":"string","enum":["archive"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type"],"properties":{"type":{"type":"string","enum":["archive_convos"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","description":"One thing the automation does. Actions run in order. At most one `stage`, one `due_date` and one\narchive action per automation. Every id, stage and field named here must exist on the board /\norganization or the whole request is rejected.\n","required":["type","url"],"properties":{"type":{"type":"string","enum":["webhook"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.10.url","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"actions.items.[INDEX].oneOf.10","typeLabel":"object"}],"uniqueKey":"actions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"actions","typeLabel":"object[]"},"timing":{"oneOf":[{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode"],"properties":{"mode":{"type":"string","enum":["now"],"isRequired":true,"uniqueKey":"timing.oneOf.0.mode","typeLabel":"enum\u003cstring>"},"useBusinessHours":{"type":"boolean","default":false,"description":"Only fire while the board or organization is open. Rejected when no business hours are configured, because it would never run.","uniqueKey":"timing.oneOf.0.useBusinessHours","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.0","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","amount","unit"],"properties":{"mode":{"type":"string","enum":["after"],"isRequired":true,"uniqueKey":"timing.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"amount":{"type":"integer","minimum":1,"maximum":100000,"isRequired":true,"uniqueKey":"timing.oneOf.1.amount","typeLabel":"integer"},"unit":{"type":"string","enum":["minutes","hours","days","months"],"isRequired":true,"uniqueKey":"timing.oneOf.1.unit","typeLabel":"enum\u003cstring>"},"anchor":{"type":"string","default":"stageUpdatedAt","description":"What the delay counts from - `stageUpdatedAt`, `conditionMet`, `createdAt`, or the uuid of a date field on the board.","uniqueKey":"timing.oneOf.1.anchor","typeLabel":"string"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"description":"Only for `days` or `months`.","uniqueKey":"timing.oneOf.1.timeOfDay","typeLabel":"integer"},"useBusinessHours":{"type":"boolean","default":false,"description":"Only for `minutes` or `hours`.","uniqueKey":"timing.oneOf.1.useBusinessHours","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.1","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","day","timeOfDay"],"properties":{"mode":{"type":"string","enum":["dayOfWeek"],"isRequired":true,"uniqueKey":"timing.oneOf.2.mode","typeLabel":"enum\u003cstring>"},"day":{"type":"string","enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],"isRequired":true,"uniqueKey":"timing.oneOf.2.day","typeLabel":"enum\u003cstring>"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"timing.oneOf.2.timeOfDay","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.2","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","days","timeOfDay"],"properties":{"mode":{"type":"string","enum":["daysOfWeek"],"isRequired":true,"uniqueKey":"timing.oneOf.3.mode","typeLabel":"enum\u003cstring>"},"days":{"type":"array","minItems":1,"maxItems":7,"description":"0 = Sunday ... 6 = Saturday. No repeats.","items":{"type":"integer","minimum":0,"maximum":6,"uniqueKey":"timing.oneOf.3.days.items.[INDEX]","typeLabel":"integer"},"isRequired":true,"uniqueKey":"timing.oneOf.3.days","typeLabel":"integer[]"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"timing.oneOf.3.timeOfDay","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.3","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","day","timeOfDay"],"properties":{"mode":{"type":"string","enum":["dayOfMonth"],"isRequired":true,"uniqueKey":"timing.oneOf.4.mode","typeLabel":"enum\u003cstring>"},"day":{"type":"integer","minimum":1,"maximum":31,"description":"31 means the last day of the month.","isRequired":true,"uniqueKey":"timing.oneOf.4.day","typeLabel":"integer"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"timing.oneOf.4.timeOfDay","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.4","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","startDay","endDay","timeOfDay"],"properties":{"mode":{"type":"string","enum":["dateRange"],"isRequired":true,"uniqueKey":"timing.oneOf.5.mode","typeLabel":"enum\u003cstring>"},"startDay":{"type":"integer","minimum":1,"maximum":31,"isRequired":true,"uniqueKey":"timing.oneOf.5.startDay","typeLabel":"integer"},"endDay":{"type":"integer","minimum":1,"maximum":31,"description":"Must be after startDay.","isRequired":true,"uniqueKey":"timing.oneOf.5.endDay","typeLabel":"integer"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"isRequired":true,"uniqueKey":"timing.oneOf.5.timeOfDay","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.5","typeLabel":"object"},{"type":"object","description":"When the actions run after the trigger. Defaults to `{ \"mode\": \"now\" }`. A trigger with\n`frequency: once` can only use `now` or `after`. Times of day are hours (0-23) in the\norganization's time zone, and the automation fires within four hours after that time.\n","required":["mode","interval"],"properties":{"mode":{"type":"string","enum":["everyXDays"],"isRequired":true,"uniqueKey":"timing.oneOf.6.mode","typeLabel":"enum\u003cstring>"},"interval":{"type":"integer","minimum":1,"maximum":365,"isRequired":true,"uniqueKey":"timing.oneOf.6.interval","typeLabel":"integer"},"startImmediately":{"type":"boolean","default":true,"uniqueKey":"timing.oneOf.6.startImmediately","typeLabel":"boolean"},"timeOfDay":{"type":"integer","minimum":0,"maximum":23,"uniqueKey":"timing.oneOf.6.timeOfDay","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"timing.oneOf.6","typeLabel":"object"}],"uniqueKey":"timing","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"emailAfterStage":{"title":"emailAfterStage","value":{"title":"Tour follow-up","trigger":{"type":"stage","stage":"Tour Scheduled"},"timing":{"mode":"after","amount":2,"unit":"days","timeOfDay":9},"actions":[{"type":"email","inbox":"assignee","templateId":"5kQx2mP9","to":{"type":"relatedContacts"}}]}},"staleLeads":{"title":"staleLeads","value":{"title":"Nudge stale leads","trigger":{"type":"segment","conditions":[{"fieldUuid":"stage","operator":"anyIn","value":["New Lead","Contacted"]}]},"timing":{"mode":"daysOfWeek","days":[1,3],"timeOfDay":8},"actions":[{"type":"update_fields","fields":[{"fieldUuid":"status","value":"Needs Follow Up"}]},{"type":"notify","teamIds":["7Hq3dZ"],"message":"Stale lead"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"608bc195-8b8d-42c0-b471-6df27f2f7429":{"description":"The created automation (paused).","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"The stored automation. `archived: true` means paused.","properties":{"uuid":{"type":"string","uniqueKey":"data.uuid","typeLabel":"string"},"title":{"type":"string","uniqueKey":"data.title","typeLabel":"string"},"archived":{"type":"boolean","example":true,"uniqueKey":"data.archived","typeLabel":"boolean"},"triggerOn":{"type":"string","uniqueKey":"data.triggerOn","typeLabel":"string"},"timingMode":{"type":"string","uniqueKey":"data.timingMode","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.description","typeLabel":"string"},"actions":{"type":"array","items":{"type":"object","uniqueKey":"data.actions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.actions","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"uuid":"\u003cstring>","title":"\u003cstring>","archived":true,"triggerOn":"\u003cstring>","timingMode":"\u003cstring>","description":"\u003cstring>","actions":[{}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"d1029e15-acc1-445d-bff7-55996eb85163":{"description":"`VALIDATION_ERROR` (shape) or `INVALID_DATA` (a reference or rule that doesn't hold).","content":{"application/json":{"schema":{"type":"object","description":"Returned with HTTP 400 when the request body fails shape validation (wrong type,\nmissing required field, malformed email/phone number, value out of bounds).\n`meta.issues` lists every offending field.\n","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["VALIDATION_ERROR"],"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","example":"One or more fields are invalid","uniqueKey":"error.message","typeLabel":"string"},"meta":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Dotted path to the offending property (for example `to.0.value`); empty for a problem with the body as a whole.","example":"to.0.value","uniqueKey":"error.meta.issues.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable issue code (for example `invalid_type`, `invalid_format`, `too_small`).","example":"invalid_format","uniqueKey":"error.meta.issues.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","example":"must be a valid email address","uniqueKey":"error.meta.issues.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.meta.issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.meta.issues","typeLabel":"object[]"}},"uniqueKey":"error.meta","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"requestId":{"type":"string","description":"Id of the request; also sent on every response as the `X-Request-Id` header.","uniqueKey":"requestId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"VALIDATION_ERROR","message":"One or more fields are invalid","meta":{"issues":[{"field":"to.0.value","code":"invalid_format","message":"must be a valid email address"}]}},"requestId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"dc2339bf-d5ff-4696-b5f0-0c3ab1641cd5":{"description":"Invalid or missing API key.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"a8e306ed-cd70-4c66-a129-1e3aaa61499b":{"description":"The key lacks `update` permission or the \"Automations\" access, or the board isn't API-enabled.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1eba5016-9b68-42a6-803f-f20c122a118a":{"description":"Board not found.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"780f72d4-3564-46d3-b618-b6d9a74dfc70":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"x-token","scopes":[],"schemeName":"ApiKeyHeader"}},"816d8ec1-fa37-492b-abfa-519348bd83a6":{"PartnerBearer":{"type":"http","scheme":"bearer","description":"Partner token. Format: `Authorization: Bearer \u003ctoken>`","scopes":[],"schemeName":"PartnerBearer"}}},"servers":{"d27f2090-af7d-4890-9097-3520d47c2fd6":{"url":"https://core-api.getaptly.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-token","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"x-token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"x-token"}],"title":"ApiKeyHeader"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Partner token. Format: `Authorization: Bearer \u003ctoken>`","scopes":[],"schemeName":"PartnerBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Partner token. Format: `Authorization: Bearer \u003ctoken>`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"PartnerBearer","name":"Authorization"}],"title":"PartnerBearer"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"aptly-10a57313","siteName":"Aptly API","title":"Create an automation - Aptly API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T18:48:35.137Z","originalFileLocation":"api-reference/board/create-an-automation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates an Automation on the board (the board\u0026#x27;s workflows). Requires update permission and the key\u0026#x27;s \u0026quot;Automations\u0026quot; access (a separate toggle on the key, off by default, independent of \u0026quot;Edit Boards\u0026quot;); a key\u0026#x27;s board allowlist applies. Always created paused. Nothing runs until the automation is switched on in the Aptly app, so the API can\u0026#x27;t set one live. Existing cards are not enrolled: once it is switched on a stage automation applies to cards that enter the stage afterwards. Validated strictly - the request is refused outright on the first problem. Unknown properties, a stage / field / template / inbox / contact type / user / team that doesn\u0026#x27;t exist (or is archived) on this board or organization, an email template used for an SMS (or the reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing field, with an unsupported operator or a bad value, a delay with business hours, or a task or due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving automations that would send cards round in a circle are all rejected with 400. Shape problems come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by checking against your data come back as INVALID_DATA with a message that names the path (for example actions[1].templateId: template \u0026quot;abc\u0026quot; was not found). Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms, task, assign, update_fields, stage, due_date, notify, archive, archive_convos, webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and related-card actions aren\u0026#x27;t available through the API. The response is the stored automation (the same shape GET .../automations returns).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aptly API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/aptly-10a57313/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/aptly-10a57313/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/aptly-10a57313/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/aptly-10a57313/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an automation - Aptly API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates an Automation on the board (the board\u0026#x27;s workflows). Requires update permission and the key\u0026#x27;s \u0026quot;Automations\u0026quot; access (a separate toggle on the key, off by default, independent of \u0026quot;Edit Boards\u0026quot;); a key\u0026#x27;s board allowlist applies. Always created paused. Nothing runs until the automation is switched on in the Aptly app, so the API can\u0026#x27;t set one live. Existing cards are not enrolled: once it is switched on a stage automation applies to cards that enter the stage afterwards. Validated strictly - the request is refused outright on the first problem. Unknown properties, a stage / field / template / inbox / contact type / user / team that doesn\u0026#x27;t exist (or is archived) on this board or organization, an email template used for an SMS (or the reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing field, with an unsupported operator or a bad value, a delay with business hours, or a task or due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving automations that would send cards round in a circle are all rejected with 400. Shape problems come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by checking against your data come back as INVALID_DATA with a message that names the path (for example actions[1].templateId: template \u0026quot;abc\u0026quot; was not found). Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms, task, assign, update_fields, stage, due_date, notify, archive, archive_convos, webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and related-card actions aren\u0026#x27;t available through the API. The response is the stored automation (the same shape GET .../automations returns).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aptly API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getaptly.com/api-reference/board/create-an-automation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aptly-10a57313.mintlify.site/_mintlify/api/og/v2?division=Board\u0026amp;title=Create+an+automation\u0026amp;description=Creates+an+Automation+on+the+board+%28the+board%27s+%60workflows%60%29.+Requires+%60update%60+permission+and%0Athe+key%27s+%22Automations%22+access+%28a+separate+toggle+on+the+key%2C+off\u0026amp;theme=49bd20b6af3a119a34ba33a3\u0026amp;signature=2940ac014881384bbd2f185d101176b0ab4a5bfcc906e2b9ff960dad8e0e7641\">\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 - Aptly API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates an Automation on the board (the board\u0026#x27;s workflows). Requires update permission and the key\u0026#x27;s \u0026quot;Automations\u0026quot; access (a separate toggle on the key, off by default, independent of \u0026quot;Edit Boards\u0026quot;); a key\u0026#x27;s board allowlist applies. Always created paused. Nothing runs until the automation is switched on in the Aptly app, so the API can\u0026#x27;t set one live. Existing cards are not enrolled: once it is switched on a stage automation applies to cards that enter the stage afterwards. Validated strictly - the request is refused outright on the first problem. Unknown properties, a stage / field / template / inbox / contact type / user / team that doesn\u0026#x27;t exist (or is archived) on this board or organization, an email template used for an SMS (or the reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing field, with an unsupported operator or a bad value, a delay with business hours, or a task or due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving automations that would send cards round in a circle are all rejected with 400. Shape problems come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by checking against your data come back as INVALID_DATA with a message that names the path (for example actions[1].templateId: template \u0026quot;abc\u0026quot; was not found). Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms, task, assign, update_fields, stage, due_date, notify, archive, archive_convos, webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and related-card actions aren\u0026#x27;t available through the API. The response is the stored automation (the same shape GET .../automations returns).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aptly-10a57313.mintlify.site/_mintlify/api/og/v2?division=Board\u0026amp;title=Create+an+automation\u0026amp;description=Creates+an+Automation+on+the+board+%28the+board%27s+%60workflows%60%29.+Requires+%60update%60+permission+and%0Athe+key%27s+%22Automations%22+access+%28a+separate+toggle+on+the+key%2C+off\u0026amp;theme=49bd20b6af3a119a34ba33a3\u0026amp;signature=2940ac014881384bbd2f185d101176b0ab4a5bfcc906e2b9ff960dad8e0e7641\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/aptly-10a57313/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aptly API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getaptly.com/api-reference/board/create-an-automation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/board/create-an-automation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getaptly.com/#organization\",\"name\":\"Aptly API\",\"url\":\"https://docs.getaptly.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getaptly.com#website\",\"name\":\"Aptly API\",\"url\":\"https://docs.getaptly.com\",\"publisher\":{\"@id\":\"https://docs.getaptly.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getaptly.com/api-reference/board/create-an-automation#webpage\",\"url\":\"https://docs.getaptly.com/api-reference/board/create-an-automation\",\"name\":\"Create an automation\",\"description\":\"Creates an Automation on the board (the board's workflows). Requires update permission and the key's \\\"Automations\\\" access (a separate toggle on the key, off by default, independent of \\\"Edit Boards\\\"); a key's board allowlist applies. Always created paused. Nothing runs until the automation is switched on in the Aptly app, so the API can't set one live. Existing cards are not enrolled: once it is switched on a stage automation applies to cards that enter the stage afterwards. Validated strictly - the request is refused outright on the first problem. Unknown properties, a stage / field / template / inbox / contact type / user / team that doesn't exist (or is archived) on this board or organization, an email template used for an SMS (or the reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing field, with an unsupported operator or a bad value, a delay with business hours, or a task or due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving automations that would send cards round in a circle are all rejected with 400. Shape problems come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by checking against your data come back as INVALID_DATA with a message that names the path (for example actions[1].templateId: template \\\"abc\\\" was not found). Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms, task, assign, update_fields, stage, due_date, notify, archive, archive_convos, webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and related-card actions aren't available through the API. The response is the stored automation (the same shape GET .../automations returns).\",\"dateModified\":\"2026-11-12T18:48:35.137Z\",\"isPartOf\":{\"@id\":\"https://docs.getaptly.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getaptly.com/api-reference/board/create-an-automation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getaptly.com/api-reference/board/create-an-automation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.getaptly.com/api-reference/users/list-users\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Board\",\"item\":\"https://docs.getaptly.com/api-reference/board/archive-a-board\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an automation\",\"item\":\"https://docs.getaptly.com/api-reference/board/create-an-automation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getaptly.com/api-reference/board/create-an-automation#apireference\",\"headline\":\"Create an automation\",\"name\":\"Create an automation\",\"description\":\"Creates an Automation on the board (the board's workflows). Requires update permission and the key's \\\"Automations\\\" access (a separate toggle on the key, off by default, independent of \\\"Edit Boards\\\"); a key's board allowlist applies. Always created paused. Nothing runs until the automation is switched on in the Aptly app, so the API can't set one live. Existing cards are not enrolled: once it is switched on a stage automation applies to cards that enter the stage afterwards. Validated strictly - the request is refused outright on the first problem. Unknown properties, a stage / field / template / inbox / contact type / user / team that doesn't exist (or is archived) on this board or organization, an email template used for an SMS (or the reverse), an inbox of the wrong type or with no users, conditions that are empty, on a missing field, with an unsupported operator or a bad value, a delay with business hours, or a task or due-date action with business days, when none are configured, a webhook to anything but a public https address, and a pair of stage-moving automations that would send cards round in a circle are all rejected with 400. Shape problems come back as VALIDATION_ERROR with the offending path in meta.issues; problems found by checking against your data come back as INVALID_DATA with a message that names the path (for example actions[1].templateId: template \\\"abc\\\" was not found). Supported triggers: stage, segment (conditions), reply. Supported actions: email, sms, task, assign, update_fields, stage, due_date, notify, archive, archive_convos, webhook. Task-completion and field-group triggers and the Yardi, e-sign, PDF, team-access and related-card actions aren't available through the API. The response is the stored automation (the same shape GET .../automations returns).\",\"url\":\"https://docs.getaptly.com/api-reference/board/create-an-automation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getaptly.com/api-reference/board/create-an-automation#webpage\"},\"dateModified\":\"2026-11-12T18:48:35.137Z\",\"publisher\":{\"@id\":\"https://docs.getaptly.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getaptly.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aptly API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aptly API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/board/create-an-automation.md","siteName":"Aptly API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"group":"Users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/users","href":"/api-reference/users/list-users"},{"title":"List a user's email inboxes","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/users/{userId}/inboxes","href":"/api-reference/users/list-a-users-email-inboxes"}]},{"group":"Inboxes","pages":[{"title":"List inboxes you can query","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes","href":"/api-reference/inboxes/list-inboxes-you-can-query"},{"title":"List threads and messages on an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/threads","href":"/api-reference/inboxes/list-threads-and-messages-on-an-inbox"},{"title":"List threads and messages on an inbox (deprecated)","deprecated":true,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/messages","href":"/api-reference/inboxes/list-threads-and-messages-on-an-inbox-deprecated"},{"title":"Conversation analytics for an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/analytics","href":"/api-reference/inboxes/conversation-analytics-for-an-inbox"},{"title":"Activity history for an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/history","href":"/api-reference/inboxes/activity-history-for-an-inbox"},{"title":"Get one thread on an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/threads/{threadId}","href":"/api-reference/inboxes/get-one-thread-on-an-inbox"},{"title":"Assign or unassign a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/inboxes/{channelId}/threads/{threadId}/assign","href":"/api-reference/inboxes/assign-or-unassign-a-thread"},{"title":"Relate a card to a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/inboxes/{channelId}/threads/{threadId}/relate-card","href":"/api-reference/inboxes/relate-a-card-to-a-thread"},{"title":"Unrelate a card from a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/inboxes/{channelId}/threads/{threadId}/unrelate-card","href":"/api-reference/inboxes/unrelate-a-card-from-a-thread"},{"title":"Add an internal comment to a thread","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/inboxes/{channelId}/threads/{threadId}/comments","href":"/api-reference/inboxes/add-an-internal-comment-to-a-thread"},{"title":"Get one email message with its full body and attachments","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/threads/{threadId}/messages/{messageId}","href":"/api-reference/inboxes/get-one-email-message-with-its-full-body-and-attachments"},{"title":"Download an email attachment","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/threads/{threadId}/messages/{messageId}/attachments/{attachmentId}","href":"/api-reference/inboxes/download-an-email-attachment"},{"title":"Volume and response-time trends for an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/trends","href":"/api-reference/inboxes/volume-and-response-time-trends-for-an-inbox"},{"title":"Volume health for an inbox against its own baseline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/health","href":"/api-reference/inboxes/volume-health-for-an-inbox-against-its-own-baseline"},{"title":"List unsent drafts on an inbox","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/inboxes/{channelId}/drafts","href":"/api-reference/inboxes/list-unsent-drafts-on-an-inbox"}]},{"group":"Schema","pages":[{"title":"Get board schema","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/schema/{boardId}","href":"/api-reference/schema/get-board-schema"}]},{"group":"Boards","pages":[{"title":"List boards","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/boards","href":"/api-reference/boards/list-boards"},{"title":"Create a board","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/boards","href":"/api-reference/boards/create-a-board"}]},{"group":"Cards","pages":[{"title":"List cards","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/list","href":"/api-reference/cards/list-cards"},{"title":"List cards (deprecated)","deprecated":true,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}","href":"/api-reference/cards/list-cards-deprecated"},{"title":"Create or update a card","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}","href":"/api-reference/cards/create-or-update-a-card"},{"title":"Get a card","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/{cardId}","href":"/api-reference/cards/get-a-card"},{"title":"Archive a card","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/board/{boardId}/{cardId}","href":"/api-reference/cards/archive-a-card"},{"title":"List comments on a card","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/{cardId}/comments","href":"/api-reference/cards/list-comments-on-a-card"},{"title":"List contacts linked to a card","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/{cardId}/contacts","href":"/api-reference/cards/list-contacts-linked-to-a-card"},{"title":"Add or update a comment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/{cardId}/comment","href":"/api-reference/cards/add-or-update-a-comment"},{"title":"Upload a file to a card","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/{cardId}/file","href":"/api-reference/cards/upload-a-file-to-a-card"}]},{"group":"Board","pages":[{"title":"Archive a board","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/board/{boardId}","href":"/api-reference/board/archive-a-board"},{"title":"List merge fields for a board","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/merge-fields","href":"/api-reference/board/list-merge-fields-for-a-board"},{"title":"List users who can open a board","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/users","href":"/api-reference/board/list-users-who-can-open-a-board"},{"title":"Get a board's activity feed","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/activity","href":"/api-reference/board/get-a-boards-activity-feed"},{"title":"Get board health metrics","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/metrics","href":"/api-reference/board/get-board-health-metrics"},{"title":"Get cards created per day by source","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/card-trends","href":"/api-reference/board/get-cards-created-per-day-by-source"},{"title":"Get open cards per day","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/card-burndown","href":"/api-reference/board/get-open-cards-per-day"},{"title":"Get sequence health","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/sequences","href":"/api-reference/board/get-sequence-health"},{"title":"Get a sequence run log","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/sequences/{automationUuid}/runs","href":"/api-reference/board/get-a-sequence-run-log"},{"title":"Get the board audit log","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/diagnostics/audit-log","href":"/api-reference/board/get-the-board-audit-log"},{"title":"Add a tab view","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/tabViews","href":"/api-reference/board/add-a-tab-view"},{"title":"Add a tab view (legacy)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/tabView","href":"/api-reference/board/add-a-tab-view-legacy"},{"title":"Verify a delegate token","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/verify-user","href":"/api-reference/board/verify-a-delegate-token"},{"title":"Set or update the board's webhook","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/webhook","href":"/api-reference/board/set-or-update-the-boards-webhook"},{"title":"Remove the board's webhook","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/board/{boardId}/webhook","href":"/api-reference/board/remove-the-boards-webhook"},{"title":"Get full board configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration","href":"/api-reference/board/get-full-board-configuration"},{"title":"List board automations","description":"Returns the automations configured on a board (the board's `workflows` in the data model).\nThe older create-card rules that move or copy cards are listed at `.../configuration/card-rules`.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/automations","href":"/api-reference/board/list-board-automations"},{"title":"Create an automation","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/automations","href":"/api-reference/board/create-an-automation"},{"title":"List create-card rules","description":"Returns the older create-card rules on a board (`board` and `schedule` rules that move or copy cards). These are not Automations - see `.../configuration/automations`.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/card-rules","href":"/api-reference/board/list-create-card-rules"},{"title":"Get board options","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/options","href":"/api-reference/board/get-board-options"},{"title":"List board fields","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/fields","href":"/api-reference/board/list-board-fields"},{"title":"Add a field","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/fields","href":"/api-reference/board/add-a-field"},{"title":"Add a mirror field","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/mirror-fields","href":"/api-reference/board/add-a-mirror-field"},{"title":"Update a field","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/board/{boardId}/configuration/fields/{fieldUuid}","href":"/api-reference/board/update-a-field"},{"title":"Delete a field","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api/board/{boardId}/configuration/fields/{fieldUuid}","href":"/api-reference/board/delete-a-field"},{"title":"Reorder fields","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/board/{boardId}/configuration/field-order","href":"/api-reference/board/reorder-fields"},{"title":"List board field groups","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/groups","href":"/api-reference/board/list-board-field-groups"},{"title":"Create a field group","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/board/{boardId}/configuration/groups","href":"/api-reference/board/create-a-field-group"},{"title":"Update a field group","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/board/{boardId}/configuration/groups/{groupUuid}","href":"/api-reference/board/update-a-field-group"},{"title":"Get the create-card form order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/start-card-order","href":"/api-reference/board/get-the-create-card-form-order"},{"title":"Set the create-card form order","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/board/{boardId}/configuration/start-card-order","href":"/api-reference/board/set-the-create-card-form-order"},{"title":"Get board access settings","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/shares","href":"/api-reference/board/get-board-access-settings"},{"title":"Get board identity fields","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/theme","href":"/api-reference/board/get-board-identity-fields"},{"title":"Update board identity fields","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /api/board/{boardId}/configuration/theme","href":"/api-reference/board/update-board-identity-fields"},{"title":"List board filters","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/board/{boardId}/configuration/filters","href":"/api-reference/board/list-board-filters"}]},{"group":"Company","pages":[{"title":"Get company info","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/company/info","href":"/api-reference/company/get-company-info"}]},{"group":"Contacts","pages":[{"title":"Get conversations for contacts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts/conversations","href":"/api-reference/contacts/get-conversations-for-contacts"},{"title":"Get contact conversations","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/contacts/{contactId}/conversations","href":"/api-reference/contacts/get-contact-conversations"},{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create or update a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts","href":"/api-reference/contacts/create-or-update-a-contact"},{"title":"Look up contacts by email","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts/by-email","href":"/api-reference/contacts/look-up-contacts-by-email"},{"title":"Initiate contact email verification","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts/verify-email","href":"/api-reference/contacts/initiate-contact-email-verification"},{"title":"Confirm contact email verification","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts/verify-email/{requestId}/confirm","href":"/api-reference/contacts/confirm-contact-email-verification"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/contacts/{contactId}","href":"/api-reference/contacts/get-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/contacts/{contactId}","href":"/api-reference/contacts/update-a-contact"},{"title":"Get a contact's sentiment history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/contacts/{contactId}/sentiment","href":"/api-reference/contacts/get-a-contacts-sentiment-history"}]},{"group":"Knowledge","pages":[{"title":"Create a knowledge document","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/knowledge/create","href":"/api-reference/knowledge/create-a-knowledge-document"},{"title":"List knowledge documents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/list","href":"/api-reference/knowledge/list-knowledge-documents"},{"title":"Get the knowledge document tree","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/tree","href":"/api-reference/knowledge/get-the-knowledge-document-tree"},{"title":"List a knowledge document's direct children","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/{id}/children","href":"/api-reference/knowledge/list-a-knowledge-documents-direct-children"},{"title":"List saved knowledge document versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/{id}/history","href":"/api-reference/knowledge/list-saved-knowledge-document-versions"},{"title":"Read a saved knowledge document version","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/{id}/history/{versionId}","href":"/api-reference/knowledge/read-a-saved-knowledge-document-version"},{"title":"Get a knowledge document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/knowledge/{id}","href":"/api-reference/knowledge/get-a-knowledge-document"},{"title":"Update a knowledge document","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/knowledge/{id}","href":"/api-reference/knowledge/update-a-knowledge-document"}]},{"group":"Email","pages":[{"title":"Create an email draft","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/email/create-draft","href":"/api-reference/email/create-an-email-draft"},{"title":"Send an email","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/email/send","href":"/api-reference/email/send-an-email"}]},{"group":"App","pages":[{"title":"Verify a delegate token (keyless)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/app/verify","href":"/api-reference/app/verify-a-delegate-token-keyless"},{"title":"Get credential info","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/app/me","href":"/api-reference/app/get-credential-info"}]},{"group":"Templates","pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/templates","href":"/api-reference/templates/list-templates"},{"title":"Create a template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/templates","href":"/api-reference/templates/create-a-template"},{"title":"Get a template","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/templates/{id}","href":"/api-reference/templates/get-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/templates/{id}","href":"/api-reference/templates/update-a-template"}]},{"group":"Tasks","pages":[{"title":"Search tasks","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/tasks/search","href":"/api-reference/tasks/search-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Update many tasks","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/tasks/bulk-update","href":"/api-reference/tasks/update-many-tasks"},{"title":"Get a task by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/tasks/{taskId}","href":"/api-reference/tasks/get-a-task-by-id"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/tasks/{taskId}","href":"/api-reference/tasks/update-a-task"}]},{"group":"RoutingGroups","pages":[{"title":"List routing groups","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/routing-groups","href":"/api-reference/routinggroups/list-routing-groups"},{"title":"Create a routing group","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/routing-groups/create","href":"/api-reference/routinggroups/create-a-routing-group"},{"title":"Update a routing group","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/routing-groups/{id}","href":"/api-reference/routinggroups/update-a-routing-group"},{"title":"Archive a routing group","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/routing-groups/{id}/archive","href":"/api-reference/routinggroups/archive-a-routing-group"}]},{"group":"Files","pages":[{"title":"Get a presigned URL for a direct file upload","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/files/upload-url","href":"/api-reference/files/get-a-presigned-url-for-a-direct-file-upload"},{"title":"Finalize a direct file upload","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/files/upload-complete","href":"/api-reference/files/finalize-a-direct-file-upload"}]},{"group":"WebForms","pages":[{"title":"Submit a web form","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/web-forms/{formId}","href":"/api-reference/webforms/submit-a-web-form"}]},{"group":"Calendars","pages":[{"title":"List calendars","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/calendars","href":"/api-reference/calendars/list-calendars"},{"title":"List a calendar's events","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/calendars/{calendarId}/events","href":"/api-reference/calendars/list-a-calendars-events"}]},{"group":"eSignature","pages":[{"title":"List eSignature documents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/esignature/documents","href":"/api-reference/esignature/list-esignature-documents"},{"title":"Get an eSignature document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/esignature/documents/{documentId}","href":"/api-reference/esignature/get-an-esignature-document"},{"title":"List eSignature drafts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/esignature/drafts","href":"/api-reference/esignature/list-esignature-drafts"},{"title":"Create an eSignature draft","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/esignature/drafts","href":"/api-reference/esignature/create-an-esignature-draft"},{"title":"Get an eSignature draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/esignature/drafts/{draftId}","href":"/api-reference/esignature/get-an-esignature-draft"},{"title":"Edit an eSignature draft","deprecated":null,"version":null,"openapi":"/openapi.yaml put /api/esignature/drafts/{draftId}","href":"/api-reference/esignature/edit-an-esignature-draft"},{"title":"Send an eSignature draft","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api/esignature/drafts/{draftId}/send","href":"/api-reference/esignature/send-an-esignature-draft"}]},{"group":"Tours","pages":[{"title":"List tour feedback","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/tours/feedback","href":"/api-reference/tours/list-tour-feedback"},{"title":"Get one showing's tour feedback","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/tours/{showingId}/feedback","href":"/api-reference/tours/get-one-showings-tour-feedback"}]},{"group":"Docs","pages":[{"title":"Fetch this OpenAPI spec","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api/docs/openapi","href":"/api-reference/docs/fetch-this-openapi-spec"}]}]}]},{"tab":"Aptly Portal","icon":"door-closed","pages":[{"title":"Aptly Portal","href":"/portal/introduction"}]}]},"basePath":"","title":"Create an automation - Aptly API","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}