Is there a way to submit survey responses via rest/python and keep the Microsoft power automate functionality?

340
1
09-01-2020 05:54 AM
CA_-_MattWingard__GISS_
New Contributor

Long story short, but when I add features to my survey feature service (using the python arcgis api or via rest) it seems like the webhooks that interface with my Microsoft Power Automate do not work like they do when a "traditional" survey is submitted. Is there a way around this? Is it possible to mimic a traditional survey response via rest/python and maintain the power automate functionality?

Would be great if power automate could work directly on feature service adds/updates. 

0 Kudos
1 Reply
Ruth_JiatengXu
Esri Contributor

Hello Matt,

You are correct, the add/updates on the feature service will not trigger the webhook because the webhook payload is sent by the "traditional" survey.

Although this is not a recommended practice, you can send the payload to your webhook with additional code. First, get your payload URL in the settings page -> webhooks tab, and then set up a POST request with the survey payload, and send the request to the payload URL.

Could you please share your use case with us, so we can help you better?

Thanks,

Ruth

0 Kudos