Skip to content

Test mode

Test mode lets your team try messages, workflows and settings on real phones, without any of your users seeing them. This page explains how to set it up and use it.

Test mode gives your app a test app. It is a second copy with its own contacts, events, conversations, messages and keys. It is kept completely apart from your live app. Your test build of the app (often called a staging build) talks to the test app.

Before you start: an owner or admin of the workspace sets up test mode.

Go to Testing › Test mode.

  1. Press Set up test mode.
  2. In the app switcher at the top of the menu, switch Live to Test. The first time, PurrCRM explains what changes.

While Test is on, every page works on the test app: Settings, Messages, Workflows, the Inbox and the rest. The settings pages remind you that you are changing the test app. Switch back to Live the same way.

Testing › Test mode, with the test app set upTesting › Test mode, with the test app set up
Testing › Test mode, with the test app set up

Settings › your app › General, in Test

You don’t have to start from nothing. On the Start from live card, press Copy all setup from live.

This copies what your live app is set up with: messages, workflows, the help center, segments, attributes, events and tags, saved replies, email layouts, the brand, and settings. Everything arrives as a draft. Copying again updates what was copied before.

Contacts, events and keys are never copied.

The test app has keys of its own. They only work for the test app. Your developer puts them in the test build and the test backend. Nothing else in the code changes.

KeyLive appTest app
App key, in your appapp_…app_test_…
Identity secret, on your backendcrm_is_…crm_is_test_…
Server key, on your backendcrm_sk_…crm_sk_test_…

A live key is refused by the test app, and a test key by the live app. The refusal says why. Your developer can find the details in Test mode in the Flutter SDK.

  • Pushes go through the test app’s own Firebase key, to the phones your test build registered. Add the key on Settings › your app › Delivery › Push, while in Test.
  • Emails go only to members of your workspace, and to the addresses on the Email allow-list (on Testing › Test mode). Every other email is held in Testing › Test outbox, where your team can read it.
  • Testers look real. When a tester signs in to the test build, their test contact starts with the details of their live contact. Updates to the live contact are copied across too. Nothing goes from the test app back to live.

When a message or a workflow is right in Test, open its More menu and choose Copy to live. The copy arrives in the live app as a draft, so you can check it and set it live.

Copy to test does the opposite.

Go to Testing › Test mode.

  • Delete all test data empties the test app’s contacts, conversations and events. It keeps the setup. Test data is also cleared after 30 days by itself.
  • Remove test mode deletes the test app and everything in it. Its keys stop working at once, so test builds that still use them are refused.

Both ask you to type the app’s name to confirm. Your live data is never touched.