[Updated July 2023: Added new note with link to a more recent and complete video]
Note: You may want to watch this video instead for a more recent take at this functionality
Just a few days a new Create Report action was added to the ArcGIS Survey123 connector for Microsoft Power Automate. While this action will not be officially documented or supported until the upcoming February 2023 release (currently planned for February 22), you can start playing with it now.
The video below will give you a quick tour to get you going. Enjoy!
If you have any feedback, please let us know by posting a comment below or adding your comments to the Survey123 Early Adopter Community website.
Note: Since this action was added to the connector, some of you have reported that any flow previously authored from a Microsoft Power Automate template, stops working when you edit it. To resolve this issue, the Survey123 connector needs to be deleted from your flow and added again. We are working to understand if this problem can be prevented or not.
Does this work with Portal or only AGOL at this stage
Hi there
I assume both, as you specify the data connector that is uses. Maybe play around and see if you can get it to connect to your Portal. Add a new Survey123 data connection as you can see below. You can then configure it to your Portal...... I think! 😁 Maybe give it a try.
Hi Paulvan
When i click on the new connection it auto takes you to the agol login and doesnt let you specify the portal url. Is there a way to redirect this?
Unfortunately I am not sure. I just went to go have a look myself, and I am not sure how you would do it (if you even can).
What are you trying to do with this flow? If you are trying to create a S123 report and email it, then you don't have the correct actions. Have a look at some of my posts above to see what I did
@Alexandre @BenCunningham As far as I know, it it not possible to attach the report file to an email without saving it first somewhere and then downloading it. I am not an expert in Microsoft Power Automate and not familiar with Sharepoint. It may be best to ask in the Microsoft forums.
The output of the Create Report tool is a URL. What one can do with it in Ms Power Automate is... well Microsoft territory. If your fear is to leave a folder in the cloud full of files, you can also use the Delete file action after the email is sent. That way, you just upload the file temporarily. Hope it makes sense!
@IsmaelChivite, Does the usage of 'Create Report' in Power Automate consume credits?
@IsmaelChivite Thanks so much for this! I created two flows with this logic and they are working great! I am running into a snag on one flow though. I want to use a conditional statement that when a field in my fire inspections survey is filled out (mentioning that there is an issue with the address), an email gets sent to the GIS department and E911 Department to solve the addressing issue.
In Make I can set up a conditional statement where if this field exists, then it will send the email to the aforementioned departments. How do I do that in Power Automate?
Make:
Power Automate:
Like others in the comments on this post, I wanted to email my report after it was created. I had a hard time getting the right settings for the Get file content using path and Send an email (V2) steps, so I'm sharing a screenshot of those two steps in the hopes that it will save others some time!
For reference, here is my entire flow (I didn't add a step to delete the PDF because I like having a backup copy.)