Select to view content in your preferred language

Microsoft Power Automate Not Connecting to Survey

565
5
Jump to solution
09-06-2024 05:07 PM
DryCreekEng
Frequent Contributor

Hello ESRI Community,

This is my first time attempting to set up a Microsoft Power Automate flow for a survey in Survey123. I went through the steps in this ESRI webpage and entered everything as they stated, including connecting to my Survey123 account and selecting a survey from there for the webhook. Wehn I go to test the flow, I get an error saying there is a problem with the first trigger "When a survey response is submitted". The Survey ID is correct in the form, and I tested it with the form being Shared both Privately and Publicly. What am I missing about connecting to a survey form? 

survey123.png

 

Thanks,

natalie 

0 Kudos
1 Solution

Accepted Solutions
RobertAnderson3
MVP Regular Contributor

Did you select the survey form from the drop down list in the action, or did you paste in the itemID? If you weren't able to pick it from the list you might not have access, or the connection isn't set up properly.

Is it a survey the account you signed into Power Automate with owns?

What does the output in that screenshot show?

View solution in original post

0 Kudos
5 Replies
abureaux
MVP Frequent Contributor

Option 1: Survey was deleted.

Option 2: You don't have permissions to access that survey, so it effectively doesn't exist for you.

Option 3: Are you on Enterprise? If so, that connection times out every 14 days. In that case, you need to refresh the connection. If you are on Enterprise, but just set up the connection, this likely isn't the issue.

0 Kudos
RobertAnderson3
MVP Regular Contributor

Did you select the survey form from the drop down list in the action, or did you paste in the itemID? If you weren't able to pick it from the list you might not have access, or the connection isn't set up properly.

Is it a survey the account you signed into Power Automate with owns?

What does the output in that screenshot show?

0 Kudos
DryCreekEng
Frequent Contributor

Thank you both for the comments. Initially I had posted the itemID in the survey form field instead of selecting a form from the drop down, so this was my problem. Im proud to say I was able to get it to work, where if someone completes a Survey123 form and takes a picture, one email will be sent, and if they complete the form with no picture, another email will be sent. Its not perfect, but for a first attempt its good enough 🙂

survey123 webhook.png

RobertAnderson3
MVP Regular Contributor

Glad to hear you got it working! Power Automate can definitely be a challenge when you first step into it (or just always honestly) but it does some really cool things. You should be able to paste in the itemID of the form item into the parameter after selecting "Custom Value" and it work as well.

DryCreekEng
Frequent Contributor

Thank you for this tip! I assumed I should be able to use the form ID as part of the flow somewhere. 

0 Kudos