This n8n workflow streamlines the process of enriching prospect information by automatically pulling data from HubSpot, processing it through Explorium's AI-powered tools, and creating new leads in Salesforce with enhanced prospect details.
To use this workflow, set up the following credentials in your n8n environment:
Go to Settings → Credentials, create these three credentials, and assign them in the respective nodes before running the workflow.
This node listens for real-time events from the connected HubSpot account. Once triggered, the node passes metadata about the event to the next step in the flow.
This node fetches contact details from HubSpot after the trigger event.
This node retrieves the full contact details needed for further processing and enrichment.
This node sends each contact's data to Explorium's AI-powered prospect matching API in real time.
The request body is dynamically built from contact data, typically including: full_name, company_name, email, phone_number, linkedin. These fields are matched against Explorium's intelligence graph to return enriched or validated profiles.
Response Output: total_matches, matched_prospects, and a prospect_id. Each response is used downstream to enrich, validate, or create lead information.
This node filters the output from the Match prospect step to ensure that only valid, matched results continue in the flow. Only records that contain at least one matched prospect with a non-null prospect_id are passed forward.
Status: Currently deactivated (as shown by the "Deactivate" label)
This node extracts all valid prospect_id values from previously matched prospects and compiles them into a flat array. It loops over all matched items, extracts each prospect_id from the matched_prospects array and returns a single object with an array of all prospect_ids.
This node performs bulk enrichment of contacts by querying Explorium with a list of matched prospect_ids.
Node Configuration:
Returns enriched contact information, such as:
This additional enrichment node provides supplementary contact data enhancement, running in parallel with the primary enrichment process.
This node combines multiple data streams from the parallel enrichment processes into a single output, allowing you to consolidate data from different Explorium enrichment endpoints. The "combine" setting indicates it will merge the incoming data streams rather than overwriting them.
This custom code node processes and transforms the merged enrichment data before creating the Salesforce lead. It can be used to:
This final node creates new leads in Salesforce using the enriched data returned by Explorium.
The node creates new lead records with enriched information including contact details, company information, and professional data obtained through the Explorium enrichment process.
This workflow ensures comprehensive data enrichment while maintaining data quality and providing a seamless integration between HubSpot prospect data and Salesforce lead creation. The parallel enrichment structure maximizes data collection efficiency before creating high-quality leads in your CRM system.