Latenode

Sync Lead Forensics visits to automatically create HubSpot companies

This template runs on a schedule, calls the Lead Forensics API from JavaScript for new website visits, and creates a HubSpot company from company name, domain, and location. Find an existing HubSpot company by domain first so repeats do not duplicate. Connect HubSpot. Put the Lead Forensics API key in that JavaScript node.

Updated Sep 16, 2026Est. run: 4sEst. cost: $0.0003
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 HubSpot companies from new Lead Forensics visits
  • Calls the Lead Forensics API from JavaScript
  • Matches HubSpot on domain before creating
  • Keeps the Lead Forensics API key in the JavaScript node

How it works

1
Trigger

Run on a schedule

The scenario starts on the schedule you set, often every 15 minutes during business hours.

2
Logic

Fetch new visits

JavaScript calls the Lead Forensics API for visits since the last run. Put the Lead Forensics API key in that JavaScript node.

3
Action

Create the HubSpot company

HubSpot finds a company by domain. If none exists, it creates one from name, domain, and location.

Setup guide

1

Set the schedule

Add a schedule trigger for how often Lead Forensics should be checked.

2

Store the Lead Forensics API key

Add a JavaScript node and put your Lead Forensics API key there. Request visits since the last successful run.

3

Connect HubSpot

Add a HubSpot connection with permission to find and create companies. Map company name, domain, and location. Skip the create when Find Company already matches that domain.

Requirements

A Lead Forensics account with API access
A Lead Forensics API key stored in the JavaScript node
A HubSpot account with permission to find and create companies

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