Skip to main content

Notifications

Announcements

No record found.

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

Get segment membership with power automate

Posted on by 56
Hi,
We would like to export all the members of our segment that contains all the bounced emails in the last few months, in an Excel file to send to our accounting dept to make validation if they are still customers or not with Power automate. What table in Dataverse would give us the segment membership?
I can probably make a flow that triggers once a month and that gets the membership list of the segment, but I can't find the table that contains the members.
Thanks!
  • Get segment membership with power automate
    Hi,
    I have not used HTTP request yet in my short career so I'm a bit usure about using that.
    My first thought was to set up a Journey in Real-time that started with a marketing trigger named Bounced emails. Then I would have made a cloud flow that would be triggered when the Journey trigger was triggerred (by bounced emails) and my bet is that I would be able to get all bounced contacts from there and list them in an Excel. My only conceran about this is that I also want to get the bounced reason and I'm not sure the marketing trigger is passing that information.
    I didn't get bounced emails since I started this flow so I don't know if it works properly, but I hope to see in the next days!
    Thank you for your recommendation, I will try it if my solution does not word.
     
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Get segment membership with power automate
    Hi,
     
    Has the issue been solved?
    Have there been any updates? Please feel free to ask me if you have any questions!
    If it has been resolved, can you mark the response as an answer?
     
  • Verified answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Get segment membership with power automate
    Hi,
     
    The segment members are stored in the msdynmkt_MembersList table, and you can send a Post request through the WebAPI, specifying a specific segment id in the payload.
    Returns a JSON object containing the segmentation member's id.
    Create a Customer Insights - Journeys segment using the Web API - Dynamics 365 Customer Insights | Microsoft Learn

    You can send a request in Power Automate Flow to get the members IDs and then get information about each member.
     
    expression: json(body('HTTP')['ResultText'])['members']
     
    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,
    Dengliang Li
     

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans