HubSpot Source Integration
Step-by-step guide to configure HubSpot as a data source that sends form submissions and meeting events to Ours Privacy for privacy-focused analytics.
Set up HubSpot as a data source so your HubSpot account automatically sends form submissions and meeting events to Ours Privacy for analytics and event tracking built for HIPAA-regulated workflows.
Note: If you're looking to send data to HubSpot from Ours Privacy (updating contacts in HubSpot based on visitor events), please see our HubSpot Destination Integration instead.
Requirements
Before you begin, ensure you have:
- An active HubSpot account with admin access
- Access to HubSpot Workflows
- An Ours Privacy Account
Setup Steps
1. Create a Source in Ours Privacy
- Log in to your Ours Privacy dashboard
- Navigate to Sources > Add source
- Search for "HubSpot" in the source catalog
- Click on the HubSpot CRM source to begin setup
2) Authenticate with HubSpot
- In the HubSpot source setup screen, click Authenticate with HubSpot
- You'll be redirected to HubSpot's authorization page
- Select the HubSpot account you want to connect
- Grant the necessary permissions to Ours Privacy
- You'll be redirected back to Ours Privacy once authentication is complete

3. Configure HubSpot Workflows
- In HubSpot, navigate to Automation > Workflows
- Create a new workflow or edit an existing one
- Under Actions, look for the "Integrated apps" section
- Find and select Ours Privacy
- Click Add action to add the "Send event to Ours Privacy" action

4. Configure Event Settings
For each event you want to send to Ours Privacy, you'll need to configure:
- Action Key: A unique identifier for this specific event (e.g., "form_submission", "meeting_scheduled")
- JSON Payload: The data structure you want to send to Ours Privacy, which can include:
- Contact properties
- Custom fields
- Event metadata
Example JSON payload:
{
"email": "{{contact.email}}",
"firstName": "{{contact.firstname}}",
"eventType": "form_submission",
"formId": "{{form.id}}",
"submissionDate": "{{submission.date}}"
}Note: You will need to replace the bracketed variables above with the variables HubSpot gives you in their Workflow tool

Data Mapping
Each event sent from HubSpot can be mapped differently in Ours Privacy. When configuring your events:
- Use descriptive Action Keys to easily identify different event types
- Structure your JSON payload to match your data requirements
- Use HubSpot's property placeholders (e.g.,
{{contact.email}}) to dynamically insert data
Best Practices
- Create separate workflow actions for different types of events
- Use clear, consistent naming conventions for Action Keys
- Test your workflow in HubSpot's test mode before activating
- Monitor event delivery in Ours Privacy's event logs
Troubleshooting
If events aren't appearing in Ours Privacy:
- Verify the workflow is activated in HubSpot
- Check the JSON payload syntax
- Ensure all required fields are included
- Review the authentication status in both platforms
- Ensure that your source is published and enabled
How is this guide?

