AddAttachment
Attaches a file to a SharePoint list item. Useful for adding supplementary documents to SharePoint records.
Input
| Name | Type | Required | Description |
| ListTitle | String | True | The title of the SharePoint list containing the item to which the attachment will be added. Helps identify the target list. |
| ItemId | String | True | The unique identifier of the list item to which the file will be attached. Ensures the attachment is linked to the correct item. |
| FileName | String | True | The name of the file being added as an attachment. Helps track and manage attached files. |
| InputFilePath | String | False | The full file path of the attachment to be uploaded. Required unless providing file content directly. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the attachment upload operation was successful. Returns 'true' for success and 'false' for failure. |
| RelativeUrl | String | The server-relative URL of the uploaded attachment. Useful for accessing and referencing the attached file. |