Add Attachment
asana.add_attachment
ActionBusiness appsconnection required
Calls the Asana API with the connection's credentials.
Attach a link, or upload a file, to a task or project.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Asana
- Secret shape
- the Asana personal access token, or {"token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
parent Gid of the task or project to attach to. | string | Yes | — | — | — |
url Link to attach. Asana stores it as an 'external' attachment. | string | No | — | url format | — |
name Display name of the attachment; Asana requires it for both a link and an uploaded file. | string | Yes | — | — | — |
file_base64 File contents, base64-encoded — e.g. {{ $json.file_content }} from an upstream download node. Uploads instead of linking. | string | No | — | — | — |
content_type MIME type of an uploaded file. Defaults to application/octet-stream. | string | No | — | — | — |
- At least one of url, file_base64 must be set.
Output
One shape.
result
The provider's response object, as returned.
Extra keys beyond the ones listed can appear.
{}Notes
- Asana caps a single attachment at 100 MB.
See Add Attachment run in a workflow.
In a technical demo we add the Asana connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.