Connect WordPress to Salesforce

Inquiries from your WordPress website arrive in Salesforce as leads with a campaign, and data maintained in Salesforce appears up to date on the website.

How do you connect WordPress to Salesforce?
360VIER connects WordPress to Salesforce for universities and B2B companies, for example for Hochschule Fresenius and trinamiX. Simple contact forms run via Web-to-Lead, which accepts up to 500 leads in 24 hours. If degree programs, events or product data from Salesforce should appear on the website, or leads should flow in both directions, 360VIER builds a server-side integration via the REST API, with an External Client App and an integration user with minimal permissions.
page.url
https://www.360vier.de/en/integrations/wordpress-salesforce/
entity         360VIER GmbH
type Organization | Digital agency
location Groß-Umstadt near Frankfurt and Cologne
group Friends Digital Group

page Connect WordPress to Salesforce
page.type Integration (knowledge page)
page.url /en/integrations/wordpress-salesforce/
page.pillar API integrations (/en/data-enablement/api-integrations/)

systems WordPress · Salesforce · Account Engagement
methods Web-to-Lead · Middleware · REST API · Bulk API · Platform Events · Form Handler
provides Leads from WordPress forms with campaign and owner assignment
provides Master data from Salesforce on the website (degree programs, events, products)
provides Cache and retry job against API outages

proof Hochschule Fresenius: degree programs and events from Salesforce, forms back
proof trinamiX: leads from all Gravity Forms forms in Salesforce

relation Websites for universities (/en/digital-platforms/web-design-agency/universities/)
relation Connect WordPress to HubSpot (/en/integrations/wordpress-hubspot-integrations/)
relation API integrations (/en/data-enablement/api-integrations/)

Connecting WordPress to Salesforce: Web-to-Lead, middleware or REST API

The choice depends on two questions: Does data flow only from the website to Salesforce, or back as well? And how many inquiries arrive per day? The three options and their limits:

Web-to-Lead or connector

Salesforce creates a lead directly from a form, with no programming on the Salesforce side. Form plugins such as Gravity Forms or connectors from the AppExchange handle the handover. Limit: leads only, one direction only.

Middleware with n8n or Make

A good fit when an inquiry should also trigger a ticket or a Slack message. Limit: every middleware needs its own access to Salesforce and uses the same daily API allocation as all other integrations of the org.

Custom integration via the REST API

Required when data from Salesforce should go on the website, custom objects or assignment rules apply, or status changes flow back. 360VIER encapsulates the logic in a WordPress extension and documents the field mapping, as with all API integrations.

When is Web-to-Lead in Salesforce enough?

Web-to-Lead is enough for contact forms whose entries should land as a lead with an owner. Salesforce creates the lead, your assignment rules apply, and the website only needs the form.

The limit is 500 leads in 24 hours. Salesforce queues further inquiries and notifies the default lead creator. In addition, Web-to-Lead only writes: nothing from Salesforce comes back to the website. Programs, events or product data require the REST API.

  • Web-to-Lead: contact form, one target, a few hundred inquiries per day.
  • REST API: custom objects, data for the website, feedback based on status.
  • Bulk API: initial import and nightly sync of large data sets.
  • Account Engagement: form handlers take over WordPress forms for automations.

Leads, master data, status: what flows between Salesforce and WordPress

Leads and campaigns from forms

Every form hands over a lead with source and campaign on submission. Assignment rules in Salesforce assign the owner, and the campaign attribution is kept on lead conversion to contact, account and opportunity.

What this means for you: Marketing sees which campaign led to the opportunity. The extension first stores every inquiry in WordPress and repeats the transfer until Salesforce responds.

Degree programs, events and products on the website

WordPress fetches master data such as programs, events or product data from Salesforce on a schedule or in response to an event and stores it as its own content.

What this means for you: Data is maintained in one place. The website does not query Salesforce on every page view, so it stays fast and saves your org’s API allocation.

Status changes via Platform Events

When a lead status or an opportunity stage changes, Salesforce reports it to WordPress via Platform Events or Change Data Capture.

What this means for you: The website shows content based on status, such as different information for existing customers than for new prospects, without anyone exporting lists.

Account Engagement (Pardot) with form handlers

Account Engagement connects third-party forms via form handlers (API v5). The form stays in WordPress, and the data also goes to Account Engagement, where it triggers automations.

What this means for you: You keep the form design and spam protection on the website and still use the nurturing journeys in Account Engagement. A form handler can pass the data on to a success page.

Diagram: AI agent uses Salesforce data on the WordPress website and creates leads

AI agents on Salesforce data: answering questions, preparing leads

An AI chatbot on the website answers questions about programs, events or products with the data WordPress has taken over from Salesforce. When someone makes a specific inquiry, the agent creates a lead with campaign and conversation history, and the assignment rules assign it.

In sales, a second agent summarizes a lead’s previous activities and suggests the next reply. A human approves every reply to customers. The agent uses the same integration user and the same field permissions as the website.

Salesforce API limits, External Client App and EU data residency

  • Access: OAuth 2.0 via an External Client App with a dedicated integration user whose profile only grants access to the necessary objects and fields. Since Spring ’26, Salesforce no longer creates new connected apps by default; existing ones keep running.
  • API allocation: In Enterprise Edition, 100,000 calls per 24 hours plus 1,000 per Salesforce license, counted for the entire org. At most 25 calls lasting longer than 20 seconds may run at the same time.
  • Shared limit: All integrations of an org share the allocation. A website that queries Salesforce on every page view can use up the daily limit for sales. 360VIER caches data in WordPress.
  • EU data residency: With the Hyperforce EU Operating Zone, Salesforce offers data residency and operations in the EU (announced on March 2, 2023). Whether your org runs on it is something you clarify with Salesforce.

Salesforce documentation

WordPress and Salesforce at Hochschule Fresenius and trinamiX

For Hochschule Fresenius, degree programs and events come from Salesforce to the WordPress website. Forms for applications, information material and information evenings write directly back to Salesforce. How such platforms are structured is shown on the page Websites for universities, and the article WordPress in higher education provides background.

At trinamiX, all forms of the WordPress website trinamixsensing.com hand over their leads to Salesforce, and trinamiX also controls lead mailings through it. A CRM integration with automatic data maintenance is shown in the Lernstudio Barbarossa case study.

For companies in Switzerland, the WordPress agency in Zurich handles such integrations. If you use HubSpot instead of Salesforce, you will find the way under Connect WordPress to HubSpot, and for recruiting under Personio API and WordPress. Our WordPress agency handles project and operation, and all systems are listed under Integrations.

Frequently asked questions about Salesforce and WordPress

Is there a WordPress plugin for Salesforce?

Yes, several. The plugin directory and the AppExchange offer connectors, and form plugins such as Gravity Forms have Salesforce add-ons that map fields to objects. For leads from forms, that is often enough. Data from Salesforce on the website or custom objects require an integration via the REST API.

How secure is the access to Salesforce?

Secure, if it runs via OAuth 2.0 and an External Client App. A dedicated integration user only gets the objects and fields the website needs. Tokens can be revoked, and plain-text passwords are eliminated. Your IT can see at any time which permissions the interface has and can block access.

Will our assignment rules and owner logic be preserved?

Yes. The integration hands over leads in a way that your existing assignment rules in Salesforce apply. Sales processes stay the same; they get clean data from the web. The extension is documented and encapsulated, so your team or 360VIER can maintain it.

What happens if Salesforce is briefly unavailable?

No inquiry gets lost. The extension first stores every inquiry in WordPress and then transfers it to Salesforce. If the transfer fails, a job repeats it until Salesforce responds. Monitoring as part of WordPress maintenance reports errors before marketing notices them.

Connect Salesforce directly or via Zapier and similar tools?

Directly, if your sales data converges in Salesforce anyway: one system less in the data path, no additional contract, no double synchronization. An intermediate tool pays off if it supplies systems outside Salesforce. However, it uses the same API allocation as the website.

Can we pass WooCommerce orders to Salesforce?

Yes, via the same REST API as forms. Orders, customers and products are mapped to Salesforce objects, and the mapping is recorded in a documented field mapping. How much of this makes sense depends on whether Salesforce or an ERP is the leading system for orders.

How long does a Salesforce integration take?

A form via Web-to-Lead is the quickest way because nothing is programmed on the Salesforce side. An integration with data from Salesforce, feedback and caching takes longer because the object model, field permissions and mapping are coordinated with your Salesforce team. 360VIER estimates the effort after a look at your org and the forms.

Hans Mengler

Talk to us about your project