[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.
Hi @BenCunningham Have you figured out if it's possible to save the file in SharePoint rather than OneDrive?
See the solution here presented by @SeanKMcGinnis
However, I found the solution, what I did is to grab the file through the URL, create the file into OneDrive, send it as an email attachment, and finally delete the file from OnDrive using "Delete file" action.
@SayedWali pls kindly explain the process. Because am planning to the same flow for my Transformer Inspection Reports
Thanks
This is amazing, thank you! Is there a way to send the report (and any survey attachments) as an email every time a new response is created?
Thank you Ismael for this great improvement! Can we also generate an email using the summary report? We prefer that instead of sending an email for every record entered in the survey. Also, is there an option to adjust the time to EST Daylight Savings?
Thank you,
Lacri
This functionality has now been added! You can create a WHERE clause now to do summary reports! I scheduled some to run weekly with a clause for which assets require maintenance from the week.
For the time zone, there is under the advanced options for the create report action a UTC Offset, what I've done is in my survey I've added a hidden utcOffset field with:
if(pulldata("@property", 'utcOffset')='-3','-03',if(pulldata("@property", 'utcOffset')='-4','-04',pulldata("@property", 'utcOffset')))
I have the if adding the padded zero because the property pulls it without, but the item in Automate requires -04 or -04:00 style to work.
I'm not sure if they'll add the ability to use other standard naming conventions to include the daylight savings changes or not (Or if they have and I've just missed it somehow).
Is this also able to connect and generate a feature report from Portal?
This is awesome! Thank you @IsmaelChivite for posting. I did run into a problem. When I run the trigger, everything works great for me. When a user submits a survey, the process doesn't create the report and fails since there isn't anything to upload to OneDrive. It appears the token isn't being passed?
Here is the Raw output from Create Report:
{