web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Using Flow to Trigger (based on record owner or user) Sending Forms Pro to Lead in D365

(0) ShareShare
ReportReport
Posted on by 120

Hi everyone,

I initially posted this in one of the other forum's but didn't get any traffic and figured I'd try it in the general forum as well.

____________________________________

Wondering if this is possible and if so, how?  I'm running into an issue building this flow and hoping to get some guidance. 

Business Need

Our users need to send a Forms Pro survey to leads in D365

I've built a Flow in Power Automate so that when a lead is selected in D365 for Sales a user could send a Forms Pro survey invitation via email in a template.  The issue is that we have two users who will require a different email template that everyone else.  Is is possible to insert a condition in the Flow that would check the owner or user (either would work) and then is "YES" I'd have one specific email template go out and if the condition is "NO" the other template would go out.  

Wondering if the condition could check if the owner or user is the two specific users in question so that the "YES" email would go out and if "NO" (Every other user) the other email would go out.

I'd like to keep it restricted to only one Flow, but if I can't do the scenario above I'll just create a separate Flow for those two users.  Trying to cut down on the amount of Flows. :)

Thank you in advance!

Chris 

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at
    RE: Using Flow to Trigger (based on record owner or user) Sending Forms Pro to Lead in D365

    Hi Chris,

    You can add condition action in the flow to achieve it.

    As following shown:

    (1) You can add an action and select Condition.

    47146.png

    (2) set condition, use different template in different branch.

    43080.png

    (3) click Save button.

    Regards,

    Clofly

  • Chris_W Profile Picture
    120 on at
    RE: Using Flow to Trigger (based on record owner or user) Sending Forms Pro to Lead in D365

    Hi Clofly,

    Thank you for the suggestion and apologies on the delayed reply.  I've tried the suggestion and can't seem to get it to work based off of the condition.  I'm tried setting the condition to trigger via Dynamics UserName, Owner, OwnerID, UserEmail, and none of them seem to work correctly.  The Flow always runs NO and never triggers the YES condition.

    Any ideas?

    Best,

    Chris

  • cloflyMao Profile Picture
    25,210 on at
    RE: Using Flow to Trigger (based on record owner or user) Sending Forms Pro to Lead in D365

    Hi Chris,

    You can achieve it by adding an action that named ‘get record’.

    As following shown:

    1.Add ‘Get record ’ Action before ‘condition’ action.

    5483.png

    84115.png

    2.Set condition.

    Select Owner as condition trigger and fill guid of these two users.

    48476.png

    3.Steps of flow.

    63666.png

    4.Details of flow.

    458764.png

    5.Test.

    5001.png

    Regards,

    Clofly

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 109

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 109

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans