Skip to main content
Scheduled tasks let you run AI prompts on a recurring schedule. Write a prompt, set a schedule, and Modem’s agent will execute it automatically.

How It Works

A scheduled task is a prompt paired with a schedule. At each scheduled time, the Modem agent runs your prompt and outputs the result to a destination of your choosing: a Slack channel, a Slack DM, or an email. You write the prompt in plain language, just like you’d talk to the agent in chat.
Slack messages can be sent to any user in your connected workspace. Emails can only be sent to members of your Modem organization.
A few examples of what you might schedule:

Creating a Task

The easiest way to create a scheduled task is to ask the agent: The agent will set up the task for you, including the prompt, schedule, and delivery destination.

Creating a task (manually)

1

Navigate to Scheduled Tasks

Go to Settings > Scheduled Tasks in your dashboard.
2

Create a new task

Click New Task. Give it a name and write the prompt you want the agent to execute.
3

Set the schedule

Choose how often the task should run:
  • Interval (e.g. every 24 hours)
  • Cron expression for precise scheduling (e.g. 9 AM every Monday)
  • One-time for a single future execution
You can also set the timezone. The minimum frequency is every 30 minutes.
4

Activate

Enable the task. It will run automatically on schedule.

Managing Tasks

Each task shows its current status, when it last ran, and when it will run next. You can:
  • Pause and resume a task without deleting it
  • Run now to trigger an immediate execution
  • Edit the prompt, schedule, or timezone
  • View run history to see past executions, their results, and any errors