Skip to content

HubSpot Engagement

Description

The HubSpot Engagement activity allows you to interact with engagement records in HubSpot CRM, such as emails, calls, meetings, tasks, and notes. You can fetch, create, delete, or bulk-insert engagement records and associate them with contacts, deals, companies, or tickets.

Use this activity to:

  • Get – Retrieve a single engagement record by ID
  • Get All – Fetch a list of engagements
  • Create – Log a single engagement (call, email, note, etc.)
  • Create Many – Insert multiple engagements from tabular input
  • Delete – Remove an engagement by ID

Use Case: Using logs from communication tools or extracted emails, workflows can leverage HubSpotEngagement to log calls, notes, or meetings. Activities such as ExecutePython or ExtractDateComponent can categorize these interactions by week or sales agent. Aggregated engagement data helps in understanding customer touchpoints or identifying inactive leads.

Input

  • Data – Required for Create, Create Many.

Output

Output TypeFormatDescription
DataJSONReturned engagement record(s)

Configuration Fields

Field NameDescription
ConnectionSelect a HubSpot connection to authenticate API calls.
OperationOne of:
  • Get
  • Get All
  • Create
  • Create Many
  • Delete
IdRequired for Get and Delete. The unique ID of the engagement.
typeType of engagement: CALL, EMAIL, TASK, MEETING, or NOTE. Required for Create and Create Many.
bodyDescription/content of the engagement. Required.
subjectSubject of the engagement (used for tasks, emails, etc.). Optional.
ownerIdHubSpot owner/user responsible for the engagement. Optional.
statusStatus of the engagement (e.g., COMPLETED or SCHEDULED for meetings/tasks). Optional and dynamic based on type.
contactIdsList of associated contact IDs. Optional.
companyIdsList of associated company IDs. Optional.
dealIdsList of associated deal IDs. Optional.
ticketIdsList of associated ticket IDs. Optional.
ConfigFieldsMappingUsed in Create Many. Maps incoming data fields to engagement fields. Optional.

Sample Input

OperationRequired FieldsExample Input
GetId
Id23456789
Get AllNone(No input required)
Createtype, body
typeCALL
bodyFollow-up with client
contactIds[101, 102]
DeleteId
Id23456789
Create ManyField Mapping
type[EngagementType]
body[Note]
dealIds[DealRef]

Input fields for Create Many are mapped from previous tabular activity in the workflow.

Sample Configuration

FieldValue
connection.idhubspot-engage-001
operationCreateMany
fieldsMapping
  • type → EngagementType
  • body → Note
  • dealIds → DealRef
  • ownerId → OwnerRef

Sample Output

IdTypeBodyOwnerDeal IdsCreated Time
3482109CALLCall with clientuser_1001[5678]2024-06-01T12:00:00Z
3482110NOTENotes from meetinguser_1002[5679]2024-06-02T09:20:00Z