Hi ,
Is there or should there be functionality in the webhook to use HTTP get a file in integromat to download photos from a survey that are from a repeat or multiline question? At the moment we can only download a single image from a multiline question.
Cheers
Solved! Go to Solution.
To add a bit more to this, here is a screenshot of an Integromat flow hat uploads all attachments submitted through an image question with multiline appearance. Note that an Iterator module is used to loop through all attachments sent, so they can be uploaded to OneDrive.
The iterator is configured to target the Attachment URL array:
When downloading the attachment using the HTTP Get a file operation, do not forget adding the token a the end of the URL if you are working with a private feature layer.
Another useful module in Integromat is the Array Aggregator. This blog describes how it works: https://www.integromat.com/en/blog/how-to-use-iterator-array-aggregator-in-integromat-scenarios The array aggregator is useful, for example, if you want to add all attachments into a ZIP file.
Generally speaking, I would avoid if at all possible adding a repeat just so people can send more than one image. The multiline appearance gives you much more control and results in data that can be more easily used from ArcGIS. Additional details about this here: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-photos/ba-p/897907
Hi @RoryBennison ,
You can access the attachments of a submission from the feature.attachments properties - each attachment is separated by question name and have the URL to then download the attachment with.
To add a bit more to this, here is a screenshot of an Integromat flow hat uploads all attachments submitted through an image question with multiline appearance. Note that an Iterator module is used to loop through all attachments sent, so they can be uploaded to OneDrive.
The iterator is configured to target the Attachment URL array:
When downloading the attachment using the HTTP Get a file operation, do not forget adding the token a the end of the URL if you are working with a private feature layer.
Another useful module in Integromat is the Array Aggregator. This blog describes how it works: https://www.integromat.com/en/blog/how-to-use-iterator-array-aggregator-in-integromat-scenarios The array aggregator is useful, for example, if you want to add all attachments into a ZIP file.
Generally speaking, I would avoid if at all possible adding a repeat just so people can send more than one image. The multiline appearance gives you much more control and results in data that can be more easily used from ArcGIS. Additional details about this here: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-photos/ba-p/897907
Thanks for the quick reply, I will have a look into those solutions. By private feature layer do you mean a survey that is not shared public or a survey that is is not shared to a group?
Hello @IsmaelChivite .
It's possible to use iterator functionality to write repeats in differents rows in google sheets?
Hi
I have the same issue, and can't get to solve it.
Cheers,
Federico
Hi There,
This sounds exactly like what I am needing help with. Do you have any screenshots of the intergromat flow or a bit more info on how you did it?
Thanks!
Hopefully these screenshots help, this is what we use for multiline images in our surveys