Why is GetDriveItem Being Called Instead of GetFile, Causing the Specified Library to be Ignored?

This topic was automatically generated from Slack. You can find the original thread here.

Yep, it’s calling GetDriveItem instead of GetFile. The former looks at the main documents library and ignores the specified library.

Hi , thank you for reaching out.

Pipedream has a dedicated app for Sharepoint - which have similar trigger for New File Created. I believe you should use this Sharepoint app instead of OneDrive

I’m using the sharepoint app.

This function: pipedream/components/sharepoint/actions/get-file-by-id/get-file-by-id.mjs at master · PipedreamHQ/pipedream · GitHub

Calls this.sharepoint.getDriveItem, which is the wrong function to call.