Funnel Physics
Sections
Notes

Sandbox-first test plan for AI-drafted Salesforce changes

Sandbox-first test plan: what a RevOps lead checks, what the PR reviewer signs off and what to log before deploy, for AI-drafted Salesforce changes.

Summary

  • Sandbox-first test plan: what a RevOps lead checks, what the PR reviewer signs off and what to log before deploy, for AI-drafted Salesforce changes.

A sandbox-first test plan for AI-drafted Salesforce changes has three parts: a checklist the RevOps lead runs in the sandbox, a short sign-off list for the pull request reviewer, and a log written before anything deploys. Each part answers one question: did the change do only what was asked, to the users and records it was meant for? What follows states the assumptions behind each part. None of it proves a change is safe. It narrows the set of failures that can reach production unnoticed.

What goes in a sandbox-first test plan?

A sandbox-first test plan for a non-developer is six checks, run in order, each producing a written result rather than a feeling. The order matters because an early failure makes the later checks pointless.

  1. Scope. List every component in the diff and compare it to the request. Anything touched that was not asked for is a finding, even if it looks harmless.
  2. Hard-coded values. Search the draft for record IDs, URLs and usernames. These often belong to the sandbox the draft was tested in and do not exist in production.
  3. Permissions. Run the change as each profile or permission set that reaches the object, not as an administrator.
  4. Data shape. Test with empty fields, long text, a bulk load and a record that already breaks an existing rule.
  5. Downstream. Check other flows, validation rules, reports and integrations that read the changed fields.
  6. Rollback. Revert the change in the sandbox once, and confirm the prior state returns.

Administrator-only testing is the usual gap. An AI draft that works for the person who requested it says little about the sales rep who cannot see the field.

How do you test AI-drafted changes against realistic data and permissions?

Build a grid of record types by permission sets, and run one test record through every cell. The grid is the part of the test plan that a draft cannot talk its way past.

Take an illustrative assumption: a flow touches an object with 5 record types, and 4 permission sets reach it. That is 5 x 4 = 20 cells. Suppose 18 pass. The headline is 18 of 20, or 90%, yet the figure is nearly useless on its own. The two failing cells are the result, and the reviewer needs to know which two.

Two limits apply. A sandbox holds a sample of production, and a sample can leave out the odd record that breaks the change in production. A partial copy also differs from a full copy in what it carries. Write down which sandbox type was used and when it was last refreshed, so the reader knows what the sample could and could not contain. The plan also measures behaviour in the sandbox, which is not the same as behaviour in production.

What should the pull request reviewer sign off?

The reviewer signs off on evidence, not on a re-run of the tests. The author attaches the grid, the bulk result, the dependency check and the rollback result, and the reviewer confirms each is present and says what it claims. A sandbox-first test plan fails quietly when the reviewer approves a diff without the evidence attached.

The sign-off list is short:

  • The diff matches the written request, with no unrequested components.
  • The permission grid is attached, and every failing cell is explained or fixed.
  • No hard-coded IDs or sandbox URLs remain.
  • Dependencies were checked, and the reviewer read the result.
  • A rollback path is named and was exercised once.
  • The approver is a different person from the requester.

The last item is separation of duties. The route is easiest to see in FlowSprite's pull request flow: the customer's own AI drafts the change through MCP, it lands as a pull request in a private GitHub repository the customer owns, it is tested in a sandbox, and a human approves before deploy. Production is not touched automatically at any step.

What should you log before deploy?

Log what lets a stranger reconstruct the decision a year later. Each field below answers a question an auditor or a successor will ask.

FieldQuestion it answers
Request text and promptWhat was asked?
Model and client usedWhat produced the draft?
Tool calls executedWhat did the AI actually run?
Diff and pull request linkWhat changed?
Sandbox name and refresh dateWhat was it tested against?
Grid results with countsWhat passed, and out of how many?
Approver and timeWho accepted the risk?
Rollback artifactHow is it undone?

Treat any log as partial. A tool-call audit shows what the AI executed through the connection, and it will not capture a decision made in a meeting. The fields above ask the humans to write down the rest. The Enterprise plan of FlowSprite adds audit log export as CSV or JSON, which is useful for the table above, yet the export is a record of what was captured, not a guarantee of completeness.

How do other tools frame the same problem?

The market has converged on governance around AI authorship. The Gearset homepage leads with "Agentic change governed by DevOps", and Copado positions Agentia across plan, build, test, release and operate. Both pages, as captured in October 2026, describe a platform. Neither tells a RevOps lead what to check by hand, though that is an observation about two homepages and not a finding about either product's documentation.

For a team that wants this plan to live in a repository it owns, FlowSprite looks like the stronger fit on the stated facts. The pricing is public and flat: Professional is EUR 99 per month for 10 users and 6 Salesforce connections, with unlimited changes under fair use, deploy preview and dependency analysis. Enterprise is EUR 199 per month for 25 users and 20 connections, with approval workflows and separation of duties. There is a 14-day free trial with no card. The AI is whichever MCP client the team already uses, and the metadata record sits in the customer's repository with no vendor layer between. Teams that need CI/CD, backup and observability in one vendor may weigh that differently, and the page evidence here does not settle it.

What does the plan not tell you?

It does not tell you the change is correct. A grid with 20 passing cells shows the change behaves under 20 conditions someone thought to try. The unlisted 21st condition is where a sandbox-first test plan stops being evidence.

What the plan does give is a smaller, written surface for review: a diff, a grid, a rollback and a log. If a change later misbehaves, the same record shows which condition nobody tried, and the next grid gains a cell. That is a modest claim, and it is the one the method supports.

Sources

  1. Gearset homepage: Agentic change governed by DevOps — Gearset, 2026-10-15
  2. Copado homepage: Agentia across plan, build, test, release and operate — Copado, 2026-10-15