Looking for an option to automatically grab attachments when a new survey response is received. I've been playing around with webhooks, Integromat/Microsoft flow, and HTTP requests but cant seem to grab the attachments.
Any help is appreciated.
Mark
Got it to work. I had to change both my HTTP requests to include the dynamic data from the webhook regarding surveyInfo instead of hardcoding it in. In the end my first HTTP request looked like this:
{{7.surveyInfo.serviceUrl}}/0/queryAttachments?objectIds={{7.response[].addResults[].objectId}}&globalIds=&definitionExpression=&attachmentTypes=&size=&keywords=&resultOffset=&resultRecordCount=&f=pjson&token={{7.portalInfo.token}}
The second looked like this:
{{7.surveyInfo.serviceUrl}}/0/{{7.response[].addResults[].objectId}}/attachments/{{14.id}}?token={{7.portalInfo.token}}
Hi Mark
Can you provide a little more information on which workflow you tested, and where in the scenario it is failing?
Screen dumps would be helpful.
Thanks
John
Hi Johnathan,
I've tried those but don't seem to be pulling any attachments for me.
This functionality is not supported at the moment. But there are some Integromat attachment workflows in the EAC:
Welcome to our Feedback Community
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.