I am new in D365 .
I want to create some function or power app or power automate for sending data to our internal third party API in JSON format depend on one of the form condition is true.
So far I have created Dataflow for check condition and get data from Dataverse and send email but whatever data I am sending in email I want to send it via REST API to my third party.
My confusion is , What should I use . Should I make plugin ? Should I make some sort of solution or function ? or Should I just connect API in data flow directly ?
Another question is , Can I just use view from Dataverse ? or create function for getting data . I need to use 3-4 tables with join query . Which one will be better option ?