Agents working together
An Ask an agent step hands the record to an AI agent with a task, in the middle of an automation. The agent can be Quanty itself or one of your AI employees (see AI team). It works on the record the way it answers in Chat, and the next steps get its answer: another agent can take it over, the automation can follow the agent's choice down a path, and a person can approve the result before anything goes out.
For example, the automation "New lead: research, draft, approve, send" on an Orders table:
- A record is added in Orders.
- Ask Carrier scout: research the customer and choose Hot lead or Not a fit.
- Split into paths. On Hot lead, Ask Customer updates writer takes over the research and writes a reply, Ask for approval lets Magda read it, and Send an e-mail sends it. Otherwise, Notify people tells the person who set it up.
Automations, and agent steps with them, are in beta: what they can do may still change.
Before you start
- Plan. Agents that work on their own in automations are on Super, Ultra, Gold and higher, the same plans as agent automations (see Plans and billing). On another plan, the agents in the step menu are dimmed with a lock and a note that names the plan, for example "Agents working on their own come with the Gold plan", with See plans. An automation with an agent step can be saved and switched on only on such a plan. If the plan ends later, the agent steps fail in the next runs.
- Who changes it. Only the person who created the automation can add an agent step or change one: its agent, its task, the answers it takes over and its choices. Others who may edit the automation can still move or delete agent steps and change all the other steps.
- Whose access. An agent step works as the person who created the automation: the agent reads and changes only what that person may, and only inside the agent's own rules (see AI team). You can pick only an agent you can use.
- Credits. Each time the step runs, the agent's work spends the organization's credits, like an answer in Chat (see What it costs).
Add an agent step
- Click + where the agent should work. In the menu that opens, under AI agents, pick Ask Quanty or Ask with the name of one of your AI employees. A new agent step right after another agent takes over that agent's answer by itself.
- Under What should Carrier scout do?, write the task in plain words, the way you would ask in Chat, up to 4,000 characters. Add a field puts in a column of the record or an earlier answer, for example "Research the customer
{{Customer}}for order{{Order}}. Decide if this is a hot lead." - Set what else it needs, from the fields below. Take over the answer of, Let … choose and Save the answer in are folded under More options, which is open from the start when one of them is set. Changes save by themselves, like every other step.
| Field | What it does |
|---|---|
| Who does it | The agent, picked from one list with their faces: Quanty ("Quanty itself, with every tool of the chat") first, with the face Quanty wears in this automation, then your active AI employees. Find an agent searches a long list. |
| What should … do? | The task. It may use the record's columns and the answers of earlier steps. |
| Take over the answer of | Earlier agents whose answers this agent reads before it starts: "Customer updates writer reads these answers before it starts." Up to 3. See Take over an earlier answer. |
| Let … choose | The agent ends its answer with one of 2 to 5 words you write, so the next steps can follow its choice. See Let the agent choose. |
| Save the answer in | A text column of the record that gets the answer: "The answer is written into this column of the record." Don't save it is the default. Not offered when the automation has no record. |
| Only if | The step's own rules, the last section of the panel (see Only if, for one step). |
At the foot, the panel says "Anything Customer updates writer wants to send or change waits for your approval first." and "Each run uses AI credits."
How the agent works
When a run reaches the step, it pauses and the agent starts working:
- in a new conversation of its own, in the Chat of the person who created the automation, one for each run. Runs shows "Carrier scout is working on it" and since when, and that person can open the conversation with Open the conversation;
- with the task, the record's values, the answers it takes over and, in an automation started by an e-mail or a WhatsApp message, that message. Quanty hands the record, the answers and the message over as information to work with, not as instructions from you;
- with the same tools as in Chat, as the person who created the automation.
When the agent answers, the run goes on with the next step. Up to 8,000 characters of the answer are kept with the run. In Runs the step shows the answer, the choice and the answers it took over (see Testing and run history).
Approvals
An automation runs while nobody is watching, so the agent keeps the approvals of Chat: every step that needs your approval in Chat waits for a person here too, for example sending something outside Quanty or deleting. An employee on the step Acts with approval asks before every change (see AI team).
When the agent wants to do such a step, the run pauses with "Carrier scout asks before going on" and the card of what it wants to do. The person who created the automation gets a notification, and that person or an organization admin approves or rejects it in Runs or in Needs you (see Paused runs). Approved, the agent goes on. Rejected, or with no answer within 24 hours, the run stops as Cancelled.
To have a person read the agent's work before it goes out, put an Ask for approval step after the agent (see Ask for approval). When a later step would send an agent's answer, for example as the body of an e-mail, without an approval before it, the builder warns you that the answer would go out without anyone reading it first.
Your Gmail and Google Calendar
The agent uses the Gmail and Google Calendar of the person who created the automation. As in agent automations, it sends an e-mail by itself only to that person and to addresses written in the step's task, and changes an event by itself only when it has no other guests than those. Any other recipient or guest waits for a decision (see Gmail).
Take over an earlier answer
An agent can read what earlier agents found before it starts, so the work goes from one agent to the next: one researches, the next writes, a third checks.
- Add the second agent after the first one. A new agent step right after another agent takes over its answer by itself.
- Under Take over the answer of, pick or unpick the earlier agents, up to 3. Only agents that come before this step on the board are offered.
On the board, when you point at or select one of the two agents, a line joins the earlier agent to the later one: "Customer updates writer takes over the answer of Carrier scout". In Runs, the later step says "Took over Carrier scout's answer".
Let the agent choose
- Switch on Let Carrier scout choose and write the choices, for example Hot lead and Not a fit: at least 2 and at most 5, each up to 40 characters. Add a choice adds one more. "Carrier scout ends its answer with one of these words, and the paths after it can follow the choice."
- Click Add a path for each choice. A split appears right after the step, with one path for each choice, whose rule is the agent's choice, and Otherwise.
- Add steps to each path.
The choices show on the paths after the agent and when you point at its card, and the run shows "Chose: Hot lead". When the agent picks none of them, the step notes "Carrier scout did not pick one of the choices." and the record takes Otherwise.
Use the answer in later steps
Every step after an agent can use its answer:
- In messages. Add a field, under Earlier steps, puts in Carrier scout's answer or Carrier scout's choice, for example as the body of an e-mail or in a notification.
- In rules. An Only if or a path can test an earlier answer, for example Carrier scout's choice is Hot lead, or Carrier scout's answer contains "TMS". Answers are compared as text: is, is not, contains, does not contain, is empty and is not empty.
- In a column. Save the answer in writes it into the record, where your team reads it later.
Only steps that come before on the board are offered. When you move or delete a step whose answer a later step uses, the later card says so, for example "It uses an answer from a step that no longer comes before it."
Who sees what
- The answers. In Runs, the agents' answers are shown only to the person who created the automation and to the organization's admins. Others see that the step ran and how it ended.
- The conversation. Only the person who created the automation can open the agent's conversation.
- An agent that is gone. When the agent is deleted or switched off, its card says so, for example "This agent was deleted. Pick another one.", and the step fails in the next runs until the person who created the automation picks another one.
What it costs
Each time an agent step runs, the agent's work spends the organization's credits like an answer in Chat: the longer the task and the more tools it uses, the more it costs (see Credits and usage). When the credits run out, the step stops and the automation is switched off: "Stopped: the AI credits ran out." Turn it on again once credits are back. A test only describes what the agent would get and costs nothing.
Good to know
- The company computer. While an admin has put the company computer to sleep, agent steps do not run: "The company computer is asleep, so agents do no work now." The step fails and the run says so. Quiet hours do not stop them.
- Changes while it works. When someone deletes the automation, switches it off, or changes or removes the agent step while the agent works, the run stops as Cancelled (see Paused runs).
- Agent automations. To have an agent do a task on a schedule without a table, for example a summary every Monday, use an agent automation instead.
Related pages
- Automations: the builder, Only if for one step and Split into paths.
- Actions: every step, Ask for approval and the fields you can insert.
- Testing and run history: the agents' answers and paused runs in Runs.
- AI team: your AI employees and what they may do.
- Build with AI: describe an automation with agents and let Quanty build it.