How to move an AI agent from test to live without surprises
A clean Test run is only the start. The order to follow from Test run to Run once, Deploy, a budget, alerts and how much the AI employee may do on its own.
Part of the guide AI employees
To move an AI agent from test to live safely, raise the stakes one step at a time: a Test run that sends nothing, a single Run once addressed only to yourself, then Deploy with a monthly budget, failure alerts and a clear setting for how much it may do alone. Each step exposes a kind of problem the one before it could not, so skipping one is how a good demo becomes a bad Monday.
This article follows that handover in xMap Flows, for whoever owns an AI employee at work. It assumes the flow is already built and looks right. It does not cover writing test cases for a chat agent; it covers the moment you stop trying the thing and start relying on it.
What changes when it goes live
In testing, you are watching. Live, nobody is. Four things change at once: the data is whatever the day brings, messages reach real people, it spends without being asked, and a failure can sit unnoticed. Every step below deals with one of those.
| Test run | Run once | Deployed | |
|---|---|---|---|
| Who starts it | You | You | Its trigger |
| Live data | Yes | Yes | Yes |
| Sends messages | No, shows what it would send | Yes | Yes |
| Uses credits for sending | No | Yes | Yes |
| Remembers results | No | Yes | Yes |
How the three ways of running a flow differ.
The handover, step by step
- Read a Test run as the recipient would. Open Test run (nothing is sent) from the flow's ... menu. Each sending block shows the email or message it would have sent. Read it fully, as the person getting it, on a phone if that is how they will see it.
- Point every send at yourself. Temporarily change the Email address, Slack channel or WhatsApp number to your own. This is the step people skip, and it is the one that protects customers.
- Press Run once. This is a real run: it uses live data, really sends and keeps its results. Check the email in your own inbox, the links, the attachment, and how it looks outside the editor.
- Put the real recipients back and read the settings again. Check the time zone on the Schedule too, since a run at 07:00 in the wrong zone lands in the middle of someone's night.
- Decide how much it does alone. Ready to go live? appears before the first Deploy and says when it runs, where results go and what a run and a month will cost. Choose Ask me first, Act and tell me or Fully on its own.
- Set a monthly budget. Use the month's estimate beside Deploy as a guide and set the budget in the AI employee's panel.
- Add the alerts you will act on, then press Deploy.
A worked example: a new-pharmacy watcher
Picture a made-up medical supplier in Madrid. Its flow runs each Monday: Schedule, Area of interest, Nearby places for pharmacies, Only new, xMap LLM to score each one, then an Email to two sales reps. The Test run looks perfect.
On Run once, addressed to the sales manager, two things appear that the test never showed. The email's download link works, but the AI's reasons read oddly on a phone because they are long, so she shortens the instruction. And because this is the first real run, every pharmacy counts as new, so the email holds the whole district.
That second point is useful. Run once has now remembered those pharmacies, so the first scheduled Monday will carry only what has opened or appeared since. Had she deployed straight from the test, her reps' very first email would have been a wall of old names and they might never have opened the second.
She picks Ask me first for the opening month, because the email goes to the sales team and the flow later drafts intros. Once she has stopped editing the drafts, she moves it to Act and tell me.
Choosing how much it does alone
- Ask me first puts an Approval before each send, so you can read, rewrite or decline each item. Right for anything reaching customers, until you trust it.
- Act and tell me sends, then leaves a note in the Team inbox saying what went out. Right for internal reports and steady work.
- Fully on its own sends and only speaks up when something is wrong. Keep this for low-risk flows with a long, clean record.
A flow that answers conversations, such as a chat page, replies at once, so Ask me first does not apply to its answers. If its tools send things, link only the ones whose messages you are happy to see go out without a review. The help article on how much an AI employee does alone has the details.
Budget and alerts that fit the job
A monthly budget warns the owner and admins at 80% and pauses the flow at 100%, with a one-click raise. Set it with some headroom above the estimate, because a busy week can legitimately find more. Too tight and it pauses in the middle of the month, just when it is finding the most.
Alerts need the same thought. In Alerts and exports you can be told when a run fails, finds nothing new, or finds more than a number. For a watcher whose normal week is quiet, an alert on finding nothing new would ring constantly and soon be ignored. A better pair is a failure alert plus one for finding more than you would ever expect, which catches a filter that has quietly stopped filtering.
Mistakes made at this exact moment
- Deploying with a test address still in the block, or the reverse: running a real Run once with the customer list still attached.
- Assuming Deploy keeps sending off. Deploying always switches sending on. If it should not send yet, stay on Test run.
- Letting the first live run be the big one. Without a Run once first, Only new treats everything as new.
- Editing a live flow in a hurry. Changes apply to its next run. Pause it, make the change, try it, then Deploy again.
- Leaving it on the builder's personal account. When that person leaves the organization, their personal connections are removed and the blocks using them stop working. Use a team connection where the app allows one.
- Walking away after Deploy. Read the first two or three live runs yourself before you trust the pattern.
Questions
What is the difference between Test run and Run once?
A Test run sends nothing and shows what would have been sent. Run once is a real run: it sends messages, uses credits and keeps its results, but happens only when you press it.
Can I deploy without it sending anything?
Not from the Deploy button, which always switches sending on. Keep using Test run until it is ready, or put an Approval before each send by choosing Ask me first.
How long should I keep Ask me first on?
Until you have stopped changing what it drafts. When a few weeks of approvals go through untouched, moving to Act and tell me is a reasonable next step.
What happens if it hits its budget?
The flow pauses and nothing more is spent. The owner is told why and can raise the budget in one click, which starts it again.
Templates that do this
Read next
More on ai employees and automation · Every article · Templates