3 min read

Automate lead handoff in real-time using webhooks

Published Nov 20, 2024 Updated Feb 13, 2026
Adam Peña

Technical Product Marketing Associate

Adam Peña
Automate lead handoff in real-time using webhooks

Effectively coordinating lead handoff between marketing and sales departments can be the difference between a valuable business relationship and an opportunity that falls through the cracks. While a seamless process is ideal, finding the right strategy can be challenging.

Let’s imagine a use case where you, as a Celigo user, might identify the need for a flow that uses a webhook. Suppose your company primarily communicates via Slack and uses HubSpot for lead generation. For example, when prospects fill out a form monitored by marketing, team members may share that information in a Slack channel shared with sales.

However, errors can occur: data might be incorrectly entered, messages can get lost, or team members may forget to share updates.

As a Celigo administrator, you aim to find a reliable, immediate automation solution to this problem.

Webhooks demo

Real-time data transfer with Webhooks

Flows in Celigo’s iPaaS can be configured to run on a scheduled basis. Alternatively, flows can leverage webhooks in applications. Webhooks (aka “listeners”) can be triggers in your application environments. Rather than waiting for a specific time, they listen for particular events and send data out when those events occur.

Using a webhook flow in HubSpot, you can ensure real-time data transfer. When a prospect submits a form expressing interest in your business, a Contact is created.

This action triggers a webhook that sends data to integrator.io, which then relays the new Contact information to Slack.

The complete flow

Complete Flow

The first step of this flow uses a webhook, indicated by its icon, the “Listener” label, and the absence of a scheduling icon in the top-right.

A webhook in HubSpot is configured to detect the creation of Contacts. A URL provided by integrator.io is supplied to this webhook in HubSpot to route the data to this flow. In this case, the completion of a form by a prospective customer triggers the execution of this flow.

HubSpot Form

When a prospect fills out this form expressing interest, the submission of this form creates a Contact in HubSpot, corresponding to Lead. This triggers the webhook in this flow and hands along basic information about the created record, including the record ID.

A lookup step uses that ID to look for that record in HubSpot and add more informative data to the flow, such as the name, email, address, etc. of the new Lead. The final step connects to Slack and posts the Lead’s information to the selected channel in your Slack environment. A filter ensures Slack messages are sent only for Leads created by that specific HubSpot form. Otherwise, this step is ignored.

Slack Message Result

In just a few steps, you can fully automate this process with a real-time, easily managed flow. While scheduled flows suit bulk data integrations, webhooks are ideal for immediate follow-up on time-sensitive events. Consider using webhooks when prompt action is essential.

Let’s get started

Integrate, automate, and optimize every process.

Already a user? Log in now.

4 min read

Achieve a complete Customer 360 view with CRM and cloud data warehouse integration

Published Sep 10, 2024 Updated Feb 13, 2026
Tyler Lamparter

Portfolio Strategist

Tyler Lamparter

Integrating a CRM with a data warehouse enables businesses to consolidate their CRM data and create a comprehensive Customer 360 view with sales and marketing engagement. This unified perspective offers deeper insights into customer behavior, sales trends, and marketing effectiveness, supporting data-driven strategies for growth and improved operations.

Here, we’ll guide you through integrating HubSpot CRM data into a cloud data warehouse. In this demo, we’ll use NetSuite Analytics Warehouse (NSAW). This includes syncing HubSpot contacts to NSAW, previewing and transforming the data, mapping it to NSAW tables and fields, and establishing a connection for data transfer.

Setting up HubSpot data integration with NSAW

The first step is to set up HubSpot data integration into NSAW for reporting purposes. In Celigo’s integrator.io, flows are used to retrieve, transform, and load the data. In this case, we are focused on syncing HubSpot contacts.

Go to Lead Management, which contains the necessary flow for syncing HubSpot data into NSAW.

Select HubSpot Contacts as the source flow.

Connecting HubSpot as a source

Next, establish a connection with HubSpot as the source system. In integrator.io, navigate to Sources and select HubSpot.

Celigo offers 400+ prebuilt connectors such as HubSpot and universal connectors. If Celigo doesn’t have a prebuilt connector for your specific use case, you can use universal connectors to integrate virtually any system. Once connected, you can set up an export for HubSpot contacts, and Celigo will retrieve the necessary data.

Authenticating and setting up the HubSpot export

After selecting HubSpot, you’ll need to authenticate the connection by generating an access token. This token will allow Celigo to connect securely with your HubSpot instance.

In this setup, the HTTP method is set to POST to retrieve data from HubSpot’s Contacts object. HubSpot offers multiple API versions, so it’s recommended that version 3 be used for this type of export.

Once the connection is configured, list all the HubSpot contacts you want to sync.

Previewing HubSpot data

Before transferring the data to NSAW, preview the HubSpot data to ensure it’s correct. By hitting Preview, Celigo makes a live API call to HubSpot and displays the contact data, such as contact IDs and other related properties.

If additional properties are needed, you can add them to the API call by including more parameters.

Transforming data before importing to NSAW

At this point, you can transform the HubSpot data before syncing it with NSAW. Celigo allows simple name changes, but if more complex transformations are required, you can manipulate the data using JavaScript.

For example, let’s say you need to extract the domain from the email addresses in HubSpot. Using regex, you can separate the domain from the email and sync it into a separate domain field in your NSAW table. This transformation ensures the data is correctly mapped when syncing to NSAW.

Mapping HubSpot data to NSAW tables and fields

Once the data has been previewed and transformed, you’ll need to map the HubSpot fields to NSAW tables and fields.

In the Import step, select the appropriate destination table in NSAW, such as HubSpot Contacts, and map the relevant HubSpot fields—like contact ID, email, and domain—to the corresponding fields in your NSAW table.

Setting up the NSAW connection

Now that the HubSpot data is ready for import, you need to establish a connection with NSAW. This is done by entering your username and password, and uploading the wallet file from NSAW. Once connected, select the appropriate service name.

Setting up the connection is straightforward and allows seamless data syncing between HubSpot and NSAW.

Scheduling the data sync

With the data exported and mapped to NSAW, you can now schedule the frequency of the sync. Celigo allows you to set up regular intervals for the data transfer—whether daily, weekly, or in real time—depending on your business needs.

Once scheduled, Celigo will automatically sync the data between HubSpot and NSAW, keeping your reports up-to-date.

Enhance data-driven decision-making

Integrating your CRM with a data warehouse allows businesses to create a complete 360-degree view through the customer journey. This enables deeper insights into customer behavior, enhanced reporting, and data-driven decision-making.

By centralizing data from multiple sources, teams can drive efficiency, improve customer experiences, and develop more informed strategies for growth.

Let’s get started

Integrate, automate, and optimize every process.

Already a user? Log in now.

4 min read

Lead lifecycle management: How to automate lead capture

Published Jun 21, 2024 Updated Feb 13, 2026
Lead lifecycle management series
Chris Ferraro

Senior Product Marketing Manager

Chris Ferraro

Lead lifecycle management refers to the process potential customers go through, starting from their initial awareness of your brand to making a purchase. Automating the various stages of this process is crucial as it enables quicker follow-up with prospects, resulting in more closed deals and increased revenue.

In previous posts, we have integration demos for lead engagement and lead syncing. Here, we’ll focus on the initial stage of lead lifecycle management: lead capture.

The importance of automating lead capture

It is critical to quickly and efficiently capture leads from various sources, such as external events, website forms, landing pages, and social media channels. However, these leads often arrive with incomplete data, making it crucial to enrich them with comprehensive information before consolidating them into a single source of truth.

Example flow for lead capture and enrichment

As a marketing or RevOps leader, I must capture and enrich attendee information from a recent event and sync it to my marketing automation platform for segmentation, scoring, and follow-up.

In this demo, we’ll show you how to sync attendee information from Eventbrite to Clearbit for enrichment and then on to HubSpot. This automated process provides accurate, detailed profiles for better follow-up and conversion.

Lead capture video demo

Export attendee information from Eventee

Objective: Retrieve and prepare attendee data from Eventee for further processing.

  1. Export data:
    • Click on “Eventee Export” to retrieve relevant information from Eventee for each attendee, including their name, company, and phone number.
  2. Ensure proper naming and connection:
    • Name your export step appropriately.
    • Verify that the connection is active and running smoothly.
  3. Set HTTP method and URI:
    • Use the HTTP method “GET”.
    • Set the relative URI to “participants” to gather attendee information.
  4. Transform data:
    • Create a step to separate the name into first and last name fields using a script in the transformation. This will facilitate easier mapping in later steps when adding the lead to your CRM.

Enrich attendee information with Clearbit

Objective: Enhance the attendee data with additional information to ensure comprehensive lead profiles.

  1. Setup Clearbit import:
    • Click on “Clearbit Import” to ensure each attendee’s information is enriched, providing a complete, up-to-date, and accurate view of their details such as name, address, phone number, and company.
  2. Create Lookup step:
    • Name the lookup step appropriately.
    • Ensure the connection is active.
  3. Configure API settings:
    • Set the resource to “Person”.
    • Use the API Endpoint “Enrichment API: combined API”.
    • Configure query parameters to search for emails gathered from Eventee to ensure accurate data for each lead.
  4. Map results:
    • Set up results mapping to store enriched lead data in a field called “myField”.

Import enriched leads to HubSpot

Objective: Transfer enriched lead data to HubSpot for effective segmentation, scoring, and follow-up.

  1. Setup HubSpot import:
    • Click on “HubSpot Import” to add the enriched leads to HubSpot for segmentation, enrichment, scoring, and follow-up.
  2. Ensure proper naming and connection:
    • Double-check that your HubSpot import step is correctly named and the connection is running.
  3. Configure API settings:
    • Select the correct API version and API name to create a lead.
    • Set the operation to “create” and the API name to “CRM API: Contacts”.
    • Check “ignore existing records” to avoid creating duplicates, and search for the Clearbit ID from the results mapping.
  4. Map data:
    • Map enriched data from Clearbit to create the lead in HubSpot, including email, first and last name, LinkedIn URL, city, state, job title, and company.
    • Map the Clearbit ID into a custom field in HubSpot.
    • Hardcode the “lifecyclestage” to “lead” to ensure the attendee is created as a lead, not a contact.

Grow revenue with lead capture automation

By automating the entire lead management process, you can turn the previously manual and tedious lead capture and upload tasks into a competitive advantage for your marketing and revenue operations teams. This efficient workflow ensures timely follow-ups and maximizes the potential for increased revenue.

Let’s get started

Automate your lead management process and transform it into a strategic advantage for your marketing and revenue operations teams.

Already a user? Log in now.