Skip to main content
Post a question

Notifications

Community site session details

Community site session details

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

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

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2020 21:17:45 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 

  • cloflyMao Profile Picture
    25,202 on 29 Jul 2020 at 03:16:20
    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

  • Chris_W Profile Picture
    120 on 27 Jul 2020 at 21:02:08
    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,202 on 14 Jul 2020 at 06:06:00
    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,361 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,510 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete