I am trying to include attachments to emails from a survey, using Integromat modules; Survey123, HTTP, Gmail.
The flow is working, however the attachments are not coming through as they should be. Per the blog "working-with-survey123-attachments-in-integromat" https://www.esri.com/arcgis-blog/products/survey123/field-mobility/working-with-survey123-attachment...
If the survey feature layer is secured, (Which mine is) you also need to provide a valid ArcGIS token, otherwise Integromat will not be able download the file. The token can also be fetched from the Survey123 module.
However, I cannot find any documentation on how to provide a token or fetch it from the Survey123 module.
Could someone please provide me with this information?
Solved! Go to Solution.
If the feature layer is secured, I'm assuming the submission is from a named user account and not anonymous? You can grab the token right from the watch webhook module in integromat:
To download the photo, add ?token=[token] to the end of the image URL
This example is downloading attachments (in a repeat) via an iterator and then uploading them to google drive. I believe you can add them to an email one by one as well, but I haven't tried that.
FYI - My integromat emails are limited to 3mb and I THINK that's a limitation of Integromat overall. It might just be my Outlook365 email, but I have a 20mb cap on that account and I seem to remember having the same 3mb limitations with Gmail and Outlook both.
If the feature layer is secured, I'm assuming the submission is from a named user account and not anonymous? You can grab the token right from the watch webhook module in integromat:
To download the photo, add ?token=[token] to the end of the image URL
This example is downloading attachments (in a repeat) via an iterator and then uploading them to google drive. I believe you can add them to an email one by one as well, but I haven't tried that.
FYI - My integromat emails are limited to 3mb and I THINK that's a limitation of Integromat overall. It might just be my Outlook365 email, but I have a 20mb cap on that account and I seem to remember having the same 3mb limitations with Gmail and Outlook both.
Worked like a charm. Thanks for the assistance.