Latenode

Automatically sync HubSpot contacts to targeted lemlist campaigns

This template watches HubSpot for new contacts, maps email, first name, last name, and company in JavaScript, then finds or creates the lead in lemlist and adds them to a campaign you pick. Connect HubSpot and lemlist. Put the lemlist API key on the lemlist connection and HubSpot auth on the HubSpot connection.

Updated Sep 16, 2026Est. run: 7sEst. cost: $0.0004
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

  • Adds new HubSpot contacts to a lemlist campaign without copy-paste
  • Maps email and name in JavaScript before the add
  • Finds or creates the lemlist lead, then attaches the campaign
  • Keeps HubSpot and lemlist keys on those connections

How it works

1
Trigger

Watch HubSpot

The scenario starts when a new contact is created in HubSpot.

2
Logic

Map the lead

JavaScript turns the HubSpot contact into email, first name, last name, and company for lemlist.

3
Action

Add to the lemlist campaign

Lemlist finds or creates the lead, then adds them to the campaign you set on that step.

Setup guide

1

Connect HubSpot

Add a HubSpot connection. Add a trigger for new contacts.

2

Connect lemlist

Add a lemlist connection and paste your lemlist API key there. Note the campaign id you want new HubSpot contacts to join.

3

Map and add the lead

In JavaScript, return email, first name, last name, and company. Find or create the lead in lemlist, then add that lead to the campaign. Create a test contact in HubSpot and confirm they appear in lemlist.

Requirements

A HubSpot account Latenode can read new contacts from
A lemlist account and API key stored on the lemlist connection
The lemlist campaign id that should receive new HubSpot contacts

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