web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

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

(1) ShareShare
ReportReport
Posted on by 41
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.
I have the same question (0)
  • Verified answer
    Cui Hao Profile Picture
    Microsoft Employee on at
    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
     
  • Verified answer
    Daivat Vartak (v-9davar) Profile Picture
    7,847 Moderator on at
    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
  • Suggested answer
    Cui Hao Profile Picture
    Microsoft Employee on at
    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
     
  • Silvia Innamorati Profile Picture
    41 on at
    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 86 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 58 Most Valuable Professional

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 42 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans