This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Gravity Forms HubSpot Add-on


This plugin requires the Gravity Forms plugin. Don’t use Gravity Forms? Get the plugin, then start using this great plugin!



  • WordPress 2.8+
  • PHP 5+ (Recommended)
  • HubSpot Account

Integrate Gravity Forms with HubSpot

Add one setting, check a box when configuring your forms, and all your form entries will be added to HubSpot from now on. Integrating with HubSpot has never been so simple.

In order for the lead data to go from Gravity Forms to HubSpot you must also configure the Lead API for the form on the HubSpot side.

  1. Log in to HubSpot
  2. Go to Setting –> Lead API
  3. Add New Form
  4. Give the form the exact same name as the Gravity Form
  5. Add an email address for notification
  6. Click submit
  7. You’re done

Gravity Forms & HubSpot: A Powerful Combination

This free HubSpot add-on for Gravity Forms feeds leads into HubSpot automatically, making lead generation with Gravity Forms simple. The setup process takes less than three minutes, and your forms will be linked with HubSpot.

Custom Field support

Read the FAQ for information on how to integrate with Custom Fields.


  • HubSpot for Gravity Forms settings page
  • HubSpot integration indicator in form listing
  • It's easy to integrate Gravity Forms with HubSpot: check a box in the "Advanced" tab of a form's Form Settings


  1. Upload plugin files to your plugins folder, or install using WordPress’ built-in Add New Plugin installer
  2. Activate the plugin
  3. Go to the plugin settings page (under Forms > HubSpot)
  4. Enter the information requested by the plugin.
  5. Click Save Settings.
  6. If the settings are correct, it will say so.
  7. Follow on-screen instructions for integrating with HubSpot.


How do I set a custom Lead Source?

This feature uses gf_hubspot_lead_source is the filter.

Add the following to your theme’s functions.php file. Modify as you see fit:

add_filter('gf_hubspot_lead_source', 'create_lead_source', 1, 3);

function create_lead_source($lead_source, $form_meta, $data) {
    // $lead_source - What was about to be used (normally Gravity Forms Form Title)
    // $form_meta - Gravity Forms form details
    // $data - The data to be passed to HubSpot via Lead API

    return $lead_source; // Return something else if you want to.
Can I use HubSpot Custom Fields?

When you are trying to map a custom field, you need to set either the “Admin Label” for the input (in the Advanced tab of each field in the Gravity Forms form editor) or the Parameter Name (in Advanced tab, visible after checking “Allow field to be populated dynamically”) to be the field name of the custom field as shown in HubSpot. For example, a Custom Field with a Field Label “Web Source” could have an Lead API Name of “WebSource” or “SfCampaignId” or “HS_WS_Forms” or something else entirely.

You can find your custom fields in the HubSpot Form Manager.

For more information on custom fields, sread this Help Article

Does this plugin require Gravity Forms?

Yes, this plugin extends the amazing Gravity Forms plugin. Don’t use Gravity Forms? Buy the plugin and start using this add-on plugin!

What’s the license for this plugin?

This plugin is released under the GPL compatible MIT License.

What are my support options

At present there is no specified support. Once a non-beta version is released support options will be provided.

Contributors & Developers

“Gravity Forms HubSpot Add-on” is open source software. The following people have contributed to this plugin.




  • Initial release