Webflow Salesforce integration that keeps the source
A Webflow Salesforce integration gets leads from your forms into the CRM most larger sales teams already live in, with clean fields and the right campaign attached. The same applies to Framer, Astro and Next.js.
Webflow Salesforce integration: pick the method
Web-to-Lead suits a short demo form. Once you need duplicate checks or more volume, send leads through the Salesforce REST API from a server.
| Trade-off | Web-to-Lead | Zapier or Make | REST API from a server |
|---|---|---|---|
| Setup | Quickest: a form action and hidden fields | Quick: no code | Most work: a connected app and code |
| Duplicates | No duplicate handling | Possible with a lookup step | Full control: match and update |
| Volume | A daily lead cap | Billed per task or operation | Built for volume |
| Retries | None if Salesforce is down | Retries and error emails | Retries and logging in code |
| Copy in Webflow | None: the form posts to Salesforce | Kept: Webflow’s own form stores it | Kept or not, as built |
Web-to-Lead on Webflow, step by step
- 01
Generate the form in Salesforce
Create a Web-to-Lead form in Salesforce setup with the fields you need.
- 02
Copy the organization ID and field names
Take the org ID and the exact field names from the generated HTML.
- 03
Point the Webflow form at Salesforce
Set the form action to the Web-to-Lead address and match each input name.
- 04
Add hidden fields
Campaign ID, UTM source and a return address that sends people to your own thank-you page.
- 05
Test
Submit on the published site and check the lead, its campaign and its owner in Salesforce.
Framer Salesforce integration, Astro and Next.js
The method depends on where your site is built. Here is what we use for Salesforce on each platform.
Framer
Framer forms cannot post straight to Salesforce, so we send submissions to a webhook and let Zapier or Make create the lead with your field mapping. For teams that prefer it, a Web-to-Lead HTML form can run in a Framer embed, though it loses Framer’s form styling and validation.
Framer development Web-to-Lead or ZapierWebflow
A Webflow form can point its action at Salesforce Web-to-Lead with hidden fields for your organization ID and campaign. That skips Webflow’s own form storage, so many teams prefer Webflow’s native form plus Zapier or Make, which keeps a copy in Webflow and retries if Salesforce is down.
Webflow development APIAstro
An Astro server endpoint receives the form, validates it and creates the lead through the Salesforce REST API using a connected app with a narrow permission set. Credentials stay on the server. This route handles duplicates and custom objects that Web-to-Lead cannot.
Astro development APINext.js
A Next.js route handler or server action calls the Salesforce REST API to create or update leads, with retries and logging. We keep the integration user’s permissions to lead creation only, and store tokens in your hosting provider’s environment variables, never in the client bundle.
Next.js developmentWhat teams use it for
Enterprise demo requests
Requests from pricing and contact pages arrive as leads with company size, region and owner rules applied.
Campaign attribution
Landing pages pass a campaign ID, so marketing can report pipeline per campaign inside Salesforce.
Partner and event sign-ups
Separate forms feed separate lead sources or record types without manual sorting.
Common Salesforce pitfalls
API access needs a dedicated integration user with minimal permissions. A shared admin login in a website form is a real risk.
Web-to-Lead has a daily lead cap and no duplicate handling. High-volume sites or account matching need the API route.
A Webflow form pointed at Web-to-Lead skips Webflow’s own form storage, so there is no copy if Salesforce rejects a lead.
Form data goes to Salesforce’s servers. Your privacy notice should name Salesforce as a processor and say what you store.
What we set up and hand over
Server-side CRM integrations run on the Development plan, $8,000 a month.
- What we set up
- Lead forms, field mapping, campaign source, spam checks
- Testing
- Real records in a Salesforce sandbox before going live
- Typical time
- 2–5 days
- Complexity
- High
Questions about Salesforce
Is Web-to-Lead good enough?
Can Framer forms go to Salesforce?
Can you connect Salesforce without a developer on our side?
What about Account Engagement (Pardot)?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related integrations and services
HubSpot
CRM, forms, email and marketing automation in one platform, popular with B2B SaaS teams.
OpenZapier
No-code automation that connects your site to thousands of apps with simple trigger-action Zaps.
OpenMake
Visual automation that moves data between apps in multi-step scenarios.
OpenNext.js development
Server-side CRM integrations are built as part of our Next.js work.
Open