Explore Plans
Mobile menu Close menu
Microsoft SharePoint

New file in a document library

This trigger fires when a new file is added to the SharePoint document library you choose.

Developer info

API endpoint slug
sharepoint.new_file_in_library

Trigger fields

Library Dropdown list

Label
Which document library?
Helper text
Choose the document library to watch for new files.
Slug
library
Required
true
Can have default value
false

Ingredients

File

Slug
file_id
Filter code
Sharepoint.newFileInLibrary.FileId
Type
String
Example
01BYE5RZ56Y2GOVW7725BZO354PWSELRRZ

File name

Slug
file_name
Filter code
Sharepoint.newFileInLibrary.FileName
Type
String
Example
Q3-report.docx

File url

Slug
file_url
Filter code
Sharepoint.newFileInLibrary.FileUrl
Type
Web URL
Example
https://contoso.sharepoint.com/sites/Marketing/Shared%20Documents/Q3-report.docx

Download url

Slug
download_url
Filter code
Sharepoint.newFileInLibrary.DownloadUrl
Type
File URL
Example
https://contoso.sharepoint.com/sites/Marketing/_layouts/15/download.aspx?UniqueId=abc123

File size

Slug
file_size
Filter code
Sharepoint.newFileInLibrary.FileSize
Type
String
Example
24576

Created by

Slug
created_by
Filter code
Sharepoint.newFileInLibrary.CreatedBy
Type
String
Example
Jane Doe

Created at

Slug
created_at
Filter code
Sharepoint.newFileInLibrary.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00