Integrate ArcGIS Online Notebook tasks with webhooks

2690
13
01-09-2022 11:21 PM
Status: Open
rachelm
New Contributor III

Can Esri develop an solution for using ArcGIS Online Notebook tasks within a workflow that get triggered by a webhook? I'm working with Integromat and currently there is no way to trigger a Notebook from a scenario. Whether the solution is an Esri widget within Integromat, or a purely Esri offering, this would really extend my organization's capabilities.

Based on a thread Allow Python Notebooks subscribe to Enterprise Webhook Events

@JonEmch 

13 Comments
RaviNarayanan

Thanks @rachelm for this post. We have created an internal ticket for this suggestion and will discuss with the team.

RRCGeotech

Hey @RaviNarayanan ,

Just checking in on this - Any progress on implementing a webhook based trigger to AGOL notebooks?

Thanks!

SimonSchütte_ct

When will this be possible in AGOL? ArcGIS In Notebook Server this is supported:
"You can configure webhooks to automatically execute a notebook you own when events associated with your portal items, groups, or users occur." Automate workflows with ArcGIS Notebooks—ArcGIS Notebook Server | Documentation for ArcGIS Enterpris...

AdminWPZ

This would be awesome, would love to be able to trigger my jupyter notebooks with a webhook in AGOL.

Example use case: Whenever a weather event like a storm happens (new feature), the status of all our hiking paths (existing features in a different layer) needs to be set to "unchecked".

Right now I do this with a notebook script (embedded in a dashboard) that needs to be started manually.

GilMastrapa

Any updates on this ??? I consider it vital for automation workflows. 

RichardHowe

This is a great idea, and given its equivalence in Enterprise seems to exist, and ESRI's strong suggestion that AGOL is a better solution than Enterprise then it is very frustrating that is hasn't yet been implemented.

Being able to fire off a notebook based on a hosted feature layer event (new feature creation, update etc.)  would really influence our survey workflows, but given that no ESRI input on this is evident for 18 months then I wonder if I am hoping for the impossible??

@RaviNarayanan please can we have some indication on whether this is on the roadmap or to just forget it and focus hope/efforts elsewehere

gis_user_ca

Unfortunately I doubt they will ever allow the trigger off a live layer like Weather from the Living Atlas because it would defeat the purpose of GeoEvent Server and Velocity 

GilMastrapa

@gis_user_ca  True, but we should be able to trigger notebooks off a private layer, like we do to a 3rd party cloud function today. It will really keep all the code in house and avoid using 3rd party services. 

SamJakson

Any updates on this? Being able to trigger a notebook off a webbook form a hosted feature layer should be basic functionality provided. 

gis_user_ca

If you own the layer that triggers the notebook you can do it in Power Automate but unfortunately I can’t get it to work in agol even by adding an outside layer as my own