---
title: "schedule_management"
description: "Analyze scheduling requests, resolve conflicts, and propose calendar changes."
canonical: "https://acs.synapti.ai/workflows/schedule-management/"
last_updated: "2026-10-28T18:48:12Z"
---

# Analyze scheduling requests, resolve conflicts, and propose calendar changes.

Generated from [schemas/workflows/personal_assistant_workflows.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflows/personal_assistant_workflows.yaml) at commit 18c38b74ac21.

- Workflow id: `schedule_management`
- Risk: low
- Catalog: domain workflows (personal-assistant)
- Declares Standard 1.1.0
- Steps: 10

Schedule management workflow for personal assistants. Analyzes user requests,
checks for conflicts, suggests optimal times, and prepares calendar updates.
All calendar changes require user confirmation.

**Figure: Steps of schedule_management: 10 steps.** Read top to bottom: only step 10 (audit) changes state; steps 3, 6, 7 and 8 have gates; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 2 | `critique` | REASON |  |  |  |  | low |
| 3 | `inquire` | COORDINATE |  | skip |  | 1, 2 | low |
| 4 | `detect` | UNDERSTAND |  |  |  | 1 | low |
| 5 | `search` | PERCEIVE |  |  |  |  | low |
| 6 | `compare` | UNDERSTAND |  | skip |  | 5 | low |
| 7 | `plan` | REASON |  | skip |  | 4, 6 | low |
| 8 | `generate` | SYNTHESIZE |  | skip, skip |  | 3, 7 | low |
| 9 | `explain` | REASON |  |  |  | 3, 4, 5, 8 | low |
| 10 | `audit` | VERIFY |  |  |  | 3, 4, 8 | low |

## Inputs

**Figure: Inputs of schedule_management.** 3 inputs, 1 required (filled pin) and 2 optional (outlined pin), with 9 named fields inside them.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `request` | object | Yes |  |
| `request.content` | string | No |  |
| `request.date_range` | object | No |  |
| `request.duration` | string | No |  |
| `request.title` | string | No |  |
| `request.participants` | array of string | No |  |
| `request.location` | string | No |  |
| `request.constraints` | object | No |  |
| `user_preferences` | object | No | User's scheduling preferences |
| `user_preferences.scheduling` | object | No |  |
| `user_preferences.weights` | object | No |  |
| `profile` | object | No |  |

## Steps

1. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Get user's current calendar for the relevant time range. Stores `calendar_out`. (risk low)
2. [`critique`](https://acs.synapti.ai/capabilities/critique/index.md): Analyze request for ambiguity or missing information. Stores `request_analysis_out`. (risk low)
3. [`inquire`](https://acs.synapti.ai/capabilities/inquire/index.md): Generate clarifying questions if request is ambiguous. Stores `clarification_out`. (risk low)
   - Gate: when `${request_analysis_out.issues} == []`, skip: The analysis found no ambiguity; no clarification needed.
4. [`detect`](https://acs.synapti.ai/capabilities/detect/index.md): Identify scheduling conflicts in proposed time. Stores `conflicts_out`. (risk low)
5. [`search`](https://acs.synapti.ai/capabilities/search/index.md): Find available time slots that match request. Stores `available_slots_out`. (risk low)
6. [`compare`](https://acs.synapti.ai/capabilities/compare/index.md): Rank available slots by user preference alignment. Stores `ranked_slots_out`. (risk low)
   - Gate: when `${available_slots_out.results} == []`, skip: No free slot matches the request; there is nothing to rank.
7. [`plan`](https://acs.synapti.ai/capabilities/plan/index.md): Create calendar modification plan. Stores `calendar_plan_out`. (risk low)
   - Gate: when `${ranked_slots_out} == null`, skip: No slot was ranked; there is nothing to schedule. The explanation tells the user.
8. [`generate`](https://acs.synapti.ai/capabilities/generate/index.md): Create calendar event draft for user approval. Stores `event_draft_out`. (risk low)
   - Gate: when `${clarification_out.questions} != null && ${clarification_out.questions} != []`, skip: Clarifying questions are open; ask them before drafting the event.
   - Gate: when `${calendar_plan_out} == null`, skip: No slot was found, so there is no event to draft.
9. [`explain`](https://acs.synapti.ai/capabilities/explain/index.md): Summarize the scheduling decision for the user, or why no slot was found and which conflicts they must resolve themselves. Stores `explanation_out`. (risk low)
10. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Record scheduling interaction. Stores `audit_out`. (risk low, changes state)

## Data flow

**Figure: Which step reads which stored output.** 7 steps read the output of earlier steps, 15 reads in all; step 9 (explain) reads the most, from 4 steps.

- Step 3 reads from steps 1 and 2.
- Step 4 reads from step 1.
- Step 6 reads from step 5.
- Step 7 reads from steps 4 and 6.
- Step 8 reads from steps 3 and 7.
- Step 9 reads from steps 3, 4, 5 and 8.
- Step 10 reads from steps 3, 4 and 8.

## Risk

Declared and highest step risk are both low; the catalog gives no computed risk; the highest-risk step is step 1 (retrieve), with 9 others at the same level. The step map above gives each step's risk.

## Success criteria

- User request interpreted correctly
- Conflicts identified and resolved
- Optimal time slots proposed
- Calendar update prepared for approval

## Related

- Domain: [personal-assistant](https://acs.synapti.ai/domains/personal-assistant/index.md)
- Listed by the [personal-assistant](https://acs.synapti.ai/domains/personal-assistant/index.md) profile

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflows/personal_assistant_workflows.yaml
```

## Workflow YAML

```yaml
schedule_management:
  goal: Analyze scheduling requests, resolve conflicts, and propose calendar changes.
  risk: low
  domain: personal-assistant
  profile: schemas/profiles/personal_assistant.yaml
  description: |
    Schedule management workflow for personal assistants. Analyzes user requests,
    checks for conflicts, suggests optimal times, and prepares calendar updates.
    All calendar changes require user confirmation.
  success:
    - User request interpreted correctly
    - Conflicts identified and resolved
    - Optimal time slots proposed
    - Calendar update prepared for approval
  steps:
    - capability: retrieve
      purpose: Get user's current calendar for the relevant time range.
      risk: low
      mutation: false
      store_as: calendar_out
      input_bindings:
        target: user_calendar
        format: calendar_events
        filter:
          time_range: ${request.date_range}

    - capability: critique
      purpose: Analyze request for ambiguity or missing information.
      risk: low
      mutation: false
      store_as: request_analysis_out
      input_bindings:
        target: ${request.content}
        criteria:
          - time_specificity
          - duration_clarity
          - participant_identification
          - location_requirements

    - capability: inquire
      purpose: Generate clarifying questions if request is ambiguous.
      risk: low
      mutation: false
      store_as: clarification_out
      input_bindings:
        ambiguous_input: ${request.content}
        context:
          calendar: "${calendar_out.data: object}"
          ambiguities: "${request_analysis_out.issues: array<object>}"
        max_questions: 2
      gates:
        - when: ${request_analysis_out.issues} == []
          action: skip
          message: The analysis found no ambiguity; no clarification needed.

    - capability: detect
      purpose: Identify scheduling conflicts in proposed time.
      domain: conflict
      risk: low
      mutation: false
      store_as: conflicts_out
      input_bindings:
        data: "${calendar_out.data: object}"
        pattern: time_overlap
        threshold: 0  # Any overlap is a conflict

    - capability: search
      purpose: Find available time slots that match request.
      risk: low
      mutation: false
      store_as: available_slots_out
      input_bindings:
        query:
          duration: ${request.duration}
          preferences: ${user_preferences.scheduling}
          constraints: ${request.constraints}
        scope: user_calendar

    - capability: compare
      purpose: Rank available slots by user preference alignment.
      domain: scheduling_preference
      risk: low
      mutation: false
      store_as: ranked_slots_out
      input_bindings:
        options: "${available_slots_out.results: array<object>}"
        criteria:
          - time_of_day_preference
          - buffer_time
          - travel_time
          - focus_time_protection
        weights: ${user_preferences.weights}
      gates:
        - when: ${available_slots_out.results} == []
          action: skip
          message: No free slot matches the request; there is nothing to rank.

    - capability: plan
      purpose: Create calendar modification plan.
      risk: low
      mutation: false
      store_as: calendar_plan_out
      gates:
        - when: ${ranked_slots_out} == null
          action: skip
          message: No slot was ranked; there is nothing to schedule. The explanation tells the user.
      input_bindings:
        goal: schedule_event
        constraints:
          preferred_slot: ${ranked_slots_out.recommendation}
          conflicts_to_resolve: "${conflicts_out.matches: array<object>}"
          user_preferences: ${user_preferences}

    - capability: generate
      purpose: Create calendar event draft for user approval.
      domain: calendar_event
      risk: low
      mutation: false
      store_as: event_draft_out
      gates:
        - when: ${clarification_out.questions} != null && ${clarification_out.questions} != []
          action: skip
          message: Clarifying questions are open; ask them before drafting the event.
        - when: ${calendar_plan_out} == null
          action: skip
          message: No slot was found, so there is no event to draft.
      input_bindings:
        specification:
          type: calendar_event
          title: ${request.title}
          time: "${calendar_plan_out.steps[0].time: string}"
          duration: ${request.duration}
          participants: ${request.participants}
          location: ${request.location}

    - capability: explain
      purpose: Summarize the scheduling decision for the user, or why no slot was found and which conflicts they must resolve themselves.
      risk: low
      mutation: false
      store_as: explanation_out
      input_bindings:
        conclusion:
          draft: ${event_draft_out}
          open_questions: "${clarification_out.questions: array<object>}"
          available_slots: "${available_slots_out.results: array<object>}"
          conflicts: "${conflicts_out.matches: array<object>}"
        audience: user
        depth: brief

    - capability: audit
      purpose: Record scheduling interaction.
      risk: low
      mutation: true
      store_as: audit_out
      input_bindings:
        event:
          type: scheduling_request
          original_request: ${request.content}
          conflicts_found: ${conflicts_out.detected}
          open_questions: "${clarification_out.questions: array<object>}"
          proposed_time: "${event_draft_out.content.time: string}"

  inputs:
    request:
      type: object
      required: true
      properties:
        content: {type: string}
        date_range: {type: object}
        duration: {type: string}
        title: {type: string}
        participants: {type: array, items: {type: string}}
        location: {type: string}
        constraints: {type: object}
    user_preferences:
      type: object
      description: User's scheduling preferences
      properties:
        scheduling: {type: object}
        weights: {type: object}
    profile:
      type: object
      ref: schemas/profiles/personal_assistant.yaml
```
