Get Record Attachments

Gets all of the attachments of a record in Salesforce by ID and returns all the attachments and data associated with that record. Are you looking for Gainsight help? Click here.

Options

  • Record type (dropdown): a dropdown of your available record types in Salesforce, including custom records

Input Fields

  • Record
    • Record ID (number): the unique identifier of the record you wish to read. NOTE: This is a required field and must be the ID from Salesforce for that record. We recommend using Search to dynamically find the ID of the record if it is not recorded elsewhere in your systems.

Output Fields

Output fields will be associated with the attachment for each record.

  • Attachments (list): A list of ‘Attachment’ objects
    • ID (text): a unique id for the individual attachment
    • Name (text): The name of the attachment
    • Parent ID (text): unique id of the parent record that the attachment lives on. Example (opportunity, contact, account, etc.)
    • Private? (true/false): whether the attachment is private or not
    • Size (text): the size of the file in bytes
    • Content Type (text): the file type of the attachment