List automation rules
This command shows automation rules in your workspace. Use this when you want to review configured triggers and actions.Sample output (--json)
Create an automation rule
This command creates a new automation rule. Use this when you want to configure automated actions triggered by booking events.- The
--json-fileholds the meetings the rule applies to and the actions to run.meeting_idsare meeting UUIDs. Each action needstype,email_subjectandemail_body. The calendar actions (send_calendar_invite_to_anyone, orsend_calendar_cancellation_to_anyonewith--event booking_cancelled) also needemails,calendar_invite_subject, andcalendar_invite_body:
rule.json
Sample output (--json)
- To take the meeting off the invited calendars when it is cancelled, create a second rule with
--event booking_cancelledand asend_calendar_cancellation_to_anyoneaction. Use the sameemailsandcalendar_invite_subjectas the invite rule. Any other event fails with a422error.
cancel-rule.json
- To email the person who booked, use a
send_email_to_clientaction. The optionalclient_typessends only tofirst_timeclients (no earlier confirmed booking in the workspace), only toreturningclients, or to both; leave it out to email everyone. Someone is returning when an earlier confirmed booking on any scheduling link shares their email or phone number.
welcome-rule.json
Delete an automation rule
This command deletes an automation rule. Use this when you no longer need a configured rule.<id>- Automation rule UUID
id. In --quiet mode this prints success.
Sample output