FlowmageDocs

Update records in bulk

BetaChanges data

Changes properties on up to a hundred HubSpot records in one call.

Settings

SettingWhat it is
ConnectionRequiredThe HubSpot connection the step signs in with.
Object"contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom"
Custom object type idThe object type id, e.g. 2-1234567. The List properties node shows it.
RecordsA list of at most 100 objects, each with an id and the properties to change.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `hubspot`)
object"contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom", by default "contacts"
customObjectTypetextused when `object` is "custom"
recordsany JSONits `{{ }}` must give an array

Output

FieldType
recordsUpdated recordsarray
recordCountRecords updatednumber
errorsRecords HubSpot refusedarray
numErrorsHow many it refusednumber
Sample output, and the expression for each field
  • errors[]
  • numErrors0
  • recordCount0
  • records[]

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>",
    "customObjectType": "",
    "object": "contacts",
    "records": "<records>"
  },
  "label": "Update records in bulk",
  "type": "hubspot.batchUpdateRecords",
  "version": 1
}