FlowmageDocs

Create task

BetaChanges data

Opens a task on a HubSpot record for someone to pick up.

Settings

SettingWhat it is
ConnectionRequiredThe HubSpot connection the step signs in with.
TitleRequiredtext
NotesHubSpot stores a task's notes as HTML.
DueHubSpot requires a due time on every task. The default is the moment it runs.
Status"NOT_STARTED" or "IN_PROGRESS" or "WAITING" or "COMPLETED" or "DEFERRED"
Priority"NONE" or "LOW" or "MEDIUM" or "HIGH"
Put it on"contacts" or "companies" or "deals" or "tickets"
Record idRequiredtext
Owner idThe List owners node gives you the id. Use its id, never its userId.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `hubspot`)
subjecttextits `{{ }}` must give a string
bodytext
timestamptext, by default "{{ $macro.date.iso() }}"its `{{ }}` must give a string
status"NOT_STARTED" or "IN_PROGRESS" or "WAITING" or "COMPLETED" or "DEFERRED", by default "NOT_STARTED"
priority"NONE" or "LOW" or "MEDIUM" or "HIGH", by default "NONE"
associateToObject"contacts" or "companies" or "deals" or "tickets", by default "contacts"
associateToIdtextits `{{ }}` must give a string
ownerIdtexta value from the vendor's own list

Output

FieldType
taskIdstring
taskobject
Sample output, and the expression for each field
  • task
    • id"1"
  • 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": {
    "associateToId": "<record id>",
    "associateToObject": "contacts",
    "body": "",
    "connection": "<connection id>",
    "ownerId": "",
    "priority": "NONE",
    "status": "NOT_STARTED",
    "subject": "<title>",
    "timestamp": "{{ $macro.date.iso() }}"
  },
  "label": "Create task",
  "type": "hubspot.createTask",
  "version": 1
}