curl --request POST \ --url https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <x-api-key>' \ --data '{ "event": "booking_confirmed", "meeting_ids": [ "8a7794e3-3142-4569-9dd7-6411369b5d3f", "9b8805f4-4253-5670-0ee8-7522470c6e4g" ], "actions": [ { "type": "send_calendar_invite_to_anyone", "emails": [ "guest@example.com" ], "email_subject": "You have a meeting scheduled", "email_body": "<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>", "calendar_invite_subject": "Meeting with {{host.name}}", "calendar_invite_body": "<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>" }, { "type": "send_email_to_client", "email_subject": "Welcome, {{client.first_name}}", "email_body": "<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>", "client_types": [ "first_time" ] } ], "name": "Send calendar invite to guests"}'
const options = {
method: 'POST',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'booking_confirmed',
meeting_ids: ['8a7794e3-3142-4569-9dd7-6411369b5d3f', '9b8805f4-4253-5670-0ee8-7522470c6e4g'],
actions: [
{
type: 'send_calendar_invite_to_anyone',
emails: ['guest@example.com'],
email_subject: 'You have a meeting scheduled',
email_body: '<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>',
calendar_invite_subject: 'Meeting with {{host.name}}',
calendar_invite_body: '<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>'
},
{
type: 'send_email_to_client',
email_subject: 'Welcome, {{client.first_name}}',
email_body: '<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>',
client_types: ['first_time']
}
],
name: 'Send calendar invite to guests'
})
};
fetch('https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules"
payload = {
"event": "booking_confirmed",
"meeting_ids": ["8a7794e3-3142-4569-9dd7-6411369b5d3f", "9b8805f4-4253-5670-0ee8-7522470c6e4g"],
"actions": [
{
"type": "send_calendar_invite_to_anyone",
"emails": ["guest@example.com"],
"email_subject": "You have a meeting scheduled",
"email_body": "<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>",
"calendar_invite_subject": "Meeting with {{host.name}}",
"calendar_invite_body": "<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>"
},
{
"type": "send_email_to_client",
"email_subject": "Welcome, {{client.first_name}}",
"email_body": "<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>",
"client_types": ["first_time"]
}
],
"name": "Send calendar invite to guests"
}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).
POST
/
automation_rules
Create an automation rule
curl --request POST \ --url https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <x-api-key>' \ --data '{ "event": "booking_confirmed", "meeting_ids": [ "8a7794e3-3142-4569-9dd7-6411369b5d3f", "9b8805f4-4253-5670-0ee8-7522470c6e4g" ], "actions": [ { "type": "send_calendar_invite_to_anyone", "emails": [ "guest@example.com" ], "email_subject": "You have a meeting scheduled", "email_body": "<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>", "calendar_invite_subject": "Meeting with {{host.name}}", "calendar_invite_body": "<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>" }, { "type": "send_email_to_client", "email_subject": "Welcome, {{client.first_name}}", "email_body": "<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>", "client_types": [ "first_time" ] } ], "name": "Send calendar invite to guests"}'
const options = {
method: 'POST',
headers: {'X-Api-Key': '<x-api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'booking_confirmed',
meeting_ids: ['8a7794e3-3142-4569-9dd7-6411369b5d3f', '9b8805f4-4253-5670-0ee8-7522470c6e4g'],
actions: [
{
type: 'send_calendar_invite_to_anyone',
emails: ['guest@example.com'],
email_subject: 'You have a meeting scheduled',
email_body: '<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>',
calendar_invite_subject: 'Meeting with {{host.name}}',
calendar_invite_body: '<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>'
},
{
type: 'send_email_to_client',
email_subject: 'Welcome, {{client.first_name}}',
email_body: '<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>',
client_types: ['first_time']
}
],
name: 'Send calendar invite to guests'
})
};
fetch('https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://{your-subdomain}.neetocal.com/api/external/v1/automation_rules"
payload = {
"event": "booking_confirmed",
"meeting_ids": ["8a7794e3-3142-4569-9dd7-6411369b5d3f", "9b8805f4-4253-5670-0ee8-7522470c6e4g"],
"actions": [
{
"type": "send_calendar_invite_to_anyone",
"emails": ["guest@example.com"],
"email_subject": "You have a meeting scheduled",
"email_body": "<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>",
"calendar_invite_subject": "Meeting with {{host.name}}",
"calendar_invite_body": "<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>"
},
{
"type": "send_email_to_client",
"email_subject": "Welcome, {{client.first_name}}",
"email_body": "<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>",
"client_types": ["first_time"]
}
],
"name": "Send calendar invite to guests"
}
headers = {
"X-Api-Key": "<x-api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
This endpoint is part of API v1, which is deprecated. Please use the v2 API instead.
Replace {your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Dynamic Variables
You can use dynamic variables in the subject, body, calendar_invite_subject, and calendar_invite_body fields. These variables will be automatically replaced with actual values when the automation rule is triggered. Supported variables include:
{{client.starts_at}} - Meeting start time in client’s time zone
{{client.ends_at}} - Meeting end time in client’s time zone
{{host.name}} - Host’s name
{{host.starts_at}} - Meeting start time in host’s time zone
{{host.ends_at}} - Meeting end time in host’s time zone
HTML Support
The body and calendar_invite_body fields support HTML formatting. Allowed HTML tags include: h1, h2, h3, h4, h5, br, strong, em, a, s, code, u, ul, ol, li, p, span.
Headers
X-Api-Key
string
required
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Body
application/json
event
enum<string>
required
The event that triggers this automation rule. Must be one of the following values:
marked_no_show - When a booking is marked as no-show
booking_confirmed - When a booking is confirmed
booking_rescheduled - When a booking is rescheduled
booking_cancelled - When a booking is cancelled
before_meeting_starts - Before a meeting starts
after_meeting_ends - After a meeting ends
meeting_outcome_changed - When the meeting outcome is changed
Available options:
marked_no_show,
booking_confirmed,
booking_rescheduled,
booking_cancelled,
before_meeting_starts,
after_meeting_ends,
meeting_outcome_changed
Example:
"booking_confirmed"
meeting_ids
string[]
required
Array of valid meeting IDs from your workspace. Only actual meeting IDs are accepted (template meeting IDs are not valid). The automation rule will be triggered for bookings associated with any of these meetings.
You can get meeting IDs from the response of the List scheduling links endpoint, where it appears as the id property for each scheduling link in the response.
(Calendar invite or cancellation · object | Email to the client · object)[]
required
Array of actions to perform when the event is triggered. Supported action types are send_calendar_invite_to_anyone, send_calendar_cancellation_to_anyone and send_email_to_client. The fields an action needs depend on its type.
Sends an email with a calendar invite, or a cancellation of it, to the given addresses.
Calendar invite or cancellation
Email to the client
Hide child attributes
actions.type
enum<string>
required
send_calendar_invite_to_anyone - Sends an email with a calendar invite for the meeting.
send_calendar_cancellation_to_anyone - Sends an email with a calendar cancellation for the meeting. Calendar apps that received the invite mark the meeting as cancelled or remove it.
Works only with the booking_cancelled event. A request with any other event fails with a 422 error.
Available options:
send_calendar_invite_to_anyone,
send_calendar_cancellation_to_anyone
Example:
"send_calendar_invite_to_anyone"
actions.emails
string[]
required
Array of valid email addresses to send the calendar invite or calendar cancellation to. For a cancellation, use the same addresses that received the calendar invite.
Example:
["guest@example.com", "team@example.com"]
actions.email_subject
string
required
Subject line for the email notification. Dynamic variables are supported and will be automatically replaced with actual values when the automation rule is triggered.
Example:
"You have a meeting scheduled"
actions.email_body
string
required
Body content for the email notification. Supports HTML formatting and dynamic variables. Allowed HTML tags: h1, h2, h3, h4, h5, br, strong, em, a, s, code, u, ul, ol, li, p, span. Dynamic variables will be automatically replaced with actual values when the automation rule is triggered.
Example:
"<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>"
actions.calendar_invite_subject
string
required
Subject line for the calendar invite. Dynamic variables are supported and will be automatically replaced with actual values when the automation rule is triggered. For a cancellation, use the same subject as the calendar invite, so people can tell which meeting was cancelled.
Example:
"Meeting with {{host.name}}"
actions.calendar_invite_body
string
required
Body content for the calendar invite. Supports HTML formatting and dynamic variables. Allowed HTML tags: h1, h2, h3, h4, h5, br, strong, em, a, s, code, u, ul, ol, li, p, span. Dynamic variables will be automatically replaced with actual values when the automation rule is triggered.
Example:
"<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>"
Example:
[ { "type": "send_calendar_invite_to_anyone", "emails": ["guest@example.com"], "email_subject": "You have a meeting scheduled", "email_body": "<h3>Hello {{client.name}}</h3><p>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}</p>", "calendar_invite_subject": "Meeting with {{host.name}}", "calendar_invite_body": "<p>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}</p>" }, { "type": "send_email_to_client", "email_subject": "Welcome, {{client.first_name}}", "email_body": "<p>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.</p>", "client_types": ["first_time"] } ]
name
string
Name of the automation rule. This field is optional. If not provided, an auto-generated name like "New Rule - 172719992" will be assigned.
Example:
"Send calendar invite to guests"
Response
200 - application/json
OK - Request succeeded
workflow
object
Hide child attributes
workflow.id
string
Unique identifier for the automation rule.
workflow.name
string
Name of the automation rule. If not provided during creation, an auto-generated name like "New Rule - 172719992" will be assigned based on the event.
workflow.meeting_ids
string[]
Array of meeting IDs associated with this automation rule. Only valid meeting IDs (not template meeting IDs) are accepted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"NeetoCal Docs","description":"Developer docs for NeetoCal: the REST API and the CLI.","colors":{"primary":"#10B981","light":"#34D399","dark":"#059669"},"logo":"https://mintcdn.com/neetocal-apis/a3fUEGwOFZCFfcoR/assets/logo.svg?fit=max\u0026auto=format\u0026n=a3fUEGwOFZCFfcoR\u0026q=85\u0026s=e303e0049d2c255a51136bee0f2f1082","favicon":"https://mintcdn.com/neetocal-apis/WtzLJdaN58-pcipt/assets/favicon.svg?fit=max\u0026auto=format\u0026n=WtzLJdaN58-pcipt\u0026q=85\u0026s=3a45f64c8590b35dba847b730b7264fb","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"all","languages":["curl","javascript","python"]}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.neeto.com/neetocal/blog","label":"Blog"},{"href":"https://help.neetocal.com/","label":"Help center"},{"href":"https://neetocal.com/","label":"NeetoCal"}]},"footer":{"socials":{"x":"https://x.com/neetohq","linkedin":"https://www.linkedin.com/company/neeto","youtube":"https://www.youtube.com/channel/UCoQ3Kv2JdZ51WZJ3QFFcI9g","slack":"https://neeto.com/community"}},"styling":{"eyebrows":"section","codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"neetocal-apis","hasAudioNarration":false,"actualSubdomain":"neetocal-apis","customDomains":["apidocs.neetocal.com"],"gitSource":{"type":"github","owner":"neetocalapis","repo":"neeto-cal-api","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aeb2c77a60f76c94452f4e0","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"API","count":123},{"language":"default","tag":"API v1 (deprecated)","count":44},{"language":"default","tag":"CLI","count":22},{"language":"default","tag":"Commands","count":15},{"language":"default","tag":"Getting started","count":12},{"language":"default","tag":"Scheduling links","count":11},{"language":"default","tag":"Availabilities","count":6},{"language":"default","tag":"Bookings","count":6},{"language":"default","tag":"Add-on services","count":5},{"language":"default","tag":"Blocked emails","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"theme.css","content":":root{--primary-green: #0da874;--white: #ffffff;--light-gray: #eeeeee;--dark-gray: #1f2937;--text-white: rgb(255, 255, 255);--text-light: rgb(238, 238, 238)}#navbar-transition,[data-nav=\"true\"]{background-color:var(--primary-green)!important}.nav-logo{filter:brightness(0) invert(1)!important;height:20px!important;width:auto!important;max-width:none!important}[data-nav=\"true\"] a,#navbar-transition a,#navbar a,.navbar-link{color:var(--text-white)!important}[data-nav=\"true\"] a:hover,#navbar-transition a:hover,#navbar a:hover,.navbar-link:hover{color:var(--text-light)!important}#navbar button,#navbar span,#navbar div,#navbar p,#navbar .text-sm,#navbar .text-xs{color:var(--white)!important}#navbar .bg-gray-500,#navbar .bg-gray-400,#navbar .bg-gray-600,#navbar .bg-gray-300{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"]{background-color:var(--white)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .text-gray-600,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:text-gray-400{color:var(--dark-gray)!important}[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .navbar-link a:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .hover\\:text-gray-900:hover,[data-headlessui-state=\"open\"] [id*=\"headlessui-dialog-panel\"] .dark\\:hover\\:text-gray-300:hover{color:var(--primary-green)!important}#search-bar-entry button,#search-bar-entry span,#search-bar-entry div,#search-bar-entry p,#search-bar-entry img,#search-bar-entry svg,#search-bar-entry .text-sm,#search-bar-entry .text-xs{color:var(--primary-green)!important}"}]}
{"page":{"pagePath":"api-reference-v1/automation-rules/create","slug":"/api-reference-v1/automation-rules/create","pageMetadata":{"title":"Create automation rule","openapi":"bundled-v1/automation-rules.yaml POST /automation_rules","description":"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\n","href":"/api-reference-v1/automation-rules/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Warning,{children:[`This endpoint is part of API v1, which is deprecated. Please use the `,_jsx(_components.a,{href:`/api/introduction`,children:`v2 API`}),` instead.`]}),`\n`,_jsxs(Info,{children:[`Replace `,_jsx(_components.code,{children:`{your-subdomain}`}),` with your workspace’s subdomain. `,_jsx(`br`,{}),` Learn how to find your subdomain in `,_jsx(_components.a,{href:`/api/workspace-subdomain`,children:`Workspace subdomain`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`dynamic-variables`,children:`Dynamic Variables`}),`\n`,_jsxs(_components.p,{children:[`You can use dynamic variables in the `,_jsx(_components.code,{children:`subject`}),`, `,_jsx(_components.code,{children:`body`}),`, `,_jsx(_components.code,{children:`calendar_invite_subject`}),`, and `,_jsx(_components.code,{children:`calendar_invite_body`}),` fields. These variables will be automatically replaced with actual values when the automation rule is triggered. Supported variables include:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{booking.id}}`}),` - Booking SID`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{meeting.name}}`}),` - Meeting name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{meeting.scheduling_url}}`}),` - Meeting scheduling URL`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.name}}`}),` - Client’s full name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.first_name}}`}),` - Client’s first name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.last_name}}`}),` - Client’s last name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.email}}`}),` - Client’s email`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.starts_at}}`}),` - Meeting start time in client’s time zone`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{client.ends_at}}`}),` - Meeting end time in client’s time zone`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{host.name}}`}),` - Host’s name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{host.starts_at}}`}),` - Meeting start time in host’s time zone`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`{{host.ends_at}}`}),` - Meeting end time in host’s time zone`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`html-support`,children:`HTML Support`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`body`}),` and `,_jsx(_components.code,{children:`calendar_invite_body`}),` fields support HTML formatting. Allowed HTML tags include: `,_jsx(_components.code,{children:`h1`}),`, `,_jsx(_components.code,{children:`h2`}),`, `,_jsx(_components.code,{children:`h3`}),`, `,_jsx(_components.code,{children:`h4`}),`, `,_jsx(_components.code,{children:`h5`}),`, `,_jsx(_components.code,{children:`br`}),`, `,_jsx(_components.code,{children:`strong`}),`, `,_jsx(_components.code,{children:`em`}),`, `,_jsx(_components.code,{children:`a`}),`, `,_jsx(_components.code,{children:`s`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`u`}),`, `,_jsx(_components.code,{children:`ul`}),`, `,_jsx(_components.code,{children:`ol`}),`, `,_jsx(_components.code,{children:`li`}),`, `,_jsx(_components.code,{children:`p`}),`, `,_jsx(_components.code,{children:`span`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Create automation rule","openapi":"bundled-v1/automation-rules.yaml POST /automation_rules","description":"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\n","href":"/api-reference-v1/automation-rules/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Dynamic Variables","slug":"dynamic-variables","depth":2,"children":[]},{"title":"HTML Support","slug":"html-support","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/neetocal-apis/c7a6987cd31f1479/os-detect.js"],"openApiReferenceData":{"operation":{"summary":"Create an automation rule","tags":["Automation Rules"],"description":"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\n","parameters":["87c1e8bb-d7cf-4b27-a504-e90a65329345"],"requestBody":"a2f235eb-eac5-4535-abb2-74e42536a844","responses":{"200":"17720a6f-4c58-408a-8aae-06ce47125daf"},"method":"post","type":"path","servers":["7b1e32d2-3e50-4cd6-ab18-707558f0806c"],"security":[],"path":"/automation_rules","baseUrlOptions":["https://{your-subdomain}.neetocal.com/api/external/v1"],"title":"Create an automation rule","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"87c1e8bb-d7cf-4b27-a504-e90a65329345":{"in":"header","name":"X-Api-Key","description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","required":true,"schema":{"type":"string","isRequired":true,"description":"Use the X-Api-Key header to provide your workspace API key. Refer to [Authentication](/api/authentication) for more information.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","description":"The event that triggers this automation rule. Must be one of the following values:\n- `marked_no_show` - When a booking is marked as no-show\n- `booking_confirmed` - When a booking is confirmed\n- `booking_rescheduled` - When a booking is rescheduled\n- `booking_cancelled` - When a booking is cancelled\n- `before_meeting_starts` - Before a meeting starts\n- `after_meeting_ends` - After a meeting ends\n- `meeting_outcome_changed` - When the meeting outcome is changed\n","enum":["marked_no_show","booking_confirmed","booking_rescheduled","booking_cancelled","before_meeting_starts","after_meeting_ends","meeting_outcome_changed"],"example":"booking_confirmed","isRequired":true,"uniqueKey":"event","typeLabel":"enum\u003cstring>"},"meeting_ids":{"type":"array","description":"Array of valid meeting IDs from your workspace. Only actual meeting IDs are accepted (template meeting IDs are not valid). The automation rule will be triggered for bookings associated with any of these meetings.\nYou can get meeting IDs from the response of the [List scheduling links](/api-reference-v1/scheduling-links/list) endpoint, where it appears as the `id` property for each scheduling link in the response.\n","items":{"type":"string","uniqueKey":"meeting_ids.items.[INDEX]","typeLabel":"string"},"example":["8a7794e3-3142-4569-9dd7-6411369b5d3f","9b8805f4-4253-5670-0ee8-7522470c6e4g"],"isRequired":true,"uniqueKey":"meeting_ids","typeLabel":"string[]"},"actions":{"type":"array","description":"Array of actions to perform when the event is triggered. Supported action types are `send_calendar_invite_to_anyone`, `send_calendar_cancellation_to_anyone` and `send_email_to_client`. The fields an action needs depend on its `type`.","items":{"oneOf":[{"type":"object","title":"Calendar invite or cancellation","description":"Sends an email with a calendar invite, or a cancellation of it, to the given addresses.","required":["type","emails","email_subject","email_body","calendar_invite_subject","calendar_invite_body"],"properties":{"type":{"type":"string","description":"- `send_calendar_invite_to_anyone` - Sends an email with a calendar invite for the meeting.\n- `send_calendar_cancellation_to_anyone` - Sends an email with a calendar cancellation for the meeting. Calendar apps that received the invite mark the meeting as cancelled or remove it.\n Works only with the `booking_cancelled` event. A request with any other event fails with a `422` error.\n","enum":["send_calendar_invite_to_anyone","send_calendar_cancellation_to_anyone"],"example":"send_calendar_invite_to_anyone","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"emails":{"type":"array","description":"Array of valid email addresses to send the calendar invite or calendar cancellation to. For a cancellation, use the same addresses that received the calendar invite.\n","items":{"type":"string","uniqueKey":"actions.items.[INDEX].oneOf.0.emails.items.[INDEX]","typeLabel":"string"},"example":["guest@example.com","team@example.com"],"isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.emails","typeLabel":"string[]"},"email_subject":{"type":"string","description":"Subject line for the email notification. Dynamic variables are supported and will be automatically replaced with actual values when the automation rule is triggered.\n","example":"You have a meeting scheduled","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.email_subject","typeLabel":"string"},"email_body":{"type":"string","description":"Body content for the email notification. Supports HTML formatting and dynamic variables. Allowed HTML tags: `h1`, `h2`, `h3`, `h4`, `h5`, `br`, `strong`, `em`, `a`, `s`, `code`, `u`, `ul`, `ol`, `li`, `p`, `span`. Dynamic variables will be automatically replaced with actual values when the automation rule is triggered.\n","example":"\u003ch3>Hello {{client.name}}\u003c/h3>\u003cp>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}\u003c/p>","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.email_body","typeLabel":"string"},"calendar_invite_subject":{"type":"string","description":"Subject line for the calendar invite. Dynamic variables are supported and will be automatically replaced with actual values when the automation rule is triggered. For a cancellation, use the same subject as the calendar invite, so people can tell which meeting was cancelled.\n","example":"Meeting with {{host.name}}","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.calendar_invite_subject","typeLabel":"string"},"calendar_invite_body":{"type":"string","description":"Body content for the calendar invite. Supports HTML formatting and dynamic variables. Allowed HTML tags: `h1`, `h2`, `h3`, `h4`, `h5`, `br`, `strong`, `em`, `a`, `s`, `code`, `u`, `ul`, `ol`, `li`, `p`, `span`. Dynamic variables will be automatically replaced with actual values when the automation rule is triggered.\n","example":"\u003cp>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}\u003c/p>","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.0.calendar_invite_body","typeLabel":"string"}},"uniqueKey":"actions.items.[INDEX].oneOf.0","typeLabel":"Calendar invite or cancellation · object"},{"type":"object","title":"Email to the client","description":"Sends an email to the person who made the booking.","required":["type","email_subject","email_body"],"properties":{"type":{"type":"string","description":"`send_email_to_client` - Sends an email to the person who made the booking.","enum":["send_email_to_client"],"example":"send_email_to_client","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"email_subject":{"type":"string","description":"Subject line for the email notification. Dynamic variables are supported and will be automatically replaced with actual values when the automation rule is triggered.\n","example":"You have a meeting scheduled","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.email_subject","typeLabel":"string"},"email_body":{"type":"string","description":"Body content for the email notification. Supports HTML formatting and dynamic variables. Allowed HTML tags: `h1`, `h2`, `h3`, `h4`, `h5`, `br`, `strong`, `em`, `a`, `s`, `code`, `u`, `ul`, `ol`, `li`, `p`, `span`. Dynamic variables will be automatically replaced with actual values when the automation rule is triggered.\n","example":"\u003ch3>Hello {{client.name}}\u003c/h3>\u003cp>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}\u003c/p>","isRequired":true,"uniqueKey":"actions.items.[INDEX].oneOf.1.email_body","typeLabel":"string"},"client_types":{"type":"array","description":"Which clients receive the email. Omit it, or pass both values, to email every client.\n- `first_time` - Clients with no earlier confirmed booking in the workspace.\n- `returning` - Clients with an earlier confirmed booking in the workspace, across all scheduling links, that shares their email or phone number.\n Earlier means made earlier, not scheduled earlier. Occurrences of the same recurring series don't count.\nAn empty array or an unknown value fails with a `422` error.\n","minItems":1,"items":{"type":"string","enum":["first_time","returning"],"uniqueKey":"actions.items.[INDEX].oneOf.1.client_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["first_time"],"uniqueKey":"actions.items.[INDEX].oneOf.1.client_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"actions.items.[INDEX].oneOf.1","typeLabel":"Email to the client · object"}],"uniqueKey":"actions.items.[INDEX]","typeLabel":"Calendar invite or cancellation · object | Email to the client · object"},"example":[{"type":"send_calendar_invite_to_anyone","emails":["guest@example.com"],"email_subject":"You have a meeting scheduled","email_body":"\u003ch3>Hello {{client.name}}\u003c/h3>\u003cp>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}\u003c/p>","calendar_invite_subject":"Meeting with {{host.name}}","calendar_invite_body":"\u003cp>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}\u003c/p>"},{"type":"send_email_to_client","email_subject":"Welcome, {{client.first_name}}","email_body":"\u003cp>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.\u003c/p>","client_types":["first_time"]}],"isRequired":true,"uniqueKey":"actions","typeLabel":"(Calendar invite or cancellation · object | Email to the client · object)[]"},"name":{"type":"string","description":"Name of the automation rule. This field is optional. If not provided, an auto-generated name like \"New Rule - 172719992\" will be assigned.\n","example":"Send calendar invite to guests","uniqueKey":"name","typeLabel":"string"}},"required":["event","meeting_ids","actions"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"event":"booking_confirmed","meeting_ids":["8a7794e3-3142-4569-9dd7-6411369b5d3f","9b8805f4-4253-5670-0ee8-7522470c6e4g"],"actions":[{"type":"send_calendar_invite_to_anyone","emails":["guest@example.com"],"email_subject":"You have a meeting scheduled","email_body":"\u003ch3>Hello {{client.name}}\u003c/h3>\u003cp>You have been invited to a meeting scheduled by {{host.name}} which will start at {{client.starts_at}}\u003c/p>","calendar_invite_subject":"Meeting with {{host.name}}","calendar_invite_body":"\u003cp>Meeting scheduled for {{client.starts_at}}. Join using: {{meeting.scheduling_url}}\u003c/p>"},{"type":"send_email_to_client","email_subject":"Welcome, {{client.first_name}}","email_body":"\u003cp>Thanks for booking your first {{meeting.name}} with {{host.name}}. Here is what to expect.\u003c/p>","client_types":["first_time"]}],"name":"Send calendar invite to guests"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"17720a6f-4c58-408a-8aae-06ce47125daf":{"description":"OK - Request succeeded","content":{"application/json":{"schema":{"type":"object","properties":{"workflow":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the automation rule.","uniqueKey":"workflow.id","typeLabel":"string"},"name":{"type":"string","description":"Name of the automation rule. If not provided during creation, an auto-generated name like \"New Rule - 172719992\" will be assigned based on the event.","uniqueKey":"workflow.name","typeLabel":"string"},"meeting_ids":{"type":"array","items":{"type":"string","uniqueKey":"workflow.meeting_ids.items.[INDEX]","typeLabel":"string"},"description":"Array of meeting IDs associated with this automation rule. Only valid meeting IDs (not template meeting IDs) are accepted.","uniqueKey":"workflow.meeting_ids","typeLabel":"string[]"}},"uniqueKey":"workflow","typeLabel":"object"}},"example":{"workflow":{"id":"efb296a3-8205-419f-8ac4-1abfc46bc3c7","name":"Send calendar invite to guests","meeting_ids":["8a7794e3-3142-4569-9dd7-6411369b5d3f","9b8805f4-4253-5670-0ee8-7522470c6e4g"]}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"workflow":{"id":"efb296a3-8205-419f-8ac4-1abfc46bc3c7","name":"Send calendar invite to guests","meeting_ids":["8a7794e3-3142-4569-9dd7-6411369b5d3f","9b8805f4-4253-5670-0ee8-7522470c6e4g"]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"7b1e32d2-3e50-4cd6-ab18-707558f0806c":{"description":"NeetoCal APIs","url":"https://{your-subdomain}.neetocal.com/api/external/v1","variables":{"your-subdomain":{"default":"spinkart","description":"Replace **spinkart** with your [workspace's subdomain](/api/workspace-subdomain)."}}}}},"originalFileLocation":"bundled-v1/automation-rules.yaml"},"subdomain":"neetocal-apis","siteName":"NeetoCal Docs","title":"Create automation rule - NeetoCal Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T04:25:37.179Z","originalFileLocation":"api-reference-v1/automation-rules/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\">\u003cmeta data-mint-head name=\"application-name\" content=\"NeetoCal Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create automation rule - NeetoCal Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NeetoCal Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://neetocal-apis.mintlify.site/_mintlify/api/og/v2?division=API+v1+%28deprecated%29\u0026amp;title=Create+automation+rule\u0026amp;description=Create+an+automation+rule+that+sends+calendar+invites+or+calendar+cancellations+to+specified+email+addresses+when+a+booking+event+occurs+%28confirmed%2C+rescheduled\u0026amp;theme=ef9c76b57fa48ec40b3669db\u0026amp;signature=b1d7716142647d73dcd383b40d17b597bc17c02fec0483cad940d57597fa462c\">\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 automation rule - NeetoCal Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://neetocal-apis.mintlify.site/_mintlify/api/og/v2?division=API+v1+%28deprecated%29\u0026amp;title=Create+automation+rule\u0026amp;description=Create+an+automation+rule+that+sends+calendar+invites+or+calendar+cancellations+to+specified+email+addresses+when+a+booking+event+occurs+%28confirmed%2C+rescheduled\u0026amp;theme=ef9c76b57fa48ec40b3669db\u0026amp;signature=b1d7716142647d73dcd383b40d17b597bc17c02fec0483cad940d57597fa462c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/neetocal-apis/lQJOLz4J05h_FAVD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NeetoCal Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference-v1/automation-rules/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.neetocal.com/#organization\",\"name\":\"NeetoCal Docs\",\"url\":\"https://apidocs.neetocal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/neetocal-apis/a3fUEGwOFZCFfcoR/assets/logo.svg?fit=max\u0026auto=format\u0026n=a3fUEGwOFZCFfcoR\u0026q=85\u0026s=e303e0049d2c255a51136bee0f2f1082\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.neetocal.com#website\",\"name\":\"NeetoCal Docs\",\"url\":\"https://apidocs.neetocal.com\",\"publisher\":{\"@id\":\"https://apidocs.neetocal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create#webpage\",\"url\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create\",\"name\":\"Create automation rule\",\"description\":\"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\",\"dateModified\":\"2026-10-28T04:25:37.179Z\",\"isPartOf\":{\"@id\":\"https://apidocs.neetocal.com#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API v1 (deprecated)\",\"item\":\"https://apidocs.neetocal.com/api-reference-v1/scheduling-links/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create automation rule\",\"item\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create#apireference\",\"headline\":\"Create automation rule\",\"name\":\"Create automation rule\",\"description\":\"Create an automation rule that sends calendar invites or calendar cancellations to specified email addresses when a booking event occurs (confirmed, rescheduled, cancelled, etc.).\",\"url\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.neetocal.com/api-reference-v1/automation-rules/create#webpage\"},\"dateModified\":\"2026-10-28T04:25:37.179Z\",\"publisher\":{\"@id\":\"https://apidocs.neetocal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.neetocal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NeetoCal Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NeetoCal Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference-v1/automation-rules/create.md","siteName":"NeetoCal Docs","nav":{"global":null,"tabs":[{"tab":"API","icon":"code","groups":[{"group":"Getting started","icon":"rocket","pages":[{"title":"NeetoCal API","href":"/api/introduction"},{"title":"Workspace subdomain","href":"/api/workspace-subdomain"},{"title":"Authentication","href":"/api/authentication"},{"title":"Pagination","href":"/api/pagination"},{"title":"HTTP response codes","href":"/api/response-codes"}]},{"group":"Scheduling links","icon":"calendar","pages":[{"title":"List scheduling links","openapi":"bundled/meetings.yaml GET /meetings","href":"/api/scheduling-links/list"},{"title":"List scheduling link templates","openapi":"bundled/meetings.yaml GET /meeting-templates","href":"/api/scheduling-links/list-templates"},{"title":"Get scheduling link","openapi":"bundled/meetings.yaml GET /meetings/{meeting_sid}","href":"/api/scheduling-links/get"},{"title":"Get scheduling link template","openapi":"bundled/meetings.yaml GET /meeting-templates/{id}","href":"/api/scheduling-links/get-template"},{"title":"Create scheduling link template","openapi":"bundled/meetings.yaml POST /meeting-templates","href":"/api/scheduling-links/create-template"},{"title":"Update scheduling link template","openapi":"bundled/meetings.yaml PATCH /meeting-templates/{id}","href":"/api/scheduling-links/update-template"},{"title":"Create scheduling link","openapi":"bundled/meetings.yaml POST /meetings","href":"/api/scheduling-links/create"},{"title":"Update scheduling link","openapi":"bundled/meetings.yaml PATCH /meetings/{meeting_sid}","href":"/api/scheduling-links/update"},{"title":"Create one-time scheduling link","openapi":"bundled/meetings.yaml POST /meetings/{meeting_sid}/one-off-links","href":"/api/scheduling-links/create-one-off"},{"title":"Delete scheduling link","openapi":"bundled/meetings.yaml DELETE /meetings/{meeting_sid}","href":"/api/scheduling-links/delete"},{"title":"Delete scheduling link template","openapi":"bundled/meetings.yaml DELETE /meeting-templates/{id}","href":"/api/scheduling-links/delete-template"}]},{"group":"Meeting places","icon":"map-pin","pages":[{"title":"List meeting places","openapi":"bundled/spots.yaml GET /meetings/{meeting_sid}/spots","href":"/api/meeting-places/list"},{"title":"Get meeting place","openapi":"bundled/spots.yaml GET /meetings/{meeting_sid}/spots/{id}","href":"/api/meeting-places/get"},{"title":"Create meeting place","openapi":"bundled/spots.yaml POST /meetings/{meeting_sid}/spots","href":"/api/meeting-places/create"},{"title":"Update meeting place","openapi":"bundled/spots.yaml PUT /meetings/{meeting_sid}/spots/{id}","href":"/api/meeting-places/update"},{"title":"Delete meeting place","openapi":"bundled/spots.yaml DELETE /meetings/{meeting_sid}/spots/{id}","href":"/api/meeting-places/delete"}]},{"group":"Meeting durations","icon":"hourglass","pages":[{"title":"List meeting durations","openapi":"bundled/durations.yaml GET /meetings/{meeting_sid}/durations","href":"/api/meeting-durations/list"},{"title":"Get meeting duration","openapi":"bundled/durations.yaml GET /meetings/{meeting_sid}/durations/{id}","href":"/api/meeting-durations/get"},{"title":"Create meeting duration","openapi":"bundled/durations.yaml POST /meetings/{meeting_sid}/durations","href":"/api/meeting-durations/create"},{"title":"Update meeting duration","openapi":"bundled/durations.yaml PUT /meetings/{meeting_sid}/durations/{id}","href":"/api/meeting-durations/update"},{"title":"Delete meeting duration","openapi":"bundled/durations.yaml DELETE /meetings/{meeting_sid}/durations/{id}","href":"/api/meeting-durations/delete"}]},{"group":"Add-on services","icon":"circle-plus","pages":[{"title":"List add-on services","openapi":"bundled/add-on-services.yaml GET /meetings/{meeting_sid}/add-on-services","href":"/api/add-on-services/list"},{"title":"Get add-on service","openapi":"bundled/add-on-services.yaml GET /meetings/{meeting_sid}/add-on-services/{id}","href":"/api/add-on-services/get"},{"title":"Create add-on service","openapi":"bundled/add-on-services.yaml POST /meetings/{meeting_sid}/add-on-services","href":"/api/add-on-services/create"},{"title":"Update add-on service","openapi":"bundled/add-on-services.yaml PUT /meetings/{meeting_sid}/add-on-services/{id}","href":"/api/add-on-services/update"},{"title":"Delete add-on service","openapi":"bundled/add-on-services.yaml DELETE /meetings/{meeting_sid}/add-on-services/{id}","href":"/api/add-on-services/delete"}]},{"group":"Calendar preferences","icon":"calendar-check","pages":[{"title":"Get calendar preferences","openapi":"bundled/calendar-preferences.yaml GET /meetings/{meeting_sid}/calendar-preferences/{integration}","href":"/api/calendar-preferences/get"},{"title":"Update calendar preferences","openapi":"bundled/calendar-preferences.yaml PATCH /meetings/{meeting_sid}/calendar-preferences/{integration}","href":"/api/calendar-preferences/update"}]},{"group":"Bookings","icon":"list-ol","pages":[{"title":"List bookings","openapi":"bundled/bookings.yaml GET /bookings","href":"/api/bookings/list"},{"title":"Get booking","openapi":"bundled/bookings.yaml GET /bookings/{booking_sid}","href":"/api/bookings/get"},{"title":"Create booking","openapi":"bundled/bookings.yaml POST /bookings","href":"/api/bookings/create"},{"title":"Update a booking","openapi":"bundled/bookings.yaml PATCH /bookings/{booking_id}","href":"/api/bookings/update"},{"title":"Create payment","openapi":"bundled/bookings.yaml POST /bookings/{booking_id}/payments","href":"/api/bookings/create-payment"},{"title":"Confirm payment","openapi":"bundled/bookings.yaml PATCH /bookings/{booking_id}/payments/{id}","href":"/api/bookings/confirm-payment"}]},{"group":"Availabilities","icon":"clock","pages":[{"title":"List availabilities of team members","openapi":"bundled/availabilities.yaml GET /availabilities","href":"/api/availabilities/list"},{"title":"Get availability","openapi":"bundled/availabilities.yaml GET /availabilities/{availability_id}","href":"/api/availabilities/get"},{"title":"Create availability","openapi":"bundled/availabilities.yaml POST /availabilities","href":"/api/availabilities/create"},{"title":"Update availability","openapi":"bundled/availabilities.yaml PATCH /availabilities/{availability_id}","href":"/api/availabilities/update"},{"title":"Create custom availability for scheduling-link","openapi":"bundled/availabilities.yaml POST /meetings/{meeting_sid}/availabilities","href":"/api/availabilities/create-meeting"},{"title":"Update scheduling-link availability","openapi":"bundled/availabilities.yaml PATCH /meetings/{meeting_sid}/availabilities","href":"/api/availabilities/update-meeting"}]},{"group":"Slots","icon":"user-clock","pages":[{"title":"List available slots","openapi":"bundled/slots.yaml GET /meetings/{meeting_sid}/slots","href":"/api/slots/list"},{"title":"List unavailable slots","openapi":"bundled/slots.yaml GET /meetings/{meeting_sid}/unavailable-slots","href":"/api/slots/list-unavailable"},{"title":"List common slots","openapi":"bundled/slots.yaml GET /common-slots","href":"/api/slots/list-common"}]},{"group":"Holidays","icon":"calendar-xmark","pages":[{"title":"List holidays","openapi":"bundled/holidays.yaml GET /holidays","href":"/api/holidays/list"}]},{"group":"Packages","icon":"gift","pages":[{"title":"List packages","openapi":"bundled/packages.yaml GET /packages","href":"/api/packages/list"},{"title":"Get package","openapi":"bundled/packages.yaml GET /packages/{package_id}","href":"/api/packages/get"},{"title":"List package purchases","openapi":"bundled/packages.yaml GET /packages/{package_id}/purchases","href":"/api/packages/list-purchases"},{"title":"Get package purchase","openapi":"bundled/packages.yaml GET /packages/{package_id}/purchases/{purchase_id}","href":"/api/packages/get-purchase"}]},{"group":"Team members","icon":"user-group","pages":[{"title":"List team members","openapi":"bundled/team-members.yaml GET /team-members","href":"/api/team-members/list"},{"title":"Get team member","openapi":"bundled/team-members.yaml GET /team-members/{team_member_id}","href":"/api/team-members/get"},{"title":"Add team members","openapi":"bundled/team-members.yaml POST /team-members","href":"/api/team-members/add"},{"title":"Update team member","openapi":"bundled/team-members.yaml PATCH /team-members/{team_member_id}","href":"/api/team-members/update"},{"title":"Remove team member","openapi":"bundled/team-members.yaml DELETE /team-members/{team_member_id}","href":"/api/team-members/remove"}]},{"group":"Meeting outcomes","icon":"clipboard-check","pages":[{"title":"List meeting outcomes","openapi":"bundled/meeting-outcomes.yaml GET /meeting-outcomes","href":"/api/meeting-outcomes/list"},{"title":"Get meeting outcome","openapi":"bundled/meeting-outcomes.yaml GET /meeting-outcomes/{id}","href":"/api/meeting-outcomes/get"},{"title":"Create meeting outcome","openapi":"bundled/meeting-outcomes.yaml POST /meeting-outcomes","href":"/api/meeting-outcomes/create"},{"title":"Update meeting outcome","openapi":"bundled/meeting-outcomes.yaml PATCH /meeting-outcomes/{id}","href":"/api/meeting-outcomes/update"},{"title":"Delete meeting outcome","openapi":"bundled/meeting-outcomes.yaml DELETE /meeting-outcomes/{id}","href":"/api/meeting-outcomes/delete"}]},{"group":"Blocked emails","icon":"ban","pages":[{"title":"List blocked emails","openapi":"bundled/blocked-emails.yaml GET /blocked-emails","href":"/api/blocked-emails/list"},{"title":"Get blocked email","openapi":"bundled/blocked-emails.yaml GET /blocked-emails/{id}","href":"/api/blocked-emails/get"},{"title":"Block emails","openapi":"bundled/blocked-emails.yaml POST /blocked-emails","href":"/api/blocked-emails/create"},{"title":"Update blocked email","openapi":"bundled/blocked-emails.yaml PATCH /blocked-emails/{id}","href":"/api/blocked-emails/update"},{"title":"Delete blocked email","openapi":"bundled/blocked-emails.yaml DELETE /blocked-emails/{id}","href":"/api/blocked-emails/delete"}]},{"group":"Payments","icon":"money-bill","pages":[{"title":"List payments","openapi":"bundled/payments.yaml GET /payments","href":"/api/payments/list"},{"title":"List refunds","openapi":"bundled/refunds.yaml GET /refunds","href":"/api/refunds/list"}]},{"group":"Discount codes","icon":"credit-card","pages":[{"title":"List discount codes","openapi":"bundled/discount-codes.yaml GET /discount-codes","href":"/api/discount-codes/list"},{"title":"Create discount code","openapi":"bundled/discount-codes.yaml POST /discount-codes","href":"/api/discount-codes/create"},{"title":"Update discount code","openapi":"bundled/discount-codes.yaml PATCH /discount-codes/{id}","href":"/api/discount-codes/update"},{"title":"Delete discount code","openapi":"bundled/discount-codes.yaml DELETE /discount-codes/{id}","href":"/api/discount-codes/delete"}]},{"group":"Automation rules","icon":"zap","pages":[{"title":"List automation rules","openapi":"bundled/automation-rules.yaml GET /automation-rules","href":"/api/automation-rules/list"},{"title":"Create automation rule","openapi":"bundled/automation-rules.yaml POST /automation-rules","href":"/api/automation-rules/create"},{"title":"Delete automation rule","openapi":"bundled/automation-rules.yaml DELETE /automation-rules/{id}","href":"/api/automation-rules/delete"}]},{"group":"Prefill tokens","icon":"key","pages":[{"title":"Get prefill token details","openapi":"bundled/prefill-tokens.yaml GET /prefill_tokens/{prefill_token}","href":"/api/prefill-tokens/get"},{"title":"Create prefill token","openapi":"bundled/prefill-tokens.yaml POST /prefill-tokens","href":"/api/prefill-tokens/create"}]},{"group":"API v1 (deprecated)","icon":"triangle-exclamation","pages":[{"title":"List scheduling links","openapi":"bundled-v1/meetings.yaml GET /meetings","href":"/api-reference-v1/scheduling-links/list"},{"title":"List scheduling link templates","openapi":"bundled-v1/meetings.yaml GET /meeting_templates","href":"/api-reference-v1/scheduling-links/list-templates"},{"title":"Get scheduling link","openapi":"bundled-v1/meetings.yaml GET /meetings/{meeting_sid}","href":"/api-reference-v1/scheduling-links/get"},{"title":"Create scheduling link","openapi":"bundled-v1/meetings.yaml POST /meetings","href":"/api-reference-v1/scheduling-links/create"},{"title":"Update scheduling link","openapi":"bundled-v1/meetings.yaml PATCH /meetings/{meeting_sid}","href":"/api-reference-v1/scheduling-links/update"},{"title":"Create one-time scheduling link","openapi":"bundled-v1/meetings.yaml POST /meetings/{meeting_sid}/create_one_off_link","href":"/api-reference-v1/scheduling-links/create-one-off"},{"title":"List meeting places","openapi":"bundled-v1/spots.yaml GET /meetings/{meeting_sid}/spots","href":"/api-reference-v1/meeting-places/list"},{"title":"Get meeting place","openapi":"bundled-v1/spots.yaml GET /meetings/{meeting_sid}/spots/{id}","href":"/api-reference-v1/meeting-places/get"},{"title":"Create meeting place","openapi":"bundled-v1/spots.yaml POST /meetings/{meeting_sid}/spots","href":"/api-reference-v1/meeting-places/create"},{"title":"Update meeting place","openapi":"bundled-v1/spots.yaml PUT /meetings/{meeting_sid}/spots/{id}","href":"/api-reference-v1/meeting-places/update"},{"title":"Delete meeting place","openapi":"bundled-v1/spots.yaml DELETE /meetings/{meeting_sid}/spots/{id}","href":"/api-reference-v1/meeting-places/delete"},{"title":"List meeting durations","openapi":"bundled-v1/durations.yaml GET /meetings/{meeting_sid}/durations","href":"/api-reference-v1/meeting-durations/list"},{"title":"Get meeting duration","openapi":"bundled-v1/durations.yaml GET /meetings/{meeting_sid}/durations/{id}","href":"/api-reference-v1/meeting-durations/get"},{"title":"Create meeting duration","openapi":"bundled-v1/durations.yaml POST /meetings/{meeting_sid}/durations","href":"/api-reference-v1/meeting-durations/create"},{"title":"Update meeting duration","openapi":"bundled-v1/durations.yaml PUT /meetings/{meeting_sid}/durations/{id}","href":"/api-reference-v1/meeting-durations/update"},{"title":"Delete meeting duration","openapi":"bundled-v1/durations.yaml DELETE /meetings/{meeting_sid}/durations/{id}","href":"/api-reference-v1/meeting-durations/delete"},{"title":"List bookings","openapi":"bundled-v1/bookings.yaml GET /bookings","href":"/api-reference-v1/bookings/list"},{"title":"Get booking","openapi":"bundled-v1/bookings.yaml GET /bookings/{booking_sid}","href":"/api-reference-v1/bookings/get"},{"title":"Create booking","openapi":"bundled-v1/bookings.yaml POST /bookings","href":"/api-reference-v1/bookings/create"},{"title":"Create payment","openapi":"bundled-v1/bookings.yaml POST /bookings/{booking_id}/payments","href":"/api-reference-v1/bookings/create-payment"},{"title":"Confirm payment","openapi":"bundled-v1/bookings.yaml PUT /bookings/{booking_id}/payments/{id}/confirm","href":"/api-reference-v1/bookings/confirm-payment"},{"title":"Reschedule booking","openapi":"bundled-v1/bookings.yaml PATCH /bookings/{booking_sid}","href":"/api-reference-v1/bookings/reschedule"},{"title":"Cancel booking","openapi":"bundled-v1/bookings.yaml POST /bookings/{booking_sid}/cancel","href":"/api-reference-v1/bookings/cancel"},{"title":"Approve booking","openapi":"bundled-v1/bookings.yaml POST /bookings/{booking_sid}/approve","href":"/api-reference-v1/bookings/approve"},{"title":"Reject booking","openapi":"bundled-v1/bookings.yaml POST /bookings/{booking_sid}/reject","href":"/api-reference-v1/bookings/reject"},{"title":"Get associated bookings","openapi":"bundled-v1/bookings.yaml GET /bookings/{booking_sid}/associated_bookings","href":"/api-reference-v1/bookings/get-associated"},{"title":"List availabilities of team members","openapi":"bundled-v1/availabilities.yaml GET /availabilities","href":"/api-reference-v1/availabilities/list"},{"title":"List availabilities of a team member","openapi":"bundled-v1/availabilities.yaml GET /availabilities/team_member","href":"/api-reference-v1/availabilities/list-member"},{"title":"Get availability","openapi":"bundled-v1/availabilities.yaml GET /availabilities/{availability_id}","href":"/api-reference-v1/availabilities/get"},{"title":"Create availability","openapi":"bundled-v1/availabilities.yaml POST /availabilities","href":"/api-reference-v1/availabilities/create"},{"title":"Update availability","openapi":"bundled-v1/availabilities.yaml PATCH /availabilities/{availability_id}","href":"/api-reference-v1/availabilities/update"},{"title":"Create custom availability for scheduling-link","openapi":"bundled-v1/availabilities.yaml POST /meetings/{meeting_sid}/availability/create","href":"/api-reference-v1/availabilities/create-meeting"},{"title":"Update scheduling-link availability","openapi":"bundled-v1/availabilities.yaml POST /meetings/{meeting_sid}/availability","href":"/api-reference-v1/availabilities/update-meeting"},{"title":"List available slots","openapi":"bundled-v1/slots.yaml GET /slots/{meeting_slug}","href":"/api-reference-v1/slots/list"},{"title":"List packages","openapi":"bundled-v1/packages.yaml GET /packages","href":"/api-reference-v1/packages/list"},{"title":"Get package","openapi":"bundled-v1/packages.yaml GET /packages/{package_id}","href":"/api-reference-v1/packages/get"},{"title":"List package purchases","openapi":"bundled-v1/packages.yaml GET /packages/{package_id}/purchases","href":"/api-reference-v1/packages/list-purchases"},{"title":"Get package purchase","openapi":"bundled-v1/packages.yaml GET /packages/{package_id}/purchases/{purchase_id}","href":"/api-reference-v1/packages/get-purchase"},{"title":"List team members","openapi":"bundled-v1/team-members.yaml GET /team_members","href":"/api-reference-v1/team-members/list"},{"title":"Add team members","openapi":"bundled-v1/team-members.yaml POST /team_members","href":"/api-reference-v1/team-members/add"},{"title":"Update team member","openapi":"bundled-v1/team-members.yaml PATCH /team_members/{team_member_id}","href":"/api-reference-v1/team-members/update"},{"title":"Remove team member","openapi":"bundled-v1/team-members.yaml DELETE /team_members/{team_member_id}","href":"/api-reference-v1/team-members/remove"},{"title":"Create discount code","openapi":"bundled-v1/discount-codes.yaml POST /discount_codes","description":"Create a discount code.","href":"/api-reference-v1/discount-codes/create"},{"title":"Create automation rule","openapi":"bundled-v1/automation-rules.yaml POST /automation_rules","href":"/api-reference-v1/automation-rules/create"}]}]},{"tab":"CLI","icon":"rectangle-terminal","pages":[{"title":"CLI","href":"/cli/introduction"}]}]},"basePath":"","title":"Create automation rule - NeetoCal Docs","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CrDfRf61.js","snippetPresets-Dv-cOUrx.js","utils-BUTreAgv.js","style-to-object-BY3JEAdk.js","utils-wsznt9RM.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DEsMlaPy.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DontW4xJ.js","_Uint8Array-pP7X6_RM.js","isObject-FP1Yky1u.js","ApiExamples-CU_aGGP0.js","usePlaygroundInputsStore-7dNmUIbS.js","shallow-fTtruD8x.js","isEqual-BRfNFpSD.js","CodeSnippets-52884wUJ.js","CodeSnippet-eoRjC4Le.js","getApiPlaygroundDisplay-CZyAPlR2.js","Page-Cr9IwkK7.js","DynamicMarkdown-NFqqduU7.js","SectionHeading-DQ-mJoAt.js","icon-DXTBUt6s.js","MethodPill-2v-b3js5.js","getPastedJson-v_8Y1_4v.js","DuplicateIcon-DXIkhZIo.js","createIcon-DRpYuPZs.js","axios-CsQoIw0U.js","Markdown-CwtoSfEf.js","AssistantPageLink-CTqa3eoi.js","dist-DIfYWxfm.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}