New project from existing (point) feature service. From the Online item, make sure the point layer has attachment enabled.
In the QuickCapture project, configure a button to capture photo.
Click on the button, on tab DATA > Captured mode: Single point > Enable Take photo. You can set take photo as required or optional based on your workflow.
Search and select QuickCapture module and click Continue.
Click on QuickCapture module and select the Watch Project action. This action is triggered each time a data record is submitted from the linked QuickCapture project.
Click Add to link your ArcGIS online account, name your webhook, specify an existing QuickCapture project, as well as the feature layer that is going to integrate with this webhook.
When you are done, click Save to generate and save the webhook connection. Now a webhook URL that's designated for the specified QuickCapture project is generated. Click OK to confirm and close the dialog.
Add another module to continue. Search and select the HTTP module. Select Get a file action. This module/action helps to grab the photo file sent to ArcGIS and pass it to the Email module later on.
Click on the URL input, select Photo URL from the QuickCapture payload.
Click OK to save the information.
Add another module called Microsoft Outlook module > Create and send an email.
Connect to your email account, and specify fill out the information for the dialog. Click OK to save the information.
In the Attachments on the dialog, click Add items and select HTTP - Get a file as the source file, and click Add to confirm.
Click OK to save and close the Email module.
Run your scenario and test from the QuickCapture by sending a record.
When you're happy with the testing results, in Intergromat scenario settings, you can keep the webhook scenario running/active or schedule when or how often the scenario stays active.
Collect and send records from the QuickCapture app
Save and download the QuickCapture project (with webhook configuration) to your mobile device.
If you already download the QuickCapture, you should see an update message on the project card. Go ahead and update the project.
Capture a photo and Send the collected record.
Check your email inbox and see if submission triggers a new message with an attachment successfully.
Description
In this exercise, we are going to build a webhook scenario that enables capturing a photo record and sending it as an email attachment.
Steps
Build a QuickCapture project
Set up a webhook for the QuickCapture project
Collect and send records from the QuickCapture app