All about HubSpot
HubSpot: Get customers from HubSpot
Get contacts and their companies from HubSpot, filtered by pipeline and lifecycle stage, and send them to another application.
Updated November 9, 2026
This flow gets customers from HubSpot and sends them to another application, for example accounting software or an ERP system. APIcenter gets contacts together with the company they are linked to: together they form one customer.
How it works
- APIcenter searches for contacts in the pipeline and lifecycle stage that you set. By default, these are the pipeline
contacts-lifecycle-pipelineand the stagecustomer. - APIcenter only gets contacts that changed after the date you set, the oldest change first. In each run, APIcenter gets at most the amount you set, by default 10. After each run, APIcenter sets the date to the modification date of the last contact. If you set the date back, APIcenter gets contacts again.
- For each contact, APIcenter gets the linked company. The company becomes the customer, with the contacts that belong to it.
- Does a contact have no company? Then the contact becomes a customer on its own, with the company name from the
companyfield of the contact and the e-mail address of the contact as e-mail address. - The e-mail address of the customer is in the company property that you set in the field for the e-mail address of the company. By default, this is
company_email. - By default, APIcenter sends the company name, e-mail address, address, phone number, the lifecycle stage as status and the linked contacts. You add more fields under Data mapping.
- After getting the data, APIcenter can update the pipeline and lifecycle stage of the companies and contacts it got. You do this with the settings for the pipeline for companies, the stage for companies, the pipeline for contacts and the stage for contacts. If you leave them empty, nothing is updated.
What you need first
- HubSpot is connected to APIcenter. See Connect HubSpot to APIcenter.
- There are contacts in HubSpot in the pipeline and lifecycle stage that you filter on.
- The company property for the e-mail address exists in HubSpot. By default, this is
company_email. - The other application in the integration can receive customers.
Tips
- Is a customer missing in the target system? Check if the contact changed after the date you set and if it is in the right pipeline and lifecycle stage. If not, change the date or the filter.
- Do you have a backlog? Increase the number of records per run. You can choose a number from 1 up to and including 15.
- Do you need customer fields that are not sent by default? Add them under Data mapping.
Below you find all settings of this flow, each with its own explanation.
Settings
The settings you see in the dashboard, with what each one does.
Field to use as company email
Customer SettingsThe name or label of the company property in HubSpot that holds the e-mail address of the company. Default: company_email. APIcenter uses this e-mail address to recognize a company and to identify the customer in the activities. If the property does not exist in HubSpot, the flow stops with an error message, unless Create missing properties in the target system is on: then APIcenter creates the property. This field is required. When sending, the e-mail address in the data mapping must go to the same property.
Lifecycle stage to set for companies
Customer SettingsThe lifecycle stage for companies, as the name or ID of the stage in HubSpot (uppercase and lowercase letters do not matter). Default: customer. For Send Customer and Send Sales Order, the companies that APIcenter sends get this stage; this is required, unless you only process contacts. For Get Customer and Get Sales Order, APIcenter updates the companies it got to this stage after getting them; if you leave the field empty, nothing is updated. According to HubSpot, the standard tools can only move the lifecycle stage forward; for an earlier stage, the value must be cleared first. Test this with an example.
Lifecycle stage to set for contacts
Customer SettingsThe lifecycle stage for contacts, as the name or ID of the stage in HubSpot (uppercase and lowercase letters do not matter). Default: customer. For Send Customer and Send Sales Order, the contacts that APIcenter sends get this stage; this is required. For Get Customer and Get Sales Order, APIcenter updates the contacts it got to this stage after getting them; if you leave the field empty, nothing is updated. According to HubSpot, the standard tools can only move the lifecycle stage forward; for an earlier stage, the value must be cleared first. Test this with an example.
Pipeline to set for companies
Customer SettingsThe pipeline for companies. Enter the name or ID of the pipeline in HubSpot; uppercase and lowercase letters do not matter. Default: companies-lifecycle-pipeline. For Send Customer and Send Sales Order, APIcenter sets this pipeline and the lifecycle stage for companies on the companies that it sends. This is required, unless you only process contacts (Only process contact information). For Get Customer and Get Sales Order, APIcenter updates the companies it got to this pipeline and stage after getting them; if you leave the fields empty, nothing is updated. Always fill in the pipeline and the stage together.
Pipeline to set for contacts
Customer SettingsThe pipeline for contacts. Enter the name or ID of the pipeline in HubSpot; uppercase and lowercase letters do not matter. Default: contacts-lifecycle-pipeline. For Send Customer and Send Sales Order, APIcenter sets this pipeline and the lifecycle stage for contacts on the contacts that it sends. For Get Customer and Get Sales Order, APIcenter updates the contacts it got to this pipeline and stage after getting them; if you leave the fields empty, nothing is updated. Always fill in the pipeline and the stage together.
Name or id of the pipeline
FiltersThe pipeline that APIcenter filters on when getting data. Enter the name or ID of the pipeline in HubSpot; uppercase and lowercase letters do not matter. For Get Customer, APIcenter filters contacts on this pipeline; the default is contacts-lifecycle-pipeline, the lifecycle pipeline of contacts. For Get Sales Order, APIcenter only gets deals that are in this pipeline. If the pipeline or a stage cannot be found in HubSpot, the flow stops with an error message. This setting is required.
Use contact lifecycle stage
FiltersThe lifecycle stage that APIcenter filters on when getting customers. Only contacts in this stage are retrieved. Enter the name or ID of the stage in HubSpot; uppercase and lowercase letters do not matter. Default: customer. This setting is required. If you want to get contacts in another stage, change this setting.
Enable URL Encoding of data in the endpoints of the source application
General flow settingEnable URL Encoding of data in the endpoints of the target application
General flow settingEnable URL encoding of data in endpoints
General flow settingTurns on URL encoding for values that APIcenter puts in the URL of a request to HubSpot. This prevents errors with special characters such as spaces, slashes or ampersands. In HubSpot, search values such as an e-mail address, SKU or deal name are in the content of the request and not in the URL; the URL only contains IDs and object types. So you rarely need this. This is the main switch: values are only encoded if you also turn on Enable URL Encoding of data in the endpoints of the source application (when getting) or Enable URL Encoding of data in the endpoints of the target application (when sending). Default: off.
Use administration mapping table
General flow settingThis setting has no effect for HubSpot. The data that APIcenter exchanges with HubSpot has no administration field, so there is nothing to map. Leave this setting off (default).
What to do with a value that cannot be mapped using the mapping table
General flow settingThis setting has no effect for HubSpot, because the data that APIcenter exchanges with HubSpot has no administration field. Leave it as it is.
Notifications Email address
NotificationsNotifications Slack webhook
NotificationsNotifications frequency
NotificationsReceive Notifications
NotificationsAmount to process
Run behaviourThe maximum number of contacts, products or deals that APIcenter gets from HubSpot in each run. The default value is 10; you can choose a number from 1 up to and including 15. APIcenter gets the oldest changed records first. With a higher number, you clear a backlog faster, but each run takes longer.
The date and time from which APIcenter gets contacts (Get Customer) or products (Get Product) from HubSpot. APIcenter only gets records that changed after this moment, the oldest change first. After each run, APIcenter sets the date to the modification date of the last record it got, so normally you do not need to change it. If you set the date back in time, APIcenter gets those records again and passes them on again. Default: 2025-01-01T00:00:00.
Last execution time
Run behaviourMaximum number of pages to retrieve
Run behaviourIn practice, this setting has no effect for HubSpot. The HubSpot flows ask for one list per run with their own limit (when getting data, this is Amount to process) and do not read extra pages. The default value is 20; you do not need to change it.
Offset
Run behaviourThis setting has no effect for HubSpot. Get Customer keeps track of where the flow stopped with the date from which contacts are retrieved, not with an offset. The default value is 0; you do not need to change it.
Run at specific times
Run behaviourUse page size
Run behaviourIn practice, this setting has no effect for HubSpot. The HubSpot flows decide themselves how many records they ask for per request: when getting data, this is Amount to process. The default value is 50; you do not need to change it.