- 24 Mar 2025
- 3 Minutes to read
- Print
- DarkLight
- PDF
How to Test an Automated Campaign
- Updated on 24 Mar 2025
- 3 Minutes to read
- Print
- DarkLight
- PDF
Why conduct campaign testing?
You cannot send test messages in an automated campaign that uses event or custom template variables.
You can see your final message only if the campaign includes events that provide data for parameters.
To test such a campaign, you have to add it to the flow or operation and enable testing mode.
Meanwhile, messages will be generated but not sent to customers.
How to enable campaign testing
You can enable the testing in the mechanic that uses the campaign.
In the flow
You can test the flow with all its campaigns or only a specific campaign.
Test your campaign
In the node that sends the relevant campaign, enable the "Test campaign" option and launch your flow:
The flow will operate like any other launched flow: all the settings, nodes, or groups of steps, except for the test campaign, will be performed.
The campaign messages will be generated but not sent.
This way you can test a new campaign in an already operating flow when it is important not to lose runs during testing.
For example, you can add a test campaign to a flow without removing an existing campaign. This way, the existing campaign will continue to operate on customer runs while test messages will be generated by a new template:
The group of steps that includes a test campaign is marked in the flow:
Test your flow
Flow testing enables the testing mode for all flow campaigns automatically:
You can view customer distribution by branches in the test flow without the actual flow run.
The nodes and settings below are ignored:
- expectation
- group of steps (test messages are meanwhile generated);
- A/B test;
- execution frequency, and
- operation start and end dates.
You can use flow testing when creating a new flow, when it is important not only to test the messages but also see if the chains are built correctly. Plus, this way fits for testing the flows where only the step of sending the campaign is implemented, to avoid counting test runs.
The campaign may use the template variables where the value should appear during chain completion: it can be a promo code issued in the flow or a webhook response.
As the steps are not performed in the flow test, there will be no data for these parameters.
You can test such messages in two ways: either set up a selected contact to send it to or launch the flow and use the campaign test.
In operation
Flag the "Test campaign" option in the sending step:
All the steps will be completed as in any other operation.
Meanwhile, the campaign messages will be generated but not sent.
How to view test messages
In campaign
Click on the menu → "Test campaigns" on the campaign editing page:
On the list, you see test messages from all the mechanics that use this campaign, as well as the tests sent from the campaign interface:
You can forward the messages to a selected email address you have in your project.
You can forward up to five messages at once; they will also appear on the list after the sending:
In the flow
In the node for sending camapign, go to the "Generated messages" tab and click on the eye icon:
Tests from all blocks are collected in the "Runs and messages" → "Generated messages" tab:
For each node, mailings for the last ten clients are displayed.
For repeated runs, the last message generated for the client will be shown.
In the operation
You can not view generated messages from the operation separately, only in the list of generated messages in the mailing campaign.
Finishing the testing and launching campaigns
To launch the campaign, you have to disable the testing mode in the mechanic that is using it.
Enabling and disabling the testing in flows and operations is available only in the edit mode.
Flow testing finish does not impact the "Test campaign" toggle in the sending step. It returns into the state it used to be before test launch.
You cannot send the messages generated during the testing.