How to manage consent in Marketing Cloud Next

2 min read

The Consent system in Marketing Cloud Next is different from the other Marketing Platform owned by Salesforce. When a new Lead or Contact enter the Salesforce system it will be automatically set as opted-out and an action will need to be made in order to opt-in the record. This Option can be either manual or automated.

Manual Opt-in Process #

You should be able to add the following Consent Status widget on the Lead/Contact Page Layout. After clicking on the arrow you will need to update the Satus of the Lead/Contact.

Automated Opt-in Process #

Understanding Consent Field Requirements #

When creating consent records, whether through imports or automation, the following key fields are required:

  • Channel: The communication delivery method (Email or SMS)
  • Communication Subscription: The specific subscription name (e.g., “Newsletter”)
  • Consent Status: Indicates whether an individual has opted in or out at the subscription level
  • Email: The individual’s email address
  • Consent Date: The timestamp when consent was captured

The Critical Field: Communication Subscription Consent Id #

This field is essential for creating consent records programmatically. It combines two elements:

  • The email address
  • The Communication Subscription Channel Type Id
  • Separated by a “#” symbol

Example Format:

#0eBHs0000010zyOMAQ

Understanding Communication Subscription Fields #

There are two similar but distinct fields you need to understand:

Communication Subscription #

  • Format: 0XlHs00000111ZZKAY
  • Purpose: References only the subscription itself
  • Scope: Channel-agnostic

Communication Subscription Channel Type Id #

  • Format: 0eBHs00000111n0MAA
  • Purpose: References both the subscription AND the specific channel
  • Scope: Channel-specific

Building Your Record-Triggered Flow #

Before you begin, consider these questions:

  • Which object should trigger the flow?
  • When should the flow execute?
  • What entry conditions are needed?
  • Are there jurisdictions requiring double opt-in?

Step 1: Configure the Start Element #

Recommended Configuration:

  • Trigger: When a record is created
  • Object: Lead
  • Entry Conditions: Exclude leads created from form submissions (since Marketing Cloud on Core forms already handle consent)
  • Optimization: Set to “Fast Field Updates”

Customize these conditions based on your specific requirements.

Step 2: Add a Scheduled Path #

Record-triggered flows cannot execute external callout actions in paths that run immediately. To work around this limitation:

  1. Add a scheduled path
  2. Set a 1-minute delay from when the lead was created
  3. This allows the flow to process the consent action properly

Step 3: Create a Decision Element (Optional but Recommended) #

For jurisdictions requiring double opt-in:

  1. Add a decision element to identify leads from these regions
  2. Route them down a separate path
  3. This allows you to add future actions, such as sending a transactional email requesting explicit consent

Example Criteria:

  • Country equals specific values (e.g., Germany, Canada)
  • State equals specific values (e.g., California, Virginia)

Step 4: Build Formula Resources #

You’ll need formula resources to generate the Communication Subscription Consent Id for each subscription/channel combination.

Formula Template:

{!$Record.Email} & "#" & "0eBHs00000111n0MAA"

Create one formula resource per Communication Subscription Channel Type Id you’re managing.

Step 5: Configure Action Elements #

Use the built-in MessagingConsent.MessagingConsent action provided by Salesforce.

Required Inputs:

  1. CommunicationSubscriptionChannelType (recommended)
    • The Id relating to both subscription and channel
    • Example: 0eBHs00000111n0MAA
  2. ConsentCapturedDateTime
    • Use {!$Flow.CurrentDateTime} or the lead creation date
  3. ConsentId
    • Use your formula resource that concatenates email and Channel Type Id
  4. ConsentStatus
    • Set to OPT_IN or OPT_OUT as appropriate
  5. ContactPointValue
    • The email address: {!$Record.Email}
  6. Name (recommended)
    • The Communication Subscription Id (channel-agnostic)
    • Example: 0XlHs00000111ZZKAY

Note: While some fields are technically optional, including all values ensures your records match those created through standard consent imports.

Important: Create one action element for each subscription/channel combination you need to manage.

Step 6: Complete Your Flow Path #

Connect all elements in logical sequence:

  1. Start Element
  2. Scheduled Path (1-minute delay)
  3. Decision Element (if using)
  4. Action Elements (one per subscription)
Updated on March 10, 2026

What are your feelings

  • Happy
  • Normal
  • Sad

LATEST NEWS

Understanding Data Graphs in Agentforce Marketing

Arthur Backouche insights about Data Graphs within Agentforce Marketing , and how they enable organizations to deliver Real-Time Personalization.

The Agentforce Marketing Ultimate Guide.

This guide provides a structured implementation methodology designed to reduce deployment time from weeks to under 24 hours.

OFFERING (COMING SOON)

We are helping organisations and professionals get more value from Salesforce and modern marketing technologies. Driven by clarity, impact, and practical execution.

Please share a few details below and I’ll get back to you shortly.

Arthur Backouche helps organisations and professionals get more value from Salesforce and modern marketing technologies. Driven by clarity, impact, and practical execution.

Please share a few details below and I’ll get back to you shortly.