AI tasks and plans¶
Guide Overview
A job of many steps, such as following up an opportunity, is a plan: the assistant writes the steps, you read and approve them once, and the steps then run one after the other. A job that repeats, or that follows an event such as a new opportunity, is a task: you describe it once and the assistant does it again and again, under your name and with your access rights.
Who Does What¶
Role |
What they do |
Access right to assign |
|---|---|---|
Employee |
Asks for a plan and approves it, creates tasks, reads the conversations the runs hand over. |
Internal user (no extra right) |
AI administrator |
Sees every plan and every task of the company. Stops a plan. Changes only the way a task treats the steps that ask first. Defines pictures and video sources. |
AI: AI Administrator |
System administrator |
Does all the above, changes what any task does, and sets up event tasks. |
Administration: Settings |
Before You Start¶
You need |
Why |
|---|---|
A connection that answers chat |
Plans and tasks run through the company’s AI connection (see Get started with Viindoo AI). The ready-made Viindoo connection is only for getting acquainted: on it, scheduled content such as a blog or a social task produced no post. Use a stronger model of your company for real work. |
Rights on the records the job touches |
The assistant does what its user can do and no more. A plan or task that touches opportunities needs your rights on opportunities. |
Plan a Long Job¶
Open a conversation with the assistant (see Use the AI assistant) and press the quick prompt Plan first. The message box fills with the sentence
Before doing anything, write a plan of the steps for me to read and approve, for this job:. Finish it with your job, for examplefollow up the Northwind meeting room furniture opportunity: read it, post a note on it asking Daniel Brooks for the room sizes, and schedule a call activity for tomorrow.You can also ask for a plan in your own words. A plan also comes when the assistant sees that a job needs many steps, or when a task gives it a long job.
The plan appears as a card pinned in the conversation: Plan: <goal>, the progress (0 / 5 steps), one status line, then the steps. Each step has a badge (To Do, In Progress, Done, Skipped or Failed). A step is marked Changes records or Cannot be undone where it does. To remember: notes and the line The company’s AI administrators can see this plan. close the card.
Read the steps. To change them, press Edit Plan. While the plan waits for approval, nothing else runs.
Press Approve. There is no checkbox to tick: Approve is the approval of every step, including the steps that create, change or delete records or send outside. From then on the steps run one after the other without asking again, and the card shows the progress and the result of each step, with the records it touched as links.
When every step is finished or skipped, the status line reads Done: every step is finished or skipped. and the assistant writes a summary under the card.
A new plan written in the same conversation replaces the open one.
What the Plan Card Offers¶
The card shows only the buttons that have work in the current state.
State of the plan |
Buttons |
What happens |
|---|---|---|
Waiting for approval |
Approve, Edit Plan, Stop |
Nothing runs until you approve. Cancel on the plan’s own approval card ends the plan. |
Going on, or waiting for you at a step or a question |
Edit Plan, Stop |
The turn’s own Stop button sits beside Working. |
A step failed |
Retry, Skip Step, Edit Plan, Stop |
The status line says Step N failed and why. |
Paused |
Continue, Edit Plan, Stop |
Continue sends Go on with the plan. as your own message, and the work goes on from the first step not done. |
A line on the card says where the plan is, why it does not go on and what you do: Waiting for you to approve the plan., Working on step N., Waiting for you to approve step N., Waiting for your answer at step N, or Step N failed. A paused plan says why: you stopped the answer, the answer ended before the plan was finished, the window was closed or the connection was lost, the AI service failed, you or the company reached the daily AI limit, or the time of one run ran out. Each is followed by Continue for the owner. When a plan works in a company that is not selected, its steps that change records ask first until that company is selected.
After you approve a plan, its steps run without cards. A card still appears for a step in a company that is not selected, for a tool of an external tool server whose connection does not allow skipping approval, and for a tool of a server where each person signs in when you have not connected yet. A choice question is never answered by the plan: the plan waits for you. Declining the card of one step puts that step back to To Do with the note Not done: the person declined its card.; it does not fail the plan.
Follow Your Plans¶
Go to . The list shows each plan with its Goal, Progress, Status, Created on and Last Updated on. The filters My Plans and Open are on by default, so a finished plan shows only after you remove Open. Ended, Finished and Ended With Steps Left narrow the list further, and you can group by Status.
Open a plan. The status bar reads Waiting for Approval, Approved or Ended. The form shows the Goal, Assigned By, the Assistant, the Progress, the Steps tab (Step, Status, Note, Changes Records, Cannot Be Undone) and To Remember. The button Conversation opens the chat.
As the owner, change the text of a step, add, remove and reorder steps (drag a step to move it) before and during the run; a step that is done can be edited too. The header buttons Continue, Retry, Skip Step and Stop belong to the owner.
You see and change your own plans. An AI administrator sees every plan of the company, read-only, with a Stop button on a plan that is not theirs; an AI administrator cannot edit, approve or open the conversation of someone else’s plan. Nobody else sees them.
The status line of an ended plan reads Done: every step is finished or skipped., Stopped before every step was finished., or, after an AI administrator stopped it, Stopped by the AI administrator <name> on <date>. A waiting card of the plan closes with it and says why. With no plan, the list says No plan yet.
Give the Assistant a Task¶
Every internal user creates their own tasks, by form or by words in a chat. No task ships with the module.
Go to and click New. Type a Name and write in Task what you want done, in your own words and language.
In Run, set Repeat Every (minutes, hours, days, weeks or months), check Next Run and keep or choose the Assistant. The assistant list shows the assistants you may use, each with a one-line description.
In Responsibility, Owner is you. Steps That Ask First decides whether a step that asks first waits for approval (Wait for approval) or is done at once (Act at once). You read it here; an AI administrator or a system administrator changes it.
Click Save. The form now shows the buttons Latest Run and Runs and the header button Run Now, which queues one extra run at the next pass of the scheduled action and takes you to that run’s conversation. The next scheduled run does not move. The tab Latest Run shows when the task last ran (Ran On) and its Result.
You can also say it in a chat: Every Monday send me the overdue deals makes a task in your name with the sentence in your own words and language. The card asks first and marks the step Cannot be undone.
The list shows the Name, Repeat, Next Run, Latest Run Date, Result and Owner of each task, and a button Latest Run that opens the conversation of the latest run, for the owner. The filters are My Tasks (on by default), Failed, Waiting for Approval, Acting At Once With External Tools and Archived; group by Owner or Assistant. AI administrators also see Steps That Ask First and the assistant. On a phone the list is a set of cards.
Where a Run Hands Over Its Answer¶
Each run opens a new conversation with the owner, named after the task, unread in the conversation list like a direct message. The task sentence is the first message. The steps, the answer, the result line, the errors and the approval cards of the run are there.
A card of a run waits until you decide and never expires; the next run of the task still goes on while it waits. A run that ran out of the time of one scheduled-action run says what was done. You tell the assistant to go on in that conversation, from where it becomes a job with someone watching.
The owner and a system administrator change what a task does (the task sentence, the assistant, the sources, the company and the owner). An AI administrator sees every task of the company and changes only Steps That Ask First.
Run a Task When Something Happens¶
An event task hands each record an event touches to the assistant as a job of its own, to run later with the rights of an owner. The person who causes the event goes on at once. Example: when a new opportunity is created, prepare a greeting email for the salesperson to review.
As a system administrator, go to (developer mode is on) and click New. Type a Name, choose the Model of the records, for example Lead/Opportunity, and the Trigger, for example After creation.
Under Actions To Do, click Add an action and choose the type Run AI Task. Write the Task, the sentence the assistant gets for each record. Choose the Assistant and set Steps That Ask First (Wait for approval or Act at once). The Owner is an active internal user; the work never runs as the superuser, a portal user or a public user.
Click Save & Close, then save the rule. The same action works from the Action menu of a list or a form, where everyone who may change those records can give them to the assistant (Allowed Groups narrows who), and as a step of an action chain. The type AI Prompt, which fills one field from one answer, stays a separate type.
Each record gets one conversation named after the action and the record, with a clickable link to the record, unread for the owner. Hundreds of records arrive one by one, and the scheduled action carries on what a run had no time for. A record that is gone, or that the owner cannot read, gets a conversation that names the kind and the number of the record, and nothing is sent to the AI service.
An event task works on one record at a time. To look across many records, such as a morning digest of new opportunities, use a scheduled task, not an event task.
Choose Where Scheduled Content Takes Its Pictures and Videos¶
A source is a set of records, such as the documents of a folder or the products of a category. A task that names a source takes pictures and videos only from it. A task that names none takes them from every file its owner may see.
As an AI administrator, go to and click New.
Type a Name, choose Take From, the kind of record the files come from, and set a condition on it. When your database has several companies, leave Company empty to apply to every company.
In the form of a task, Sources lists the sources its owner picks, and Add Pictures It Makes adds the pictures the assistant makes. These fields show only for a task that has a target or was opened from a content form.
A source used by the task of another person, an archived one included, is changed or deleted only by a system administrator or by the owner of every task that uses it.
How Work Runs and What Limits It¶
Work runs in one of two ways, and the difference decides what you can leave unattended.
Kind of work |
How it runs |
Where the answer is |
|---|---|---|
With someone watching: a chat, with or without a plan |
The job goes on across requests while the chat window stays open, and you press nothing between steps. |
In the conversation you are in. |
Without anyone watching: a scheduled task, or one record of an event task |
One turn inside the time the system gives one scheduled-action run. |
In a new conversation of the owner, named after the task. |
With someone watching, the job stops when it is done, when a card, a choice question or an account-connect card waits for you, on an error, at an AI spending limit, at the Stop button, or when the window is closed or the connection is lost. Closing the window stops the job; reopening the conversation shows where it stopped, and nothing runs until you ask again.
Scheduled tasks and event tasks run under one scheduled action of the module, AI Tasks: Run What Is Due (), which runs every hour by default. An event task is an automation rule whose action is of the type Run AI Task.
These are the limits that exist:
the Stop button;
the AI spending limits, per person per day and per company per day, set in (see Spend limits, usage and audit): a step in progress finishes, then the job stops and the answer names the limit;
the time the system gives one request or one scheduled-action run;
the context window of the model.
No setting limits the number of model calls or tool calls of one answer.
Warning
The assistant does what its user can do and no more. A task or event task set to Act at once does it with nobody approving, so use that mode only for tasks whose owner and whose content sources you trust. The turn log records every step.
Success Checkpoint¶
After Plan first, the plan card shows the steps and the buttons Approve, Edit Plan and Stop, and after Approve the status line reads Done: every step is finished or skipped.
lists the plan, and its form shows each step with its result.
Your task is in , and Run Now opens a conversation named after the task with the answer of the run.
Common Problems¶
Problem |
What to do |
|---|---|
The assistant answers with a written list of steps but no plan card appears. |
Ask it to create the plan with its plan tool, so that you can approve it on the plan card. |
A finished plan is missing from . |
The filter Open is on by default. Remove it, or use Ended. |
A plan stopped with Paused at step N. |
Read why in the status line, then press Continue (or Retry for a failed step) as the owner. |
A step still shows a card after the plan was approved. |
The step is in a company that is not selected, or uses an external tool whose connection does not allow skipping approval. Decide the card, or select the company. |
Steps That Ask First is greyed on your task. |
Only an AI administrator or a system administrator changes it. |
A scheduled run produced no post or no content on the Viindoo connection. |
The ready-made connection’s small model does not do this work. Use a model of your company’s own connection. |
Next Steps¶
Use the AI assistant - ask, approve a step and talk to the assistant.
Spend limits, usage and audit - the spending limits that stop a job.
External tools and feedback - external tool servers whose steps may still ask for approval.