Contact Us

August 20, 2024

May 13, 2026 2:59 pm

Resolving Consent Flow Issues in Data Cloud Triggered Flow

Share with

Understanding the Issue

The issue arises when the contact point value, in this case, the email address, is not correct. This can cause the flow to fail and not process any records. To resolve this, it is essential to add a default path and test the flow with a valid email address.

The root cause of the issue is the incorrect email address in the contact point value, which causes the flow to fail when trying to process the consent activity.

Another consideration when working with flows is the batch size when the flow is triggered, which can impact CPU usage and performance. It is crucial to consider these factors when designing and testing the flow.

Resolving the Issue

To resolve the issue, follow these steps:

  • Add a default path to the flow to handle any records with invalid email addresses.
  • Test the flow with a valid email address to ensure it works as expected.
  • Consider the batch size and CPU usage when designing and testing the flow.

By adding a default path and testing with a valid email address, you can ensure that the flow works correctly and processes all records, even if some have invalid email addresses.

Example Code

example.ssjs

var flow = Platform.Function.Invoke('DataCloudTriggeredFlow', {    'contactPointEmail': '[email protected]',    'defaultPath': true});

Heads up: Make sure to test the flow with different scenarios to ensure it works as expected.

Checklist

  • Add a default path to the flow.
  • Test the flow with a valid email address.
  • Consider batch size and CPU usage.
  • Test the flow with different scenarios.
  • Verify the flow works as expected.

Frequently Asked Questions

What is the purpose of adding a default path?

The default path is used to handle any records with invalid email addresses, ensuring the flow does not fail.

How do I test the flow with a valid email address?

You can test the flow by using a sample contact with a valid email address and verifying the flow works as expected.

What are the considerations for batch size and CPU usage?

When designing and testing the flow, consider the batch size and CPU usage to ensure the flow does not impact performance.

What happens if I don’t add a default path?

If you don’t add a default path, the flow may fail and not process any records if there are any records with invalid email addresses.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert