Process Shopify Lead Emails from Gmail to HubSpot Contacts and Deals — n8n ワークフロー

複雑度 トリガー8個のノード🤝 Sales作成者:Shahzaib Anwar

概要

📌 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 Trigger: Watches for new emails in Gmail.
Extract Data: Parses email body (Name, Email, City, Phone, Message, Product URL/Title).
Condition: Checks if sender is Shopify before processing.
HubSpot:
Creates/updates a Contact w

使用ノード

HubSpotGmailCode

ワークフロープレビュー

Gmail Trigger
Polls Gmail every minute and emits new emails into the
Get Message
Fetches full email (body + metadata) for parsing.
Extract From Email
Pulls sender address used for filtering/routing.
If Sender is Shopify
Processes only emails from Shopify (change to your sour
Code (Regex Parser)
Extracts: name, email, city, phone, message, product_ur
Adjust regex if your email format differs.
Edit Fields
Normalizes extracted values into clean JSON for HubSpot
HubSpot Contact
Creates/updates a Contact (email, name, phone, city).
HubSpot Deal
Creates a Deal linked to the Contact.
Set your pipeline stage (replace `YOUR_STAGE_ID`).
G
Gmail Trigger
Get a message
E
Extract From Email
I
If Sender is Shopify
Code
E
Edit Fields
Create or update a contact
Create a deal
8 nodes7 edges

仕組み

  1. 1

    トリガー

    このワークフローは トリガー トリガーで開始します。

  2. 2

    処理

    データは 8 個のノードを流れます, connecting code, function, gmail。

  3. 3

    出力

    ワークフローは自動化を完了し、設定された宛先に結果を配信します。

ノード詳細 (8)

HU

HubSpot

hubspot

#1
GM

Gmail

gmail

#2
CO

Code

code

#3

このワークフローのインポート方法

  1. 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
  2. 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
  3. 3ダウンロードした process-shopify-lead-emails-from-gmail-to-hubspot-contacts-and-deals ファイルを選択し、インポートをクリックします。
  4. 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
  5. 5ワークフローをテスト をクリックして動作確認し、有効化します。

またはn8nの JSONからインポート に直接貼り付け:

{ "name": "Process Shopify Lead Emails from Gmail to HubSpot Contacts and Deals", "nodes": [...], ...}

インテグレーション

codefunctiongmailgmailtriggerhubspotifset

このワークフローを取得

ワンクリックでダウンロード&インポート

JSONをダウンロードn8n.ioで見る
ノード8
複雑度medium
トリガーtrigger
カテゴリSales

作成者

Shahzaib Anwar

Shahzaib Anwar

@shahzaibanwar

タグ

codefunctiongmailgmailtriggerhubspotifset

n8n初めてですか?

n8nは無料のオープンソースワークフロー自動化ツールです。セルフホストまたはクラウド版をご利用いただけます。

n8nを無料で始める →