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.
- UI
- API
- CLI
1
First step
- In your Omni instance, click Routines in the side navigation.
- Click New routine.
- 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:
Visual schedule builder
Easy point-and-click schedule builder
Visual schedule builder
Easy point-and-click schedule builder
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.
Custom cron schedule (Advanced)
Code-based granular timing control
Custom cron schedule (Advanced)
Code-based granular timing control
A cron expression is a string that describes the individual details of a schedule: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.
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
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
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.

