Quick Overview
This workflow takes a lead URL, uses Gaffa to extract contact details from the web page, and then creates or updates a HubSpot contact based on the extracted email.
How it works
- Runs when you manually execute the workflow.
- Sets the lead URL and the CSS selector that defines which part of the page to parse.
- Builds a Gaffa request that defines a JSON schema for first name, last name, company, role, and email.
- Sends the request to Gaffa to parse the target web page and return the extracted contact fields.
- Upserts the contact in HubSpot using the extracted email and maps the other extracted fields to HubSpot contact properties.
Setup
- Install the community node package
@gaffa-dev/n8n-nodes-gaffa in your self-hosted n8n instance.
- Create and add a Gaffa API credential with your API key from gaffa.dev.
- Create a HubSpot private app with
crm.objects.contacts read/write scopes and add its app token as HubSpot credentials.
- Update the lead URL (and optionally the selector) in the workflow settings before running it.