FlowmageDocs

Create task

BetaChanges data

Creates a task in Asana, in a project and section you choose.

Settings

SettingWhat it is
ConnectionRequiredThe Asana connection the step signs in with.
Task nameRequiredtext
Project idThe project's id — the List projects node gives you one.
Section idThe column the task lands in — the List sections node gives you one.
Workspace idOnly needed when the task is not going into a project.
AssigneeA user's id or e-mail address, or the word me.
Due ontext
Due attext
Description format"text" or "html"
DescriptionRich text accepts <a>, <strong>, <em> and <ul>/<li>; Asana rejects <br>. Values from earlier nodes are escaped for you.
Custom fieldsAsana keys custom fields by their gid, not by their name — the List custom fields node gives you the gids and the option gids.
FollowersComma-separated user ids or e-mail addresses.
Parent task idtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `asana`)
nametext
projectIdtext
sectionIdtextused when `projectId` is not ""
workspaceIdtextused when `projectId` is ""
assigneetext
dueOntext
dueAttext
descriptionFormat"text" or "html", by default "text"
descriptiontext
customFieldsobject of text, by default {}
followerstext
parentTaskIdtext

Output

FieldType
taskIdstring
taskobject
permalinkUrlLink to the taskstring
Sample output, and the expression for each field
  • permalinkUrl"https://app.asana.com/0/1"
  • task{}
  • taskId"1"

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": {
    "assignee": "",
    "connection": "<connection id>",
    "customFields": {},
    "description": "",
    "descriptionFormat": "text",
    "dueAt": "",
    "dueOn": "",
    "followers": "",
    "name": "<task name>",
    "parentTaskId": "",
    "projectId": "",
    "sectionId": "",
    "workspaceId": ""
  },
  "label": "Create task",
  "type": "asana.createTask",
  "version": 1
}