Get Attachment
Download a Gmail attachment into workspace Files.
Type
google.gmail.get_attachmentListed only when a matching connected service is enabled.
Get Attachment downloads one Gmail attachment into temporary workspace Files. The file expires after 3 hours unless you Persist File. Use attachmentId from Get Email or Mail Received.
Configure
| Setting | Description |
|---|---|
| Message ID | Gmail message id (required) |
| Attachment ID | Gmail attachment id (required) |
| Filename (optional) | Override the saved filename. If Gmail does not send a real name or type, the file type is detected from the contents. |
The saved file is temporary (expiresAt about 3 hours). Use Persist File before you store the id on a table or knowledge base.
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after the file is created |
Pipe schema
The next block reads a workspace file record (id, name, url, mime, size, and related fields).
Use case
- After Get Email, loop
attachments[], download each file, persist it, then store the id on a table or knowledge base.