How to set up a CRM sandbox with example data

Load ten dummy contacts and six linked opportunities, then run four controlled checks for stage changes, owner permissions and outgoing actions.

How to set up a CRM sandbox with example data

Set up a separate CRM test workspace, enter the ten dummy contacts below, and link six of them to opportunities. Keep outbound channels disconnected while you load the data. Then use two ordinary staff accounts to test who can change an opportunity’s stage, whether a task goes to the opportunity owner rather than the contact owner, and what happens to an outgoing action when a contact is marked Do not contact. Write down the expected result before each change. If you cannot isolate outbound channels or keep the exercise away from live records, rehearse the decisions in a worksheet instead.

The example figures describe the starting inventory: ten contacts, six linked opportunities and four proposed automation rules. The six opportunities are linked to six of those ten contacts, not to six additional people. The rules are scenarios to test, not product features that the figures prove are available. These counts tell you nothing about how many actions ran or passed. If you rehearse a rule manually, record the result as a process check, not as evidence that the software enforces it.

1. Define the test boundary and assign roles

Imagine a small workplace equipment maintenance firm. Priya handles new enquiries, Ellis prepares quotes, and Morgan administers the CRM and reassigns work when needed. The team wants a confirmed requirement to create one follow-up task for the opportunity owner. When a quote is ready, that owner should receive something to review, not discover that a message has already gone out. Closing an opportunity should cancel its own unfinished sales reminder without changing the contact’s communication status or disturbing unrelated work.

Morgan first checks where the exercise can run. A separate workspace or account is useful only if its connections are also isolated. Inspect mailboxes, calendars, messaging gateways, shared notification channels and data synchronisation. A workspace copied from another environment may still point to a working connection; a new pipeline may still fall under an account-wide rule. Check the actual destinations. Use a marker such as TEST-R1 to find and clean up dummy records, not as proof that those records cannot trigger outbound work. If you cannot confirm isolation, leave the affected rule disabled.

Use designated test accounts for the roles being checked. Morgan performs setup and authorised reassignments. Priya and Ellis run the ordinary staff cases. Record their permission profiles and the workspace beside each account name, but do not record credentials. The example policy lets staff view a colleague’s opportunity but not edit its stage or change its owner. Owning a linked contact does not give someone the right to edit the opportunity. If your team uses a different policy, write its expected results before testing. An administrator making a successful edit is not evidence that a staff user can make it.

Build the records from scratch. Leave optional phone numbers and addresses blank. If a form requires an email address and accepts a placeholder such as c01@example.invalid, use it to check field mapping, not delivery. Do not import renamed copies of customers: notes, addresses, attachments and activity history may still be present. Recreate only the characteristic you need, such as an empty owner field or a mismatch between a contact owner and an opportunity owner.

Record the baseline in a worksheet that will survive sandbox cleanup. List the initial owners and stages, enabled rules, connection states and any tasks or reminders that already exist. Give Morgan responsibility for stopping the run if a live destination appears or an ordinary account gains a permission it should not have. Write down how to inspect or clear pending actions before anyone starts. If you are still deciding which work belongs in the pipeline, use the sales CRM overview to frame that discussion, then check the controls available in your own setup.

Keep the first run small enough to diagnose. Agree on the ordinary routes staff use to find and edit records, such as a board, a search result or a related-record panel. Pick one way to confirm saved values independently. Also decide how you will tell whether background work has finished: use an observable execution state if available, or record a fixed observation window and its limitations. Otherwise, two people can run the same case and disagree simply because one looked for the result sooner.

2. Load the ten records and verify the starting state

Use contact status for the communication situation and opportunity stage for progress on a particular deal. A contact may have replied without having an opportunity, and losing an opportunity does not automatically make the contact inactive. Do not contact is the status used here to test an outbound restriction. Archived is separate: it lets you check that a housekeeping edit does not put an old record back into an active queue. Neither label, on its own, establishes what your CRM will enforce.

Contact ID and dummy name Contact status Contact owner Opportunity ID, stage and owner
C01 · Alder New enquiry Priya O01 · Qualifying · Priya
C02 · Birch Contacted Ellis O02 · Qualifying · Ellis
C03 · Cedar Contacted Priya O03 · Requirement confirmed · Priya
C04 · Elm Awaiting reply Priya O04 · Quote ready · Ellis
C05 · Hazel Contacted Ellis O05 · Won · Ellis
C06 · Linden Awaiting reply Priya O06 · Lost · Priya
C07 · Maple New enquiry Unassigned —
C08 · Rowan Do not contact Ellis —
C09 · Willow Archived Priya —
C10 · Yew Contacted Ellis —

Use O01 for the first stage transition and O02 for a comparable change under a different owner. O03 already starts in the destination stage, making it a useful control for edits that must not count as stage entry. C04 and O04 deliberately have different owners so a misrouted review is easy to spot. O05 and O06 are already closed and should not be treated as new closures when you enable a rule. C07 tests intake without an assigned owner; C08 tests the contact restriction; C09 tests whether an archived record stays out of active work. C10 is an active contact without an opportunity: it should not acquire an opportunity task just because its status changes.

Enter the contacts with the rules disabled, then link the opportunities by stable IDs rather than display names. For an import, try a small batch and inspect the resulting records rather than relying on the success notice. Check that a blank owner has not defaulted to the importer. If an owner is mandatory, use an explicit intake queue only if your setup supports it, and record that you are testing queue routing, not an unassigned record. Before using re-import as a reset method, confirm how your setup handles existing IDs. If that behaviour is unclear, reset the records directly instead of risking a duplicate set.

Make the stage criteria observable. In this example, Requirement confirmed means the requested work and a follow-up date are both recorded. Quote ready means the quote is available for internal review, not that it has been sent or accepted. Closing as lost calls for a short reason. If your CRM cannot require a field during a stage change, record the gap and decide whether a manual check fits the team’s process. A rule that declines to create a task when a date is missing does not, by itself, prevent the stage from changing.

Before enabling any rules, count ten contacts, six correctly linked opportunities and four contacts with no opportunity. Open O04 from the pipeline and from C04 to confirm both routes lead to the same record. Check the two owners against the worksheet rather than correcting the deliberate mismatch. Record any pre-existing activity on O05 and O06 so you can tell whether enabling a rule changes old records. For the distinction between preparing a quote and handling a document after acceptance, see matching a purchase order to an accepted quote in CRM. Acceptance and order matching are outside this run; a stage change to Quote ready should do neither.

3. Give each rule a trigger, a result and a counterexample

Write down the trigger, the required conditions, the intended result and one case where the rule should do nothing. Enable rules one at a time during the first pass so you can attribute each task or draft to the right trigger. Test the intended combination later. If a feature is unavailable, use a manual action only when it lets you answer a useful process question, and mark the automation as unverified. A manual review task, for example, can test who should review a quote but cannot prove that a draft would be created.

  1. A — Assign a follow-up. On entry to Requirement confirmed, create one internal follow-up task for the opportunity owner if the work requested and follow-up date are present. An edit made without changing the stage must not create another task.
  2. B — Prepare a quote review. On entry to Quote ready, create one draft or internal review task for the opportunity owner. If testing a draft, show the linked contact as the intended recipient. Do not send the message, mark it as approved or accept the quote on the customer’s behalf.
  3. C — Block prohibited outgoing work. If the contact is marked Do not contact, prevent the outgoing action. For a delayed action, check that changing the status cancels the pending item or that the status is checked again before execution. If neither can be observed, leave automated delivery disabled.
  4. D — Cancel the reminder on closure. On entry to Won or Lost, cancel only the opportunity’s unfinished sales follow-up reminder. Leave the contact status and unrelated activity alone. An opportunity that was closed before the rule was enabled is not a new closure event.

Decide how re-entry and reassignment should work. In this example, moving O01 back to Qualifying and then forward again leaves its original follow-up in place if it is still open. If it has been completed, a new one requires a deliberate decision. Choose separately whether an existing review stays with its first assignee, moves to the new opportunity owner or requires an explicit handover. A change to the owner field is not evidence that an existing task moved. The test needs to compare the task itself with the handover policy.

Match the evidence to the claim. A task reference and assignee establish that there is a task for a particular user. A draft preview establishes what is prepared and who is listed as the recipient. A queue entry or execution record can show that a delayed action is waiting, cancelled or ineligible. An empty inbox cannot distinguish those states from a disconnected sender. If you are considering optional AI workflows, use the AI autopilot overview to discuss where human review belongs. Use fixed text marked TEST here so differences in wording do not obscure differences in routing or delivery state.

Specify the expected interaction between rules before combining them. Preparing an internal review does not override a contact restriction. Cancelling a sales reminder on closure should not erase the record of how a quote was reviewed. If your CRM represents the follow-up task and the reminder as different items, give each its own reference in the worksheet. Otherwise it is easy to check the wrong object, particularly when several tasks have similar titles or belong to the same contact.

Worked example figures
Illustrative example
Contacts 10

Opportunities 6

Automation rules 4

4. Run the stage, permission and outbound checks

Start with Rule A and Priya’s account. On O01, record the requested work but leave the follow-up date blank. Try to confirm the requirement. The example process calls for a blocked stage change and no task. If the stage changes but no task appears, record those as separate outcomes: stage validation failed, while the task’s field condition was respected if you can verify that decision. Restore the initial stage, enter the date and try again. Confirm that one task links to O01 and belongs to Priya. Edit one note without changing the stage, then check after the agreed observation interval that no duplicate appeared.

Repeat a note-only edit on O03, which was already at Requirement confirmed when the rule was enabled. There should be no newly created follow-up. For the re-entry case, return O01 to Qualifying and then move it forward with its original task still open. Verify that the original task remains the only open follow-up. Check the reference rather than just the count: silently replacing one task with another is different from keeping the existing task, especially if someone has already added notes to it.

Ask Ellis to open O01 from the pipeline and from C01’s related records. Under the example policy, Ellis may view it but may not change its stage or take ownership. Check the ordinary interfaces your team uses rather than relying on one disabled button. If a form accepts an attempted edit, check whether it saves; have Priya or Morgan confirm the stored value. Compare the result with Ellis making a permitted change on O02, an opportunity Ellis owns. Once O04 is in play, check the converse case: Priya owns C04 but should not acquire edit rights to Ellis’s opportunity merely because the records are linked.

Now isolate Rule B. Save a minor edit on O04 while it is already at Quote ready and check that no new review appears. With Rule A disabled for this case, have Ellis move O04 back to Requirement confirmed with the required fields filled, then forward to Quote ready. The review should go to Ellis, not Priya. If it is a draft, also check that C04 is the intended recipient and that the draft has not been released. Have Morgan reassign O04 as a separate operation and compare the existing review assignment with the handover policy. Restore ownership before continuing.

Use C08 for a direct contact-level exclusion check if your setup offers a relevant action. For an opportunity-linked case, prepare a safe test action for O04 while C04 is eligible, then mark C04 Do not contact before release or execution. Where you can observe a queue in isolation, look for cancellation or a recorded decision that the action cannot run. A queued action that would still send when a connection is restored fails this case. If all you can see is a draft or a silent inbox, mark the delayed-action result as unverified. Do not reconnect a sender to discover what is waiting.

Test Rule D on O01 with an open follow-up reminder. If the task from Rule A is not the kind of item Rule D cancels, create an explicit dummy reminder before the test. Have Priya close the opportunity as lost and add a dummy reason. Verify that the specific reminder is no longer actionable, C01’s status is unchanged, and the O04 review remains. Compare O05 and O06 with the baseline: neither should have been processed simply because it was already closed. Reset O01 and repeat with Won if both paths are in scope. If closing uses a different control from ordinary stage changes, check the owner permission there too.

For a combined run, rebuild O04 with a known starting state and an open reminder. Move it to Quote ready, mark C04 Do not contact, and then close the opportunity. Inspect the outcome after each action. The review should stay available internally, prohibited outgoing work should be blocked and closure should withdraw only the intended reminder. If a result differs from the isolated cases, repeat the smallest relevant sequence with the same starting records. Changing several fields at once makes it harder to tell which event caused the difference.

5. Record the evidence, reset the data and make a release decision

Use one row per case: Case ID | starting record and state | role | action | expected result | actual result | evidence | decision and owner. A sample entry is: “B-02 | O04, Requirement confirmed, Ellis owns opportunity | Ellis | move to Quote ready | one review for Ellis | review assigned to Priya | review reference and timestamp | routing failed; Morgan to investigate.” Record outbound behaviour separately. The absence of a delivered message neither excuses the routing failure nor proves that a contact restriction worked.

Use pass when you observed the expected result and checked for the forbidden change. Use fail when the observed result contradicts the expectation. Use not verified if a role, view, connection or other evidence is missing. A correct address in a draft passes a draft check only. A user being unable to find a record does not pass a permission case that calls for read access but blocks editing. State what the evidence establishes so the next person does not have to infer it from the label.

  • Verify the workspace, test accounts, disconnected destinations and enabled rules against the baseline.
  • Recount ten contacts and six opportunities; confirm C04’s split ownership and C07’s intake state.
  • Test a permitted and prohibited edit with ordinary accounts, then verify what was actually saved.
  • Check a new stage entry, a same-stage edit, re-entry and the closure paths you plan to use.
  • Trace a test action from preparation to block or cancellation; flag any state you cannot observe.
  • Disable test rules, clear or account for pending work, then archive or remove dummy records using the test marker.

Between runs, restore ownership, contact restrictions, temporary permissions and the state of dependent tasks or drafts. An existing task from an earlier run can make duplicate prevention look successful even if the rule never triggered. After fixing a failure, retry the original case first and then the nearest counterexample. If you fix routing for O04, use a case where the contact and opportunity owners match to check that ordinary routing still works. If you can no longer account for earlier changes, rebuild the full dataset for the combined run and document any replacement record IDs.

Only test actual delivery if it answers a question that draft and queue checks cannot answer. Use a confirmed isolated test connection and a dedicated destination your team controls. Verify the allowed recipient and pending actions before enabling the connection, send one clearly marked message and disconnect again. If you cannot constrain the destination or isolate previously queued work, leave delivery off and classify it as unverified. A connection should not be re-enabled merely because the test records have been deleted.

Make the release decision rule by rule. If internal follow-up passes but quote reviews are misrouted after reassignment, retain manual review until the handover case is fixed. If you cannot verify cancellation of a delayed action, leave automated delivery disabled. Give the blocker a named owner and a concrete retest: prepare the delayed action in isolation, change C04 to Do not contact, and produce evidence that the item cannot execute.

Archive date