Reading up on the enterprise notebook server docs Execute Notebook—ArcGIS Notebook Server Administration | ArcGIS for Developers it looks like it would be possible to automate/schedule the execution of a notebook - something that would be REALLY userful!
I suspect not, but is this possible within the AGOL notebook server?
Scheduling of Notebooks is planned for a future release, but is not yet available in the current beta. There will be a blog post put out when it is slated to become publicly available so stay tuned.
Great news - thanks Joshua.
As well as scheduling, are there plans to make it possible to execute a notebook through an api call - for example when a fieldworker submits a survey using S123, a webhook might fire a power automate script which in turn could call the executeNotebook command using REST?
Any update on this? It has been almost a year and the API call already exists for Enterprise. Not used to Enterprise getting features before AGOL. Usually it's the other way around.
@Josh-Cullen, @skalisky @AndrewChapkowski or @RohitSingh2 I also have this question. The documentation for the executeNotebook operation is listed under 'Enterprise Administration', which is a bit confusing when it comes to AGOL, given that AGOL != ArcGIS Enterprise.
So the original question stands - Is it possible to execute an ArcGIS Notebook, hosted on ArcGIS Online, using the executeNotebook operation in the REST API? That is, not using scheduling, but using the executeNotebook operation to run the notebook on demand, by calling it via the REST API.
If so, where is this documented or can someone provide an example? If it is not documented, can we get some guidance please because I would like to do this but am having trouble locating the operation endpoint on ArcGIS Online.
Sorry for the confusion - my original comment was made while feature discussions were ongoing. The executeNotebook API is currently not available in AGO - we are looking into ways to implement 'on-demand' notebook execution, but AGO Notebooks in their current state do not support this.
Thanks for your interest - I will pass it along to the team.
This seems like a related question, if not the same. Can I execute one notebook from another? My use case is this, I have a Standard notebook that runs and captures new features if they exist; if they do exist, I want to run analysis on them using an Advanced notebook. If not, I don't.