CSV to HubSpot Uploader with Dynamic Field Mapping and Google Sheets Integration
Ready for 3.0What this workflow does
This workflow has 26 nodes and runs when someone submits an n8n form (plus 1 other trigger). Along the way it connects Google Sheets.
How it runs
Trigger: When someone submits an n8n form (plus 1 other trigger).
- To get the first line of file (Extract from File): extracts data from a file
- Get the content of file (Extract from File): extracts data from a file
- Erase Google sheet (Google Sheets): uses Google Sheets
- Set the real fields (Edit Fields (Set)): sets or maps fields
- Merge: merges the data from its input branches
- Define array of objects (Edit Fields (Set)): sets or maps fields
- Get the fields from the sheet (Google Sheets): uses Google Sheets
- Split by object (Split Out): splits a list into separate items
- Check if all fields from input are defined (Code): runs custom JavaScript code
- Fetch properties from Hubspot (HTTP Request): calls an HTTP API
…plus 14 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger - n8n Form Trigger
n8n-nodes-base.formTrigger - Extract from File
n8n-nodes-base.extractFromFile - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Filter
n8n-nodes-base.filter
From the author
Who is this for? This n8n workflow is designed for Customer Success Managers (CSM), marketers, sales teams, and data administrators who need to automate the process of uploading and processing CSV data in HubSpot. It is ideal for users who regularly import…