Digitalsac DigiCrm icon

Digitalsac DigiCrm

Interact with the Digitalsac DigiCrm API (WhatsApp, tickets, scheduling, WABA templates and more).

Actions396

WABA Template → Create Schedule

AI-generated

Summary

Create a schedule (appointment) in the Digitalsac DigiCrm system specifying service, user, date/time, and contact information.

Inputs

  • Service ID (required) — Numeric ID of the service for which to create the schedule.
  • Date (required) — Scheduled date in YYYY-MM-DD format.
  • Time (required) — Scheduled time in HH:mm format.
  • User ID (required) — Numeric ID of the attendant/user responsible for the schedule.
  • Contact Name (required) — Name of the customer or contact associated with the schedule.
  • Contact Phone (required) — Phone number of the customer/contact, e.g., 5511999999999.
  • Notes — Optional notes for this schedule.
  • WhatsApp Connection ID — Optional WhatsApp connection ID; if 0 or omitted, defaults to the first available connection.
  • Custom Message — Optional custom message to associate with the schedule.
  • Reminders (Minutes) — Comma-separated list of reminder times in minutes before the schedule (e.g., '60,240'). Defaults to 60 and 240 minutes.
  • Interval Duration (Minutes) (required) — Duration of each scheduling interval in minutes (default 30).
  • Close Ticket After Scheduling — Boolean option whether to close the ticket automatically after scheduling (default false).

Output shape

a single JSON object representing the created schedule data as returned by the API

The operation performs an authenticated POST request to create the schedule; errors are thrown or returned in the output if the request fails.

Examples

Example 1: Create a schedule for service 1 on 2025-08-07 at 09:00 with user ID 1 for contact João at phone 5511999999999, including reminders 60 and 240 minutes before, and optional notes.

Set Service ID=1, Date='2025-08-07', Time='09:00', User ID=1, Contact Name='João', Contact Phone='5511999999999', Reminders='60,240', Notes='Optional notes here'.

Links

Discussion