SharePoint - Upload attachment in SharePoint list action (file)

This action uploads an attachment to a specified item in a SharePoint list.

Input

FieldDescription
Site nameProvide the name of the SharePoint site to which you plan to connect. If left blank, Workato connects to your default home site, as specified in your connection settings. The site name is located in the URL of the site page. For example, if the URL is https://company-name.sharepoint.com/sites/product, the site name is product.

If you plan to connect to a different site, you can provide the absolute URL to override the base URL. For example, if the input is https://company-name.sharepoint.com/teams/product, Workato connects to the provided input.

Alternatively, you can provide the absolute URL to connect to a different site. For example, entering https://company-name.sharepoint.com/teams/product connects Workato to the specified site directly.
ListSpecify the list to which to upload the attachment.
Item IDProvide the ID of the item to which the attachment is uploaded.
File nameProvide the name of the file you plan to upload.
ContentProvide the content of the file you plan to upload.

Output

The output datatree contains the details of the uploaded attachment.

FieldDescription
File nameThe name of the uploaded file.
File name as pathThe path of the uploaded file.
Server relative pathThe server relative path of the uploaded file.
Server relative URLThe server relative URL of the uploaded file.

Last updated: