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.

Subscription form widget offering a 10% discount with an Email field and Gender options for Man, Woman, and Don't want to answer

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 page listing Personal fields with Gender highlighted and the account menu showing Settings
  1. Copy the field ID.
Additional fields Personal section with the Gender field's ID 4 and copy icon highlighted
  1. Copy the case-sensitive field value to customize the workflow.
Update field dialog for Gender with dropdown options f and m highlighted
ā—ļø

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.
Automation menu with Workflows selected and the New workflow button highlighted
  1. Put in the workflow’s name and add a tag (optionally).
Workflow builder named Category segmentation with an unconnected Start block and its configuration panel open
  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.
Workflow builder showing a Confirm contact Task block added after Start with Confirm contact selected as the task name
  1. Add the block Task (Get contact) to get contact data.
Workflow builder showing a Get contact Task block added after Confirm 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.

Workflow Condition block set to Variable matches regular expression with a pattern matching gender value m
  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".*
Workflow with a second Variable matches regular expression condition block on the No branch, pattern matching gender value f

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:

Complete workflow diagram branching by gender condition into welcome email series for men, women, and all other contacts

Similar articles:



Did this page help you?