Integration Guide

HubSpot Integration - FormFlow

Deploy complex forms instantly

Connect Your HubSpot Account View API Documentation

Setup Steps

Connect your FormFlow workspace to HubSpot in under four minutes. Our native integration uses OAuth 2.0 for secure, token-based authentication without exposing your client secrets.

Start by generating a private app in your HubSpot developer portal. Copy the client ID and secret into FormFlow’s integration dashboard. Once verified, FormFlow automatically provisions a dedicated webhook endpoint at `hooks.formflow.app/v1/hubspot` to capture form submissions in real time.

1. Generate HubSpot Private App

Navigate to Settings > Integrations > Private Apps in HubSpot. Enable scopes `crm.objects.contacts.write` and `forms.read`. Save and copy your Client ID.

2. Authenticate in FormFlow

Paste your Client ID into the FormFlow dashboard under Integrations > HubSpot. Click “Authorize” to complete the OAuth handshake. Your portal ID will auto-populate.

3. Verify Webhook Connection

Submit a test entry using the “Ping Integration” button. FormFlow will push a payload to `webhooks.formflow.app/hubspot/verify` and return a 200 OK status within 800ms.

Field Mapping

Align FormFlow input fields with HubSpot contact and company properties using our drag-and-drop mapper. Mismatched data types are flagged before submission to prevent sync failures.

FormFlow supports native mapping for 140+ standard HubSpot properties. For custom fields, append your `property_name` exactly as it appears in HubSpot’s schema. Date fields automatically convert to ISO 8601 format, while multi-select inputs sync as comma-separated strings compatible with HubSpot’s `multi-select` type.

Contact Properties

Map `first_name`, `last_name`, `email`, and `phone` directly to HubSpot’s core contact object. FormFlow enforces required field validation before pushing to prevent partial records.

Custom Objects & Associations

Link form submissions to custom objects like `Deal` or `Ticket` using association mapping. Provide the target object ID in the `hubspot_association_id` field to maintain relational integrity.

Data Transformation Rules

Apply built-in transformers like `uppercase()`, `trim()`, or `currency_format()` to clean inputs before sync. Enable “Fail Gracefully” to route malformed payloads to a dead-letter queue instead of breaking the workflow.

Automation

Trigger HubSpot workflows directly from FormFlow submissions. Configure lifecycle stage transitions, task assignments, and multi-channel notifications without writing a single line of code.

When a form is submitted, FormFlow pushes a structured event to your designated workflow trigger. You can set conditional branches based on field values like `budget_range` or `timeline`. Enable exponential backoff retry logic (up to 5 attempts) to guarantee delivery during HubSpot API throttling windows.

Workflow Triggers & Conditions

Map FormFlow fields to HubSpot workflow conditions. Route high-intent leads (e.g., `company_size > 500`) to your sales team’s Slack channel and auto-assign a task to the regional account executive.

Lifecycle Stage Updates

Automatically advance contacts from `Subscriber` to `Marketing Qualified Lead` upon form completion. FormFlow respects HubSpot’s stage hierarchy and prevents downgrades unless explicitly configured.

Error Handling & Alerts

Set up monitor alerts for sync failures, duplicate submissions, or schema mismatches. FormFlow’s dashboard logs every payload with a unique `submission_id` for instant debugging.

Configure Workflows Download Integration Checklist