Skip to main content
Routines let you schedule AI-powered tasks to run automatically on a recurring basis. Set up a routine once, and Omni runs your prompt through the Omni Agent on the schedule you define and then delivers the result to the people you choose. Unlike a standard schedule that delivers the same static dashboard or file every time, a routine runs a prompt on each execution. The result is a written, plain-language response — a summary, an answer, or an interpretation of what changed — rather than just a refreshed asset.

Use cases

Routines work best for recurring questions where an AI-written response adds more than a static export would. For example:
  • Morning briefings for sales teams — “Summarize yesterday’s closed-won deals by rep and flag any account that slipped to next quarter,” delivered before the team logs on
  • Operational summaries — “Describe how today’s order volume and fulfillment times compare to the same day last week, and call out anything unusual”
  • Pipeline and revenue narratives — “Write a short update on how we’re tracking against this month’s revenue target and which segments are driving the change”
  • Plain-language monitoring — “Check for any spikes in error rates or refunds over the last 24 hours and explain what you find”

How routines work

A routine runs your prompt through the Omni Agent on the schedule you set. Each run executes independently and respects your organization’s permissions and data access controls. The result is delivered as text to the destination you choose — by email, or to a Slack channel or users. Each routine runs with the same permissions as the user who created it, so a routine can only query data its creator has access to.

Creating a routine

Restricted Querier permissions or higher are required to create routines.
Routines can be created in the Omni UI, through the API, or from the Omni CLI.
1

First step

  1. In your Omni instance, click Routines in the side navigation.
  2. Click New routine.
  3. Fill in the fields:
    • Routine name — A descriptive name for the routine
    • Description — Optional details about what the routine does
    • Prompt — The instruction the Omni Agent runs on each execution
    • Model — The data model the routine queries, with an optional Topic to focus query generation
    • Destination — Where each run is delivered. Choose Email and pick the users or user groups to notify, or Slack and pick a channel or users. Slack requires a connected Slack workspace; to deliver to a private channel, invite the Omni Slackbot to it first.
2

Define the schedule

In this step, you’ll define the cadence for the routine. The routine’s schedule can be defined using the visual options or with cron:
Use the UI options (Daily, Weekly, etc.) to select a time period.By default, schedules are set to send in the local timezone of the delivery creator’s computer. Use the Times are in drop down to change the timezone.
A cron expression is a string that describes the individual details of a schedule:Using cron, you can create schedules like the following:
At 9:00 AM every day
At 6:30AM on the last day of the month
At 8:45 AM every day, Monday through Friday
Omni uses Amazon Web Services’ (AWS) syntax for cron expressions. Refer to the AWS documentation for more information. By default, the most frequent you can configure a schedule is hourly.
Click the icon above the Cron string field to generate a cron schedule from a prompt like “every weekday at 9AM” or “first Monday of each month at noon”.
3

Save the routine

When finished, click Save routine.

Managing routines

From the Routines page, you can:
  • View your routines and whether each is active or paused
  • See when each routine last ran and when it will run next
  • Edit a routine’s settings, prompt, schedule, or recipients
  • Trigger an immediate run of the routine
  • Pause or resume a routine
  • Delete routines you no longer need
Routines can also be managed with the API or the Omni CLI (omni ai-routines).

Best practices

  • Be specific in your prompts — Clear, detailed instructions produce more consistent results across automated runs
  • Test before scheduling — Run your prompt in the Omni Agent first to verify it produces the result you expect before creating a routine
  • Choose appropriate schedules — Match the routine’s frequency to how often the underlying data changes and when the result is useful
  • Review results regularly — Check routine output periodically to make sure it still meets your needs as your data and questions evolve

Limitations

  • Using routines in embedded context is not currently supported
  • Each routine delivers to a single destination. To send a run to both email and Slack, create one routine per destination.