How to use Integrate.io to load CSVs into HubSpot via SFTP

One problem that we commonly have to deal with at Integrate.io is customers wanting to regularly move large CSVs/Flat Files into HubSpot to power the Marketing, Sales and Customer Success.

This guide provides step-by-step instructions on how to build data pipelines using Integrate.io to load data from CSV files into HubSpot via SFTP.

Loading data into HubSpot can be essential for various tasks, such as importing product usage data, lead information, or marketing data from CSV files. This guide will walk you through the process of setting up a data pipeline from an SFTP server to HubSpot using Integrate.io.

Steps to Load CSVs into HubSpot via SFTP

1. Set Up Connections

1.1 Access the Connections Page

  • Log in to Integrate.io and navigate to the Connections page.

1.2 Add an SFTP Connection

  • Select “Add Connection” and choose SFTP from the list.
  • Enter the required SFTP server details, including hostname, port, username, and password.
  • Test the connection to ensure it is correctly configured.

Connect to SFTP

1.3 Add a HubSpot Connection

  • Similarly, add a connection for HubSpot.
  • OAuth into your HubSpot Account.
  • Test the connection to confirm that it is working.

Connect to HubSpot

2. Create a New Data Pipeline

2.1 Open the Package Designer

  • Go to the Package Designer section and create a new package.
  • Name the package appropriately, for example, “SFTP to HubSpot CSV Import.”

Create a Package

3. Define the Source

**

Select SFTP as a Source**

3.1 Select SFTP as the Source

  • In the package designer, create a new source component.
  • Choose the previously configured SFTP connection.

3.2 Specify the CSV File

  • Enter the path and name of the CSV file you want to import.
  • Configure the file delimiter and any string qualifiers if needed.
  • Preview the data to ensure it is correctly read.

4. Configure Data Transformations

4.1 Filter Data

  • Add a filter transformation to exclude rows without an email or company name.
  • Set conditions: “Email is not empty” and “Company name is not empty.”

Filter the Data

4.2 Standardize Data

  • Add a select transformation to standardize email addresses to lowercase.
  • Use the expression editor to apply the lowercase function to the email field.

5. Define the Destination

5.1 Select HubSpot as the Destination

  • Add a new destination component.
  • Choose the HubSpot connection and select “Contacts” as the target object.

HubSpot Destination

5.2 Map Fields

  • Map the CSV fields to the corresponding HubSpot fields, such as:
    • CSV “email” to HubSpot “Email”
    • CSV “first_name” to HubSpot “First Name”
    • CSV “last_name” to HubSpot “Last Name”
    • CSV “phone_number” to HubSpot “Phone Number”
    • CSV “company_name” to HubSpot “Company”

Map the Fields

6. Finalize and Run the Pipeline

6.1 Validate and Save the Package

  • Save and Validate the Package.

Save and Validate

6.2 Test the Pipeline

  • Run the package manually to test the data transfer.
  • Check HubSpot to ensure the data appears as expected.

Run The Job

6.2 Schedule the Pipeline

  • Set up a schedule for the pipeline to run automatically at your desired frequency.
  • Save the schedule and activate the pipeline.

Set a Schedule

By following these steps, you can efficiently load CSV data from an SFTP server into HubSpot, ensuring your data is up-to-date and accurately represented in your CRM system. If you have any questions or need further assistance, feel free to reach out to Integrate.io support or schedule a tailored demo.

This is great, thanks @ADearmer.
The transformation layer has a wide range of options but delivered in a simple and clever way. Being able to just set up the pipelines once and then let them run in the background completely automates the whole process.
Integrate.io supports a wide range of connectors - APIs, databases, data warehouses, etc. The ability to have product usage data from your database and billing & revenue data from Stripe all within your HubSpot instance really strengthens HubSpot’s use within Customer Success & Support teams.


@DTT wrote:

This is great, thanks @ADearmer.
The transformation layer has a wide range of options but delivered in a simple and clever way. Being able to just set up the pipelines once and then let them run in the background completely automates the whole process.
Integrate.io supports a wide range of connectors - APIs, databases, data warehouses, etc. The ability to have product usage data from your database and billing & revenue data from Stripe all within your HubSpot instance really strengthens HubSpot’s use within Customer Success & Support teams.


The transformation layer offers a variety of options presented in a straightforward manner, allowing users to set up pipelines once and let them run automatically in the background. Integrate.io supports numerous connectors, including APIs, databases, and data warehouses, enabling seamless integration of product usage data with billing and revenue data. This enhances HubSpot’s functionality for Customer Success and Support teams, streamlining their processes and improving data visibility.

Thanks @ADearmer , super simple and easy to follow the bouncing ball, have it up and running now.