Actions107
- Attachments Actions
- Auth Actions
- Collections Actions
- Comments Actions
- Data Attributes Actions
- Documents Actions
- Documents Info
- Documents Import
- Documents Export
- Documents List
- Documents Documents
- Documents Drafts
- Documents Viewed
- Documents Answer Question
- Documents Search Titles
- Documents Search
- Documents Create
- Documents Update
- Documents Templatize
- Documents Unpublish
- Documents Move
- Documents Archive
- Documents Restore
- Documents Delete
- Documents Users
- Documents Memberships
- Documents Add User
- Documents Remove User
- Documents Archived
- Documents Deleted
- Documents Duplicate
- Documents Add Group
- Documents Remove Group
- Documents Group Memberships
- Documents Empty Trash
- Events Actions
- File Operations Actions
- Groups Actions
- O Auth Clients Actions
- O Auth Authentications Actions
- Revisions Actions
- Shares Actions
- Stars Actions
- Users Actions
- Templates Actions
- Views Actions
Attachments → Attachments Create
AI-generatedSummary
Creates a new attachment record in Outline with metadata such as file name, content type, size, and optional document association.
Inputs
- name (required) — Name of the file attachment.
- documentId — Identifier for the associated document, if any.
- contentType (required) — MIME type of the file attachment.
- size (required) — Size of the file attachment in bytes.
Output shape
a single record
Returns attachment object details and upload metadata from the Outline API.
Examples
Example 1: Create an attachment entry for an image associated with a document
Set Name to "diagram.png", Content Type to "image/png", Size to 102400, and Document Id to "doc-12345".