Use case: send a message to the subscribers of a list send-a-message-to-the-subscribers-of-a-list
The purpose of this use case is to create a journey to send a message to the subscribers of a list.
In this example, the Consent and Preference Details field group from ÃÛ¶¹ÊÓƵ Experience Platform is used. To find this field group, from the Data Management menu, choose Schemas. On the Field groups tab, enter the name of the field group in the search field.
To configure this journey, follow these steps:
-
Create a journey that starts with a Read activity. Read more.
-
Add an Email action activity to the journey. Read more.
-
In the Email parameters section of the Email activity settings, replace the default email address (
PersonalEmail.adress
) with the email address of the list subscribers:-
Click the Enable parameter override icon at the right of the Address field, then click the Edit icon.
-
In the expression editor, enter the expression to retrieve the subscribers’ email addresses. Read more.
This example shows an expression that includes references to map fields:
code language-json #{ExperiencePlatform.Subscriptions.profile.consents.marketing.email.subscriptions.entry('daily-email').subscribers.firstEntryKey()}
In this example, these functions are used:
table 0-row-3 1-row-3 2-row-3 Function Description Example entry
Refer to a map element according to the selected namespace Refer to a specific subscription list firstEntryKey
Retrieve the first entry key of a map Retrieve the first email address of subscribers In this example, the subscription list is named
daily-email
. Email addresses are defined as keys in thesubscribers
map, which is linked to the subscription list map.Read more about references to fields in expressions.
-
In the Add an expression dialog box, click Ok.
-