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
| Name | Type | Description |
|---|---|---|
| Domain | Credentials | Gorgias sub-domain |
| User | Credentials | Gorgias user email |
| Key | Credentials | Gorgias API Key |
| Gorgias Ticket Id | String | The Gorgias ticket ID. |
| Excluded URL | String | Image URL to exclude |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the request was successful |
| File count | Number | Number of file/images |
| Embedded Image Found? | Boolean | Embedded image found in last message? |
| Attached File Found? | Boolean | Attachment found in last message? |
| Files Details | Object | Details of images/attachments |
Notes
- Lets you exclude a specific image URL (for example a signature image).
- Needs Gorgias credentials (domain, user and API key).