🎣 Process Shopify lead emails from Gmail to HubSpot contacts and deals

⚑ 79 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

πŸ“Œ Overview

This workflow automatically processes incoming Shopify/Gmail leads and pushes them into HubSpot as both Contacts and Deals.

It helps sales and marketing teams capture leads instantly, enrich CRM data, and avoid missed opportunities.


⚑ How it works

  1. Trigger: Watches for new emails in Gmail.
  2. Extract Data: Parses email body (Name, Email, City, Phone, Message, Product URL/Title).
  3. Condition: Checks if sender is Shopify before processing.
  4. HubSpot:
    • Creates/updates a Contact with customer details.
    • Creates a Deal associated with that contact.

🎯 Benefits


πŸ›  Setup Steps

  1. Import this workflow into your n8n instance.
  2. Connect your Gmail and HubSpot credentials.
  3. Replace the HubSpot Deal Stage ID with your own pipeline stage.
  4. (Optional) Adjust the Code Node regex if your email format differs.
  5. Activate the workflow and test with a sample lead email.

πŸ“ Example Email Format

Name: John Doe Email: john@example.com City: London Phone: +44 7000 000000 Body: Interested in product Product Url: https://example.com/product Product Title: Sample Product

sticky_notes:

πŸ”— Nodes Used

Function, HubSpot, Gmail, Gmail Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup