How can we help?

Automation rules commands

The automation-rules command lets you list, create, and delete automation rules.

List automation rules

This command shows automation rules in your workspace. Use this when you want to review configured triggers and actions.

neetocal automation-rules list
neetocal automation-rules list --page 1 --page-size 10

Optional flags:

  • --page - Page number

  • --page-size - Items per page

  • --subdomain <name> - Target a specific logged-in workspace

  • --json - Return JSON envelope output

  • --quiet - Return raw payload only

  • --toon - Return TOON (token-optimized) output

Sample output:

NAME                    STATUS    ID                                  
─────────────────────   ───────   ────────────────────────────────────
New Rule - 1782360402   enabled   0782a1a0-683f-4068-a10a-862f38640947

Create an automation rule

This command creates a new automation rule. Use this when you want to configure automated actions triggered by booking events.

neetocal automation-rules create --name="Notify on booking" --event=booking_confirmed --json-file=rule.json

Required flags:

  • --event - Trigger event. Valid values: marked_no_show, booking_confirmed, booking_rescheduled, booking_cancelled, before_meeting_starts, after_meeting_ends, meeting_outcome_changed, booking_requested

Optional flags:

  • --json-file - Path to JSON file with meeting_ids (meeting UUIDs) and actions. Each action needs type (currently send_calendar_invite_to_anyone), emails, email_subject, email_body, calendar_invite_subject, and calendar_invite_body

  • --name - Rule name

  • --subdomain <name> - Target a specific logged-in workspace

  • --json - Return JSON envelope output

  • --quiet - Return raw payload only

  • --toon - Return TOON (token-optimized) output

Sample output:

ID           00000000-0000-0000-0000-000000000001
  NAME         Notify on booking
  MEETING IDS  ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]

Delete an automation rule

This command deletes an automation rule. Use this when you no longer need a configured rule.

neetocal automation-rules delete 00000000-0000-0000-0000-000000000001

Required arguments:

  • <id> - Automation rule UUID

Optional flags:

  • --subdomain <name> - Target a specific logged-in workspace

  • --json - Return JSON envelope output

  • --quiet - Return raw payload only

  • --toon - Return TOON (token-optimized) output

Sample output:

Automation rule deleted successfully.