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.
Create a new record or update an existing record in your app.
Note
Name
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Contact
Creates 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.
Create CRM Object
Creates a CRM object in HubSpot
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
Object Type
Required
Processing Type
Required
Folder ID
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.
Create Deal
Creates a Deal in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Workflow Name
Required
Contact's Email
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Contact 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.
Deal 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.
Line_item 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.
Ticket 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.
Note
Blog URL
Required
Blog Author
Required
Publish This Post?
Required
Blog Post URL
Required
Blog Post Title
Required
Blog Post Content
Required
Meta Description
Required
Featured image URL
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Product
Creates 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.
Remove Associations
Removes 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
Form
Required
Note
HubSpot usertoken
IP address
Page name
Page URI
Page ID
SFDC campaign ID
GoToWebinar key/ID
Submission timestamp
Skip validation
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Company
Update 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.
Update Deal
Update a Deal in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update CRM Object
Updates a CRM object in HubSpot
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Ticket
Update 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.
Note
Email
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Note
Contact Email
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Find CRM Object
Finds CRM objects by searching with filters
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
Type of Custom Object
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
Owner email
Required
Search among deactivated owners
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.