I need to sync Dynamics CRM marketing list with a mailing agent (Mailjet via API) and I thought I could use Microsoft Flow for this.
The idea is to trigger flow on marketing list update/create that will generate the JSON with list contacts info and send it via HTTP request. The problem is when I use "List Records" action I can't filter contacts based on marketing list id that I get from "When a record is created or updated (Preview)" on Marketing list entity.
I've tested that this trigger is activated when I add a new contact to a list so it should work fine. A better option will be to trigger flow( or workflow? ) within the Dynamics Marketing List view, but I'm not sure if this is possible. Can I run the JS code with the Marketing List input within Dynamics?
Can anyone point me in the right direction? I don't know C# so I'm looking for the solution on JavaScript or PHP.
Thanks!