Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

list (Marketing list) table - how to trace when a contact was added to list

Posted on by 121
Hi everyone,
 
I'd like to know when a contact was added to a particular marketing list in D365.
Is this possible?
 
Can someone help me?
 
Thanks in advance,
S.I.
  • Silvia Innamorati Profile Picture
    Silvia Innamorati 121 on at
    list (Marketing list) table - how to trace when a contact was added to list
    Sorry, 

    I mean something out of the box. Now I read my question and it's not so clear... I'm so sorry.
     
    Regards,
    S.I.
  • Suggested answer
    Cui Hao Profile Picture
    Cui Hao on at
    list (Marketing list) table - how to trace when a contact was added to list
    Hi,
     
    Do you have any other questions? If you have questions about building Flow, feel free to ask me.
    If it solved your problem, please mark it as verified to help other community members find more.
     
     
    Best regards,
    Cui Hao
     
  • Verified answer
    Daivat Profile Picture
    Daivat 980 on at
    list (Marketing list) table - how to trace when a contact was added to list
    Hello Silvia,
     
    There is not an easy way to get this data. 
     
    Suppose you are using a Static Marketing List to add members to it. In that case, the easy way to identify when and who added the specific contact to the Marketing list is the data in the List Members table that is not accessible via Advanced Find. 
     
     
    Using the below query you can get the data.
     
    Select L.listname as 'Marketing List', C.fullname as 'Contact', LM.createdon as 'Added On', LM.createdbyname as 'Added by'
    From dbo.list L, dbo.contact C, dbo.listmember LM
    Where LM.entitytype = 2 and L.listid = LM.listid and C.contactid = LM.entityid
     
    You can modify the parameters that you need. 
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me.
     
    Best Regards,
    Daivat Vartak
  • Verified answer
    Cui Hao Profile Picture
    Cui Hao on at
    list (Marketing list) table - how to trace when a contact was added to list
    Hi,
     
    I realized your requirement by combining Flow with WebHook, you can refer to it.
     
    The first step is to configure the WebHook to send a Http request.
    This WebHook is triggered when a member is added to the Marektinglist and carries the GUID of the added member and the Guid of the Marketinglist.
     
    The next step is to start building the Flow.
    1.Accepting Http requests:
     
    2.Pre-process the data through this step, taking out /ListId/ and /MembersId/, which are in the format of json objects.
     
    3.Get the name of the Marketinglist based on the /listid/.
     
    4.Get all the data for the contact's record based on the /MemberIds/.
     
    5.Finally, personalize the email as you see fit
     
    After testing, when adding a member, I successfully triggered this flow and sent the email.
    The scenario I am testing is the one where I am adding one member. But you can add multiple members in batch, which is also supported as it is possible to fetch data from multiple members at the same time, you can refer to my Flow for customizing the operation.
     
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
     
    Best regards,
    Cui Hao
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans