cancel
Showing results for 
Search instead for 
Did you mean: 

Update Marketing Permission for multiple Contacts via BAdI based on email address

SCHNEIDERT
Active Contributor

Dear Experts,

following use case:

We would like to update Marketing Permissions for all Contacts in MC that have a specific email address. So, there are multiple Contacts that can have the same email-address (info@....). Let's say 40 Contacts have the same address. Now an external system sends a mail to that Contact and he clicks on "Unsubscribe/Opt-Out". That information is saved in the external system. For that specific Contact I can do the permission update using his Interaction Contact UUID and the API_MKT_CONTACT_SRV.

But in this case the other 39 Contacts in SAP Marketing Cloud would still have the Opt-In for the same email address. By that it is possible that a mail is sent to the email address again.

So my question is:

Is there any possibility - during the import/update of the permission of the contact - to use a BAdI and search for Contacts that have the same email address like the one that we update and update the permissions of these other Contacts, too?

BR Tobias

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member599277
Contributor
0 Kudos

Dear Tobias,

I don't think we can achieve this via BADI , only way I can think of is , in CPI we can try to get all the contacts sharing this Email address and then update the permission for each contact to opt out .

Regards,
Saravana.

SCHNEIDERT
Active Contributor

Hi Saravana,

that's the approach I also thought about but which I would try to avoid... If we receive e.g. from the external system 100 Opt-Outs, I would have to call the MC API for every of these email addresses, check if there are duplicates, fetch their Contact UUIDs and do the Update...

Thanks for your quick reply.

former_member599277
Contributor

Hi Tobias,

Yes , That's true but within Marketing system we cant Influence contacts permission via BADI as per my Understanding , I can find a similar request has been acknowledged

Improvement Request Details - Customer Influence (sap.com)

Hope this functionality will be delivered soon.

Regards,
Saravana.