Gorgias Check and Retrieve Attachments

Checks the most recent customer message on a Gorgias ticket for files, and returns details of any embedded images or attachments. Use it to pull a customer's uploaded files into a flow.

What it does

  • Reads the latest customer message on the ticket.
  • Detects embedded image links and attached files, and returns their name, URL and content type.
  • Returns counts and flags for whether embedded or attached files were found.

Inputs

NameTypeDescription
DomainCredentialsGorgias sub-domain
UserCredentialsGorgias user email
KeyCredentialsGorgias API Key
Gorgias Ticket IdStringThe Gorgias ticket ID.
Excluded URLStringImage URL to exclude

Outputs

NameTypeDescription
SuccessBooleanWhether the request was successful
File countNumberNumber of file/images
Embedded Image Found?BooleanEmbedded image found in last message?
Attached File Found?BooleanAttachment found in last message?
Files DetailsObjectDetails of images/attachments

Notes

  • Lets you exclude a specific image URL (for example a signature image).
  • Needs Gorgias credentials (domain, user and API key).

API reference