Top companies trust Zapier to automate work that solves their unique business problems—no coding required.
How Zapier works
Zapier makes it easy to integrate HubSpot with PostHog - no code necessary. See how you can get setup in minutes.
100%
Help
HubSpot
HubSpot
1. Choose trigger event
PostHog
PostHog
2. Choose action
1. Select the event
Setup
Test
HubSpot
Choose a trigger event
Choose a trigger
A trigger is the event that starts your Zap—like a "New Company" from HubSpot.
Add your action
An action happens after the trigger—such as "Capture Event" in PostHog.
You’re connected!
Zapier seamlessly connects HubSpot and PostHog, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
Halt my task if contact is already a member of the list
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Company
Creates a Company in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Associations
Creates associations between objects.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Halt task if any associations error occurred
Engagement Type
Required
Assigned To
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Social Media Channel
Required
Message Content
Required
When
Save as draft
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Note
Name
Required
Company
Contact
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Delete CRM Object
Deletes a CRM object from HubSpot
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Company ID
Required
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Type of Custom Object
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Product ID
Required
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Line_item
Creates a Line_item in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Contact Email Address
Required
Event ID
Required
Contact Value
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Get CRM Object
Gets a CRM object from HubSpot by ID
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
List Name
Required
Contact
Required
Halt my task if contact wasn't a member of the list
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Ticket
Creates a Ticket in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Contact
Update a Contact in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Line_item
Update a Line_item in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Product
Update a Product in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Type of Custom Object
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Folder
Required
Filename
Required
Access level
Required
File
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Api_docs_info
Stop on error
Required
HTTP Method
Required
URL
Required
Query string parameters
Additional request headers
Body
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Name
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Name
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Find Associations
Find associations between objects.
Action
This is an event a Zap performs.
Search
Find existing data in your app
Object Type
Required
Pipeline Id
Required
Stage Id
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Owner Id
Required
Search among deactivated owners
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Name
Required
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Name
Required
Note
Company
Contact
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Organization
Required
Project
Required
Event Name
Required
User PostHog Distinct ID
Required
Event Properties
Timestamp
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
For AI agents & developers
Use HubSpot and PostHog with AI agents and code
Beyond Zap workflows. Call HubSpot and PostHog actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
No code
Connect via Zapier MCP
Expose HubSpot and PostHog actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Update Contact Subscription Preferences
Capture Event
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023
93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap
Practical ways you can use HubSpot and PostHog
Track user actions for new form submissions
When a new form submission is recorded in HubSpot, Zapier captures the relevant event in PostHog. This helps business owners correlate marketing activities with user behaviors, enhancing insights into lead engagement and decision-making.
Zapier automatically creates a project in PostHog when a deal is updated in HubSpot. Engineers can align better with business goals by ensuring new projects are tied to recently closed deals.
Zapier ensures that every new deal created in HubSpot is instantly captured as an event in PostHog. This helps marketing teams measure the effectiveness of campaigns and understand their impact on deal closures.
Level up your HubSpot to PostHog integration with AI. Extract, summarize, and transform your integration data with leading AI models like OpenAI, Anthropic, and more.
Frequently Asked Questions about HubSpot + PostHog integrations
New to automation with Zapier? You're not alone. Here are some answers to common questions about how Zapier works with HubSpot and PostHog
What is the first step to integrate HubSpot with PostHog?
To begin integrating HubSpot with PostHog, first, ensure you have access to both your HubSpot and PostHog accounts. You'll need API keys for both platforms. Go to your HubSpot dashboard and navigate to 'Integrations' where you'll find the option to generate the API key required for triggering actions in PostHog.
Can I trigger events in HubSpot from PostHog?
Yes, you can set up triggers in PostHog that will initiate specific events or actions in HubSpot. For example, a completed feature tour tracked in PostHog can automatically update a contact's status or propagate a workflow in HubSpot.
How do we handle data mapping between HubSpot and PostHog?
We provide a user-friendly interface where you can define data mappings between fields in HubSpot and events or properties within PostHog. Ensure that critical identifiers like email addresses or user IDs are consistently mapped so actions trigger correctly across both platforms.
Is it possible to update contact details in HubSpot via an event tracked on PostHog?
Yes, by mapping relevant events on PostHog such as form submissions or feature engagement, you can automatically update contact details within your HubSpot CRM based on these interactions.
Are there specific limitations when integrating custom fields from HubSpot into PostHog?
While most standard fields integrate seamlessly, some advanced custom fields might require additional configuration for triggers and actions to be properly recognized within our system.
Which types of workflows benefit most from this integration?
Workflows involving lead scoring, nurturing campaigns, and customer feedback loops benefit substantially. Triggers set on user behavior analytics from PostHog feed valuable real-time data into your workflows defined in HubSpot.
What should I do if my integration workflow is not triggering as expected?
First, check if the necessary triggers are configured correctly on both platforms. Verify all mappings and API keys are active and valid. Our support team is also available to help troubleshoot specific issues related to integration workflows not activating correctly.
About HubSpot
HubSpot is your all-in-one stop for all of your marketing software needs.
App Builder, CRM (Customer Relationship Management), Forms & Surveys, Zapier
About PostHog
PostHog is the single platform for building successful products. Open-source product analytics, web analytics, session replay, feature flags, surveys, and more.