Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

HubSpot

Create and manage contacts, deals, and companies in HubSpot CRM.

CRM and salesOAuth45 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (45)
  4. create-contact
  5. create-deal
  6. update-contact
  7. add_contact_to_list
  8. add-contact-to-workflow
  9. create-associations
  10. create-blog-post
  11. create-company
  12. create-custome-object
  13. create-line-item
  14. create-or-update-contact
  15. create-page
  16. create-product
  17. create-ticket
  18. custom_api_call
  19. delete-page
  20. find-associations
  21. find-company
  22. find-contact
  23. find-custom-object
  24. find-deal
  25. find-line-item
  26. find-product
  27. find-ticket
  28. get-company
  29. get-contact
  30. get-custom-object
  31. get-deal
  32. get-line-item
  33. get-owner-by-email
  34. get-owner-by-id
  35. get-page
  36. get-pipeline-stage-details
  37. get-product
  38. get-ticket
  39. remove-associations
  40. remove-contact-from-list
  41. remove-email-subscription
  42. update-company
  43. update-custome-object
  44. update-deal
  45. update-line-item
  46. update-product
  47. update-ticket
  48. upload-file
  49. Details

Connect

Auth type: OAuth (oauth2). Click Connect and approve access on the provider's page. Appbricx runs the OAuth flow (signed single-use state, PKCE where the provider supports it), stores the tokens encrypted and refreshes them before they expire.

Scopes requested: crm.objects.contacts.readcrm.objects.contacts.writecrm.objects.deals.read

OAuth needs an OAuth app: the platform's when the operator configured one, or your own (admin panel, Integrations, Configure). You can also bring your own credentials.

  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("hubspot", "create-contact", {});
  if (!res.success) throw new Error(res.error);
  ctx.log.info("HubSpot answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "hubspot-create-contact",
  name: "HubSpot: Create Contact",
  description: "Calls HubSpot when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("hubspot", {
      "action": "create-contact"
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/hubspot/create-contact" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{}}'

Actions

create-contactin catalog

Create Contact. Creates a contact in Hubspot.

Also accepted as create_contact.

InputTypeDescription
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

create-dealin catalog

Create Deal. Creates a new deal in Hubspot.

InputTypeDescription
dealnamerequiredtextDeal Name
pipelineIdrequiredid (picked from your account)Deal Pipeline
pipelineStageIdrequiredid (picked from your account)Deal Stage
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

update-contactin catalog

Update Contact. Updates a contact in Hubspot.

Also accepted as update_contact.

InputTypeDescription
contactIdrequiredtextThe ID of the contact to update.
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

add_contact_to_list

Add contact To List. Add contact to list

InputTypeDescription
listIdrequiredid (picked from your account)List ID
emailrequiredtextContact Email

add-contact-to-workflow

Add Contact to Workflow. Adds a contact to a specified workflow in your HubSpot account.

InputTypeDescription
workflowIdrequiredid (picked from your account)Workflow
emailrequiredtextThe email of the contact to add to the workflow.

create-associations

Create Associations. Creates associations between objects

InputTypeDescription
fromObjectIdrequiredtextThe ID of the object being associated.
fromObjectTyperequiredid (picked from your account)The type of the object being associated.
toObjectTyperequiredid (picked from your account)Type of the objects the from object is being associated with.
associationTyperequiredid (picked from your account)Type of the association
toObjectIdsrequiredids (picked from your account)The ID'sof the objects the from object is being associated with

create-blog-post

Create COS Blog Post. Creates a blog post in you Hubspot COS blog.

InputTypeDescription
contentGroupIdrequiredid (picked from your account)Blog URL
authorIdrequiredid (picked from your account)Blog Author
statusrequiredone of "DRAFT" | "PUBLISHED"Publish This Post?
slugrequiredtextThe slug of the blog post. This is the URL of the post on your COS blog.
titlerequiredtextBlog Post Title
bodyrequiredlong textBlog Post Content
metarequiredlong textMeta Description
imageUrlrequiredtextFeatured Image URL

create-company

Create Company. Creates a company in Hubspot.

InputTypeDescription
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

create-custome-object

Create Custom Object. Creates a custom object in Hubspot.

InputTypeDescription
customObjectTyperequiredid (picked from your account)Type of Custom Object
objectPropertiesoptionalobject (depends on other props)Custom Object Properties
additionalPropertiesToRetrieveoptionalobject (depends on other props)Additional Properties to Retrieve

create-line-item

Create Line Item. Creates a line item in Hubspot.

InputTypeDescription
productIdrequiredid (picked from your account)Line Item Information: Product ID
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

create-or-update-contact

Create or Update Contact. Creates a new contact or updates an existing contact based on email address.

InputTypeDescription
emailrequiredtextContact Email
objectPropertiesoptionalobject (depends on other props)Object Properties

create-page

Create Page. Creates a new landing/site page.

InputTypeDescription
pageTyperequiredone of "landing_page" | "site_page"Page Type
pageTitlerequiredtextPage Title
internalPageNamerequiredtextInternal Page Name
templatePathrequiredtextThe path should not include a slash (/) at the start.For example,"@hubspot/elevate/templates/blank.hubl.html".
slugrequiredtextSlug
languageoptionaltextLanguage
metaDescriptionoptionallong textMeta Description
stateoptionalone of "DRAFT" | "PUBLISHED_OR_SCHEDULED"State
headHtmloptionallong textAdditional Head HTML
footerHtmloptionallong textAdditional Footer HTML

create-product

Create Product. Creates a product in Hubspot.

InputTypeDescription
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

create-ticket

Create Ticket. Creates a ticket in HubSpot.

InputTypeDescription
ticketNamerequiredtextThe name of the ticket to create.
pipelineIdrequiredid (picked from your account)Ticket Pipeline
pipelineStageIdrequiredid (picked from your account)Ticket Pipeline Stage
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

custom_api_call

Custom API Call. Make a custom API call to a specific endpoint

InputTypeDescription
urlrequiredobject (depends on other props)url
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
headersrequiredobjectAuthorization headers are injected automatically from your connection.
queryParamsrequiredobjectQuery Parameters
body_typeoptionalone of "none" | "json" | "form_data" | "raw"Body Type
bodyoptionalobject (depends on other props)Body
response_is_binaryoptionalbooleanEnable for files like PDFs, images, etc.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)
followRedirectsoptionalbooleanFollow redirects

delete-page

Delete Page. Deletes an existing landing/site page.

InputTypeDescription
pageTyperequiredone of "landing_page" | "site_page"Page Type
pageIdrequiredtextThe ID of the page to delete.

find-associations

Find Associations. Finds associations between objects

InputTypeDescription
fromObjectIdrequiredtextThe ID of the object you want to search the association.
fromObjectTyperequiredid (picked from your account)The type of the object you want to search the association.
toObjectTyperequiredid (picked from your account)Type of the object the from object is being associated with.

find-company

Find Company. Finds a company by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

find-contact

Find Contact. Finds a contact by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

find-custom-object

Find Custom Object. Finds a custom object by searching.

InputTypeDescription
customObjectTyperequiredid (picked from your account)Type of Custom Object
firstSearchPropertyNamerequiredobject (depends on other props)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalobject (depends on other props)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalobject (depends on other props)Additional Properties to Retrieve

find-deal

Find Deal. Finds a deal by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

find-line-item

Find Line Item. Finds a line item by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

find-product

Find Product. Finds a product by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

find-ticket

Find Ticket. Finds a ticket by searching.

InputTypeDescription
firstSearchPropertyNamerequiredid (picked from your account)First search property name
firstSearchPropertyValuerequiredtextFirst search property value
secondSearchPropertyNameoptionalid (picked from your account)Second search property name
secondSearchPropertyValueoptionaltextSecond search property value
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-company

Get Company. Gets a company.

InputTypeDescription
companyIdrequiredtextThe ID of the company to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-contact

Get Contact. Gets a contact.

InputTypeDescription
contactIdrequiredtextThe ID of the contact to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-custom-object

Get Custom Object. Gets a custom object.

InputTypeDescription
customObjectTyperequiredid (picked from your account)Type of Custom Object
customObjectIdrequiredtextThe ID of the custom object to get.
additionalPropertiesToRetrieveoptionalobject (depends on other props)Additional Properties to Retrieve

get-deal

Get Deal. Gets a deal.

InputTypeDescription
dealIdrequiredtextThe ID of the deal to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-line-item

Get Line Item. Gets a line item.

InputTypeDescription
lineItemIdrequiredtextThe ID of the line item to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-owner-by-email

Get Owner by Email. Gets an existing owner by email.

InputTypeDescription
emailrequiredtextOwner Email

get-owner-by-id

Get Owner by ID. Gets an existing owner by ID.

InputTypeDescription
ownerIdrequiredtextOwner ID

get-page

Get Page. Gets landing/site page Details.

InputTypeDescription
pageTyperequiredone of "landing_page" | "site_page"Page Type
pageIdrequiredtextThe ID of the page to get.

get-pipeline-stage-details

Get Pipeline Stage Details. Finds and retrieves CRM object pipeline stage details.

InputTypeDescription
objectTyperequiredone of "ticket" | "deal"Object Type
pipelineIdrequiredtextPipeline ID
stageIdrequiredtextStage ID

get-product

Get Product. Gets a product.

InputTypeDescription
productIdrequiredtextThe ID of the product to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

get-ticket

Get Ticket. Gets a ticket.

InputTypeDescription
ticketIdrequiredtextThe ID of the ticket to get.
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

remove-associations

Remove Associations. Removes associations between objects

InputTypeDescription
fromObjectIdrequiredtextThe ID of the object you want to remove the association from.
fromObjectTyperequiredid (picked from your account)The type of the object you want to remove the association from.
toObjectTyperequiredid (picked from your account)Type of the currently associated objects that you're removing the association from.
associationTyperequiredid (picked from your account)Type of the association
toObjectIdsrequiredids (picked from your account)The IDs of the currently associated objects that you're removing the association from.

remove-contact-from-list

Remove Contact from List. Remove a contact from a specific list.

InputTypeDescription
listIdrequiredid (picked from your account)List ID
emailrequiredtextContact Email

remove-email-subscription

Remove Email Subscription. Removes email subscription.

InputTypeDescription
emailrequiredtextEmail

update-company

Update Company. Updates a company in Hubspot.

InputTypeDescription
companyIdrequiredtextThe ID of the company to update.
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

update-custome-object

Update Custom Object. Updates a custom object in Hubspot.

InputTypeDescription
customObjectTyperequiredid (picked from your account)Type of Custom Object
customObjectIdrequiredtextThe ID of the custom object to update.
objectPropertiesoptionalobject (depends on other props)Custom Object Properties
additionalPropertiesToRetrieveoptionalobject (depends on other props)Additional Properties to Retrieve

update-deal

Update Deal. Updates a deal in HubSpot.

InputTypeDescription
dealIdrequiredtextThe ID of the deal to update.
dealnameoptionaltextDeal Name
pipelineIdoptionalid (picked from your account)Deal Pipeline
pipelineStageIdoptionalid (picked from your account)Deal Stage
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

update-line-item

Update Line Item. Updates a line item in Hubspot.

InputTypeDescription
lineItemIdrequiredtextThe ID of the line item to update.
productIdoptionalid (picked from your account)Line Item Information: Product ID
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

update-product

Update Product. Updates a product in Hubspot.

InputTypeDescription
productIdrequiredtextThe ID of the product to update.
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

update-ticket

Update Ticket. Updates a ticket in HubSpot.

InputTypeDescription
ticketIdrequiredtextThe ID of the ticket to update.
ticketNameoptionaltextTicket Name
pipelineIdoptionalid (picked from your account)Ticket Pipeline
pipelineStageIdoptionalid (picked from your account)Ticket Pipeline Stage
objectPropertiesoptionalobject (depends on other props)Object Properties
additionalPropertiesToRetrieveoptionalids (picked from your account)Additional properties to retrieve

upload-file

Upload File. Uploads a file to HubSpot File Manager.

InputTypeDescription
folderIdrequiredid (picked from your account)Folder
fileNamerequiredtextFile Name
accessLevelrequiredone of "PUBLIC_INDEXABLE" | "PUBLIC_NOT_INDEXABLE" | "PRIVATE"Access Level
filerequiredfileFile

Details

Id
hubspot
Category
CRM and sales
Tags
crm, sales, contacts, deals, marketing
Package
@activepieces/piece-hubspot@0.8.4
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (45)
  4. create-contact
  5. create-deal
  6. update-contact
  7. add_contact_to_list
  8. add-contact-to-workflow
  9. create-associations
  10. create-blog-post
  11. create-company
  12. create-custome-object
  13. create-line-item
  14. create-or-update-contact
  15. create-page
  16. create-product
  17. create-ticket
  18. custom_api_call
  19. delete-page
  20. find-associations
  21. find-company
  22. find-contact
  23. find-custom-object
  24. find-deal
  25. find-line-item
  26. find-product
  27. find-ticket
  28. get-company
  29. get-contact
  30. get-custom-object
  31. get-deal
  32. get-line-item
  33. get-owner-by-email
  34. get-owner-by-id
  35. get-page
  36. get-pipeline-stage-details
  37. get-product
  38. get-ticket
  39. remove-associations
  40. remove-contact-from-list
  41. remove-email-subscription
  42. update-company
  43. update-custome-object
  44. update-deal
  45. update-line-item
  46. update-product
  47. update-ticket
  48. upload-file
  49. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

Ā© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use