Correo electrónico de diario de insights de datos web estructurados (usando Firecrawl)

Avanzado

Este es unMarketingflujo de automatización del dominio deautomatización que contiene 16 nodos.Utiliza principalmente nodos como If, Set, Wait, Gmail, HttpRequest. Insight diario generado a partir de datos estructurados de la web con Firecrawl

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • Pueden requerirse credenciales de autenticación para la API de destino
  • Clave de API de OpenAI

Categoría

Vista previa del flujo de trabajo
Visualización de las conexiones entre nodos, con soporte para zoom y panorámica
Exportar flujo de trabajo
Copie la siguiente configuración JSON en n8n para importar y usar este flujo de trabajo
{
  "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": "Disparador Programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -240,
        -20
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "654dee5e-2a9a-4164-8e8b-df226b88f065",
      "name": "Solicitud POST",
      "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": "Esperar 60 Segundos",
      "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": "Editar Campos",
      "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": "Si",
      "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": "Esperar 30 segundos",
      "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 Solicitud GET",
      "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": "IA de Formateo",
      "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": "Nota Adhesiva",
      "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": "Nota Adhesiva1",
      "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": "Nota Adhesiva2",
      "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": "Nota Adhesiva3",
      "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": "Nota Adhesiva4",
      "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": "Nota Adhesiva5",
      "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": "Nota Adhesiva6",
      "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": "d5b84c8f-a8e3-42f9-b39e-91fdb54ecf72",
            "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": "6e053bbe-21f0-4da8-97b1-47d7432b26e0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a0d457fb-d9e7-4090-9a66-cb002a4d6c17": {
      "main": [
        [
          {
            "node": "354549f4-ff4f-4ca7-a534-ed92fb4a7de7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d5b84c8f-a8e3-42f9-b39e-91fdb54ecf72": {
      "main": [
        [
          {
            "node": "c5e41918-7fc2-481a-8d35-a3a835501558",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6e053bbe-21f0-4da8-97b1-47d7432b26e0": {
      "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
          }
        ]
      ]
    },
    "a1c5c1a4-c61c-48d7-b803-27ffc6484781": {
      "main": [
        [
          {
            "node": "654dee5e-2a9a-4164-8e8b-df226b88f065",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Preguntas frecuentes

¿Cómo usar este flujo de trabajo?

Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.

¿En qué escenarios es adecuado este flujo de trabajo?

Avanzado - Marketing

¿Es de pago?

Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.

Información del flujo de trabajo
Nivel de dificultad
Avanzado
Número de nodos16
Categoría1
Tipos de nodos8
Descripción de la dificultad

Adecuado para usuarios avanzados, flujos de trabajo complejos con 16+ nodos

Autor
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

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34