Has anyone run a Geoprocessing tool from Integromat? We have created a Python script that runs as a Geoprocessing tool hosted on our Portal. The python script modifies the Survey123 feature layer hosted on AGOL, and fills in the missing and/or incorrect data fields based on value of the "Creator" field. This is necessary because sometimes users were not logged in when collecting surveys, or there are other data fields that need to be filled in that are dependent on their login information, and if they were not logged in when starting the survey then there isn't any data.
So the Geoprocessing tool works great to update/augment the Survey123 data fields, but it would be great if we could call this tool in Integromat before any other items are executed (like creating the document from a feature template).
Has anyone called a Geoprocessing tool from Integromat? I've tried a few different scenarios using the HTTP module and so far cannot get it to execute successfully.
Hello,
Provided that the GP service can be accessed over the internet, you should be able to interact with it via Integromat. Note that the pattern of interaction (specifically, doing something after the GP Service is complete) would need to be different based on if the service is synchronous or asynchronous. What are the error messages you are receiving?
Hi James,
Thanks for the reply. Got it working, just had to make sure we had the proxy.config URL(complete with "\SubmitJob" at the end) to the published Geoprocessing service added in C:\inetpub\wwwroot\proxy to pass the authentication through. In the Integromat HTTP module the only thing necessary was the same proxy URL to the Geoprocessing task, and Method=GET. I unchecked all other options in the HTTP module and that seemed to make it work.