Question

Set an automation to trigger when a SharePoint folder is updated

  • 15 December 2022
  • 1 reply
  • 74 views

I have a workspace that needs to run when there is a new file in a SharePoint folder. Is it possible to set up an automation that would work similar to Network or Resource Directory?


1 reply

Badge +7

Hi @erivero​, there is no Automation trigger for a SharePoint Document Library watch.

You could potentially create a SharePoint Webhook and then use the Webhook Trigger.

Here is Microsoft's documentation on SharePoint Webhooks.

And here is a blog about getting started with Webhooks.

 

Another option is a polling workflow. This uses a schedule trigger to regularly run a workspace and connect to SharePoint to see if documents have been added. This will not be as immediate as a webhook, but potentially easier to implement. The SharePoint List Reader can read Document Library data, like the created or modified date of files. You could then use a ChangeDetector to determine which records have been added to the list or changed.

See Introduction to Scheduling and Change Detection Workflows in FME Server

 

 

 

 

Reply