Skip to content

WordPress forms + CRM — HubSpot, Salesforce, Pipedrive integration

When a WordPress contact form stops sending leads to your CRM (customer relationship management system) such as HubSpot, Salesforce or Pipedrive, the cause is almost always one of four problems. You will be able to tell which one it is and fix it so every new lead reaches your sales team again.

If your WordPress site sends form submissions into a CRM (customer relationship management system) such as HubSpot, Salesforce or Pipedrive, here is how to find out why some of them never arrive. The problem is usually quiet. The form saves the entry and the visitor sees a thank-you page, but sales opens the CRM and finds nothing. Almost every case comes down to four causes. The first is an expired OAuth token, the access key the form plugin uses to sign in to the CRM, that was never renewed. The second is field mapping drift: someone added or renamed a field in the CRM, and the plugin still sends data to the old one. The third is a duplicate-detection rule in the CRM that rejects the lead without telling WordPress. The fourth is a webhook timeout, where the automatic request the plugin sends to the CRM takes too long on a busy site and gets dropped. The sections below show you how to check each one and make the integration harder to break.

What’s happening

Each form plugin connects to the CRM via OAuth (HubSpot, Salesforce) or API key (Pipedrive). On submission, the plugin maps form fields to CRM fields and POSTs the lead through the CRM’s API. CRMs return success with metadata or failure with a reason — but the form plugin only sometimes surfaces the failure to the entry record. When the CRM auto-deduplicates by email, an existing contact’s record is updated instead of created, and the new submission’s notes or custom fields may not write at all. When a CRM field was added or renamed, the plugin’s stored mapping references the old field and submits null.

How to verify

Pull the integration log from the form plugin and the API audit log from the CRM side:

wp db query "SELECT id, form_id, status, response FROM wp_ff_submission_meta WHERE meta_key='integration_log' AND response NOT LIKE '%success%' LIMIT 20;"
wp eval 'echo get_option("wpforms_hubspot")["refresh_token_expires"] ?? "no expiry stored";'
wp eval 'print_r(get_option("gf_salesforce_settings")["last_error"] ?? "none");'
tail -f wp-content/debug.log | grep -iE "hubspot|salesforce|pipedrive"

In HubSpot, open the API call log under Settings > Integrations > Private Apps > Logs. In Salesforce, check Setup > Environments > Logs > API Usage. In Pipedrive, check Settings > API > Recent Calls. Look for 4xx responses tied to the WordPress IP.

The fix

  1. OAuth refresh schedule: HubSpot tokens last 6 hours, Salesforce up to 24 hours depending on connected app config. Form plugins should auto-refresh; confirm by reconnecting and noting the new expiry. If the plugin does not refresh, switch to a private app with a long-lived token where the CRM supports it.
  2. Lock the field schema: in the CRM, do not rename or delete custom fields without updating WordPress in the same change. Each form’s CRM mapping needs an explicit “test” run after any field change in the CRM.
  3. Audit duplicate rules: in HubSpot, the default duplicate rule matches on email — a returning visitor’s submission updates rather than creates, and downstream automation may not trigger. In Salesforce, Duplicate Rules and Matching Rules need explicit configuration. Document which rules apply to inbound web leads.
  4. Set webhook timeouts: form plugins call the CRM synchronously by default. If the CRM takes 30 seconds to respond, the visitor’s form submission times out. Switch to async mode (Fluent Forms supports this) or queue the API call via WP-Cron.
  5. Failure replay: when integration logs show failures, every plugin in this list has a “retry” or “resend to integration” button on the entry. Build a routine to scan failed feeds weekly and replay them.
  6. Two-way reconciliation: monthly, export WordPress form entries for the period, export new CRM contacts created via API for the same period, diff. Missing rows in the CRM are leads that were lost in the gap.

For WordPress sites where the form-to-CRM pipeline is the top of the funnel, this integration is core infrastructure and lives inside our enterprise WordPress hosting scope. To harden your CRM integration and add reconciliation, book a scoping call.