Skip to main content
Tired of manually requesting daily sales reports or checking weekly system monitoring results? Schedules send the AI prompts at scheduled times automatically and save the results to chat or deliver them via email/Slack/Teams.

Example

“Every day at 9 AM, analyze yesterday’s sales and send the report by email”
MethodProcessTime
Manual requestOpen chat daily → enter prompt → copy result → write email10–20 min/day
ScheduleConfigure once → auto-run daily + email send0 min (auto)
Schedule list

Schedule Lifecycle


Schedule List

In the Schedules section of the sidebar, view all schedules.
FeatureDescription
SearchSearch by name, description, prompt
Toggle active/inactiveToggle from the more menu (⋮)
Run NowRun immediately without waiting for next cycle
DeleteDelete the schedule and execution history

Creating a Schedule

Click the + icon button to create a schedule.
1

Basic info

Enter name and description.
Schedule creation form
FieldDescriptionExample
NameSchedule name”Daily Sales Report”
DescriptionPurpose (optional)“Daily 9 AM sales analysis”
2

Pick target

Pick the agent, flow, or model to run.
Target TypeDescription
AgentAI agent connected to Knowledge Bases, databases, etc.
FlowMulti-step workflow
ModelBase LLM model (direct prompt)
DashboardBI dashboard HTML export (refreshed with latest data)
You can only pick targets you have access permission to. Without permission, they don’t appear in the list.
3

Write the prompt

Enter the prompt to send when running.Tips:
  • Specify the desired output form
  • When the agent has structured output (JSON Schema), result fields are accessible from notification templates
Example:
Analyze today's sales data and write a report including DoD growth rate
and key drivers. Visualize with charts and summarize 3 key insights.
4

Set frequency (cron editor)

Set the run frequency. An intuitive cron editor is provided.
Cron editor UI
ModeDescriptionExample
IntervalRun every N minutes (1, 2, 3, 5, 10, 15, 20, 30 min)Every 10 min
HourlyEvery hour at a specific minuteEvery hour at :30
DailyDaily at a specific timeDaily 9:00 AM
WeeklySpecific weekday + timeMon–Fri 9:00 AM
MonthlySpecific day + time1st of month 8:00 AM
CustomDirect cron expression0 9 * * 1-5
You can also set timezone and run period.
SettingDescription
TimezoneReference timezone for run time (default: browser timezone)
Start dateSchedule start date (optional)
End dateSchedule end date (optional, indefinite if unset)
5

Notification setup

Set channels to receive run results. Add multiple notifications.
Notification config UI
SettingDescription
Channel typeEmail / Webhook (preconfigured) / Direct URL / Telegram / Google Chat
Channel selectionPick admin-configured email or webhook channel
TriggerAlways / Success only / Failure only
Email recipientsEmail address list (email channel only)
Subject/Body templateEmail subject and body (email channel only)
Message templateWebhook message (webhook channel only, optional)
Add multiple notifications to a single schedule for conditional branching — e.g., email on success and Slack on failure.
Newly created schedules are saved as active (is_active=True) by default. The next run is scheduled immediately upon creation.

Cron Expression Guide

In Custom mode, enter a cron expression directly. A cron expression has 5 fields.
┌─────────── minute (0-59)
│ ┌─────────── hour (0-23)
│ │ ┌─────────── day of month (1-31)
│ │ │ ┌─────────── month (1-12)
│ │ │ │ ┌─────────── day of week (0-6, 0=Sunday)
│ │ │ │ │
* * * * *

Special Characters

CharacterMeaningExample
*All values* * * * * = every minute
,List multiple values0 9,18 * * * = 9 AM and 6 PM
-Range0 9 * * 1-5 = Mon–Fri
/Step*/10 * * * * = every 10 min

Day of Week Numbers

NumberDay
0Sunday
1Monday
2Tuesday
3Wednesday
4Thursday
5Friday
6Saturday

Common Expressions

Cron ExpressionDescription
0 9 * * *Daily 9 AM
0 9 * * 1-5Weekdays (Mon–Fri) 9 AM
0 9,18 * * *Daily 9 AM and 6 PM
30 8 * * 1Mondays 8:30 AM
0 0 1 * *First of every month, midnight
0 0 1,15 * *1st and 15th of every month, midnight
*/30 * * * *Every 30 min
0 */2 * * *Every 2 hours on the hour
0 9 * * 1,3,5Mon/Wed/Fri 9 AM
0 22 * * 0Sundays 10 PM
When you set Interval/Hourly/Daily/Weekly/Monthly modes, the cron expression is auto-generated. Use Custom mode only for complex schedules.

Schedule Management

Activate / Deactivate

Open the more menu (⋮) in the list and toggle active/inactive. When deactivated, the next run isn’t scheduled.

Run Now

Click Run Now to run immediately without waiting for the next cycle. Useful for manual result review or testing settings.

Edit

Click a schedule card to open the detail page where you can edit all settings. Changes auto-recalculate the next run time.

Delete

Deleting a schedule also removes related execution history.
Deleted schedules can’t be recovered. Execution history and linked chat history may also be deleted, so proceed carefully.

Copy to Users

Copy a schedule to other users. Copy to Users works as a copy-based share.
ItemDescription
Independent copyA separate schedule is created for the recipient
Settings copyTarget, prompt, frequency, and notifications all copied
Independent editsAfter sharing, each user can edit their own schedule freely
Origin trackingCopy metadata records the original owner and schedule info

Execution History

On the schedule detail page, view recent execution history.
Execution history

Status

StateColorDescription
PendingYellowAwaiting execution
RunningBlueCurrently executing
CompletedGreenCompleted successfully
FailedRedError occurred

History Details

ItemDescription
Run timeScheduled run time
DurationTime from start to completion
Retry countAuto-retry count on errors (max 2)
Error messageFailure cause (on failure)
View chatNavigate to the chat where results were saved

Auto-retry

Timeouts, server errors (5xx), rate-limit errors, and connection errors are auto-retried up to 2 times. Tasks running for more than 10 minutes are auto-recovered.

History Retention

Completed and failed execution records are auto-deleted after 30 days.

Chat Storage

Every execution result is saved to a dedicated chat.
ItemDescription
First runA new chat is auto-created
Subsequent runsResults accumulate in the same chat
Chat titleSet by the notification subject template (default: [{{schedule_name}}] {{result.title}})
Quick linkNavigate via “View Chat” link in execution history

Chart Images

Charts generated by Database (DbSphere) agents are server-side rendered to images and included in notifications. Supported chart types:
  • Bar charts, line charts, pie charts, scatter plots
  • Heatmaps, histograms, grouped bar charts
Per-channel delivery:
ChannelMethod
EmailInline images in the body
SlackImage URL display
TeamsImage included in Adaptive Card
DiscordImage in Embed (first image)
TelegramSent as image messages
Google ChatImage in Card

Template Variables

Variables you can use in notification subject, body, and message templates.
VariableDescriptionExample
{{schedule_name}}Schedule nameDaily Sales Report
{{prompt}}Executed promptToday’s sales data…
{{result}}Full execution result(Full AI response)
{{status}}Execution statuscompleted / failed
{{result_raw}}Raw result before processing(Raw AI response)
{{chat_url}}Result chat URLhttps://cloosphere.example.com/c/abc123
{{completed_at}}Completion time2025-02-27 09:00:45

Accessing Structured Output

When the target agent has a JSON Schema response format, access individual fields with dot notation.
{{result.title}}           → title field of the result JSON
{{result.data.count}}      → nested field access
{{result.metrics.revenue}} → revenue data access
In the notification setup screen, structured output fields are auto-detected and shown as buttons. Click to insert into the template.

Template Examples

[{{schedule_name}}] {{status}} - {{completed_at}}

Access Permissions

ScopeDescription
CreationOnly users with features.scheduled_tasks permission can create (admins always can)
Edit/deleteOnly owner or admin can
Sharing (read)Grant view permission to specific groups/users via access_control
Target accessRead permission required for target agent/model (or it’s hidden)

FAQ

Check:
  • Verify the schedule is active
  • Verify start/end dates are correctly set
  • Verify access permission to the target agent/model
  • Verify features.scheduled_tasks permission is enabled for the user’s group
The scheduler checks for run targets at 1-minute intervals. Once queued, workers process at 5-second intervals. So up to ~1 min delay can occur, which is normal.
Each schedule can have its own timezone. Example: Seoul office uses Asia/Seoul, NY office uses America/New_York. The default auto-detects the browser’s timezone.
The execution may have failed. Check the status and error message in execution history.
Email and webhook channels are pre-configured by admins in Admin > Settings > Notifications. The Direct URL method can be entered directly in the schedule without preconfiguration.
Picking Interval/Hourly/Daily/Weekly/Monthly mode auto-generates the cron expression. For Custom mode, see the Cron Expression Guide above.
Yes — click Copy to Users on the schedule detail page and select target users. An independent copy is created for each user, separate from the original and freely editable.

Agents

Configure AI agents as schedule targets

Notification Settings

Pre-configure email/webhook notification channels

Database

Useful for chart-included sales report automation