HubSpot

App · CRM Systems · 53 actions

Keep HubSpot up to date: create and update contacts, companies and deals, move deals through stages, and log notes and tasks.

Actions

ActionWhat it does
Add a contact to a listAdd a contact to a static list (one you add people to by hand).
Create a companyAdd a company.
Create a contactAdd a contact by email address.
Create a contact listMake a new static contact list, one you add people to by hand or with Add a contact to a list.
Create a dealCreate a new deal, optionally in a chosen pipeline and stage, and link it to a contact by their email address, adding them as a contact first if they are new.
Create a taskCreate a task, optionally on a contact, company or deal.
Create a ticketOpen a support ticket, optionally for a contact.
Delete a callDelete a logged call.
Delete a companyDelete a company.
Delete a contactDelete a contact.
Delete a contact listDelete a list.
Delete a dealDelete a deal.
Delete a logged emailDelete an email logged on a record.
Delete a meetingDelete a logged meeting.
Delete a noteDelete a note.
Delete a taskDelete a task.
Delete a ticketDelete a ticket.
Find a company by email or domainFind the company whose website domain matches an email address or a domain exactly: jane@acme.com finds the company with the domain acme.com.
Find a contact by emailFind the contact with an email address.
Find a contact's dealsFind the deals linked to a contact, from their email address, newest first, with each deal's stage, amount, close date and a link.
Find a user by emailLook up a person in your HubSpot account by email address, to make them the owner of a contact, deal or task in a later step.
Find companies by name or domainLook up companies by name, website domain or phone number, best match first, the way HubSpot's own search box does.
Find contacts by name, email or companyLook up contacts by a name, email address, phone number or company, best match first, the way HubSpot's own search box does.
Find contacts created in a date rangeFind contacts created since a date, newest first, with a count of every one that matches.
Find deals by dateFind deals created since a date, deals that reached a stage (such as Closed won) since a date, open deals closing this month or soon, or deals nobody has touched for a while (alone or together with closing soon: 'quiet deals closing this month').
Find deals by nameLook up deals by name, best match first, with each deal's amount written as money and its owner's name.
Find recently created or updated recordsFind the contacts, companies or deals created or changed since a time you choose, newest first, such as every deal updated this week.
Get a companyGet one company and its details, including the name and email of the HubSpot user who owns it.
Get a contactGet one contact and their details by the contact's record ID.
Get a dealGet one deal and its details.
Get a form's fieldsGet one of your HubSpot forms and every field on it: its name, label, type and whether it must be filled in.
Get a ticketGet one support ticket and its details.
Get an activityGet one note, task, meeting, call or email logged in HubSpot, by its ID.
Get who a deal is forFind who a deal is for: the company it is with (the deal's own company in HubSpot, else its first contact's company) and the contact's email and name, for a deal that has just been won and needs a congratulation or a welcome email.
Link a contact to a companyLink a contact to a company, so they show up together in HubSpot.
Link a contact to a dealLink a contact to a deal, so the deal shows who it is for and appears on their record.
List activitiesList notes, tasks, meetings, calls or emails logged in HubSpot, oldest first.
List companiesList companies, oldest first, for a quick look.
List contactsList contacts, oldest first, for a quick look.
List dealsList deals, oldest first, for a quick look.
List formsList your HubSpot forms with each one's ID, for Get a form's fields or Submit a form.
List ticketsList support tickets, oldest first, for a quick look.
Log a callRecord a phone call on a contact, company or deal, with what was said, how long it took and how it went.
Log a meetingRecord a meeting on the timeline of the contacts who were in it, named by email address, with no step to find them first.
Log a noteAdd a note to a contact, company or deal.
Log an emailRecord an email on a contact, company or deal, such as one sent from another app, so it shows on their timeline.
Move a deal to a stageMove a deal to another stage of its pipeline.
Remove a contact from a listTake a contact off a static list.
Submit a formSend answers to one of your HubSpot forms, as if a visitor filled it in, such as a sign-up taken on another website.
Update a companyChange a company's details, such as its name, website or industry.
Update a contactChange a contact's details, such as their name, phone number or company.
Update a dealChange a deal's name, amount, close date or owner.
Update a ticketChange a ticket's subject, description, stage, priority or owner, such as moving it to Closed.

Add a contact to a list

Add a contact to a static list (one you add people to by hand). Needs the crm.lists.write scope on your key.

Inputs

Listlist_idtextRequired
The static list (one you add people to by hand). Pick it, or give its list ID from the list's page in HubSpot.
Contactcontact_idtextRequired
The contact, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

addedtrue/false
True when the contact is on the list
contact_idtext
The contact's record ID
list_idtext
The list's ID
Example output
{
  "added": true,
  "contact_id": "701",
  "list_id": "123"
}

Create a company

Add a company. Give its website domain so HubSpot can match it to the company it already has with that website.

Inputs

NamenametextRequired
Company name
Domaindomaintext
Company website domain, e.g. example.com
Citycitytext
City
Industryindustrytext
Industry
Phonephonetext
Phone number

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the company in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:14:02.771Z",
  "id": "9001",
  "properties": {
    "city": "Bristol",
    "createdate": "2026-07-14T09:14:02.771Z",
    "domain": "averyconsulting.example.com",
    "industry": "CONSULTING",
    "name": "Avery Consulting"
  },
  "updatedAt": "2026-07-14T09:14:02.771Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-2/9001"
}

Create a contact

Add a contact by email address. If someone already has that email, their details are updated instead, so nobody is added twice; a field left blank keeps what that contact already has.

Inputs

EmailemailtextRequired
The contact's email address.
Full namefull_nametext
The person's whole name when a form or booking gives only one name field. The first word becomes the first name and the last word the last name, so there is no need to split it first. Use first and last name instead when you have them separately.
First namefirst_nametext
First name
Last namelast_nametext
Last name
Phonephonetext
Phone number
Companycompanytext
Company name
Job titlejob_titletext
Job title
Ownerowner_idtext
The person on your team who owns this contact.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the contact in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:12:33.482Z",
  "id": "701",
  "properties": {
    "company": "Avery Consulting",
    "createdate": "2026-07-14T09:12:33.482Z",
    "email": "jordan.avery@example.com",
    "firstname": "Jordan",
    "jobtitle": "Head of Operations",
    "lastname": "Avery",
    "lifecyclestage": "lead",
    "phone": "+15555550123"
  },
  "updatedAt": "2026-07-14T09:12:33.482Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-1/701"
}

Create a contact list

Make a new static contact list, one you add people to by hand or with Add a contact to a list. Needs the crm.lists.write scope on your key.

Inputs

NamenametextRequired
The list's name, such as Webinar sign-ups. It must not be in use.

Outputs

list_idtext
The new list's ID
nametext
The list's name
Example output
{
  "list_id": "123",
  "name": "Webinar sign-ups"
}

Create a deal

Create a new deal, optionally in a chosen pipeline and stage, and link it to a contact by their email address, adding them as a contact first if they are new. An account with one pipeline uses its default when none is chosen. Returns a link that opens the deal in HubSpot.

Inputs

Deal namedeal_nametextRequired
Deal name
Amountamountnumber
Deal value
Pipelinepipelinetext
The pipeline the deal belongs to. Leave empty to use the account's default pipeline.
Stagestagetext
The stage the deal starts in. Leave empty to use the first stage of its pipeline; HubSpot itself would otherwise create the deal with no stage at all.
Close dateclose_datedate
Expected close date.
Ownerowner_idtext
The person on your team who owns this deal.
Contact's emailcontact_emailtext
Beta. Link the deal to the contact with this email address, so it shows on their record, for a deal opened for someone a step just added. The step fails, and no deal is created, when nobody in HubSpot has it, unless Add the contact if new is on. Ignored when a contact is chosen below.
Add the contact if newadd_contact_if_missingtrue/false
Beta. With Contact's email: when nobody in HubSpot has that address yet (a new lead from a form), add them as a contact and link the deal to them instead of failing, so a deal for a new lead is one step. The new contact has the email address and any of the name, company and job title below; to save their phone too, use Create a contact first and choose that contact below. An existing contact is left as it is unless those details are given, and then takes them. Leave off to fail when nobody has the address.Default: false.
Contact's namecontact_full_nametext
Beta. With Add the contact if new: the contact's whole name as a form gives it, such as Dana Whitfield. The first word becomes the first name and the last word the last name, so no step has to split it.
Contact's companycontact_companytext
Beta. With Add the contact if new: the company they work for, saved on the contact.
Contact's job titlecontact_job_titletext
Beta. With Add the contact if new: their job title, saved on the contact.
Contactcontact_idtext
Beta. Link the deal to this contact, so it shows on their record.

Outputs

archivedtrue/false
contact_idtext
Beta. The record ID of the contact the deal was linked to, for a later step on the same person. Empty when no contact or email was given.
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the deal in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "contact_id": "701",
  "createdAt": "2026-07-14T09:16:40.118Z",
  "id": "4501",
  "properties": {
    "amount": "12000",
    "closedate": "2026-09-30",
    "createdate": "2026-07-14T09:16:40.118Z",
    "dealname": "Avery Consulting - annual license",
    "dealstage": "appointmentscheduled",
    "pipeline": "default"
  },
  "updatedAt": "2026-07-14T09:16:40.118Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
}

Create a task

Create a task, optionally on a contact, company or deal. The due date can be given as a number of days from now (left out, the task is due today), the contact by email address or phone number, and the person it is for by their email address or as the contact's owner, so no earlier step has to look any of them up.

Inputs

TitlesubjecttextRequired
The task's title.
Duedue_atdate and time
When the task is due, such as 2026-11-20 at 9:00 AM. Beta: leave Due, Due in working days and Due in days all empty and the task is due today, at the end of the day in UTC (23:59 UTC, which is the afternoon or evening in the Americas).
Due in working daysdue_in_working_daysnumber
Beta. Due this many working days from today, Monday to Friday: 5 created on a Wednesday is due the next Wednesday. Use it for 'kickoff call in 2 working days' instead of working the date out in an earlier step. Due wins when given. With no due field filled in, the task is due at the end of today (UTC).At least 0.
Due in daysdue_in_daysnumber
Beta. Due this many days from now, weekends included: 2 created on a Friday morning is due Sunday morning. Use it for 'follow up in 2 days' instead of working the date out in an earlier step. An alternative to Due and Due in working days: Due wins when given, then Due in working days. Leave all three empty for a task due at the end of today (UTC).At least 0.
Notesbodytext
Task notes.
Statusstatustext
Whether the task is already done.One of: NOT_STARTED (Not Started), COMPLETED. Default: NOT_STARTED.
Priorityprioritytext
Task priority.One of: LOW, MEDIUM, HIGH.
Typetask_typetext
What kind of task this is.One of: TODO, EMAIL, CALL.
Assigned toowner_idtext
The person on your team the task is for.
Assigned to (by email)owner_emailtext
Beta. The email address the person the task is for signs in to HubSpot with, such as sam@example.com, when you have their address rather than picking them above (the rep who hosted a call). When nobody in your HubSpot account has that address the task is still created, assigned to no one. Ignored when Assigned to is filled in. Leave empty to assign nobody this way.
Assign to the contact's ownerassign_to_contact_ownertrue/false
Beta. Give the task to the person who owns the contact it goes on (the contact chosen below, or found by email or phone), for 'a task for the contact's owner' with no step to look the owner up. When no contact is found or the contact has no owner, the task is still created and goes to Assigned to or Assigned to (by email) instead, or to no one when both are empty; assigned_to_contact_owner in the result says which happened. Leave off to use only Assigned to.Default: false.
Contactcontact_idtext
Contact to attach the task to.
Contact's emailcontact_emailtext
Beta. Attach the task to the contact with this email address, when you have their email but not the contact. The step fails when nobody in HubSpot has it, unless If no contact is found says otherwise or Add the contact if new is on. Ignored when a contact is chosen above. Beta: it can also hold several addresses, as a list from an earlier step (a Gong call's customer_emails) or as text with commas between them, such as sam@customer.com, kim@customer.com. Then it goes on every one of them that is a HubSpot contact and the others are skipped; what happens when none of them is a contact is set by If no contact is found.
Contact's phonecontact_phonetext
Beta. Attach the task to the contact with this phone or mobile number, such as +1 415 555 0123, when you have a caller's number but not the contact (a missed call). Spaces, dashes and the country code don't have to match how HubSpot has it. Used when no contact is chosen above and Contact's email is empty or nobody has it. When nobody in HubSpot has the number either, If no contact is found decides what happens: by default the step fails, so set it to create the task anyway for callers who may not be contacts yet.
If no contact is foundif_no_contacttext
Beta. With Contact's email or Contact's phone: what to do when nobody in HubSpot has the address, any of the addresses, or the number. fail stops the workflow with an error, as it always has. skip creates no task and carries on, with created false in the result. create makes the task anyway, attached to no contact (contact_id is empty in the result), for a call or a lead that still needs following up. Leave empty for fail.One of: fail (Stop with an error), skip (Skip: create no task and carry on), create (Create the task anyway, on no contact). Default: fail.
Add the contact if newadd_contact_if_missingtrue/false
Beta. With Contact's email: when nobody in HubSpot has that address yet, add them as a contact (with only the email address) and attach the task to them instead of failing. An existing contact is left as it is. It does not apply to Contact's phone. Leave off to follow If no contact is found.Default: false.
Companycompany_idtext
Company to attach the task to.
Dealdeal_idtext
Deal to attach the task to.

Outputs

archivedtrue/false
assigned_to_contact_ownertrue/false
Beta. true when the task went to the contact's owner; false when Assign to the contact's owner was off, or no contact was found or it has no owner and the task went to Assigned to instead
associated_tolist
contact_idtext
Beta. The record ID of the contact the task was put on (the first, when there are several). Empty when it was put on no contact: none was given, or none was found and If no contact is found is create or skip
contact_idslist
Beta. The record IDs of the contacts the task was put on
contacts_foundnumber
Beta. How many contacts the task was put on
createdtrue/false
Beta. true when the task was created; false when it was skipped because no contact was found (If no contact is found set to skip), and then id is empty
createdAttext
idtext
owner_idtext
Beta. The ID of the person the task was assigned to. Empty when it was assigned to no one
propertiesobject
updatedAttext
Example output
{
  "archived": false,
  "assigned_to_contact_owner": true,
  "associated_to": [
    "contacts",
    "deals"
  ],
  "contact_id": "701",
  "contact_ids": [
    "701"
  ],
  "contacts_found": 1,
  "created": true,
  "createdAt": "2026-07-14T09:22:10.000Z",
  "id": "77020",
  "owner_id": "51234567",
  "properties": {
    "hs_object_id": "77020",
    "hs_task_body": "Confirm the seat count before sending.",
    "hs_task_priority": "HIGH",
    "hs_task_status": "NOT_STARTED",
    "hs_task_subject": "Follow up on the renewal quote",
    "hs_task_type": "CALL",
    "hs_timestamp": "1784112000000",
    "hubspot_owner_id": "51234567"
  },
  "updatedAt": "2026-07-14T09:22:10.000Z"
}

Create a ticket

Open a support ticket, optionally for a contact. Needs the tickets scope on your key.

Inputs

SubjectsubjecttextRequired
A short summary of the request.
Descriptiondescriptiontext
What the customer needs, in full.
Stagestagetext
The ticket stage, such as New or Waiting on contact. Leave blank for the first stage of your first pipeline.
Priorityprioritytext
How urgent it is.One of: LOW, MEDIUM, HIGH.
Ownerowner_idtext
The person on your team who should handle it.
Contactcontact_idtext
The contact the ticket is from, so it shows on their record.

Outputs

closed_attext
When it was closed, blank if open
contact_idtext
The contact it was linked to, blank if none
created_attext
When the ticket was made
descriptiontext
The ticket's description
hubspot_owner_idtext
The owner's ID, blank if nobody owns it
idtext
The ticket's record ID
pipelinetext
The ID of the ticket's pipeline
prioritytext
LOW, MEDIUM or HIGH, or blank
propertiesobject
Every property HubSpot sent for the ticket
stagetext
The ID of the ticket's stage
subjecttext
The ticket's subject
Example output
{
  "closed_at": "",
  "contact_id": "701",
  "created_at": "2026-11-20T09:00:00.000Z",
  "description": "The box was crushed in transit.",
  "hubspot_owner_id": "555001",
  "id": "88001",
  "pipeline": "0",
  "priority": "HIGH",
  "properties": {
    "content": "The box was crushed in transit.",
    "createdate": "2026-11-20T09:00:00.000Z",
    "hs_pipeline": "0",
    "hs_pipeline_stage": "1",
    "hs_ticket_priority": "HIGH",
    "hubspot_owner_id": "555001",
    "subject": "Order arrived damaged"
  },
  "stage": "1",
  "subject": "Order arrived damaged"
}

Delete a call

Delete a logged call. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Callcall_idtextRequired
The call to delete, as an earlier step gave it, or its ID.

Outputs

call_idtext
The call's record ID
deletedtrue/false
True when it was deleted
Example output
{
  "call_id": "90011",
  "deleted": true
}

Delete a company

Delete a company. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Companycompany_idtextRequired
The company, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

company_idtext
deletedtrue/false
Example output
{
  "company_id": "9001",
  "deleted": true
}

Delete a contact

Delete a contact. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Contactcontact_idtextRequired
The contact, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

contact_idtext
deletedtrue/false
Example output
{
  "contact_id": "701",
  "deleted": true
}

Delete a contact list

Delete a list. The contacts on it are kept, and the list can be restored in HubSpot for 90 days. Needs the crm.lists.write scope on your key.

Inputs

Listlist_idtextRequired
The static list (one you add people to by hand). Pick it, or give its list ID from the list's page in HubSpot.

Outputs

deletedtrue/false
True when it was deleted
list_idtext
The list's ID
Example output
{
  "deleted": true,
  "list_id": "123"
}

Delete a deal

Delete a deal. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Dealdeal_idtextRequired
The deal, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

deal_idtext
deletedtrue/false
Example output
{
  "deal_id": "4501",
  "deleted": true
}

Delete a logged email

Delete an email logged on a record. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Emailemail_idtextRequired
The logged email to delete, as an earlier step gave it, or its ID.

Outputs

deletedtrue/false
True when it was deleted
email_idtext
The logged email's record ID
Example output
{
  "deleted": true,
  "email_id": "90021"
}

Delete a meeting

Delete a logged meeting. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Meetingmeeting_idtextRequired
The meeting to delete, as an earlier step gave it, or its ID.

Outputs

deletedtrue/false
meeting_idtext
Example output
{
  "deleted": true,
  "meeting_id": "99030"
}

Delete a note

Delete a note. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Notenote_idtextRequired
The note to delete, as an earlier step gave it, or its ID.

Outputs

deletedtrue/false
note_idtext
Example output
{
  "deleted": true,
  "note_id": "88010"
}

Delete a task

Delete a task. It goes to HubSpot's recycling bin, where it can be restored for 90 days.

Inputs

Tasktask_idtextRequired
The task to delete, as an earlier step gave it, or its ID.

Outputs

deletedtrue/false
task_idtext
Example output
{
  "deleted": true,
  "task_id": "77020"
}

Delete a ticket

Delete a ticket. It goes to HubSpot's recycling bin, where it can be restored for 90 days. Needs the tickets scope on your key.

Inputs

Ticketticket_idtextRequired
The ticket, as an earlier step or trigger gave it, or its ID or the address of its page in HubSpot.

Outputs

deletedtrue/false
True when it was deleted
ticket_idtext
The ticket's record ID
Example output
{
  "deleted": true,
  "ticket_id": "88001"
}

Find a company by email or domain

Find the company whose website domain matches an email address or a domain exactly: jane@acme.com finds the company with the domain acme.com. Answers whether one was found, and its name, industry, number of employees and more, ready to use in a later step or a condition. Personal addresses such as gmail.com or outlook.com find nothing.

Inputs

Email or domainemail_or_domaintextRequired
An email address, such as the person who booked a meeting (jane@acme.com), or a website domain (acme.com or https://www.acme.com). Only the domain is used.

Outputs

citytext
The company's city.
countrytext
The company's country.
domaintext
The company's website domain.
domain_searchedtext
The domain that was looked for, such as acme.com.
foundtrue/false
True when a company in HubSpot has this domain. Use it in a condition to do one thing when the company is known and another when it isn't.
idtext
The company's record id, for a later step that takes a company. Empty when none was found.
industrytext
The company's industry as HubSpot shows it, such as Computer Software. Empty when it isn't filled in.
matchesnumber
How many companies have this domain. When more than one does, the oldest is the one returned.
nametext
The company's name.
numberofemployeesnumber
How many people the company employs, as a number to compare (more than 200). 0 when HubSpot doesn't know or no company was found.
owner_idtext
The id of the person on your team who owns the company, for an Assigned to field. Empty when nobody does.
personal_email_domaintrue/false
True when the address is at a personal mail provider such as gmail.com, so no company was looked for.
urltext
A link that opens the company in HubSpot, to put in a message.
Example output
{
  "city": "Bristol",
  "country": "United Kingdom",
  "domain": "meridian.example.com",
  "domain_searched": "meridian.example.com",
  "found": true,
  "id": "9001",
  "industry": "Computer Software",
  "matches": 1,
  "name": "Meridian Health",
  "numberofemployees": 450,
  "owner_id": "12345678",
  "personal_email_domain": false,
  "url": "https://app.hubspot.com/contacts/1234567/record/0-2/9001"
}

Find a contact by email

Find the contact with an email address. The step fails when nobody has it, unless If nobody has it is set to empty. To add someone only if they're new, use Create a contact instead, which never adds the same email twice.

Inputs

EmailemailtextRequired
The email address to look for.
If nobody has itif_not_foundtext
Beta. What to do when no contact has the address. fail stops the workflow with an error, as it always has. empty carries on with found false and an empty id, so a later step can check found instead of catching an error. Leave empty for fail.One of: fail (Stop with an error), empty (Carry on with found false). Default: fail.

Outputs

archivedtrue/false
createdAttext
foundtrue/false
Beta. true when a contact has the address; false (with an empty id) when nobody does and If nobody has it is set to empty
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the contact in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:12:33.482Z",
  "found": true,
  "id": "701",
  "properties": {
    "company": "Avery Consulting",
    "createdate": "2026-07-14T09:12:33.482Z",
    "email": "jordan.avery@example.com",
    "firstname": "Jordan",
    "jobtitle": "Head of Operations",
    "lastname": "Avery",
    "lifecyclestage": "lead",
    "phone": "+15555550123"
  },
  "updatedAt": "2026-07-14T11:40:02.113Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-1/701"
}

Find a contact's deals

Find the deals linked to a contact, from their email address, newest first, with each deal's stage, amount, close date and a link. The newest open one is latest_deal, ready to move to Closed won or update in the next step.

Inputs

Contact's emailemailtextRequired
The email address of the contact whose deals you want, such as avery@example.com, often from an earlier step.
Only open dealsopen_onlytrue/false
On (the default): leave out deals already won or lost. Turn it off to list every deal the contact has.Default: true.

Outputs

contact_foundtrue/false
false when no HubSpot contact has that email address; then there are no deals either
contact_idtext
The contact's record ID, empty when nobody has the address
countnumber
How many deals are in deals
dealslist
The contact's deals, newest first (open ones only unless Only open deals is off). Empty when they have none.
foundtrue/false
true when the contact has at least one deal (an open one, with Only open deals on); false otherwise. Use it to decide whether there is a deal to update.
latest_dealobject
The contact's most recently created open deal, the one to move to a stage or update next: use latest_deal.id as the Deal. Empty when they have no open deal.
Example output
{
  "contact_found": true,
  "contact_id": "9001",
  "count": 1,
  "deals": [
    {
      "amount": 12000.0,
      "amount_display": "$12,000",
      "close_date": "2026-11-30T17:00:00Z",
      "created_at": "2026-09-14T09:16:40.118Z",
      "id": "4501",
      "is_closed": false,
      "is_won": false,
      "link": "https://app.hubspot.com/contacts/1234567/record/0-3/4501",
      "name": "Avery Consulting - annual license",
      "owner_id": "61",
      "pipeline": "default",
      "stage": "contractsent",
      "stage_label": "Contract sent"
    }
  ],
  "found": true,
  "latest_deal": {
    "amount": 12000.0,
    "amount_display": "$12,000",
    "close_date": "2026-11-30T17:00:00Z",
    "created_at": "2026-09-14T09:16:40.118Z",
    "id": "4501",
    "is_closed": false,
    "is_won": false,
    "link": "https://app.hubspot.com/contacts/1234567/record/0-3/4501",
    "name": "Avery Consulting - annual license",
    "owner_id": "61",
    "pipeline": "default",
    "stage": "contractsent",
    "stage_label": "Contract sent"
  }
}

Find a user by email

Look up a person in your HubSpot account by email address, to make them the owner of a contact, deal or task in a later step.

Inputs

EmailemailtextRequired
The email address they sign in to HubSpot with, such as sam@example.com.

Outputs

archivedtrue/false
emailtext
firstNametext
idtext
lastNametext
userIdnumber
Example output
{
  "archived": false,
  "email": "sam@example.com",
  "firstName": "Sam",
  "id": "61",
  "lastName": "Ortiz",
  "userId": 9182
}

Find companies by name or domain

Look up companies by name, website domain or phone number, best match first, the way HubSpot's own search box does. Each comes with the name and email of the HubSpot user who owns it.

Inputs

Search forquerytextRequired
A company name, website domain or phone number, such as Meridian or meridian.example.com.
How manylimitnumber
How many companies to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

has_moretrue/false
resultslist
totalnumber
Example output
{
  "has_more": false,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-07-14T09:14:02.771Z",
      "id": "9001",
      "owner_email": "dana@acme.com",
      "owner_name": "Dana Whitfield",
      "properties": {
        "city": "Bristol",
        "domain": "meridian.example.com",
        "hubspot_owner_id": "12345678",
        "name": "Meridian Health"
      },
      "updatedAt": "2026-07-14T09:14:02.771Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-2/9001"
    }
  ],
  "total": 1
}

Find contacts by name, email or company

Look up contacts by a name, email address, phone number or company, best match first, the way HubSpot's own search box does.

Inputs

Search forquerytextRequired
A name, email address, phone number or company to look for, such as Rae Lindqvist or Meridian.
How manylimitnumber
How many contacts to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

has_moretrue/false
resultslist
totalnumber
Example output
{
  "has_more": false,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-08-24T14:22:07.005Z",
      "id": "703",
      "properties": {
        "company": "Meridian Health",
        "email": "rae.lindqvist@example.com",
        "firstname": "Rae",
        "lastname": "Lindqvist"
      },
      "updatedAt": "2026-08-24T14:22:07.005Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-1/703"
    }
  ],
  "total": 1
}

Find contacts created in a date range

Find contacts created since a date, newest first, with a count of every one that matches.

Inputs

Created aftercreated_afterdate and timeRequired
Only return contacts created at or after this moment.
Created beforecreated_beforedate and time
Optional upper bound, exclusive. Leave empty to run the window up to now.
How manylimitnumber
How many contacts to return, newest first (default 100, maximum 2000). The total count is reported in full even when more contacts match than are returned.From 1 to 2000. Default: 100.

Outputs

has_moretrue/false
resultslist
totalnumber
Example output
{
  "has_more": false,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-08-24T14:22:07.005Z",
      "id": "703",
      "properties": {
        "company": "Meridian Health",
        "createdate": "2026-08-24T14:22:07.005Z",
        "email": "rae.lindqvist@example.com",
        "firstname": "Rae",
        "hs_analytics_source": "ORGANIC_SEARCH",
        "jobtitle": "Procurement Lead",
        "lastname": "Lindqvist"
      },
      "updatedAt": "2026-08-24T14:22:07.005Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-1/703"
    }
  ],
  "total": 1
}

Find deals by date

Find deals created since a date, deals that reached a stage (such as Closed won) since a date, open deals closing this month or soon, or deals nobody has touched for a while (alone or together with closing soon: 'quiet deals closing this month'). Gives each deal's owner name and email, how many match, what they're worth together and each owner's deal count and total. A message per rep still groups the deals by owner_email.

Inputs

Created aftercreated_afterdate and time
Only return deals created at or after this moment. Required unless you choose a stage below or fill in Not updated since, Untouched for days or Closing within days, or turn on Open deals closing this month.
Created beforecreated_beforedate and time
Optional upper bound, exclusive. Leave empty to run the window up to now.
Open deals closing this monthclosing_this_monthtrue/false
Beta. Turn on to get the open deals whose expected close date is in the current month, soonest first, with how many there are and what they are worth together. Needs no dates; replaces the dates below. With Untouched for days, only the deals closing this month that have also gone quiet.
Untouched for daysnot_updated_for_daysnumber
Beta. Only deals nobody has touched for at least this many days, longest-quiet first: 5 for 'no activity in 5 days'. Use it instead of working out a date in an earlier step. Not updated since wins when given. Turn on Open deals only to leave out deals already won or lost. It is HubSpot's last-changed date, so an edit, a note or a logged call all count as activity.At least 1.
Closing within daysclosing_in_next_daysnumber
Beta. Only open deals whose expected close date is today or within this many days, soonest first: 7 for 'closing this week'. With Untouched for days, only the deals that are both quiet and about to close, so no filter step is needed afterwards.At least 1.
Created in the last dayscreated_in_last_daysnumber
Beta. Only deals created in the last this many whole days, up to but not including today: 7 on a Monday is last week, Monday to Sunday, and never counts a deal in two reports. Use it for a weekly or daily recap instead of working out the dates in earlier steps. Created after and Created before win when given.At least 1.
Reached stagestagetext
Find deals by when they reached this stage instead of when they were created. For deals won, choose the pipeline's Closed won stage; the deal may have been created long before it was won.
Reached the stage afterentered_stage_afterdate and time
With a stage: only deals that reached it at or after this moment. Required when a stage is chosen, unless Reached the stage in the last days is filled in.
Reached the stage in the last daysentered_stage_in_last_daysnumber
Beta. With a stage: only deals that reached it in the last this many whole days, up to but not including today: 7 on a Monday is last week, Monday to Sunday. Use it for a weekly or daily recap of deals won instead of working out the dates in earlier steps. Reached the stage after and before win when given.At least 1.
Reached the stage beforeentered_stage_beforedate and time
With a stage: optional upper bound, exclusive. Leave empty to run the window up to now.
Not updated sincenot_updated_sincedate and time
Find deals nobody has touched since this moment (14 days ago for 'no activity in two weeks'), longest-quiet first. Replaces the created and stage dates above.
Only open dealsonly_opentrue/false
With Not updated since: leave out deals already won or lost, which are finished rather than stuck.
How manylimitnumber
How many deals to return, newest first (default 100, maximum 2000). The total count is reported in full even when more deals match than are returned.From 1 to 2000. Default: 100.

Outputs

biggest_dealobject
The most valuable of the returned deals: name, amount_display ($8,500) and owner_name, empty when no deal has an amount. Use it for a recap's biggest deal instead of sorting the results.
by_ownerlist
Each owner's number of deals and total value among the returned deals, biggest total first, with the total ready to read ($8,500). Use it for a leaderboard or a recap per rep.
has_moretrue/false
resultslist
totalnumber
total_amountnumber
What the returned deals are worth together, as a plain number for a comparison. To show it to a person, use total_amount_display.
total_amount_displaytext
What the returned deals are worth together, ready to put in a message ($12,500), so a message needs no formatting step.
Example output
{
  "biggest_deal": {
    "amount": 8500.0,
    "amount_display": "$8,500",
    "name": "Meridian Health - pilot",
    "owner_name": "Dana Whitfield"
  },
  "by_owner": [
    {
      "amount": 8500.0,
      "amount_display": "$8,500",
      "deals": 1,
      "owner_email": "dana@acme.com",
      "owner_name": "Dana Whitfield"
    }
  ],
  "has_more": false,
  "results": [
    {
      "amount_display": "$8,500",
      "archived": false,
      "createdAt": "2026-08-24T14:22:07.005Z",
      "id": "4502",
      "owner_email": "dana@acme.com",
      "owner_name": "Dana Whitfield",
      "properties": {
        "amount": "8500",
        "createdate": "2026-08-24T14:22:07.005Z",
        "dealname": "Meridian Health - pilot",
        "dealstage": "appointmentscheduled",
        "pipeline": "default"
      },
      "updatedAt": "2026-08-24T14:22:07.005Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4502"
    }
  ],
  "total": 1,
  "total_amount": 8500.0,
  "total_amount_display": "$8,500"
}

Find deals by name

Look up deals by name, best match first, with each deal's amount written as money and its owner's name.

Inputs

Search forquerytextRequired
A word or name in the deal's name, such as Northwind or Platform renewal.
How manylimitnumber
How many deals to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

has_moretrue/false
resultslist
totalnumber
Example output
{
  "has_more": false,
  "results": [
    {
      "amount_display": "$8,500",
      "archived": false,
      "createdAt": "2026-09-02T10:00:00.000Z",
      "id": "4501",
      "owner_email": "sam@example.com",
      "owner_name": "Sam Ortiz",
      "properties": {
        "amount": "8500",
        "dealname": "Northwind - Platform renewal",
        "dealstage": "contractsent",
        "hubspot_owner_id": "61",
        "pipeline": "default"
      },
      "updatedAt": "2026-10-12T15:30:00.000Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
    }
  ],
  "total": 1
}

Find recently created or updated records

Find the contacts, companies or deals created or changed since a time you choose, newest first, such as every deal updated this week. With no time, the last 30 days.

Inputs

Record typeobject_typetextRequired
Whether to look at contacts, companies or deals.One of: contacts, companies, deals.
Created or updatedchangetext
Records created since the time, or records changed in any way since it.One of: updated, created. Default: updated.
Sincesincedate and time
The time to look from. Leave empty for 30 days ago.
How manylimitnumber
How many records to return (default 100, maximum 2000).From 1 to 2000. Default: 100.

Outputs

has_moretrue/false
True when more match than were returned
resultslist
The records, newest first
totalnumber
How many records match, even beyond those returned
Example output
{
  "has_more": false,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-07-14T09:12:33.482Z",
      "id": "4501",
      "properties": {
        "dealname": "Northwind renewal",
        "hs_lastmodifieddate": "2026-11-20T09:00:00.000Z"
      },
      "updatedAt": "2026-11-20T09:00:00.000Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
    }
  ],
  "total": 1
}

Get a company

Get one company and its details, including the name and email of the HubSpot user who owns it.

Inputs

Companycompany_idtextRequired
The company, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

archivedtrue/false
createdAttext
idtext
owner_emailtext
Beta. The email address of the company's owner, such as dana@acme.com; empty when nobody owns it.
owner_nametext
Beta. The name of the HubSpot user who owns the company, such as Dana Whitfield; empty when nobody does.
propertiesobject
updatedAttext
urltext
Beta. A link that opens the company in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:14:02.771Z",
  "id": "9001",
  "owner_email": "dana@acme.com",
  "owner_name": "Dana Whitfield",
  "properties": {
    "city": "Bristol",
    "createdate": "2026-07-14T09:14:02.771Z",
    "domain": "averyconsulting.example.com",
    "hubspot_owner_id": "12345678",
    "industry": "CONSULTING",
    "name": "Avery Consulting",
    "numberofemployees": "45",
    "phone": "+441170000000"
  },
  "updatedAt": "2026-07-14T09:14:02.771Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-2/9001"
}

Get a contact

Get one contact and their details by the contact's record ID.

Inputs

Contactcontact_idtextRequired
The contact, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the contact in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:12:33.482Z",
  "id": "701",
  "properties": {
    "company": "Avery Consulting",
    "email": "jordan.avery@example.com",
    "firstname": "Jordan",
    "lastname": "Avery"
  },
  "updatedAt": "2026-07-14T09:12:33.482Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-1/701"
}

Get a deal

Get one deal and its details.

Inputs

Dealdeal_idtextRequired
The deal, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the deal in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:16:40.118Z",
  "id": "4501",
  "properties": {
    "amount": "12000",
    "closedate": "2026-09-30",
    "createdate": "2026-07-14T09:16:40.118Z",
    "dealname": "Avery Consulting - annual license",
    "dealstage": "qualifiedtobuy",
    "hubspot_owner_id": "555001",
    "pipeline": "default"
  },
  "updatedAt": "2026-07-15T08:07:12.664Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
}

Get a form's fields

Get one of your HubSpot forms and every field on it: its name, label, type and whether it must be filled in. Needs the forms scope on your key.

Inputs

Formform_idtextRequired
The form. Pick it from the list, or paste the long code from the form's address in HubSpot. Needs the forms scope on your key.

Outputs

countnumber
How many fields
fieldslist
Its fields, in order
form_typetext
Its kind, such as hubspot
idtext
The form's ID
nametext
The form's name
Example output
{
  "count": 1,
  "fields": [
    {
      "field_type": "email",
      "hidden": false,
      "label": "Email",
      "name": "email",
      "object_type_id": "0-1",
      "required": true
    }
  ],
  "form_type": "hubspot",
  "id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
  "name": "Contact us"
}

Get a ticket

Get one support ticket and its details. Needs the tickets scope on your key.

Inputs

Ticketticket_idtextRequired
The ticket, as an earlier step or trigger gave it, or its ID or the address of its page in HubSpot.

Outputs

closed_attext
When it was closed, blank if open
created_attext
When the ticket was made
descriptiontext
The ticket's description
hubspot_owner_idtext
The owner's ID, blank if nobody owns it
idtext
The ticket's record ID
pipelinetext
The ID of the ticket's pipeline
prioritytext
LOW, MEDIUM or HIGH, or blank
propertiesobject
Every property HubSpot sent for the ticket
stagetext
The ID of the ticket's stage
subjecttext
The ticket's subject
Example output
{
  "closed_at": "",
  "created_at": "2026-11-20T09:00:00.000Z",
  "description": "The box was crushed in transit.",
  "hubspot_owner_id": "555001",
  "id": "88001",
  "pipeline": "0",
  "priority": "HIGH",
  "properties": {
    "content": "The box was crushed in transit.",
    "createdate": "2026-11-20T09:00:00.000Z",
    "hs_pipeline": "0",
    "hs_pipeline_stage": "1",
    "hs_ticket_priority": "HIGH",
    "hubspot_owner_id": "555001",
    "subject": "Order arrived damaged"
  },
  "stage": "1",
  "subject": "Order arrived damaged"
}

Get an activity

Get one note, task, meeting, call or email logged in HubSpot, by its ID.

Inputs

Activityactivity_typetextRequired
What kind of activity: a note, task, meeting, call or email. Reading emails needs the sales-email-read scope on your key.One of: notes, tasks, meetings, calls, emails.
Activityactivity_idtextRequired
The activity, as an earlier step gave it, or its ID.

Outputs

activity_typetext
notes, tasks, meetings, calls or emails
created_attext
When it was added
idtext
The activity's record ID
propertiesobject
Its details by HubSpot's property name, such as hs_note_body for a note, hs_task_subject for a task or hs_call_title for a call
updated_attext
When it last changed
Example output
{
  "activity_type": "calls",
  "created_at": "2026-11-20T09:05:00.000Z",
  "id": "90011",
  "properties": {
    "hs_call_status": "COMPLETED",
    "hs_call_title": "Renewal call",
    "hs_timestamp": "2026-11-20T09:00:00Z"
  },
  "updated_at": "2026-11-20T09:05:00.000Z"
}

Get who a deal is for

Find who a deal is for: the company it is with (the deal's own company in HubSpot, else its first contact's company) and the contact's email and name, for a deal that has just been won and needs a congratulation or a welcome email. A deal with several contacts lists them all (up to 5) and the first one's details are at the top.

Inputs

Dealdeal_idtextRequired
The deal, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

companytext
contact_idtext
contactslist
countnumber
emailtext
first_nametext
last_nametext
Example output
{
  "company": "Avery Consulting",
  "contact_id": "9001",
  "contacts": [
    {
      "company": "Avery Consulting",
      "email": "avery@example.com",
      "first_name": "Avery",
      "id": "9001",
      "last_name": "Cole"
    }
  ],
  "count": 1,
  "email": "avery@example.com",
  "first_name": "Avery",
  "last_name": "Cole"
}

Link a contact to a company, so they show up together in HubSpot.

Inputs

Contactcontact_idtextRequired
The contact to link.
Companycompany_idtextRequired
The company to link them to.

Outputs

associatedtrue/false
company_idtext
contact_idtext
Example output
{
  "associated": true,
  "company_id": "9001",
  "contact_id": "701"
}

Link a contact to a deal, so the deal shows who it is for and appears on their record.

Inputs

Contactcontact_idtextRequired
The contact to link.
Dealdeal_idtextRequired
The deal to link them to.

Outputs

associatedtrue/false
contact_idtext
deal_idtext
Example output
{
  "associated": true,
  "contact_id": "701",
  "deal_id": "4501"
}

List activities

List notes, tasks, meetings, calls or emails logged in HubSpot, oldest first.

Inputs

Activityactivity_typetextRequired
What kind of activity: a note, task, meeting, call or email. Reading emails needs the sales-email-read scope on your key.One of: notes, tasks, meetings, calls, emails.
How manylimitnumber
How many activities to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

countnumber
How many were returned
resultslist
The activities
Example output
{
  "count": 1,
  "results": [
    {
      "activity_type": "calls",
      "created_at": "2026-11-20T09:05:00.000Z",
      "id": "90011",
      "properties": {
        "hs_call_status": "COMPLETED",
        "hs_call_title": "Renewal call",
        "hs_timestamp": "2026-11-20T09:00:00Z"
      },
      "updated_at": "2026-11-20T09:05:00.000Z"
    }
  ]
}

List companies

List companies, oldest first, for a quick look. To find one by name or domain, use Find companies by name or domain.

Inputs

How manylimitnumber
How many companies to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

countnumber
How many companies were returned
resultslist
The companies
Example output
{
  "count": 1,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-07-14T09:12:33.482Z",
      "id": "4101",
      "properties": {
        "domain": "northwind.example",
        "name": "Northwind Labs"
      },
      "updatedAt": "2026-07-14T09:12:33.482Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-2/4101"
    }
  ]
}

List contacts

List contacts, oldest first, for a quick look. To report on recent leads, use Find contacts created in a date range.

Inputs

How manylimitnumber
How many contacts to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

countnumber
resultslist
Example output
{
  "count": 2,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-07-14T09:12:33.482Z",
      "id": "701",
      "properties": {
        "company": "Avery Consulting",
        "email": "jordan.avery@example.com",
        "firstname": "Jordan",
        "lastname": "Avery"
      },
      "updatedAt": "2026-07-14T09:12:33.482Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-1/701"
    },
    {
      "archived": false,
      "createdAt": "2026-07-14T10:02:51.900Z",
      "id": "702",
      "properties": {
        "company": "Northwind Labs",
        "email": "sam.okafor@example.com",
        "firstname": "Sam",
        "lastname": "Okafor"
      },
      "updatedAt": "2026-07-14T10:02:51.900Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-1/702"
    }
  ]
}

List deals

List deals, oldest first, for a quick look. To report on recent deals, use Find deals by date.

Inputs

How manylimitnumber
How many deals to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

countnumber
resultslist
Example output
{
  "count": 1,
  "results": [
    {
      "archived": false,
      "createdAt": "2026-07-14T09:16:40.118Z",
      "id": "4501",
      "properties": {
        "amount": "12000",
        "dealname": "Avery Consulting - annual license",
        "dealstage": "appointmentscheduled",
        "pipeline": "default"
      },
      "updatedAt": "2026-07-14T09:16:40.118Z",
      "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
    }
  ]
}

List forms

List your HubSpot forms with each one's ID, for Get a form's fields or Submit a form. Needs the forms scope on your key.

Inputs

None.

Outputs

countnumber
How many forms
formslist
The forms
Example output
{
  "count": 1,
  "forms": [
    {
      "created_at": "2026-07-14T09:12:33.482Z",
      "form_type": "hubspot",
      "id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
      "name": "Contact us"
    }
  ]
}

List tickets

List support tickets, oldest first, for a quick look. Needs the tickets scope on your key.

Inputs

How manylimitnumber
How many tickets to return (default 10, maximum 100).From 1 to 100. Default: 10.

Outputs

countnumber
How many tickets were returned
resultslist
The tickets
Example output
{
  "count": 1,
  "results": [
    {
      "closed_at": "",
      "created_at": "2026-11-20T09:00:00.000Z",
      "description": "The box was crushed in transit.",
      "hubspot_owner_id": "555001",
      "id": "88001",
      "pipeline": "0",
      "priority": "HIGH",
      "properties": {
        "content": "The box was crushed in transit.",
        "createdate": "2026-11-20T09:00:00.000Z",
        "hs_pipeline": "0",
        "hs_pipeline_stage": "1",
        "hs_ticket_priority": "HIGH",
        "hubspot_owner_id": "555001",
        "subject": "Order arrived damaged"
      },
      "stage": "1",
      "subject": "Order arrived damaged"
    }
  ]
}

Log a call

Record a phone call on a contact, company or deal, with what was said, how long it took and how it went. It records a call that happened; it doesn't make one.

Inputs

Titletitletext
A short title, such as Renewal call.
Notesnotestext
What was said.
Whencalled_atdate and time
When the call took place. Leave empty for now.
Minutesduration_minutesnumber
How long the call lasted, in minutes.At least 0.
Directiondirectiontext
Whether your team made the call or received it.One of: OUTBOUND (We called them), INBOUND (They called us).
Statusstatustext
How the call went. Leave empty for Completed.One of: COMPLETED, BUSY, NO_ANSWER (No answer), FAILED, CANCELED, IN_PROGRESS (In progress), QUEUED, RINGING, CONNECTING, CALLING_CRM_USER (Calling crm user). Default: COMPLETED.
From numberfrom_numbertext
The number the call was made from.
To numberto_numbertext
The number that was called.
Contactcontact_idtext
The contact to log the call on.
Contact's emailcontact_emailtext
Log the call on the contact with this email address, when you have their email but not the contact; several addresses can be given, separated by commas. The step fails when nobody in HubSpot has any of them. Ignored when a contact is chosen above.
Companycompany_idtext
The company to log the call on.
Dealdeal_idtext
The deal to log the call on.
Ownerowner_idtext
The person on your team the call is logged for.

Outputs

archivedtrue/false
Whether it is deleted; false here
associated_tolist
The kinds of record it was logged on: contacts, companies, deals
contact_idslist
The record IDs of the contacts it was logged on
createdAttext
When it was saved
idtext
The call's record ID
propertiesobject
The call's details as HubSpot saved them
updatedAttext
When it last changed
Example output
{
  "archived": false,
  "associated_to": [
    "contacts"
  ],
  "contact_ids": [
    "701"
  ],
  "createdAt": "2026-11-20T09:05:00.000Z",
  "id": "90011",
  "properties": {
    "hs_call_body": "Agreed to renew for a year.",
    "hs_call_status": "COMPLETED",
    "hs_call_title": "Renewal call",
    "hs_timestamp": "2026-11-20T09:00:00Z"
  },
  "updatedAt": "2026-11-20T09:05:00.000Z"
}

Log a meeting

Record a meeting on the timeline of the contacts who were in it, named by email address, with no step to find them first. Give it everyone from outside who attended: it goes on each one who is a HubSpot contact, as one meeting.

Inputs

TitletitletextRequired
What the meeting was, such as Quarterly review.
Startstart_timedate and timeRequired
When the meeting started, or starts.
Endend_timedate and time
When the meeting ended. Leave empty to record only the start.
Contacts' emailscontact_emailtext
The email addresses of the people the meeting was with: one address, a list from an earlier step (a calendar event's outside guests), or text with commas between them. The meeting goes on every one of them that is a HubSpot contact and the others are skipped and listed in the result. What happens when none of them is a contact, or the list is empty, is set by If no contact is found.
If no contact is foundif_no_contacttext
What to do when none of the addresses is a HubSpot contact, or no address was given. With several addresses, the meeting always goes on every one that is a contact, whichever you choose here. fail stops the workflow with an error. skip logs nothing and carries on, with created false in the result. Leave empty for fail.One of: fail (Stop with an error), skip (Skip: log nothing and carry on). Default: fail.
Notesbodytext
What was discussed, or anything else to keep.
Outcomeoutcometext
How the meeting went. Leave empty to set none.One of: SCHEDULED, COMPLETED, RESCHEDULED, NO_SHOW (No show), CANCELED.
Locationlocationtext
Where it took place: a room, an address or a call link.
Ownerowner_idtext
The person on your team the meeting belongs to. Leave empty for no one.

Outputs

archivedtrue/false
associated_tolist
contact_idslist
Beta. The record IDs of the contacts the meeting was put on
contacts_foundnumber
Beta. How many contacts the meeting was put on
createdtrue/false
Beta. true when the meeting was created; false when it was skipped because no contact was found (If no contact is found set to skip), and then id is empty
createdAttext
end_displaytext
When it ended, ready to read; empty when no end was given
idtext
The meeting's record ID
linktext
The page in HubSpot of the first contact it was logged on, where it shows on the timeline; empty when nothing was logged
logged_on_emailslist
The addresses it was logged on: those that are HubSpot contacts
not_found_emailslist
The addresses skipped because nobody in HubSpot has them
propertiesobject
start_displaytext
When it started, ready to read (Nov 3, 2026, 2:00 PM), in the time zone the start was given in
titletext
The meeting's title
updatedAttext
Example output
{
  "archived": false,
  "associated_to": [
    "contacts"
  ],
  "contact_ids": [
    "701",
    "702"
  ],
  "contacts_found": 2,
  "created": true,
  "createdAt": "2026-11-03T14:31:00.000Z",
  "end_display": "Nov 3, 2026, 2:30 PM",
  "id": "99030",
  "link": "https://app.hubspot.com/contacts/1234567/record/0-1/701",
  "logged_on_emails": [
    "jordan.avery@example.com",
    "kim.lee@example.com"
  ],
  "not_found_emails": [
    "pat@example.org"
  ],
  "properties": {
    "hs_meeting_body": "Agreed the renewal terms.",
    "hs_meeting_end_time": "1793716200000",
    "hs_meeting_location": "https://meet.google.com/abc-defg-hij",
    "hs_meeting_outcome": "COMPLETED",
    "hs_meeting_start_time": "1793714400000",
    "hs_meeting_title": "Quarterly review",
    "hs_object_id": "99030",
    "hs_timestamp": "1793714400000",
    "hubspot_owner_id": "31337"
  },
  "start_display": "Nov 3, 2026, 2:00 PM",
  "title": "Quarterly review",
  "updatedAt": "2026-11-03T14:31:00.000Z"
}

Log a note

Add a note to a contact, company or deal. Choose at least one, or the note won't show up anywhere in HubSpot. A contact can be named by email address, and so can several at once (everyone from outside on a call), with no step to find them first.

Inputs

NotebodytextRequired
The note's text.
Contactcontact_idtext
Contact to attach the note to.
Contact's emailcontact_emailtext
Attach the note to the contact with this email address, when you have their email but not the contact. The step fails when nobody in HubSpot has it, unless Add the contact if new is on. Ignored when a contact is chosen above. Beta: it can also hold several addresses, as a list from an earlier step (a Gong call's customer_emails) or as text with commas between them, such as sam@customer.com, kim@customer.com. Then it goes on every one of them that is a HubSpot contact and the others are skipped; what happens when none of them is a contact is set by If no contact is found.
If no contact is foundif_no_contacttext
Beta. With Contact's email: what to do when nobody in HubSpot has the address, or any of the addresses. fail stops the workflow with an error, as it always has. skip creates no note and carries on, with created false in the result. Leave empty for fail.One of: fail (Stop with an error), skip (Skip: create no note and carry on). Default: fail.
Add the contact if newadd_contact_if_missingtrue/false
Beta. With Contact's email: when nobody in HubSpot has that address yet (a first-time payer or booker), add them as a contact and attach the note to them instead of failing. An existing contact is left as it is.
Companycompany_idtext
Company to attach the note to.
Dealdeal_idtext
Deal to attach the note to.
Whennoted_atdate and time
Where the note sits on the record's timeline. Leave empty for now.

Outputs

archivedtrue/false
associated_tolist
contact_idslist
Beta. The record IDs of the contacts the note was put on
contacts_foundnumber
Beta. How many contacts the note was put on
createdtrue/false
Beta. true when the note was created; false when it was skipped because no contact was found (If no contact is found set to skip), and then id is empty
createdAttext
idtext
propertiesobject
updatedAttext
Example output
{
  "archived": false,
  "associated_to": [
    "contacts"
  ],
  "contact_ids": [
    "701"
  ],
  "contacts_found": 1,
  "created": true,
  "createdAt": "2026-07-14T09:20:00.000Z",
  "id": "88010",
  "properties": {
    "hs_note_body": "Left a voicemail about the renewal.",
    "hs_object_id": "88010",
    "hs_timestamp": "1784025600000"
  },
  "updatedAt": "2026-07-14T09:20:00.000Z"
}

Log an email

Record an email on a contact, company or deal, such as one sent from another app, so it shows on their timeline. It records an email; it doesn't send one.

Inputs

SubjectsubjecttextRequired
The email's subject line.
Bodybodytext
The email's text.
Whensent_atdate and time
When the email was sent. Leave empty for now.
Directiondirectiontext
Whether your team sent it, or it is a reply or forwarded email.One of: EMAIL (We sent it), INCOMING_EMAIL (A reply to us), FORWARDED_EMAIL (Forwarded to us). Default: EMAIL.
Statusstatustext
Whether it was sent. Leave empty for Sent.One of: SENT, SCHEDULED, SENDING, BOUNCED, FAILED. Default: SENT.
Fromfrom_emailtext
The address it was sent from.
Toto_emailstext
The addresses it was sent to, separated by commas.
Contactcontact_idtext
The contact to log the email on.
Contact's emailcontact_emailtext
Log the email on the contact with this email address, when you have their email but not the contact; several addresses can be given, separated by commas. The step fails when nobody in HubSpot has any of them. Ignored when a contact is chosen above.
Companycompany_idtext
The company to log the email on.
Dealdeal_idtext
The deal to log the email on.
Ownerowner_idtext
The person on your team the email is logged for.

Outputs

archivedtrue/false
Whether it is deleted; false here
associated_tolist
The kinds of record it was logged on: contacts, companies, deals
contact_idslist
The record IDs of the contacts it was logged on
createdAttext
When it was saved
idtext
The email's record ID
propertiesobject
The email's details as HubSpot saved them
updatedAttext
When it last changed
Example output
{
  "archived": false,
  "associated_to": [
    "contacts"
  ],
  "contact_ids": [
    "701"
  ],
  "createdAt": "2026-11-20T09:05:00.000Z",
  "id": "90021",
  "properties": {
    "hs_email_direction": "EMAIL",
    "hs_email_subject": "Your renewal",
    "hs_email_text": "Thanks for renewing.",
    "hs_timestamp": "2026-11-20T09:00:00Z"
  },
  "updatedAt": "2026-11-20T09:05:00.000Z"
}

Move a deal to a stage

Move a deal to another stage of its pipeline.

Inputs

Dealdeal_idtextRequired
The deal, as an earlier step gave it, or its ID or the address of its page in HubSpot.
StagestagetextRequired
The stage to move the deal to. Beta: its name as HubSpot shows it, such as Closed won or Appointment scheduled (capitals don't matter), works as well as its id. The name is looked up in the deal's own pipeline, so a Closed won in another pipeline is never picked by mistake.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the deal in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:16:40.118Z",
  "id": "4501",
  "properties": {
    "amount": "12000",
    "dealname": "Avery Consulting - annual license",
    "dealstage": "qualifiedtobuy",
    "pipeline": "default"
  },
  "updatedAt": "2026-07-15T08:07:12.664Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
}

Remove a contact from a list

Take a contact off a static list. The contact is kept. Needs the crm.lists.write scope on your key.

Inputs

Listlist_idtextRequired
The static list (one you add people to by hand). Pick it, or give its list ID from the list's page in HubSpot.
Contactcontact_idtextRequired
The contact, as an earlier step gave it, or its ID or the address of its page in HubSpot.

Outputs

contact_idtext
The contact's record ID
list_idtext
The list's ID
removedtrue/false
True when the contact is off the list
Example output
{
  "contact_id": "701",
  "list_id": "123",
  "removed": true
}

Submit a form

Send answers to one of your HubSpot forms, as if a visitor filled it in, such as a sign-up taken on another website. HubSpot records the submission, adds or updates the contact, and sends the form's own notification and follow-up emails. Needs the forms scope on your key.

Inputs

Formform_idtextRequired
The form. Pick it from the list, or paste the long code from the form's address in HubSpot. Needs the forms scope on your key.
AnswersfieldsobjectRequired
The answers by field name, as Get a form's fields names them, such as {"email": "sam@customer.com", "firstname": "Sam"}.
Page addresspage_urltext
The web page the form was filled in on.
Page namepage_nametext
That page's name.

Outputs

fields_sentnumber
How many answers were sent
form_idtext
The form's ID
messagetext
The thank-you message the form shows, if any
redirect_urltext
The page the form sends people to, if any
submittedtrue/false
True when HubSpot took the answers
Example output
{
  "fields_sent": 2,
  "form_id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
  "message": "Thanks for submitting the form.",
  "redirect_url": "",
  "submitted": true
}

Update a company

Change a company's details, such as its name, website or industry.

Inputs

Companycompany_idtextRequired
The company, as an earlier step gave it, or its ID or the address of its page in HubSpot.
Namenametext
Company name
Domaindomaintext
Company website domain
Citycitytext
City
Industryindustrytext
Industry
Phonephonetext
Phone number

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the company in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:14:02.771Z",
  "id": "9001",
  "properties": {
    "city": "Bath",
    "createdate": "2026-07-14T09:14:02.771Z",
    "domain": "averyconsulting.example.com",
    "industry": "CONSULTING",
    "name": "Avery Consulting Group"
  },
  "updatedAt": "2026-07-15T08:05:44.210Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-2/9001"
}

Update a contact

Change a contact's details, such as their name, phone number or company.

Inputs

Contactcontact_idtextRequired
The contact, as an earlier step gave it, or its ID or the address of its page in HubSpot.
Emailemailtext
New email address
First namefirst_nametext
First name
Last namelast_nametext
Last name
Phonephonetext
Phone number
Companycompanytext
Company name
Job titlejob_titletext
Job title
Ownerowner_idtext
Beta. Hand the contact to this person on your team, such as the rep a lead is routed to.
Opted out of marketing emailsopt_out_of_marketing_emailstrue/false
Beta. True stops HubSpot marketing email to this contact (someone who unsubscribed elsewhere), by unsubscribing their email address from all email in HubSpot. It can't be undone from a workflow, and the key needs the communication_preferences.write scope for it. Leave blank to change nothing.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the contact in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:12:33.482Z",
  "id": "701",
  "properties": {
    "company": "Avery Consulting",
    "createdate": "2026-07-14T09:12:33.482Z",
    "email": "jordan.avery@example.com",
    "firstname": "Jordan",
    "jobtitle": "Chief Operating Officer",
    "lastname": "Avery",
    "lifecyclestage": "lead",
    "phone": "+15555550199"
  },
  "updatedAt": "2026-07-15T08:03:19.771Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-1/701"
}

Update a deal

Change a deal's name, amount, close date or owner. Fields left blank keep their current value. To move it to another stage, use Move a deal to a stage.

Inputs

Dealdeal_idtextRequired
The deal, as an earlier step gave it, or its ID or the address of its page in HubSpot.
Deal namedeal_nametext
A new name for the deal.
Amountamountnumber
A new deal value.
Close dateclose_datedate
A new expected close date.
Ownerowner_idtext
The person on your team who should own the deal.

Outputs

archivedtrue/false
createdAttext
idtext
propertiesobject
updatedAttext
urltext
Beta. A link that opens the deal in HubSpot, ready to put in a message or an email, such as https://app.hubspot.com/contacts/1234567/record/0-3/4501. Empty when HubSpot could not say which account is connected.
Example output
{
  "archived": false,
  "createdAt": "2026-07-14T09:16:40.118Z",
  "id": "4501",
  "properties": {
    "amount": "15000",
    "closedate": "2026-10-31",
    "dealname": "Avery Consulting - annual license",
    "dealstage": "qualifiedtobuy",
    "pipeline": "default"
  },
  "updatedAt": "2026-07-16T10:02:51.201Z",
  "url": "https://app.hubspot.com/contacts/1234567/record/0-3/4501"
}

Update a ticket

Change a ticket's subject, description, stage, priority or owner, such as moving it to Closed. Fields left blank keep their value. Needs the tickets scope on your key.

Inputs

Ticketticket_idtextRequired
The ticket, as an earlier step or trigger gave it, or its ID or the address of its page in HubSpot.
Subjectsubjecttext
A new subject.
Descriptiondescriptiontext
A new description.
Stagestagetext
The stage to move it to, such as Closed.
Priorityprioritytext
How urgent it is.One of: LOW, MEDIUM, HIGH.
Ownerowner_idtext
The person on your team who should handle it.

Outputs

closed_attext
When it was closed, blank if open
created_attext
When the ticket was made
descriptiontext
The ticket's description
hubspot_owner_idtext
The owner's ID, blank if nobody owns it
idtext
The ticket's record ID
pipelinetext
The ID of the ticket's pipeline
prioritytext
LOW, MEDIUM or HIGH, or blank
propertiesobject
Every property HubSpot sent for the ticket
stagetext
The ID of the ticket's stage
subjecttext
The ticket's subject
Example output
{
  "closed_at": "",
  "created_at": "2026-11-20T09:00:00.000Z",
  "description": "The box was crushed in transit.",
  "hubspot_owner_id": "555001",
  "id": "88001",
  "pipeline": "0",
  "priority": "HIGH",
  "properties": {
    "content": "The box was crushed in transit.",
    "createdate": "2026-11-20T09:00:00.000Z",
    "hs_pipeline": "0",
    "hs_pipeline_stage": "1",
    "hs_ticket_priority": "HIGH",
    "hubspot_owner_id": "555001",
    "subject": "Order arrived damaged"
  },
  "stage": "4",
  "subject": "Order arrived damaged"
}

On this page