<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automatically extract attachments from Survey123 using webhooks in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803181#M11348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to clarify for me&amp;nbsp;these steps and workflow?&amp;nbsp;Is http receiving/requesting the attachments; and then capable of sending an email?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2018 20:30:15 GMT</pubDate>
    <dc:creator>MattMulder</dc:creator>
    <dc:date>2018-10-19T20:30:15Z</dc:date>
    <item>
      <title>Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803176#M11343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 15:20:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803176#M11343</guid>
      <dc:creator>MarkLache1</dc:creator>
      <dc:date>2018-08-27T15:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803177#M11344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This functionality is not supported at the moment. But there are some Integromat attachment workflows in the EAC:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttypeid={5a8e51ed-4a87-43fe-a67d-2b7829af130f}&amp;amp;artid={96013B6C-F286-4218-B16E-52005FE2FCC1}" title="https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&amp;amp;arttypeid={5a8e51ed-4a87-43fe-a67d-2b7829af130f}&amp;amp;artid={96013B6C-F286-4218-B16E-52005FE2FCC1}"&gt;Welcome to our Feedback Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 23:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803177#M11344</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2018-08-28T23:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803178#M11345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johnathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried those but don't seem to be pulling any attachments for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 15:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803178#M11345</guid>
      <dc:creator>MarkLache1</dc:creator>
      <dc:date>2018-08-30T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803179#M11346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a little more information on which workflow you tested, and where in the scenario it is failing?&lt;/P&gt;&lt;P&gt;Screen dumps&amp;nbsp;would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 05:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803179#M11346</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2018-09-04T05:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803180#M11347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;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:&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; min-height: 10.66px; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;{{7.surveyInfo.serviceUrl}}/0/queryAttachments?objectIds={{7.response[].addResults[].objectId}}&amp;amp;globalIds=&amp;amp;definitionExpression=&amp;amp;attachmentTypes=&amp;amp;size=&amp;amp;keywords=&amp;amp;resultOffset=&amp;amp;resultRecordCount=&amp;amp;f=pjson&amp;amp;token={{7.portalInfo.token}}&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; min-height: 10.66px; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;The second looked like this:&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;{{7.surveyInfo.serviceUrl}}/0/{{7.response[].addResults[].objectId}}/attachments/{{14.id}}?token={{7.portalInfo.token}}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 21:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803180#M11347</guid>
      <dc:creator>MarkLache1</dc:creator>
      <dc:date>2018-09-06T21:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803181#M11348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to clarify for me&amp;nbsp;these steps and workflow?&amp;nbsp;Is http receiving/requesting the attachments; and then capable of sending an email?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803181#M11348</guid>
      <dc:creator>MattMulder</dc:creator>
      <dc:date>2018-10-19T20:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically extract attachments from Survey123 using webhooks</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803182#M11349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now my workflow is making an HTTP GET request to the service as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{{7.surveyInfo.serviceUrl}}/0/queryAttachments?objectIds={{7.response[].addResults[].objectId}}&amp;amp;globalIds=&amp;amp;definitionExpression=&amp;amp;attachmentTypes=&amp;amp;size=&amp;amp;keywords=&amp;amp;resultOffset=&amp;amp;resultRecordCount=&amp;amp;f=pjson&amp;amp;token={{7.portalInfo.token}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is then feed into a parse JSON command in Integromat. From here I iterate through all attachments if it has more than one then send an email with the attachment. If no attachments I used a router to push it another way otherwise Integromat provides an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've include a screenshot of my workflow in Integromat. Ignore the first HTTP request as it doesn't apply to your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if you have any questions. Feel free to email me at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:shanehunter459@gmail.com"&gt;shanehunter459@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/425038_Capture8.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 15:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/automatically-extract-attachments-from-survey123/m-p/803182#M11349</guid>
      <dc:creator>MarkLache1</dc:creator>
      <dc:date>2018-10-23T15:21:31Z</dc:date>
    </item>
  </channel>
</rss>

