The attachment task attaches a document file in the workflow data payload to a specified account, subscription, or invoice. If Invoice Settlement is enabled, files for credit memos and debit memos can be attached.
The document file to upload must be available in the data payload. It can be generated from upstream tasks or directly uploaded to the workflow.
Files with the following extensions are supported: .pdf, .csv, .png, .xlsx, .xls, .doc, .docx, .msg, .jpg, .txt, .htm, .html, .eml, .pptx, .gif, .rtf, .xml, .jpeg, .log, .cls
The maximum size of an attachment is 4 MB. The maximum number of attachments on one record is 25. The actual number of attachments that can be uploaded to a record depends on the number of attachments that are already on the record.
- In the Configuration tab, select the object and the ID of the record that you want to attach files to. Optionally you can add some notes.
- In the Attachment tab, select the files that you want to upload. You can rename the files that you want to upload by typing the new names in the file name fields. Liquid expressions are allowed in file names. For a list of common Liquid expression examples, see Common Liquid expressions in Workflow.
By default, a timestamp will be appended to each file. The timestamp will be replaced with the runtime timestamp.