FlowmageDocs

Create note

BetaChanges data

Writes a note on a HubSpot record, with files attached.

Settings

SettingWhat it is
ConnectionRequiredThe HubSpot connection the step signs in with.
NoteRequiredHubSpot stores a note's body as HTML.
Time on the noteHubSpot requires a time on every note. The default is the moment it runs.
Write it on"contacts" or "companies" or "deals" or "tickets"
Record idRequiredtext
Attached file idsFile ids from the Upload file node. HubSpot separates several ids with a semicolon, and the value is sent exactly as you write it.
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`)
bodytext
timestamptext, by default "{{ $macro.date.iso() }}"its `{{ }}` must give a string
associateToObject"contacts" or "companies" or "deals" or "tickets", by default "contacts"
associateToIdtextits `{{ }}` must give a string
attachmentFileIdstext
ownerIdtexta value from the vendor's own list

Output

FieldType
noteIdstring
noteobject
Sample output, and the expression for each field
  • note
    • id"1"
  • noteId"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",
    "attachmentFileIds": "",
    "body": "<note>",
    "connection": "<connection id>",
    "ownerId": "",
    "timestamp": "{{ $macro.date.iso() }}"
  },
  "label": "Create note",
  "type": "hubspot.createNote",
  "version": 1
}