HubSpot
Connect HubSpot to send enquiries to the records your team manages. You need access to configure the form in Craft and credentials for the destination account. The steps below establish the connection; finish by sending a test submission to verify the result.
Step 1. Create the Integration
- Navigate to Formie → Settings → CRM.
- Click the New Integration button.
- Select HubSpot as the Integration Provider.
Step 2. Connect to the HubSpot API
- Go to HubSpot and login to your account.
- Click on the settings icon on the top-right of the screen.
- In the left-hand sidebar menu, click on Integrations → Private Apps.
- Click the Create a private app button.
- Fill out the details, and click the Scopes tab. Select the following scopes:
crm.lists.readcrm.objects.companies.readcrm.objects.companies.writecrm.objects.contacts.readcrm.objects.contacts.writecrm.objects.deals.readcrm.objects.deals.writecrm.schemas.custom.readticketsforms
- Click the Create App button in the top right.
- In the dialog box, review the info about your app's access token, then click Continue creating.
- Copy the Access Token from HubSpot and paste in the Access Token field in Formie.
Step 3. Disable Automatic Form Collection
- In HubSpot, click on the Settings cog icon in the top right-hand of the screen.
- In the left-hand sidebar menu, click on Marketing → Forms.
- Click the Non-Hubspot Forms button.
- For Collect data from website forms ensure that this is switched to Off.
Step 4. Test Connection
- Save this integration.
- Click on the Refresh button in the right-hand sidebar.
Step 5. Form Setting
- Go to the form you want to enable this integration on.
- Click the Integrations tab.
- In the left-hand sidebar, select the name you gave the integration.
- Choose the data objects (record types) you want to use, and enable their mapping options where available.
- Map the required destination fields using the variable picker. Follow the requirements shown for each selected record type.
- Enable the integration.
- Click Save to save the form.
For a contact enquiry, map the visitor’s email and name where those fields are available.
Custom Objects (Enterprise)
When using Map to Form with HubSpot custom object properties, Formie fetches your portal’s custom object schemas when you refresh HubSpot forms. Form fields are mapped using the correct objectTypeId (for example 2-21479350) automatically.
Ensure your private app includes the crm.schemas.custom.read scope, and refresh HubSpot forms after creating or changing custom objects in HubSpot.
Verify a Submission
Save the form, open it on your site and submit recognisable test values. Find the test record in the selected CRM destination. Check the mapped values and whether the integration created a record or updated an existing one as intended.
If nothing arrives, check whether integration conditions matched, whether the submission was complete and non-spam, and whether Craft’s queue has processed the job. A successful connection check verifies credentials; it does not prove that field mapping and delivery work. See Connect and Test an Integration for a complete mapping and verification workflow.