cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
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

 

Highlighted
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
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (6,447)