Workflows
A workflow runs an agent while you are away from your desk. It starts on chosen weekdays at a set time, or when something happens, such as a new email arriving in a mailbox folder. The agent gets the same message from you on every run and works through it with its tools. You see every run under Workflows, and depending on your notification setting the agent also reports in Messages. You can set up a workflow for any agent you may use, as long as its author has approved it for workflows.
Before you start
-
Workflows are off by default. They appear only if your provider has turned them on for your instance and agents are turned on too. If either is off, Workflows does not appear in the sidebar.
-
The agent must be approved for workflows by someone who can edit it. In the agent builder, they turn on Expert mode, open the Tools step, switch on This agent may run unattended in workflows under Approved for workflows, and save. If the agent has an open draft, or is distributed through the Hub, the approval only takes effect once the draft is published. The Hub refuses the publish while the agent or one of its sub-agents does not meet its standard for unattended runs. See Building an agent.
Enlarge figure -
Every run uses your account and your token balance. You can check your balance under Profile, usage and token balance.
Note: Nobody watches a run while it works. Without you, it can only use tools the agent's author set to run without asking under What the agent may do on its own. A tool set to always ask before running holds the run until you answer.
Create a workflow
- Open Workflows in the sidebar. Until you have a workflow, the page shows "No workflow yet".
- Select New workflow at the top right. A panel opens on the right and explains the three steps: pick an agent, set the trigger, write the instruction.
- Under Pick an agent, select the agent. The list only shows agents approved for workflows. If there are none, you see "No agent is released for workflows". To choose again later, select Pick a different agent.
- The panel heading changes to Workflow for followed by the agent's name. Choose Schedule or Event, then fill in the form as described in the next two sections.
You can have one schedule per agent. If you already have one, the agent is marked Already scheduled in the list. After you pick it, Schedule is unavailable, the panel says "You already have a schedule for this agent." and Open schedule takes you to it. You can still add an event trigger for the same agent.
You can have up to 10 schedules. Beyond that, Intra AI says "You have reached the maximum number of workflows. Delete one to create another."
There are two more ways to set up a schedule. In an agent's details, Schedule workflow opens the same form; if you already have a schedule for that agent, the button reads Open workflow and takes you to it. With Expert mode on, the agent builder also has a Workflow step with the same schedule form. It sets up schedules only, not event triggers.
Set a schedule
-
Pick the weekdays the agent should run (Mon to Sun). Monday to Friday are preselected. If you pick no day, the agent runs every day.
-
Set the Time. The default is 09:00. Your browser displays this field, so it shows a 24-hour clock or AM/PM depending on your browser's language settings.
-
Check the Time zone. It is preset to Europe/Berlin.
-
Under Message to the agent, write the task the agent receives on every run, up to 4,000 characters. A counter shows how many you have used.
Enlarge figure -
Under Inbox notification, choose when you hear from the workflow: After every run, Only on failure (the default) or Never. Only on failure also tells you about skipped runs and about runs where a tool never answered. A run that waits for your answer always notifies you.
-
If you want, cap each run with Time limit (minutes) and Token limit per run. Then select Create schedule.
The time limit is 1 to 60 minutes. Leave it empty to use the maximum of 60 minutes.
The token limit is 10,000 to 5,000,000, and empty means no limit. Any other value is refused with "Enter a whole number from 10,000 to 5,000,000, or leave it empty." Intra AI checks the token limit each time the agent finishes a step (for example, one tool call), so a run can end slightly above the limit. With a very low limit, runs often stop before the agent has finished.
The new schedule appears in the list on the left with its days, time and next run, and "Not run yet" until it has run once.
Placeholders in the message
Placeholders in double curly braces are filled in when the run starts. Unknown placeholders are left as they are.
| Placeholder | Replaced with |
|---|---|
{{today}} | Date of the run, for example 2026-12-03 |
{{yesterday}} | The day before the run |
{{weekday}} | Weekday of the run in your instance's default language, for example Wednesday |
{{now}} | Time the run started, for example 09:00 |
{{lastRunAt}} | Date and time the last successful run started |
Dates and times use the schedule's time zone. {{lastRunAt}} stays empty until a run has succeeded. A successful run you start with Run now counts too. Write the message so it still works without it: "Summarize everything that is new since {{lastRunAt}}. If no time is given, use the last seven days."
React to an event
An event trigger starts the agent when something happens, for example when a new email arrives in a mailbox folder. It needs a service your instance has enabled for event triggers, and an account for that service that you have connected (see Connecting integrations).
Which services appear depends on your instance, for example Outlook Email or E-Mail (IMAP/SMTP), each with the event New mail in a folder. If your instance has no such service, the form only shows "No service is enabled for event triggers on this instance yet." If the service is there but you have no usable account, you see "No usable account. Connect the service under Integrations."
-
Select Event at the top of the form.
-
Choose the Service. The Event appears next to it with a short description.
-
Choose the Account and the Folder to watch. The folder starts on your inbox, shown under the name your mailbox gives it.
-
Set Check every … minutes. The default is 5 and the minimum is 1. Intra AI checks the folder at this interval, so an email that leaves the folder before the next check is not seen.
Enlarge figure -
Under Message to the agent, write the task. You cannot save the trigger without it. The agent always receives the email that started the run.
You can insert details from the email with placeholders:
{{event.from}},{{event.fromName}},{{event.fromSelf}},{{event.hasAttachments}},{{event.importance}}and{{event.subject}}. The agent treats text from the email as content to work on and does not follow instructions written in it. -
Under Only events where …, narrow which events start a run. Each condition has a Field (Sender, Sender name, Sent by me, Has attachments, Importance or Subject), a Comparison (equals, contains, starts with, ends with, is one of, is none of) and a Value. Add condition adds another, up to 10. The form starts with the condition Sent by me equals no, so your own emails do not start runs.
-
Choose the Inbox notification as you would for a schedule.
-
Check the limits. Token limit per run is required for events (10,000 to 5,000,000, default 200,000), and there is no Time limit (minutes). Runs per day defaults to 100; beyond that, events wait until midnight Berlin time. Keep a question open (hours) sets how long a run that asks you something waits for your answer, 1 to 24 hours, default 24. Your administrator can set lower maximums for Runs per day and Token limit per run; a higher value is refused with "The limit is above the maximum your administrator allows", followed by the maximum.
-
Select Create. You see "Event trigger created."
The section What an event run may do lists which tools run without asking, which only run with your confirmation, and which are not available on event runs. On event runs, anything that sends, shares or deletes always waits for your confirmation, even if the agent's author set it to run without asking. The same applies to tools set to always ask before running and to tools Intra AI cannot assign to a category. If the agent hands work to sub-agents, their tools are not listed, but an event run can use them.
Check an event trigger
Select the trigger in the list. Its detail shows the status badge (for example Active), the next automatic check, and the fields Last event, Last checked, Check interval and Queued events.
Enlarge figure- Check now checks the folder right away. It is unavailable for a moment after a check.
- Pause stops new runs. The trigger shows "Paused by you" and keeps checking while paused, and new events are queued until you select Resume.
Reply proposals for new emails
An event run can draft a reply to the email that triggered it and leave sending to you. This only works if reply proposals are on for your instance and the agent's author has turned on Propose replies for review in the builder's Tools step. That option needs a mail tool that supports reply proposals, for example the Outlook action Create reply draft. Without such a tool the option cannot be turned on, and if reply proposals are off for your instance, the builder says "Reply proposals are switched off for this instance".
On such a run the agent saves the reply as a draft in your mailbox and puts it in Messages for review, where you choose, for example, Send reply or Ignore. Messages describes all actions on a reply proposal. Nothing is sent before you decide.
At most 30 reply proposals are made per day (Berlin time). After that the agent still handles the emails but drafts no reply, and Messages tells you, for example "…: daily limit of reply proposals reached, 2 replies were not drafted". The limit starts again at midnight Berlin time.
Check the runs
The left side lists your workflows. A schedule shows its days and time, the next run and the status of the last run. An event trigger shows its service, event and status. The tabs All, Awaiting input and Failed narrow the list to workflows that are waiting for your answer or whose last run failed. If nothing matches, you see "Nothing awaiting input" or "No failed run", and Show all brings back the full list.
- Select a workflow on the left. Its runs appear on the right.
- Select a run to see its status, when it was due (Scheduled for, Event at for an event run, or Requested at for a run you start with Run now), Started, Duration, Tokens and Result. The result is marked OK, With warnings, Failed or Nothing to report, with a summary the agent recorded, or, if it recorded none, one drawn automatically from its answer (marked "Summarised automatically from the agent's answer."). A recorded result can also list fields and links. The detail also lists the Integrations used, and an event run links to its event with Show event. A failed run also shows why it failed.
- Select Open chat to read the run's full conversation. It opens as a chat titled with the agent's name and the date. The button is missing if the run never started.
Runs are listed for 90 days. Older runs disappear from Workflows, even if you keep the schedule.
Enlarge figureRun now in the schedule's detail starts a run right away, without asking you to confirm, and it uses your token balance. It is tagged Started manually. A run can be Running, Succeeded, Awaiting input, Failed or Skipped.
Each person can have only one scheduled run or run started with Run now going at a time. While another one of yours is still running, Run now is refused with "You already have several answers running. Wait for one to finish and try again." A schedule that comes due in the meantime waits up to 30 minutes and is skipped after that.
Results and questions in Messages
Depending on Inbox notification, a workflow reports in Messages with a notice like "Weekly sales briefing finished a run", named after the agent. Open run takes you to the run in Workflows. Some agents also send their own message with the result, even when you chose Only on failure.
Two notices come regardless of Inbox notification. When a schedule turns itself off after repeated failures, you get "… was paused after repeated failures" (see Troubleshooting), even with Never. When the agent is published in a new version, everyone with an active schedule on it gets "… was changed" with "A new version was published. Your schedule uses it from its next run."
Enlarge figureIf a scheduled run needs an answer from you, you get "… is waiting for your answer" with Answer in the run. The question stays open only until the next run starts. After that it counts as unanswered.
For an event trigger you get "… is waiting for your answer on an event" with Decide in the workflow instead. Until you answer, further events of that trigger wait. The question stays open for the number of hours set under Keep a question open (hours).
Pause, change or delete a workflow
A schedule
- Select the schedule, then Edit. The form shows the next run date.
- Turn off Schedule active to pause it. The form then says "Schedule off — this workflow runs only when you start it yourself." You can still start it with Run now.
- Change the days, time, message or limits if needed, and select Save schedule. The button is available once you have changed something.
If you leave the form with unsaved changes, Intra AI asks whether to Save or Discard them, or to Keep editing.
To delete the schedule, select Delete schedule at the bottom of the form. Intra AI asks "Really delete the schedule? Its past runs will no longer be listed under Workflows." Confirm with Yes, delete. The chat of each past run stays in your chat list.
Warning: Deleting cannot be undone. If you still need the results of past runs, turn off Schedule active instead. Runs are listed for 90 days either way.
An event trigger
Pause and Resume are on the trigger's detail. To change the trigger, select Edit, change the form and select Save. The folder, interval, message, conditions and limits can be changed. Service, event and account cannot be changed after creation; to switch them, delete the trigger and create a new one.
To delete it, select Edit, then Delete event trigger. Intra AI asks "Delete the event trigger?". Confirm with Yes, delete. You see "Event trigger deleted.", and the trigger disappears from the list. With it, the list of its past runs is gone from Workflows, although the dialog says otherwise. The chat of each past run stays in your chat list. Events still queued for it are not run, and open questions about its events close. Reply proposals it already created stay in Messages.
Troubleshooting
- "Paused after repeated failures": after three failed runs in a row, Intra AI turns the schedule off and tells you in Messages. Runs you start with Run now do not count. Check the last run, then turn Schedule active back on and save.
- An event trigger pauses after five failures in a row. It also pauses when the agent's tools change (continue with Confirm tools and resume), after too many events in a short time, when your balance stays empty for 24 hours (Balance used up; until then events wait and are retried), or when the account is no longer connected (Reconnect the account). The trigger shows the reason. Some of these you can resume yourself, from the trigger or from Messages; others resume on their own once the cause is fixed.
- If you remove the account under Integrations, or the agent is deleted, its event triggers are deleted with it and disappear from the list.
- An event trigger shows Paused by your administrator with "Your administrator paused all event triggers. Events are caught up afterwards.": your administrator has paused event triggers for the whole instance. Nothing to do on your side; the events are processed once the pause ends.
- Your administrator also limits how many of your event runs can go at the same time, so an event can wait a while before its run starts.
- With more than 50 events waiting, the trigger starts no runs until you choose Process all or Discard. Once the Runs per day limit is reached, further events wait until midnight Berlin time and then run one after another.
- "The run stopped at the token limit set for its workflow." Raise the Token limit per run. On a schedule you can also leave the field empty for no limit.
- "The run exceeded its time limit." Raise the Time limit (minutes) or give the agent a smaller task.
- "Your token balance was used up — the run was not started." The run counts as failed, so after three of these in a row the schedule turns itself off. If your instance offers extra usage, the run's detail shows Request extra usage while your balance is still empty. Once your balance has been topped up, turn Schedule active back on and save.
- "Paused — the agent is no longer approved for workflows": the author withdrew the approval. The schedule is kept and resumes once the agent is approved again.
- A run shows Skipped: it could not start within 30 minutes of its scheduled time, usually because another scheduled run or run started with Run now was still going. Space your schedules so they do not overlap.
- An event trigger did not react to an email: check its conditions under Only events where …, and whether the email was still in the folder at the next check.
- Workflows is missing from the sidebar: workflows or agents are not turned on for your instance. Ask your provider.