Coming form a relational db background, can't figure out how contacts and segments are related.
I simply want to loop through Contacts that are part of a segment. I am expecting a table that associate contacts to a segment, but have yet to find it.
I am looking for insight into this to be able to complete some flows.
Thanks
Xv
Thank you ! That answers my question. Took a long time to find the solution.
Hi HangryMapache,
You need to perform an unbound action to achieve this:
This is a http request sample: you need to change the Segment id in the "Query".(Please remove all the '-' in GUID)
POST {{OrgUrl}}/api/data/v9.0/msdyncrm_FetchContactsByQuery { "Query":"(SEGMENT(SEGMENT_CRM_ID_e1fa7fdc5c78ea11a811000d3a8e8fcc)).ORDERBY(fullname ASC).SKIP(0).TAKE(15).SELECT(contactid)", "FetchXml":"","OwningBusinessUnit":"0b4b85cc-7f6c-ea11-a811-000d3a54d359", "Scope":270100000, "TimeZone":null }
Please refer to this doc: https://docs.microsoft.com/en-us/dynamics365/marketing/developer/extend-segments#addremove-contacts-to-static-segments
Result:
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156