FlowmageDocs

List attachments

BetaReads data

Lists the files attached to an Asana task or project.

Settings

SettingWhat it is
ConnectionRequiredThe Asana connection the step signs in with.
Task or project idRequiredThe task, project or project brief whose attachments you want.
Files per call1 to 100.
Fetch every pageFollows Asana's next-page cursor, and refuses past 5,000 attachments.
Fields to fetchAsana leaves out anything you do not ask for. Add a field here to get it back.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `asana`)
parentIdtext
limitnumber, by default 100
returnAlltrue/false, by default false
fieldstext, by default "gid,name,download_url,host,created_at,size"

Output

FieldType
attachmentsarray
attachmentCountFiles in this answernumber
Sample output, and the expression for each field
  • attachmentCount0
  • attachments[]

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "fields": "gid,name,download_url,host,created_at,size",
    "limit": 100,
    "parentId": "<task or project id>",
    "returnAll": false
  },
  "label": "List attachments",
  "type": "asana.listAttachments",
  "version": 1
}