← All articles
BITRIX24 · PRACTICAL GUIDE

Masking Bitrix24 test data: a safe environment without real contact details

A test environment must preserve the scenario's structure without exposing real contact details or triggering external communications.

Short answer

A test environment must preserve the scenario's structure without exposing real contact details or triggering external communications.

Task

Task and solution boundaries

A copy of the production database is convenient for testing, but contains real phone numbers, emails and relationships. A test that is not isolated may message a customer or send data outside.

The work aims to produce a controlled outcome that can be checked against specific records and user actions. Agree the solution before configuration; put disputed cases on a separate list with an owner and deadline.

Related scope of work: Bitrix24 technical support. The scope and boundaries are refined after reviewing the process and the initial data.

Data

What initial data to gather

Before configuration, gather the facts that determine the solution. The minimum set:

  • Sensitive data categories;
  • Value replacement rules;
  • Channels to disable;
  • Test addresses and numbers;
  • Test copy retention period;

For each item, name the source, the date it was current and the employee who can confirm its meaning. Do not replace missing information with assumptions: note the gap and the check that will close it.

Algorithm

Implementation and verification sequence

  1. Classify data and external actions.
  2. Replace contact details and identifiers according to a rule.
  3. Disable mailing campaigns, telephony and production webhooks.
  4. Run the test scenario using test addresses.
  5. Delete or refresh the copy according to policy.

A useful starting point for preparation is the article «Bitrix24 customization: how to brief a contractor and accept the result»: it helps connect the solution to the overall change queue.

Example

Work scenario for acceptance

For CRM testing, retain the relationships between companies, contacts and deals, but replace phone numbers and email addresses with test values. Route outbound integrations to safe stubs.

Before testing, write down the expected outcome. After execution, save the actual state, time, user role and configuration version. If the result differs, fix the cause and repeat the same scenario rather than changing expectations retrospectively.

Control

Control and responsibility matrix

Object being monitoredWhat we recordOutcome criterion
Object being monitoredDataWhat we recordWhat is maskedOutcome criterionNo real customer contact
Object being monitoredChannelWhat we recordWhat is disabledOutcome criterionNo external action
Object being monitoredControlWhat we recordPermitted destinationsOutcome criterionTest recipient only

The table is not a formality. Every row must lead to an observable result: a record, log entry, linked object or confirmed user action.

Risks

Which mistakes should be avoided?

  • Copy production secrets.
  • Leave live mailing campaigns enabled.
  • Mask email addresses only.
  • Keep a test copy indefinitely.

If an error has already occurred in production, first limit its impact and preserve evidence. Release the fix as a separate, verifiable version; avoid bulk actions without assessing their consequences.

Acceptance

Readiness checklist

  • The solution boundaries have been agreed.
  • An owner has been assigned to the outcome.
  • A test scenario has been prepared.
  • The actual result has been saved.
  • The next check has a date.

The process owners and technical owner confirm readiness. If an item cannot be checked, do not mark it complete: record the reason and the next available action.

FAQ

Frequently asked questions

Where should this work start?

Start with boundaries, an owner and one test scenario. Then gather only the data that changes the decision.

How do you confirm the result?

Run the scenario recorded in advance on a specific object, save the actual outcome and compare it with the criterion.

When to reconsider a decision?

After changes to processes, roles, integrations or configuration versions, and after an incident that exposed incomplete controls.

Need Bitrix24 configured for your process?

We will examine the customer journey, data boundaries, roles and acceptance scenarios before configuring automation.

Select service

Tell us which workflow you want to configure. Do not include passwords or access keys.