HubSpot · Arazzo Workflow

HubSpot Add a Note to a Record

Version 1.0.0

Create a note engagement and associate it to a CRM record.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSalesArazzoWorkflows

Provider

hubspot

Workflows

add-note-to-record
Create a note engagement and associate it to a CRM record.
Creates a note engagement with the supplied body and an inline association to the target record, then reads the note back to confirm it persisted.
2 steps inputs: associationTypeId, hsNoteBody, hsTimestamp, hubspotOwnerId, recordId outputs: createdAt, noteId
1
createNote
createNote
Create the note engagement with the supplied body and an inline association to the target CRM record.
2
confirmNote
getNoteById
Read the created note back by id to confirm the engagement persisted.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: HubSpot Add a Note to a Record
  summary: Create a note engagement and associate it to a CRM record.
  description: >-
    A general-purpose annotation pattern. The workflow creates a note
    engagement in the HubSpot CRM with the supplied note body and an
    hs_timestamp, associating it inline to a target CRM record — a contact,
    company, deal, or ticket — so the note appears on that record's timeline.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: basicOperationsApi
  url: ../openapi/hubspot-basic-operations-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-note-to-record
  summary: Create a note engagement and associate it to a CRM record.
  description: >-
    Creates a note engagement with the supplied body and an inline association
    to the target record, then reads the note back to confirm it persisted.
  inputs:
    type: object
    required:
    - hsNoteBody
    - hsTimestamp
    - recordId
    properties:
      hsNoteBody:
        type: string
        description: The text content of the note (hs_note_body).
      hsTimestamp:
        type: string
        description: ISO 8601 timestamp for the note (hs_timestamp).
      hubspotOwnerId:
        type: string
        description: The id of the HubSpot owner of the note (hubspot_owner_id).
      recordId:
        type: string
        description: The ID of the CRM record to associate the note with.
      associationTypeId:
        type: integer
        description: The HUBSPOT_DEFINED association type id linking the note to the record.
        default: 202
  steps:
  - stepId: createNote
    description: >-
      Create the note engagement with the supplied body and an inline
      association to the target CRM record.
    operationId: createNote
    requestBody:
      contentType: application/json
      payload:
        properties:
          hs_note_body: $inputs.hsNoteBody
          hs_timestamp: $inputs.hsTimestamp
          hubspot_owner_id: $inputs.hubspotOwnerId
        associations:
        - to:
            id: $inputs.recordId
          types:
          - associationCategory: HUBSPOT_DEFINED
            associationTypeId: $inputs.associationTypeId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      noteId: $response.body#/id
      createdAt: $response.body#/createdAt
  - stepId: confirmNote
    description: >-
      Read the created note back by id to confirm the engagement persisted.
    operationId: getNoteById
    parameters:
    - name: noteId
      in: path
      value: $steps.createNote.outputs.noteId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      noteId: $response.body#/id
      properties: $response.body#/properties
  outputs:
    noteId: $steps.createNote.outputs.noteId
    createdAt: $steps.createNote.outputs.createdAt

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/hubspot-add-note-to-record-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.