構造化されたネットワークデータからの毎日の洞察メール(Firecrawl を使用)

上級

これはMarketing分野の自動化ワークフローで、16個のノードを含みます。主にIf, Set, Wait, Gmail, HttpRequestなどのノードを使用。 Firecrawlを使って構造化されたウェブデータから生成される毎日の洞察メール

前提条件
  • Googleアカウント + Gmail API認証情報
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "ovPDz1CoTIPih54D",
  "meta": {
    "instanceId": "1c7b08fed4406d546caf4a44e8b942ca317e7e207bb9a5701955a1a6e1ce1843",
    "templateCredsSetupCompleted": true
  },
  "name": "Daily Insight Email from Structured Web Data with Firecrawl",
  "tags": [],
  "nodes": [
    {
      "id": "a1c5c1a4-c61c-48d7-b803-27ffc6484781",
      "name": "スケジュールトリガー",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        -20
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "654dee5e-2a9a-4164-8e8b-df226b88f065",
      "name": "POST Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        -20
      ],
      "parameters": {
        "url": "https://api.firecrawl.dev/v1/extract",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"urls\": [\n    \"https://www.quiverquant.com/congresstrading/*\"\n  ],\n  \"prompt\": \"Extract all notable congress member trades over $50,000 USD in the past 1 month. Include the Congress Member's name, party, the Stock/Asset purchased or sold, the Amount of the transaction, and the date of the transaction.\",\n  \"schema\": {\n    \"type\": \"object\",\n    \"properties\": {\n      \"notable_trades\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"congress_member_name\": {\n              \"type\": \"string\"\n            },\n            \"party\": {\n              \"type\": \"string\"\n            },\n            \"stock_or_asset\": {\n              \"type\": \"string\"\n            },\n            \"amount\": {\n              \"type\": \"number\"\n            },\n            \"transaction_date\": {\n              \"type\": \"string\"\n            }\n          },\n          \"required\": [\n            \"congress_member_name\",\n            \"stock_or_asset\",\n            \"amount\",\n            \"transaction_date\"\n          ]\n        }\n      }\n    },\n    \"required\": [\n      \"notable_trades\"\n    ]\n  }\n}\n",
        "sendBody": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": "[REDACTED]",
      "typeVersion": 4.2
    },
    {
      "id": "6e053bbe-21f0-4da8-97b1-47d7432b26e0",
      "name": "待機 60 Seconds",
      "type": "n8n-nodes-base.wait",
      "position": [
        240,
        -20
      ],
      "webhookId": "3ee06ad0-c399-4ad8-9780-9acff83445ab",
      "parameters": {
        "amount": 60
      },
      "typeVersion": 1.1
    },
    {
      "id": "354549f4-ff4f-4ca7-a534-ed92fb4a7de7",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1480,
        -20
      ],
      "webhookId": "9a6062c7-7b16-447c-b6ec-5ef4bc441515",
      "parameters": {
        "sendTo": "[REDACTED]",
        "message": "={{ $json.message.content }}",
        "options": {},
        "subject": "Congress Stock Update",
        "emailType": "text"
      },
      "credentials": "[REDACTED]",
      "typeVersion": 2.1
    },
    {
      "id": "008836a9-6fdb-49db-ab6a-13a3cce0200f",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        980,
        -20
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "05eb0683-67de-4df0-9110-377931d8c7c9",
              "name": "data.notable_trades",
              "type": "string",
              "value": "={{ $json.data.notable_trades }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "f6331366-b135-44b3-b541-7b2cc46ab281",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        680,
        -20
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "e58f46d1-80c6-48ec-8838-22dad87cda75",
              "operator": {
                "type": "array",
                "operation": "empty",
                "singleValue": true
              },
              "leftValue": "={{ $json.data.notable_trades }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "d5b84c8f-a8e3-42f9-b39e-91fdb54ecf72",
      "name": "待機 30 seconds",
      "type": "n8n-nodes-base.wait",
      "position": [
        760,
        240
      ],
      "webhookId": "229b06eb-d599-4ee5-8750-c07114c7858c",
      "parameters": {
        "amount": 30
      },
      "typeVersion": 1.1
    },
    {
      "id": "c5e41918-7fc2-481a-8d35-a3a835501558",
      "name": "HTTP GET Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        480,
        -20
      ],
      "parameters": {
        "url": "=https://api.firecrawl.dev/v1/extract/{{ $('POST Request').item.json.id }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": "[REDACTED]",
      "typeVersion": 4.2
    },
    {
      "id": "a0d457fb-d9e7-4090-9a66-cb002a4d6c17",
      "name": "Formatting AI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1120,
        -20
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Please format these trade date  {{ $json.data.notable_trades }} into an easily readable email format."
            }
          ]
        }
      },
      "credentials": "[REDACTED]",
      "typeVersion": 1.8
    },
    {
      "id": "0c820795-eea8-4e43-a2fe-5f43241d459f",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        -100
      ],
      "parameters": {
        "width": 200,
        "height": 500,
        "content": "Scheduled Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "a8b80cd2-ac94-465c-9fa5-ab90f4903229",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -100
      ],
      "parameters": {
        "color": 7,
        "height": 500,
        "content": "POST Request to Firecrawl"
      },
      "typeVersion": 1
    },
    {
      "id": "99cf6106-6de3-4b81-8e2f-795927192a06",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 220,
        "height": 500,
        "content": "Wait for Extract Request to Complete"
      },
      "typeVersion": 1
    },
    {
      "id": "6eb2ce69-6db3-471f-9532-10007b233d61",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -100
      ],
      "parameters": {
        "color": 3,
        "width": 520,
        "height": 580,
        "content": "GET Request Loop"
      },
      "typeVersion": 1
    },
    {
      "id": "4f373c54-6d6e-4300-a51d-2f7c30d7f362",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        960,
        -100
      ],
      "parameters": {
        "color": 6,
        "width": 460,
        "height": 580,
        "content": "Formatting Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "48c2b4b0-9dc6-4b10-949d-dc76371c51a6",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -100
      ],
      "parameters": {
        "color": 4,
        "width": 220,
        "height": 580,
        "content": "Send to Inbox"
      },
      "typeVersion": 1
    },
    {
      "id": "204d42ff-03f4-4d33-9483-391abfc91858",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -140
      ],
      "parameters": {
        "color": 4,
        "width": 500,
        "height": 920,
        "content": "🔥 Daily Web Scraper & AI Summary with Firecrawl + Email Automation\nNeed to extract and summarize web content from a site that doesn’t have an API? This workflow runs daily to scrape a web page using Firecrawl, summarize the content with OpenAI, and send it directly to your email — fully automated.\n\nWatch Full Video Step-by-step Tutorial Here:\nhttps://www.youtube.com/@Automatewithmarc\n\n🔧 How It Works\nDaily Trigger – Starts the workflow every 24 hours.\n\nFirecrawl Node – Crawls and extracts structured data from any web page you specify.\n\nOpenAI Node (Optional) – Processes and summarizes the raw content using a prompt you control.\n\nGmail Node – Sends the final summary or content snapshot to your email inbox.\n\n✅ Perfect For\nBusiness analysts tracking daily market or industry news\n\nResearchers and founders automating competitive intelligence\n\nAnyone who wants web data delivered without coding or scraping scripts\n\n🪜 Setup Instructions\nFirecrawl API Key – Sign up and insert your key in the credentials.\n\nUpdate Target URL – Edit the URL in the Firecrawl node to your desired site.\n\nCustomize the Prompt – Tailor the OpenAI prompt to extract the insights you want.\n\nConnect Gmail – Add your Gmail credentials and set your recipient email.\n\n🧰 Built With\nFirecrawl (Web scraping without code)\n\nOpenAI (For summarizing and insight extraction)\n\nGmail (Automated notifications)\n\nn8n (Workflow automation engine)\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "cb4a0aff-f40c-4db7-a7d1-8ed157c53f25",
  "connections": {
    "f6331366-b135-44b3-b541-7b2cc46ab281": {
      "main": [
        [
          {
            "node": "Wait 30 seconds",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "008836a9-6fdb-49db-ab6a-13a3cce0200f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "008836a9-6fdb-49db-ab6a-13a3cce0200f": {
      "main": [
        [
          {
            "node": "a0d457fb-d9e7-4090-9a66-cb002a4d6c17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "654dee5e-2a9a-4164-8e8b-df226b88f065": {
      "main": [
        [
          {
            "node": "Wait 60 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a0d457fb-d9e7-4090-9a66-cb002a4d6c17": {
      "main": [
        [
          {
            "node": "354549f4-ff4f-4ca7-a534-ed92fb4a7de7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 30 seconds": {
      "main": [
        [
          {
            "node": "c5e41918-7fc2-481a-8d35-a3a835501558",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 60 Seconds": {
      "main": [
        [
          {
            "node": "c5e41918-7fc2-481a-8d35-a3a835501558",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c5e41918-7fc2-481a-8d35-a3a835501558": {
      "main": [
        [
          {
            "node": "f6331366-b135-44b3-b541-7b2cc46ab281",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "654dee5e-2a9a-4164-8e8b-df226b88f065",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - マーケティング

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数16
カテゴリー1
ノードタイプ8
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34