> ## Documentation Index
> Fetch the complete documentation index at: https://developer.watson-orchestrate.ibm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling scheduling for agentic workflows and agents

Enable scheduling for your agentic workflows and agents to create automated schedules through the Chat UI.

## Enabling scheduling for agentic workflows

To enable scheduling in agentic workflows, set `schedulable=True` in the `@flow` decorator:

```python theme={null}
from ibm_watsonx_orchestrate.flow_builder.flows import flow

@flow(
    name="daily_report_flow",
    schedulable=True  # Enable scheduling
)
def my_workflow():
    # Agentic workflow logic
    pass
```

## Enabling scheduling for agents

To enable scheduling in agents, enable scheduling when creating the agent:

<CodeGroup>
  ```python Python theme={null}
  from ibm_watsonx_orchestrate.agent_builder.agents import Agent

  my_agent = Agent(
      name="monitoring_agent",
      is_schedulable=True,  # Enable scheduling
      # other agent configuration...
  )
  ```

  ```yaml YAML theme={null}
  spec_version: v1
  kind: native
  name: monitoring_agent
  is_schedulable: true  # Enable scheduling
  # other agent configuration...
  ```

  ```json JSON theme={null}
  {
      "spec_version": "v1",
      "kind": "native",
      "name": "monitoring_agent",
      "is_schedulable": true,
      "description": "Agent description",
      "instructions": "Agent instructions"
  }
  ```
</CodeGroup>

<Note>
  Scheduling is disabled by default for all agents. Enable it manually if you want to use it.
</Note>

***

## Creating schedules through Chat UI

After you enable scheduling, create and manage schedules through natural language in the Chat UI:

**Create a schedule:**

```text theme={null}
Schedule daily_report_flow to run every Monday at 9 AM EST
```

**View schedules:**

```text theme={null}
Show my schedules
```

**Update a schedule:**

```text theme={null}
Change the daily report to run at 10 AM instead
```

**Delete a schedule:**

```text theme={null}
Delete the monitoring schedule
```

You receive interactive forms that guide you through schedule configuration. For more information, see [Scheduling tasks](https://ibmdocs-test.dcs.ibm.com/docs/en/watsonx/watson-orchestrate/base?topic=chat-scheduling-tasks).

***
