cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
adambranny
Level: Power Up

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
Level: Powered On

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 Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,972)