UploadAttachment
Official API
Implemented Class
Uploads an attachment to Pipefy.
Important! This activity just uploads the file and doesn’t attaches it to any object. To attach it, check the guides on updating Cards and TableRecord fields.
Arguments
<In> OrganizationID : long
ID of the Organization to place the file.
You can find this info from the API or from the link when accessing it through the web.
<In> FileInfo : FileInfo
FileInfo of the file to be uploaded.
You can’t fill FileInfo and FilePath at the same time.
<In> FilePath : string
Path of the file to be uploaded.
You can’t fill FileInfo and FilePath at the same time.
<Out> FileUrl : string
Private URL of the uploaded file.
Important! This is a single string, but when setting fields in either TableRecords or Cards, the attachment type receives multiple items, so you need to place this string inside a string array.
Inherited Arguments
<In> Bearer : string
The Bearer authorization token generated by Pipefy.
<In> Timeout : int
The timeout limit (in ms) for the request to be completed.
<Out> Status : string
A brief status message of the result of the action.
<Out> Success : boolean
True if the action was successful.