cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ahsan_Zahid1
Frequent Visitor

can we use google form connector in power automate/ flow.?

wanted to create a google form trigger in Ms fows/Power automate

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @Ahsan_Zahid1 

 

Currently there is no default connector for google forms. 

 

My understanding is google forms can save the data to google spreadsheets.

 

https://support.google.com/docs/answer/2917686?hl=en

 

Currently Power Automate have following options but not triggers for Google Sheets.

 

 

image.png

 

You could trigger a manual or scheduled trigger to read the rows from Google rows via Power Automate.

 

If you would like this feature (Connector/Trigger) to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

 

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Thanks

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @Ahsan_Zahid1 

 

Currently there is no default connector for google forms. 

 

My understanding is google forms can save the data to google spreadsheets.

 

https://support.google.com/docs/answer/2917686?hl=en

 

Currently Power Automate have following options but not triggers for Google Sheets.

 

 

image.png

 

You could trigger a manual or scheduled trigger to read the rows from Google rows via Power Automate.

 

If you would like this feature (Connector/Trigger) to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

 

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Thanks

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
hoaikhong00
New Member

You can use sway.office.com, attach google form address and add buton go

takolota
Super User
Super User

@Ahsan_Zahid1 @hoaikhong00 @abm 

 

You can use some of the stuff provided in this video to set up an HTTP receiver to get the form data on submission.

https://youtu.be/611sRKsEIRc

Personally, I didn’t like the way the output was formatted in the sample code, so I edited the sample code to output a normal JSON body with the form results.

 

function setUpTrigger(){
  ScriptApp.newTrigger('sendPostRequest')
  .forForm('InsertFormIdHere') 
  .onFormSubmit();
}

function sendPostRequest(e){
    var form = FormApp.openById('InsertFormIdHere')
    var responses = form.getResponses()
         var formDataLast=responses[responses.length - 1]
         var formData=formDataLast.getItemResponses()
         var sendData ={}
         sendData["email"] = formDataLast.getRespondentEmail();
         //var emailUser = {"email":formDataLast.getRespondentEmail()}
         //sendData.push(emailUser)
         for(var k=0; k<formData.length;k++){
           var newTemp = formData[k]
             var key = newTemp.getItem().getTitle().toString()
             var val =newTemp.getResponse()
                sendData[String(key)] = String(val);
                //var keyVal = {[key]:val}
                //sendData.push(keyVal);
         }
         Logger.log(JSON.stringify(sendData))

var options = {
  'method' : 'post',
  'contentType': 'application/json',
  'payload' : JSON.stringify(sendData)
};
  
UrlFetchApp.fetch('InsertFlowHTTP-URI-Here', options);

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,611)