Latenode

Sync Webflow form data to Pipedrive with international phone formatting

This template starts when a Webflow form is submitted, maps name, email, company, and phone in JavaScript, and writes the lead into Pipedrive.

It adds a country prefix to the phone number, searches for an existing organization and person, and creates missing records before it adds the lead. Connect Webflow and Pipedrive. Put the Pipedrive API key on the Pipedrive connection.

Updated Sep 16, 2026Est. run: 25sEst. cost: $0.0016
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Creates a Pipedrive lead as soon as the Webflow form is submitted
  • Formats international phone numbers in JavaScript
  • Reuses existing organization and person records when they match
  • Keeps the Pipedrive API key on the Pipedrive connection

How it works

1
Trigger

New Webflow form submission

The scenario starts when someone submits the Webflow form you watch.

2
Logic

Map fields and format the phone

JavaScript reads name, email, company, and phone, then adds the country prefix you set.

3
Action

Find or create the company and person

Pipedrive searches organization and person. If either is missing, it creates the record.

4
Action

Create the lead

Pipedrive adds a lead linked to that person and organization.

Setup guide

1

Connect Webflow

Add a Webflow connection. Point the new form submission trigger at the site and form you want to sync.

2

Connect Pipedrive

Add a Pipedrive connection and paste your Pipedrive API key there.

3

Format the phone number

In JavaScript, map form fields and add the country prefix. Use this helper if you want a starting point.

function formatPhoneNumber(phoneNumber, countryCode) {
  const digits = String(phoneNumber || "").replace(/\D/g, "");
  const prefix = String(countryCode || "").replace(/\D/g, "");
  if (!digits) return "";
  if (prefix && !digits.startsWith(prefix)) return `+${prefix}${digits}`;
  return digits.startsWith("+") ? digits : `+${digits}`;
}
4

Search, create, and add the lead

Search Pipedrive by organization name and person email. Create whichever is missing, then add a lead. Test with one real form submit.

Requirements

A Webflow site and form Latenode can read
A Pipedrive account and API key stored on the Pipedrive connection
Agreement on which form fields map to name, email, company, and phone

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →

Create a Pipeline deal from a new Discord channel message

Sales teams often miss leads buried in Discord conversations. This scenario captures every new message in a chosen Discord channel and creates a corresponding deal in Pipeline, using the message text as the deal description and the author's username as part of the deal name. Sales managers and business development reps can log inbound signals from team discussions directly into Pipeline CRM without manual data entry. The connection turns Discord into a lead source, so no opportunity slips through the cracks.

8s~$0.002

Create a Pipeline deal when a new HubSpot deal is added

Manually copying deal data from HubSpot to Pipeline wastes time and risks errors. This automation triggers on the New Deal event in HubSpot and then runs the Create Deal action in Pipeline, mapping the deal name, amount, and associated contact email and name. Sales operations teams and CRM administrators who use both HubSpot and Pipeline can eliminate duplicate data entry. HubSpot captures the initial deal, and Pipeline receives a matching record immediately, so both systems stay aligned without manual work.

8s~$0.002

Send a Gmail welcome email when ClickFunnels identifies a new contact

Manually sending welcome emails to new leads is slow and risks missed follow-ups. This scenario triggers on the New Contact Identified event in ClickFunnels and immediately sends a Send Email action in Gmail, using the contact's name and email address to personalize the message. Sales and marketing professionals who use ClickFunnels to capture leads can automate their first touchpoint. Gmail sends a custom welcome email with the contact's name in the body, so every new lead gets a timely, personal reply without manual work.

8s~$0.002