Testing the Products Block

After configuring the Products block, you can preview how the recommendations appear in the email on desktop and mobile devices.

You can test the block for an individual contact or a segment of contacts:

  • If you are going to use the product block in a promo campaign, select a list of recipient contacts.
  • If you are going to use the product block in a trigger campaign, select the dynamic segment on which the workflow with this email will be launched.

Consider an example of testing the Products block for Abandoned view workflow. 

How to find out which segment is used in the workflow

  1. Go to AutomationWorkflows, select the Abandoned view workflow, and go to the Start/Stop configuration.
Automation menu with the Workflows tab highlighted, showing the Abandoned view workflow in the workflow list
  1. Copy the segment’s name or its ID in the Segment parameter.
Start/Stop configuration panel with the Segment field highlighted, showing the Abandoned view segment and its ID

Block Testing

  1. Open the email in the editor and click View message.
Messages toolbar with the View message icon highlighted
  1. Click Select contact.
Message preview screen with the Select contact link highlighted, showing product recommendation cards on desktop and mobile
  1. Select Preview contacts from selected segment and paste the name or ID of the segment into the search field.
Select contact to view dialog with Preview contacts from selected segment selected and the Abandoned view segment highlighted in the search results
  1. Select a contact for testing.
Select contact to view dialog listing contacts from the Abandoned view segment, with Person 2 selected

The message content will be generated differently depending on the following cases:

  • There is data available to display for a contact

In this case, you will see the block content as the selected contact will see it.

Message preview for Person 2 with the recommended product cards outlined in red on the desktop and mobile views
  • There is no data available to display for a contact

In this case, there are two possible options:

  1. The preview will display a notification about the absence of recommendations, and the system will not send the email.
Message preview showing a notification that there are no product recommendations for the selected contact and the email will not be sent
  1. The product block will be hidden, but the system will send the email.
Message preview with a notice that some product recommendations are missing for this contact, showing the empty recommendation block with a See all products button
📘

Note

The display of the first or second option depends on the If there are no products to show setting in the Products block.

If you deactivate the Message for switcher, the recommendations will always display bestsellers from the general recommendation algorithms.

Message preview with the Message for toggle switched off and highlighted, showing bestseller product recommendations instead of personalized ones

Click the Back button to return to the editor window.

Message preview screen with the Back button highlighted in the top left corner

Did this page help you?