Sequential AgentHealthcareintermediate

Appointment Scheduler Template

Acts as · Scheduling Coordinator

Matches a patient to the right visit type and provider availability via Cal and Google Calendar, proposes times, and drafts a confirmation and reminder: feeding the Appointments table. Drafts for staff approval.

A single-purpose agent that runs an ordered list of tasks against your tools, knowledge and tables, the same way every run.

Officialby Akshay Gupta
How it works

Inputs in, an ordered run, a result out.

A Sequential Agent takes typed inputs, runs its tasks top to bottom against your tools and tables, and returns a structured result, the same way on every run.

Typed inputs
Values you pass in, validated before the run spends anything.
2 tasks
Each task runs in order, passing its output to the next.
Tools & tables
3 tools · 2 tables
Result + trace
A structured output, with every step recorded.
The run loop
ReadPlanActCheckWriteTracerepeats until done

What's inside

Everything this template installs, by name.

Tables2
AppointmentsPatients
Tools3
CalGoogle CalendarGmail
Tasks
2 ordered tasks

What it takes in

The inputs you provide on each run, validated before anything executes.

InputTypeRequired
Patient and ReasonpatientReasonLong textRequired
Provider / PreferencespreferencesShort textOptional
The work, step by step

2 tasks, run in order.

Each task passes its result to the next. Here's what each does and what it produces.

  1. 01
    From {{patientReason}} and {{preferences}}, determine the visit type and provider, and use Cal and Google Calendar to propose 3-4 concrete appointment slots, respecting urgency and availability.
    Expected output
    A recommended visit type + 3-4 proposed slots (date/time, provider) with conflicts noted. No JSON.
  2. 02
    Draft the confirmation and reminder message (via Gmail, draft only) with prep/reschedule instructions, and prepare the Appointments record (Status=Requested/Scheduled).
    Expected output
    A confirmation/reminder draft + Appointments record draft, marked for staff approval. No JSON.

Tools it uses

CalCheck booking availability and propose appointment times via Cal.
Google CalendarCheck provider availability on Google Calendar and avoid conflicts.
GmailDraft the appointment confirmation/reminder for staff approval.

What you can do with it

Streamlined Patient Booking
Automate appointment scheduling for healthcare providers
Provider Availability Matching
Match patients with available providers effortlessly
Automated Confirmation Emails
Send instant confirmations and reminders to patients
Efficient Staff Coordination
Draft appointments for quick staff approval

Related templates