Have an agent run a job
A job is one piece of work an agent does once, across the systems your workspace is connected to, without anyone building an automation first. The agent puts ordinary blocks together, you see what they read and change, and the platform runs them. This guide is for people who chat with an agent, and for authors deciding what an agent may do.
A job suits an investigation (“why did this shipment not file?”), a small correction (“add this client to the review list”) or work that comes up once a month and that nobody has automated. If it keeps coming up, keep it as an automation.
Rows a job reads and passes along unchanged go from block to block inside the platform. They don’t pass through the AI model, so the model can’t alter them on the way, unless the card shows Uses AI for a block that takes them. Values the agent types into a block do come from the model: see Change values. What a job returns does go back to the agent so it can report on it: small values in full, and a larger Table as a reference with its row count and a few sample rows. Columns named like a password or token are left out of a returned Table, and a file shows only as a file and its size. That goes by the column’s name, so it doesn’t keep a value from an agent that has access to the table.
Before you start
Section titled “Before you start”An agent can build jobs at any Write access. With Off, it builds only jobs that read, and each one waits for your Run. Its block’s Access tab also decides what those jobs may use:
- Connections lists the Connections a job may use. It is empty by default.
- Workspace access needs Data Lake before a job can use a reference table.
Ask for a job
Section titled “Ask for a job”Ask the agent in chat, in your own words. Say what should happen, and name the tables and systems involved.
Read the card
Section titled “Read the card”The card lists what the job touches, worst first. There is one line per effect and target, such as Writes on a reference table or Sends on a Connection, with the blocks behind it.
| On the card | What it means |
|---|---|
| Reads | The block reads from this target. |
| Writes | The block changes this target. |
| Sends | The block sends something out. It can’t be taken back. |
| Deletes | The block deletes something. |
| Uses AI | The block calls a model and spends AI usage. |
| per item | The block runs once for each item of a loop. |
| some paths | Some routes through the job don’t reach this block. |
| on failure | The block runs only after another block failed. |
| Takes | A value the job starts with. A value from an earlier job shows its source and size. |
| Returns | What the job returns, by name and type. |
| Runs as you | The job acts with your permissions. |
The card only states what the blocks are built to do. It doesn’t forecast how many rows will change or what a target will answer. To see the job’s shape, choose Show on canvas.
Press Run or Decline. If the job’s blocks change after the card appears, the card can’t be used any more, and the agent has to ask again.
A job that can’t run is refused before you see a card, and the agent is told which block is the problem so it can fix it. A job can’t:
- send to an address that comes from data, because the card couldn’t say where it goes;
- pause for a person: Approval, Checklist and Wait aren’t allowed;
- use Run automation or an AI Agent block;
- use a Connection outside the agent’s Connections, or a reference table when the agent has no Data Lake access.
When a card appears
Section titled “When a card appears”Write access on the agent’s block decides.
| The job at worst | Off | Ask | Smart | Allow |
|---|---|---|---|---|
| Reads through its Access | Card | Card | Runs without a card | Runs without a card |
| Reads from another address | Card | Card | Card | Card |
| Writes | Refused | Card | Card | Runs without a card |
| Sends or deletes | Refused | Card | Card | Card |
With Off, the agent is told which blocks write, send or delete, and the job isn’t made. It can still build one that only reads. An agent on Off can’t edit a job or keep it as an automation.
A job that ran without a card shows that in the chat: Ran without asking · reads only, or Ran without asking · writes allowed. Choose Allow only if you accept that writing jobs run with nobody checking them first. Sends and deletes always need a card, so they only happen where a person can answer one.
In a chat, a job with a card runs as the person who pressed Run. A job with no card runs as the identity the agent’s own tools use there: the person in a chat, the agent’s persona on background work, or the automation’s run in any other automation. Background work waits under Background run approvals for any job that needs a card. An agent in an automation run with no chat can’t get a card answered, so it runs only the jobs that need none.
Look first, then use the same rows
Section titled “Look first, then use the same rows”To see the rows before anything changes, ask for that. A job that only reads returns them as a Table, and the first rows show under its line in the chat.
Then ask for a second job that uses those same rows, such as copying them to another table. It takes them from the first job by reference, so nothing is read again and the model doesn’t copy them. Its card says where they came from, such as clients · 3 rows · from Find FOB clients, 1:58 PM.
A write sends whole rows. If a row changes after the first job ran, the second job overwrites that change.
The first job must have succeeded and still be kept. A job that failed or expired can’t be used as a source. An agent can use any job it built itself. To use another job in the workspace, it needs Automations and runs in its Workspace access. On background work, an agent can use only the jobs that same run built, whatever its access.
Change values
Section titled “Change values”A job can’t work out new values for the rows it takes by reference and write them back to a reference table. To change values, the agent types the new rows into the write block, so they come from the model and it suits a few rows. The card doesn’t list them. Before you press Run, choose Show on canvas and open the block to read them.
After it runs
Section titled “After it runs”The card becomes one line with View run. Job runs are live runs: each block’s input and output is on the run page, and writes really happened. Rows typed into a job show on the block that holds them, up to a preview’s worth. A Table read from a table or from Select Rows shows without its rows, and a Table passed in from an earlier job shows as Redacted under Inputs. A For each shows its Results item by item. There is no undo, but you can ask for a job that puts things back.
To find a job later, open Runs and set mode to Jobs. Its page shows who allowed it, or why nobody had to, and links to the conversation if you may read it. A job started by an automation run shows Called by with a link to that run.
A job never appears in the automation list or in Operations, can’t be called by other automations and never opens an escalation. A failed job shows in its conversation and on its run page. Each job run counts as one run.
To run a job again, ask the agent in the same conversation. It shows the card again under the same rules. A failed job can’t be resumed.
Keep it as an automation
Section titled “Keep it as an automation”When a job turns out to be useful more than once, keep it: open the job and choose Keep as automation in the ⋯ menu, or ask the agent. It becomes a draft that starts from an operation form, with a field for each input, and its runs stay in its history. A job that takes a Table, a list or a record as an input can’t be kept, because a form has no field for one. Publish it like any other automation and it shows in Operations.
An operation form returns nothing, so what the job returned isn’t kept. To have other automations call it instead, change its trigger in the editor before you publish.
Keeping only makes a draft. Nothing goes live until someone publishes it, and the agent can only keep a job built in the same conversation.