activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

Add Attachment

Project compatibility

Windows | Cross-platform

Overview

Add an attachment to an existing record.

DescriptionAPI MethodAPI PathRole
Adds an attachment to an existing record.POST/api/now/attachment/file?table_name={tableName}&table_sys_id={recordSysId}&file_name={name}Attachments can be uploaded to any record as long as the user has read and write access to the target table.

Input

ParameterDescriptionData Type
FileFile content to attach IResource
ObjectName of the table to which the attachment will be added (for example incident).​ string
Object Sys IDSys_id of the record to which the attachment will be added.string

Output

ParameterDescriptionData Type
Attachment IDSys_id of the created attachment (sys_attachment) string
AttachmentAttachment metadata returned by ServiceNowobject
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.