WordPress and Salesforce talking to each other

WordPress and Salesforce work as a coordinated system: inquiries from your website reach sales immediately, and maintained customer data appears up to date on the web. Once recorded, information is available everywhere – eliminating duplicate maintenance.

Where website and CRM diverge

WordPress collects inquiries, Salesforce manages sales – but as long as both systems are unaware of each other, a gap remains that runs through the entire company. It first affects sales, who work with contacts whose history they lack. For marketing, this becomes an attribution problem because it is difficult to track which campaign ultimately led to the deal. And above that is IT, keeping individual interfaces alive that no one has documented.

Leads without owners

An inquiry comes through the website, but no one assigns it to an account or a lead owner. It waits in an inbox while responsibility remains open.

Two truths about one contact

Sales maintains status and notes in Salesforce, while the editorial team maintains the same information in the CMS. With every change, the two versions drift further apart.

Account knowledge stays in the CRM

Last activity, opportunity stage, and responsibility are in Salesforce, but not where the contact is speaking with you. The conversation starts without knowledge that has long been available.

Attribution breaks off

The path from web lead to campaign to opportunity is not continuous. Determining which measure ultimately generates revenue can only be reconstructed manually.

Salesforce provides official interfaces

Salesforce provides officially documented interfaces with the REST API, Bulk API, and Platform Events, plus the native Web-to-Lead path for forms. The building blocks for the connection to WordPress are available and only need to be assembled cleanly – in a versioned, documented way.

How both systems work together

The connection translates between both systems and keeps them in sync. The data flow runs in both directions: WordPress passes on what is created on the website, while Salesforce feeds back what is maintained in sales.

Lead capture with owner assignment

A WordPress form writes a lead directly into Salesforce via the REST API or Web-to-Lead, including source and campaign. Assignment rules immediately assign it to the correct owner or territory, ensuring no inquiry remains unprocessed.

Salesforce data in the frontend

Master data, status, and selected opportunity fields from Salesforce appear automatically on the WordPress site, so the editorial team does not have to maintain them twice. Depending on the lead status or opportunity stage, the site displays relevant content – orientation for new leads, specific offers for qualified contacts.

Campaign tracked through to closing

Every web lead retains its campaign, which is passed on to the contact, account, and opportunity during lead conversion. This way, reporting consistently shows which measure generates pipeline – from the first inquiry to the won deal.

Bidirectional synchronization

What is created on the web flows to Salesforce; status changes in the CRM are automatically reflected back to the web. This ensures every piece of information stays at the same level on both sides without anyone manually reconciling two systems.

The interface from an IT perspective

For IT management, the connection stands or falls with its maintainability. It relies on documented Salesforce APIs and encapsulates the logic on the WordPress side in a dedicated extension, so that knowledge is not tied to a single person.

REST, Bulk, and Platform Events

Individual data records run via the REST API, large volumes via the Bulk API, and event-driven updates via Platform Events or Change Data Capture. This gives every use case the appropriate path without exceeding Salesforce limits.

Access via a Connected App

Authentication runs via OAuth 2.0 with a Connected App; a dedicated integration profile limits permissions to the required objects and fields. Your IT team thus only grants what the interface truly needs and can revoke access if necessary.

Defined field mapping

JSON is transmitted via HTTPS; a mapping table defines which Salesforce field populates which WordPress field. This makes it traceable where each value originates, and new fields can be added in a controlled manner.

Synchronous lead, asynchronous status

Lead submission runs synchronously when the form is sent, while status and master data updates come back asynchronously via webhooks or scheduled jobs. This way, no one waits for Salesforce when submitting, and page load times remain fast.

GDPR and EU data residency

The mapping only transfers the required fields and keeps personal data to a minimum. Salesforce offers EU data residency, making a GDPR-compliant setup achievable for your legal department.

Operation and monitoring

API calls are logged on the server side, failed transmissions are retried, and error webhooks reach Slack or ClickUp. This allows IT to detect a break at the affected endpoint before it arrives as a complaint in marketing.

How the connection works across industries

In practice, the connection is a standard path for B2B companies with a sales or content strategy. Two scenarios show how the same technical path differs depending on the industry.

Industry and manufacturing – sales via field service

Scenario:

A manufacturer with a field service team manages its pipeline in Salesforce, while the public platform and product catalog run on WordPress. Inquiries from the web should arrive directly at the responsible regional account.

What the integration achieves:

WordPress inquiries generate leads in Salesforce; assignment rules assign them to the correct field service owner based on territory or product line. The product catalog pulls its master data and availability from the CRM.

What changes for those involved:

Inquiries reach the responsible owner without manual forwarding.

The field service team knows the product interests even before the appointment.

Sales management tracks the path from the form to the opportunity.

Education – keeping track of prospects and applicants

Scenario:

An education provider with multiple programs and locations uses Salesforce as a CRM for prospects. The WordPress site contains program, location, and registration pages.

What the integration achieves:

Prospect forms write leads with program and location as fields. The lead status – from the first inquiry to enrollment – controls which content the website displays.

What changes for those involved:

Every inquiry is immediately assigned to the correct program.

Advisors can see the previous history of a prospect.

Location pages show the appropriate next step depending on the status.

Frequently asked questions about Salesforce integration

Do we need an AppExchange package or a custom interface?

That depends on the use case. For simple forms, Salesforce’s own Web-to-Lead path or a connector from the AppExchange is sufficient; as soon as custom objects, assignment rules, or bidirectional updates come into play, a custom API integration is the more robust choice. We evaluate both options at the start of the project.

How secure is access via OAuth and a Connected App?

Access is handled via OAuth 2.0 with a Connected App whose profile limits permissions to the required objects and fields. Tokens can be revoked, and there is no need to store access credentials in plain text. This ensures your IT retains control over which data leaves Salesforce.

Will our owner assignments and assignment rules be preserved?

Yes. The integration transfers leads in a way that ensures your existing assignment rules and owner logic in Salesforce continue to function. Your sales processes remain unchanged; the interface feeds them with clean data from the web. The extension is documented and encapsulated, so that your team or ours can maintain it.

What happens if Salesforce is temporarily unavailable?

The calls run asynchronously via a job scheduler that retries failed transmissions. An outage on the Salesforce side neither blocks page loading nor results in lost leads—they are submitted once the connection is restored.

Connect Salesforce directly or take the detour via a second tool?

If your sales data already flows into Salesforce, the direct connection speaks for itself: one less system in the data path, no additional contract, no double synchronization. An intermediate tool is only worthwhile if it handles its own tasks that Salesforce does not cover.

Hans Mengler

Your website is already a source for people, search engines, and AI systems.