Agente de investigación de noticias de IA de Perplexity Sonar Pro a Gmail

Intermedio

Este es unMarket Research, AI Summarizationflujo de automatización del dominio deautomatización que contiene 11 nodos.Utiliza principalmente nodos como Gmail, Perplexity, Agent, ScheduleTrigger, LmChatOpenAi. Resumen diario de noticias de IA basado en Perplexity Pro, formato GPT y enviado por Gmail

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • Clave de API de OpenAI
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": "KCrlYuUlMRdpLfKw",
  "meta": {
    "instanceId": "f1ddac76345e25fbcb39be5dda61ac252c301456dbe2cab4155317eaddbb7562",
    "templateCredsSetupCompleted": true
  },
  "name": "AI News Research Agent with Perplexity Sonar Pro to Gmail",
  "tags": [],
  "nodes": [
    {
      "id": "708a8c6b-d521-4dd3-a093-ddc21c95c122",
      "name": "Disparador Programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -160,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
      "name": "Enviar un mensaje",
      "type": "n8n-nodes-base.gmail",
      "position": [
        800,
        0
      ],
      "webhookId": "c90e86e9-2fcb-459d-8141-b9b819c3839b",
      "parameters": {
        "sendTo": "",
        "message": "={{ $json.output }}",
        "options": {},
        "subject": "AI News Update in the last 24 hours",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
      "name": "Formateador de Agente IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        360,
        0
      ],
      "parameters": {
        "text": "={{ $json.choices[0].message.content }}",
        "options": {
          "systemMessage": "You are a helpful formatter assistant, you will receive a chunk of AI Headlines and news, your job is to format it such that it is in an easily readable format for email."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "f7bc9b62-e051-430b-a269-395b22da6157",
      "name": "OpenAI Modelo de Chat",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        380,
        200
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "93da545a-da0d-4c65-ab59-962aa1257771",
      "name": "Memoria Simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        540,
        200
      ],
      "parameters": {
        "sessionKey": "={{ $('Research Agent').item.json.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "3a109ff0-4f5e-4da3-bda9-6103923d9ad8",
      "name": "Agente de Investigación",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        80,
        0
      ],
      "parameters": {
        "model": "sonar-pro",
        "options": {
          "searchRecency": "day"
        },
        "messages": {
          "message": [
            {
              "role": "system",
              "content": "You are a cutting‑edge AI news researcher. Every time you run, search for and retrieve the most recent developments in artificial intelligence published within the last 24 hours. \n\nFor each news item you return:\n- Include the full headline.\n- Provide a one‑sentence summary.\n- Unfurl the full URL (no shortened links or footnote markers).\n- List the publication date and the source name."
            },
            {
              "content": "What are the latest headlines in AI Development in the past 24 hours? Include any model launches or notable market news."
            }
          ]
        },
        "requestOptions": {}
      },
      "credentials": {
        "perplexityApi": {
          "id": "",
          "name": ""
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f006dbcc-794d-477e-8835-a1762e5a6719",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Scheduled Trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "044d8c27-bc57-4e29-b57b-757794aaaf49",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -200
      ],
      "parameters": {
        "height": 560,
        "content": "Perplexity Research Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "43d45d64-c592-4a1e-8b4f-f4d3bfa83d37",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        -200
      ],
      "parameters": {
        "width": 400,
        "height": 560,
        "content": "Formatter Agent"
      },
      "typeVersion": 1
    },
    {
      "id": "b324e00e-9838-49a9-b758-c3c6a53011ab",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -200
      ],
      "parameters": {
        "width": 320,
        "height": 560,
        "content": "Gmail Output Node"
      },
      "typeVersion": 1
    },
    {
      "id": "505ab0d1-a982-497a-b920-8ac3fd95c1b0",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        -260
      ],
      "parameters": {
        "width": 720,
        "height": 1120,
        "content": "🧠 AI News Update Every 24 Hours (with Perplexity + GPT Formatter)\nDescription:\nThis workflow automatically delivers a clean, AI-curated summary of the latest AI news headlines from the past 24 hours directly to your inbox — every morning at 9 AM.\n\nFor step-by-step video tutorial for this build, watch here:\nhttps://youtu.be/O-DLvaMVLso\n\n🧰 How It Works:\n🕘 Schedule Trigger\n Runs daily at 9 AM to start the workflow.\n\n🔎 Perplexity AI Agent\n Searches for AI-related headlines published in the last 24 hours, including:\n\nHeadline\n\n1-sentence summary\n\nSource\n\nFull URL\n\n🧠 GPT Formatter AI Agent\n Uses an OpenAI language model (GPT-4.1-mini) to reformat raw news data into a clean, readable email update.\n\n🧷 Memory Buffer (Optional)\n Gives the formatter context and continuity if you want to personalize formatting further over time.\n\n📧 Gmail Node\n Sends the formatted AI news digest to your inbox (or your team’s) daily.\n\n📦 Tools & APIs Required:\n✅ Perplexity AI API\n\n✅ OpenAI API\n\n✅ Gmail Account (OAuth2 credentials)\n\n🔄 Use Cases:\nDaily AI trend monitoring for individuals or teams\n\nAutomating internal market intelligence\n\nResearch triggers for blog or content creation\n\nEmail digests for newsletters or Slack updates\n\n🛠️ Customizable Ideas:\nSwap Gmail for Slack, Telegram, Discord, etc.\n\nModify the topic (e.g., Climate Tech, Crypto News)\n\nAdd sentiment analysis or AI-generated commentary\n\nSend summary to Google Docs or Notion instead\n\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ebf980fb-4544-483c-81fc-0579e5619fd2",
  "connections": {
    "93da545a-da0d-4c65-ab59-962aa1257771": {
      "ai_memory": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "3a109ff0-4f5e-4da3-bda9-6103923d9ad8": {
      "main": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "708a8c6b-d521-4dd3-a093-ddc21c95c122": {
      "main": [
        [
          {
            "node": "3a109ff0-4f5e-4da3-bda9-6103923d9ad8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f7bc9b62-e051-430b-a269-395b22da6157": {
      "ai_languageModel": [
        [
          {
            "node": "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "2cfe4f99-2215-4a20-9d9a-b8c683c5eba4": {
      "main": [
        [
          {
            "node": "645b1d90-c9f8-4ec9-9266-48eb3f6fa70c",
            "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?

Intermedio - Investigación de mercado, Resumen de IA

¿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
Intermedio
Número de nodos11
Categoría2
Tipos de nodos7
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 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