Skip to navigation

Routines (Beta)

Automate the work around your agents with multi-step flows that start on a schedule, at the end of a conversation, or when something happens in another system.

A routine is a flow of steps that runs in the background when a conversation ends, on a schedule, or when another system sends a webhook. Steps can call an API, run a tool, ask an agent to draft a reply, place an outbound call, or wait until a set time.

Routine editor with the Support follow-up routine on the canvas and its trigger's settings
open

Routines are in beta and not yet available in every workspace. To request access, contact your account manager. Routines aren’t available with Zero Retention Mode yet, because runs store data.

When to use a routine

Routines are ideal for flows that need to run the same way every time, such as checking in with a customer a few days after every support call. A routine runs the steps you defined, in order, and a single run can span days or weeks. Every run is recorded, and a step can still hand a judgment call to an agent.

How it works

Every routine has one trigger and the steps connected after it. When the trigger fires, it starts a run and passes in the run’s input, such as the conversation that just ended. Each step reads the values it needs from that input, from earlier steps, or from the routine’s variables, and its output is available to the steps after it.

Edit the routine as a draft, test it with live or mocked steps, then publish it as a numbered version. While the routine is active, its trigger runs the published version, and run history records what each step received and returned. Build a routine walks through each part.

Triggers and steps

A routine starts from one of four triggers: Manual run, Schedule, Incoming webhook, or Conversation ended. It can use five types of steps: HTTP request, Tool, Agent, Outbound call, and Wait.

Example use cases

A few examples to get you started. You can combine any of the triggers and steps above to build your own.

Post-call follow-up

When a support call ends, update the customer’s ticket with what was discussed and have an agent draft a follow-up email.

Callbacks and reminders

When a webhook reports a missed call or a booked appointment, wait until the right time and place an outbound call.

Scheduled operations

Every morning, pull open tickets from your helpdesk, summarize them with an agent, and post the summary to a team channel.

Availability

Routines are built and managed in the ElevenAgents dashboard. There’s no API, CLI, or SDK for creating or editing routines yet, so these pages cover the dashboard only. To build a routine from a description instead, use Architect.

Limits

LimitValue
Run lengthUp to 31 days.
Wait stepUp to 30 days.
Runs per workspace1,000 an hour across all routines. Runs started by a conversation ending don’t count.
Webhook requests60 a minute per routine, with a body of up to 256 KB.

Privacy

Runs store each step’s inputs and outputs, which can include customer data. They’re deleted 30 days after they end by default, or when the starting conversation’s transcript is deleted, if that’s sooner. See Retention to change this. Encrypted conversations and conversations in Zero Retention Mode don’t start routines.

Next steps