How to Trigger Power Automate on N:N Relationship in Dynamics 365

Power Automate has the capability of triggering on Association and Disassociation (Relationships) of record in Dynamics 365 by using Webhook. In the below example we will create a Power Automate flow and trigger on Associate/Deassociate event in Dynamics 365.

1. Create an automated Power Automate cloud flow in your development solution, give it a name and create the flow. Now add the step HTTP request trigger:

2. select the ellipses and pick Settings on the trigger ‘When a HTTP request is received‘ step:

3.  Add your trigger condition with your relationship name

@equals(triggerbody()?[‘InputParameters’][1]?[‘value’]?[‘SchemaName’],’Relationship Name’)

4. Register Webhook using the endpoint url in Plugin registration tool. Open the PRT and click on Register Webhook registration and new window will open like below and enter the following details and click on Save:

5. Add the step under Webhook assembly for Associate and Disassociate under the webhook assembly by referring the following steps:

6. We can add our logic in the steps of Power Automate to perform the required action, as the Power Automate will now trigger on the Associate/Disassociate of record.

Thank you and Happy Learning with Whizz Wave.

30 thoughts on “How to Trigger Power Automate on N:N Relationship in Dynamics 365”

  1. Your article is an excellent resource for anyone interested in this topic. I appreciate the way you presented the information in a clear and concise manner.

  2. This is an insightful article that challenges readers to think critically about the topic. Your writing style is engaging and thought-provoking, and the information is presented in a way that is easy to digest.

  3. I may need your help. I’ve been doing research on gate io recently, and I’ve tried a lot of different things. Later, I read your article, and I think your way of writing has given me some innovative ideas, thank you very much.

  4. I may need your help. I’ve been doing research on gate io recently, and I’ve tried a lot of different things. Later, I read your article, and I think your way of writing has given me some innovative ideas, thank you very much.

Leave a Comment

Your email address will not be published.