Approve or discard an AI Agent plan
When you ask the AI Agent to do something with your data, it works out the steps first. Work that only makes something new it builds straight away; work that changes, deletes, sends out or schedules something waits for your OK on a card in the chat. Only the person who started a chat can approve its plans, and plans happen only in Build chats.
An Ask chat never runs a plan (see Ask mode). To follow, stop or retry long work, see Follow, stop and retry long runs.
What the agent runs without asking
Mammoth reads what each step touches and makes, not what the agent says about it. Only four kinds of work wait for you:
| Kind of work | Example | What the card says |
|---|---|---|
| Changing something that already exists | Removing rows from a view, renaming a dataset, adding a step to a view | "changes Orders" |
| Deleting anything | Moving a view to Trash | "deletes" |
| Sending data out of Mammoth | An export to Snowflake, a webhook call, sharing or publishing a dashboard | "sends data to Snowflake" or "data leaves Mammoth" |
| Anything on a schedule | An alert, a schedule, an automation, a step that waits until a later time | "runs on a schedule" |
Everything else is built at once, with one short line in the chat instead of a card: a new view, a new dataset, a join into a new table, a dashboard, a chart, a send-to into a new dataset, or a highlight on a view. A download (CSV, Excel, JSON) stays with you, so it isn't sending data out.
A delete waits for your OK unless the plan you approved lists it; with Ask before running plans off, a listed delete runs with the plan. A working view the agent made in the same turn to answer a question is removed without asking.
Approve a change waiting for your OK
A plan or command that opens one of the four kinds shows an approval card labelled Waiting for your OK.
| Part | What it shows |
|---|---|
| Gate line | The kind of work, for example "changes Orders" or "runs on a schedule". |
| Headline | The effect, for example "12 rows will go, 488 stay", "Your data will go to BigQuery", "Move “Combined table” to Trash" or "Alert you when Revenue is below 1,000". |
| Note | For rows sent into a table: "Its own rows stay." |
| Fixes | Each change with its row count, for example "3 rows". A change that stands on its own has a switch to leave it out. |
| Row preview | The rows that would go, with a Why column. "10 of 120" shows how many you see; see all and see fewer open and close the list. |
| Downstream line | What the changed view feeds and what it will hold, for example "CRM export gets 488 rows". |
| Alert line | What an alert would do today, for example "Now: 4 of 200 rows would set it off". |
| Assumptions | Guesses that change the result. Change puts "Change: " and the guess in your message box. |
| Pause offer | When the change would send new data on: "Applying sends new data to CRM export. Pause it until I've checked the result". See Pause sends while you edit. |
| Button | What it does |
|---|---|
| Apply | Runs the change: "Applying it · about 5 s". |
| Turn on | In place of Apply for an alert or a schedule. |
| Not now | Nothing runs. |
Once you answer, the card becomes one line: "Applied · Remove rows", "Not now · Remove rows" or "Not run · Remove rows". A failure reads "Remove rows didn't work. Nothing was changed."; for a plan that got part way, "The steps before it are done."
Confirm a single change
For one change outside a plan, the agent asks a one-line question with Cancel and a button named for the action. You can also type a plain yes ("or reply yes"). Afterwards the line reads "Approved · Rename" or "Cancelled · Rename".
| Example question | Button |
|---|---|
| "Remove rows where Status is Cancelled from Orders?" | Remove rows |
| "Keep only rows where Region is West?" | Keep rows |
| "Rename “Q3” to “Q3 actuals”?" | Rename |
| "Send Orders to Snowflake?" | Send |
| "Create an alert when Revenue is under 1,000?" | Create |
| "Add “Revenue by month” to the dashboard?" | Add tile |
Run, edit or discard a change to a view
A change to a view or dataset (a filter, a join, a send-to) shows a change card listing the steps ("Remove rows where Amount is empty", "Join Customers on Customer ID", "Send to Sales summary"), each with its row effect, for example "500 → 488 rows".
| Button | When you see it | What it does |
|---|---|---|
| Remove rows or Keep rows | The change is one filter | Runs it. |
| Run it | Any other change | Runs the steps. |
| Edit | The change waits to run | Puts "Change the plan: " in your message box. Type what to change and send. |
| Discard | The change waits to run | Drops it. Nothing changes. |
| Cancel | A one-off confirmation | Nothing runs: "Cancelled · nothing changed". |
| Build this | The card shows an example ("Example · not built") | Asks the agent to build it for real. |
A step the agent can't do in chat says "finish it in the Data Editor". Card facts include "New view · not run yet", "Running · 2 of 3" and "Didn't finish · 1 of 3 added".
Review and start a longer plan
A longer plan shows numbered steps on its card. On the full agent page it can also show in the Tasks panel under Here's what I'll do: "Nothing runs until you start the plan. Review or edit the steps first."
| Step status | Meaning |
|---|---|
| Proposed | Waits for you to start the plan. |
| Approved · starting, In progress | Running now. |
| Waiting for your OK | Needs your answer in the chat. |
| Waiting | Waiting for a job to finish or for a set time. |
| Blocked | Needs something only you can give, for example "Needs: a Salesforce login". |
| For you | A step you do yourself. |
| Done, Failed, Skipped, Stopped, Not finished | How the step ended. |
| Replaced by later steps | A later step did this step's work. |
| Button (card / Tasks panel) | What it does |
|---|---|
| Run it / Run the plan | Starts the plan. If the agent is still writing: "Starting when the agent finishes". |
| Edit / Edit plan | Puts "Change the plan: " in your message box. Describe the change and send; the agent writes a new plan. |
| Discard plan | Drops every step that has not run: "The plan was discarded". |
| Skip | Drops one proposed step before you start. |
| Always allow | Runs this plan and turns Ask before running plans off. If the choice can't be saved: "Could not save that choice. The plan was not run. Try again." |
| Do this | On a suggested plan, runs only that step. |
If a plan needs a sign-in for a source, it shows the fields on the card before you can run it.
Let plans run without asking (auto-approve)
Ask before running plans decides whether a plan that changes, deletes, sends out or schedules waits for Run it. It is on by default and applies to you, in every chat. In a Build chat, change it from either:
- Chat options (⋯ in the chat header) > Ask before running plans.
- More options (⋯ in the message box) > For every chat > Auto-approve plans ("Run plans and changes without asking"). Same setting, the other way round.
| Setting | What happens |
|---|---|
| On: each plan waits for your OK | Every such plan waits for you. |
| Off: plans run without asking | Plans start on their own. The card says "Ran without asking (auto-approve is on)" with Change, which turns waiting back on ("Plans will now wait for your OK before they run.", with Undo). The card also shows a ticked Auto-approve plans checkbox; untick it to wait again. |
If the setting can't be saved: "Couldn't save that choice. Try again." A step the plan did not list still asks before it runs.
Answer the agent's questions
- Recommended marks the option the agent suggests; Other… opens a box for your own answer ("Specify your answer").
- With one single-choice question, clicking an option answers it.
- With several questions, or a multi-choice one, click Confirm. Until each has an answer: "Answer every question to continue". An optional question is marked "(optional)".
Who can approve agent plans
- Only the person who started a chat can run, approve or discard its plans. In a chat shared with you, the cards are read only.
- The agent changes data only in projects your access lets you edit, and only at the Build level. At the Ask and Explore levels it reads and answers but never changes data. Workspace Owners set this on the AI Agent page (see AI Agent access).
Related
- Follow, stop and retry long runs: run statuses, failed steps and undo.
- Results, charts and canvases: what the agent shows when the work is done.
- What the AI Agent can do: the work you can ask for.
- Chat with the agent: the message box, More options and the chat menu.
Something wrong? support@mammoth.io