Welcome Series Segmented by Category

In cases where subscribers select a specific subscription category, such as gender, age, city, or product preferences, you may need to set up the appropriate welcome series.

Clothing store

Consider an example of setting up welcome series for male and female.

📘

Important

Before creating a welcome series:

  1. Set up a workflow for double opt-in.
  2. Create a welcome workflow for each subscription form; then, when you make changes to one workflow, it will not affect the work of others.
  3. Create welcome emails for different categories of subscribers:
    • for male,
    • for female,
    • for contacts that did not specify gender.

Setting Up a Workflow with Data Validation from the Gender Field

Use the workflow when passing subscriber data by the Subscribe contact API resource. The system saves the data in additional fields and uses it for validation before running the workflow.

You can see additional fields in your account settings on the Additional fields tab.

Additional fields

Click on the Personal Information heading to open a list of standard fields. The gender of the contact is stored in the additional Gender field; in our case, it is ID 4. You can recreate this field if you previously deleted it. Copy the field ID and its case-sensitive value to customize the workflow.

Field list

📘

Important

When checking the additional field, the values “m” and “M” (“f” and “F”) will be considered different. The value in the contact field must match the value in the workflow parameters.

Workflow creation

  1. Go to Automation → Workflows → New workflow.
Creating workflow
  1. Put in the workflow’s name and add a tag (optionally).
Workflow name
  1. Add the Task block; select the Confirm contact task type. The welcome chain will start after the subscriber confirms their email in the Double Opt-in email.
Adding block Start - "Confirm contact"
  1. Add the block Task (Get contact) to get contact data.
Adding block Start - "Get contact"
  1. Add Condition block and configure its settings:
  • Select the task name Variable matches regular expression.
  • In the name field, indicate the smartMessageJson system variable, in which information about a contact from the Get contact block is transmitted.
  • In the pattern field, indicate the value
 .*"4":"m".*

, where 4 is the gender field ID, and m is a variable corresponding to the male value; the system will check the contact data for compliance with this value.

Adding Condition block
  1. For the next check of the additional field value, copy the Condition block and indicate the following regular expression in the pattern field:
.*"4": "f".*
Adding Condition block

All contacts that do not meet the specified conditions (the value of the field is not equal to “m” or “f”) will follow the third branch of the workflow.

  1. Add emails (Email block) and a delay in sending messages (Timer block) to each branch, as when setting up a regular welcome series.

  2. Finish each branch with the End block.

The welcome workflow for different subscribers’ categories will look as follows:

Welcome workflow for different subscribers’ categories

Similar articles: