Skip to main content

Notifications

Announcements

Customer Insights - Journeys forum
Answered

Adding a Contact Point in Contact Point Consents via created Lead

editSubscribe (0) ShareShare
ReportReport
Posted on by 4
Hi all, is it possible to add a Contact Point into the entity Contact Point Consents from a newly created Lead when a certain field is populated? If so, how would we do that (we are thinking Power Automate Flow) and do we use the msdynmkt_contactpointconsent4? Thanks
  • Cui Hao Profile Picture
    Cui Hao on at
    Adding a Contact Point in Contact Point Consents via created Lead
    Hi,
    The following changes were made to the previous flow:
    1.Delete the contents of this Filter rows field.
     
    2.Nesting conditions within conditions.
    subscriber : represents the subscription field newsletter.


    3.topic: fill in the lookup field, representing the topic, and fill in the id inside.


    This one is for the changes made to the last flow, you may refer to it.
  • MA-01051425-0 Profile Picture
    MA-01051425-0 4 on at
    Adding a Contact Point in Contact Point Consents via created Lead
    Thank you, Hugh Cui!
     
    I need to now add a Contact Point into Contact Point Consents from a newly created Lead where the field subscriber contains "newsletter" so that it matches the Topic in the Active Contact Point Consents?
  • Verified answer
    Cui Hao Profile Picture
    Cui Hao on at
    Adding a Contact Point in Contact Point Consents via created Lead
    Hi,
    ​​​​​​​
    Power Automate Flow can fulfil this requirement for you and the table used is msdynmkt_contactpointconsent4.
    The operation is as follows:
    1. The field we are testing with is the fullname field. This flow is triggered when fullname is not null.


    2.Commerial Consent : This is a dynamic expression { if(and(equals(triggerBody()?['donotemail'], false), equals(triggerBody()?['donotbulkemail'], false)),534120001,534120002)}



    3.Filter rowsmsdynmkt_contactpointvalue eq '@{triggerOutputs()?['body/emailaddress1']}' and
    _msdynmkt_purposeid_value eq '@{variables('''Purpose  Guid ''')}' and
    msdynmkt_contactpointconsenttype eq 534120000 and
    msdynmkt_contactpointtype eq 534120000


    4. content type must be selected.


    5. After testing, this is working successfully.


    You can do what I did above. The reference documents are as follows: Create a consent record using a cloud flow - Dynamics 365 Customer Insights | Microsoft Learn.

    Best regards,
    Hugh Cui

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,318 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,037 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans