cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adambranny
New Member

Send email when submitting form (Forms >Flow)

Hello,

first, sorry for my english and trivial question. I'm new to Flow and not a programmer.

 

Every month there is a e-learning about new products in my company (HTML on intranet). At the end I want put a url to simple anonymous Form with 3 questions:

  1. what is your position in company (choose one answer)*
  2. how do you rate e-learning about new products (1-5)*
  3. do You have any comment? [text field]

Question 1 and 2 are required, 3 is optional and could be blank.

I have created Forms for Excel on my company OneDrive and any responses are saved to that *.xlsx file, that works well.

 

What I want to do with Flow:

I want to send email to some specific person(s), only when there is response with comment in form question 3, otherwise not (just save in excel file).

I have created this and it works somehow:

flow1.png

Condition > question3 is not equal to string('')

 

I want to know if there is some easier way, but mostly I want to format email subject and body to have name of a form and link to statistics of a form (unique url, not public).

I want the email look like this:

Email Subject: There is new comment in form <form name>

Email Body: New Form comment in <form name> <link to statistics of a form>,

question1: <q1>,

question2: <q2>,

question3<q3 comment>

 

Thanks if anyone can help me,

Adam

2 REPLIES 2
WDRC Helper V
Helper V

Re: Send email when submitting form (Forms >Flow)

@adambranny

Maybe it would be better to use a SP List instead of Excel to save the responces.  Then once you have that you should be able to add the dynamic content into the email you send to whoever is receiving it.  You could also send a weekly / monthly email with CSV file of the responces.

Regards,

Andrew

 

Community Support
Community Support

Re: Send email when submitting form (Forms >Flow)

Hi @adambranny,

 

It seems that you want to get the name and link of the current form.

The form name configured in the Subject of Send an email should be fixed, the same as the form id you configure in the trigger, because a Flow can only monitor whether a form has user submissions.

So you only need to use the form id configured in the trigger as form name.

Also I am not sure what you mean by the unique url and link to statistics of a form.

Please provide more details.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,295)