Generador de resúmenes de tweets

Intermedio

Este es unautomatización que contiene 10 nodos.Utiliza principalmente nodos como Gmail, Twitter, HttpRequest, ScheduleTrigger, OpenAi. Resumen diario de tuits de la competencia usando X API, GPT-5-Nano y entrega por Gmail

Requisitos previos
  • Cuenta de Google y credenciales de API de Gmail
  • Credenciales de API de Twitter
  • 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": "EdXR18SX0sWTrnnA",
  "meta": {
    "instanceId": "de304cc0a08e5f16eba962ae8dfbab7f4de769c6ac7bdd8219fa8540651d7b04",
    "templateCredsSetupCompleted": true
  },
  "name": "Tweets Summarizer",
  "tags": [],
  "nodes": [
    {
      "id": "642f2b18-6530-49c8-a998-486cfd304bb2",
      "name": "Obtener Usuario",
      "type": "n8n-nodes-base.twitter",
      "position": [
        -496,
        -80
      ],
      "parameters": {
        "user": {
          "__rl": true,
          "mode": "username",
          "value": "your_target_username"
        },
        "resource": "user"
      },
      "credentials": {
        "twitterOAuth2Api": {
          "id": "s5KE8BtI1NPpimGM",
          "name": "X account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "890190cc-6830-4f5d-9541-6c8d74d8ee0e",
      "name": "Enviar mensaje a modelo",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        272,
        -80
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5-nano",
          "cachedResultName": "GPT-5-NANO"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Analyze the recent competitor tweets on X, considering their recent updates and engagement rate.\n\n{{ $json.data.map(t => `Tweet: ${t.text}\\nLikes: ${t.public_metrics.like_count}, Impressions: ${t.public_metrics.impression_count}`).join('\\n\\n') }}\n"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "p41Pl8OeiSkJWoCV",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "0e3760b0-afae-4c7b-9a9f-4b20f43689e3",
      "name": "Enviar mensaje",
      "type": "n8n-nodes-base.gmail",
      "position": [
        784,
        -80
      ],
      "webhookId": "74796e96-74e0-4e60-8b1c-212b372bced1",
      "parameters": {
        "sendTo": "your-email@example.com",
        "message": "={{ $json.message.content }}",
        "options": {},
        "subject": "Latest Competitor Analysis",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "7iY0y7YHPUS8FKgO",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "c9d970ec-d3d3-418e-821d-23c0b2228af8",
      "name": "Activador Programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -944,
        -80
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5bec126d-97c8-4bf0-b67a-2ce3d5ac02ae",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -592,
        -304
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "## Step 2\n\nHardcode your competitor's X (formerly Twitter) username in this node. \nThis node will fetch basic profile data to extract the corresponding user ID.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "126d2909-cde2-4daa-bf93-e51f25d9fcfc",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        -304
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "## Step 3\n\nThis node will fetch the 5 most recent posts from your competitor. \nYou can change this number by modifying the `max_results` parameter in this node.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6786839b-ed1f-466b-b336-b49bbad1dd82",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -304
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "## Step 4\n\nThis OpenAI node uses the `gpt-5-nano` model to generate a competitor analysis summary based on recent posts. \nYou can tailor the summary to your needs by modifying the prompt.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f995941a-b4dc-4db1-83b3-4daead61193b",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -304
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "## Final Step\n\nSend an email to yourself or your team by updating the email address in this node.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "0be06c61-a4c3-4763-b478-705f2930f10b",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -304
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "## Step 1\n\nSet your preferred schedule. The task is currently set to run every day at midnight.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "0d067076-c3a1-42d6-b196-842efa52d5fb",
      "name": "Obtener Publicaciones Recientes",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        -80
      ],
      "parameters": {
        "url": "=https://api.twitter.com/2/users/{{ $json.id }}/tweets ",
        "options": {},
        "sendQuery": true,
        "authentication": "predefinedCredentialType",
        "queryParameters": {
          "parameters": [
            {
              "name": "max_results",
              "value": "5"
            },
            {
              "name": "tweet.fields",
              "value": "public_metrics,created_at"
            }
          ]
        },
        "nodeCredentialType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "O24yORYDOo1exUjn",
          "name": "Bearer Auth account"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "07b834ba-0a7b-4c6f-b99a-2de3adca6056",
  "connections": {
    "642f2b18-6530-49c8-a998-486cfd304bb2": {
      "main": [
        [
          {
            "node": "0d067076-c3a1-42d6-b196-842efa52d5fb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "890190cc-6830-4f5d-9541-6c8d74d8ee0e": {
      "main": [
        [
          {
            "node": "0e3760b0-afae-4c7b-9a9f-4b20f43689e3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c9d970ec-d3d3-418e-821d-23c0b2228af8": {
      "main": [
        [
          {
            "node": "642f2b18-6530-49c8-a998-486cfd304bb2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "0d067076-c3a1-42d6-b196-842efa52d5fb": {
      "main": [
        [
          {
            "node": "890190cc-6830-4f5d-9541-6c8d74d8ee0e",
            "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

¿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 nodos10
Categoría-
Tipos de nodos6
Descripción de la dificultad

Adecuado para usuarios con experiencia intermedia, flujos de trabajo de complejidad media con 6-15 nodos

Autor
ScoutNow

ScoutNow

@scoutnow

ScoutNow is an AI-powered competitor tracking tool that monitors websites, social media, and other digital channels to deliver real-time insights into your competitors’ strategies. It automates competitive research, highlights key developments such as pricing changes or product launches, and delivers actionable recommendations directly to your inbox.

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34