Upload attachment
Attach a local file to a task.
Command in the Asana toolkit · id ooa.asana/upload_attachment · 5 inputs (3 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://app.asana.com/api/1.0 | API address. Keep the default unless your company routes Asana through a proxy. |
| Token | Credential | Yes | Personal access token or OAuth token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Task ID | String | Yes | Task id: the long number at the end of the task's link, e.g. 1208000000000001. | |
| Path | File | Yes | Local file to attach (Asana accepts up to 100 MB). | |
| File name | String | No | Name to give the attachment; the local file name when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| attachment_id | String | Id of the attachment. |
| url | String | Address to view the attachment. |