Google Analytics a Discord

Avanzado

Este es unMarket Researchflujo de automatización del dominio deautomatización que contiene 34 nodos.Utiliza principalmente nodos como Set, Code, Sort, Wait, Switch. Resumen diario de Discord para múltiples cuentas de Google Analytics

Requisitos previos
  • Bot Token de Discord o Webhook
  • Pueden requerirse credenciales de autenticación para la API de destino
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": "EkiPj955iLTz4N2X",
  "meta": {
    "instanceId": "52254486b159b349334953c1738da94e90477c7604aa8db2062d11afc0120739",
    "templateCredsSetupCompleted": true
  },
  "name": "google analytics to discord",
  "tags": [
    {
      "id": "ieqEVthNwLDfYSc1",
      "name": "Emp0",
      "createdAt": "2025-05-06T11:04:25.307Z",
      "updatedAt": "2025-05-06T11:04:25.307Z"
    }
  ],
  "nodes": [
    {
      "id": "d3bf8c74-1adf-46ca-8bb0-18ad83a1a3e7",
      "name": "Editar Campos2",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        80
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c89a369e-0c67-476f-8227-b56b2b1c87b3",
              "name": "discord_channel_id",
              "type": "string",
              "value": ""
            },
            {
              "id": "0bc05648-2f31-4757-8703-75d3c7f80917",
              "name": "google_analytics_id",
              "type": "string",
              "value": "="
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "6592e781-3b51-44c7-9b60-0d38cb6143b2",
      "name": "Editar Campos3",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        280
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c89a369e-0c67-476f-8227-b56b2b1c87b3",
              "name": "discord_channel_id",
              "type": "string",
              "value": ""
            },
            {
              "id": "be197313-7b88-462a-8ff7-9bb9ddf7e846",
              "name": "google_analytics_id",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "325bcec9-276a-4a62-9755-04c3033f385f",
      "name": "Google Analytics",
      "type": "n8n-nodes-base.googleAnalytics",
      "position": [
        820,
        380
      ],
      "parameters": {
        "metricsGA4": {
          "metricValues": [
            {},
            {
              "listName": "active1DayUsers"
            },
            {
              "listName": "active7DayUsers"
            },
            {
              "listName": "eventCount"
            },
            {
              "listName": "screenPageViews"
            },
            {
              "listName": "userEngagementDuration"
            }
          ]
        },
        "propertyId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.google_analytics_id }}"
        },
        "dimensionsGA4": {
          "dimensionValues": [
            {}
          ]
        },
        "additionalFields": {}
      },
      "credentials": {
        "googleAnalyticsOAuth2": {
          "id": "2MUaxG3VpYuVQyJi",
          "name": "Ganalytics - user@gmail.com"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "e8b1a2da-d59f-44fb-8d03-60e6304d0d3a",
      "name": "Activador Programado",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        280,
        280
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 21,
              "triggerAtMinute": 51
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5b91ccf6-5397-4e4b-97a9-bbe196ddbc8e",
      "name": "Activador Programado1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        280,
        80
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 21,
              "triggerAtMinute": 50
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9073f015-ae42-4461-b423-88fa2d45c205",
      "name": "Ordenar",
      "type": "n8n-nodes-base.sort",
      "position": [
        980,
        380
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "date"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "a71e1cdd-ddc3-458d-b349-638ad0d59146",
      "name": "Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        1280,
        380
      ],
      "webhookId": "6cc9c7b4-4b8e-4b01-a125-d16c6f9c2e15",
      "parameters": {
        "limit": 10,
        "guildId": {
          "__rl": true,
          "mode": "list",
          "value": "1363068664886329397"
        },
        "options": {},
        "resource": "message",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Code1').first().json.discord_channel_id }}"
        },
        "operation": "getAll",
        "authentication": "oAuth2"
      },
      "credentials": {
        "discordOAuth2Api": {
          "id": "aAorRULaRsUXUcmc",
          "name": "Discord - jarvis_bot"
        }
      },
      "typeVersion": 2,
      "alwaysOutputData": true
    },
    {
      "id": "67074924-8e24-4cf2-bc0b-115112b1bcef",
      "name": "Código",
      "type": "n8n-nodes-base.code",
      "position": [
        1620,
        380
      ],
      "parameters": {
        "jsCode": "// n8n Function Node\n\n// 1. Grab GA records\nconst gaRecords   = $('gaData').first().json.gaData;\nconst discord_channel_id   = $('Code1').first().json.discord_channel_id;\n\n// 2. Grab Discord messages and unpack their .json\nconst discordMsgs = $input.all().map(item => item.json);\n\n// Helper: get embed field by name\nfunction getEmbedField(msg, name) {\n  return msg.embeds?.[0]?.fields.find(f => f.name === name)?.value || null;\n}\n\n// Format JS Date to dd-MM-yyyy\nfunction formatDate(dateObj) {\n  const dd = String(dateObj.getDate()).padStart(2,'0');\n  const mm = String(dateObj.getMonth()+1).padStart(2,'0');\n  const yyyy = dateObj.getFullYear();\n  return `${dd}-${mm}-${yyyy}`;\n}\n\nconst today = formatDate(new Date());\n\n// Build lookup of Discord messages by Date\nconst discordByDate = {};\nfor (const msg of discordMsgs) {\n  const date = getEmbedField(msg, 'Date');\n  if (date) discordByDate[date] = msg;\n}\n\nconst results = [];\n\nfor (const wrapper of gaRecords) {\n  const rec = wrapper.json;\n  const dateKey = rec.date;\n  const existing = discordByDate[dateKey];\n\n  // Prepare new fields\n  const newFields = [\n    { name: 'Date',                  value: rec.date,                    inline: true },\n    { name: 'totalUsers',           value: rec.totalUsers,             inline: true },\n    { name: 'active1DayUsers',      value: rec.active1DayUsers,        inline: true },\n    { name: 'active7DayUsers',      value: rec.active7DayUsers,        inline: true },\n    { name: 'eventCount',           value: rec.eventCount,             inline: true },\n    { name: 'screenPageViews',      value: rec.screenPageViews,        inline: true },\n    { name: 'userEngagementDuration', value: rec.userEngagementDuration, inline: true },\n    { name: 'createdAt',            value: existing ? getEmbedField(existing, 'createdAt') : today, inline: true },\n    { name: 'updatedAt',            value: today,                       inline: true },\n  ];\n\n  // If exists, compare fields to avoid unnecessary updates\n  if (existing) {\n    let changed = false;\n    for (const field of newFields) {\n      if (getEmbedField(existing, field.name) !== field.value) {\n        changed = true;\n        break;\n      }\n    }\n    if (changed) {\n      results.push({\n        action:    'update',\n        messageId: existing.id,\n        channelId: discord_channel_id,\n        payload: {\n          content: '',\n          embeds: [{\n            type:   'rich',\n            color:  16751872,\n            fields: newFields,\n            footer: {\n              text:     'Google Analytics',\n              icon_url: 'https://images-ext-1.discordapp.net/external/BO599wb-y-yg7GM59J_ZSexsGRd2zIqOF98eJ89J_04/https/www.gstatic.com/analytics-suite/header/suite/v2/ic_analytics.svg'\n            }\n          }]\n        }\n      });\n    }\n  } else {\n    // New record → create\n    results.push({\n      action:  'create',\n      channelId: discord_channel_id,\n      payload: {\n        content: '',\n        embeds: [{\n          type:   'rich',\n          color:  16751872,\n          fields: newFields,\n          footer: {\n            text:     'Google Analytics',\n            icon_url: 'https://images-ext-1.discordapp.net/external/BO599wb-y-yg7GM59J_ZSexsGRd2zIqOF98eJ89J_04/https/www.gstatic.com/analytics-suite/header/suite/v2/ic_analytics.svg'\n          }\n        }]\n      }\n    });\n  }\n}\n\n// Return array for next nodes\nreturn results.map(r => ({ json: r }));\n"
      },
      "typeVersion": 2
    },
    {
      "id": "01594d3d-7bc9-425c-af39-27c69d825321",
      "name": "Nota Adhesiva",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        40
      ],
      "parameters": {
        "width": 640,
        "height": 180,
        "content": "## Google Analytics Property 1\n## Discord Channel 1\n"
      },
      "typeVersion": 1
    },
    {
      "id": "04ed2530-fa65-427f-9019-bf970055481c",
      "name": "Nota Adhesiva3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        240
      ],
      "parameters": {
        "width": 640,
        "height": 180,
        "content": "## Google Analytics Property 2\n## Discord Channel 2\n"
      },
      "typeVersion": 1
    },
    {
      "id": "7567b2b8-2c12-42d8-898a-be7f59414061",
      "name": "Código1",
      "type": "n8n-nodes-base.code",
      "position": [
        680,
        380
      ],
      "parameters": {
        "jsCode": "return $input.all();"
      },
      "typeVersion": 2
    },
    {
      "id": "84d96e4a-2da5-4823-ba06-ec56346c5247",
      "name": "gaData",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        380
      ],
      "parameters": {
        "jsCode": "return {\"gaData\":$input.all()}"
      },
      "typeVersion": 2
    },
    {
      "id": "6ea881a9-19ef-4f4c-815c-efd5b963a7fc",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2380,
        200
      ],
      "parameters": {
        "url": "=https://discord.com/api/v10/channels/{{ $json.channelId }}/messages",
        "method": "POST",
        "options": {},
        "jsonBody": "={{ $json.payload }}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "flhKBJwaIL2eyx1u",
          "name": "Header Auth - discord"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e27342c6-4128-4be3-bf95-1d11fdc36126",
      "name": "HTTP Request8",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2340,
        620
      ],
      "parameters": {
        "url": "=https://discord.com/api/v10/channels/{{ $json.channelId }}/messages/{{ $json.messageId }}",
        "method": "PATCH",
        "options": {},
        "jsonBody": "={{ $json.payload }}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "flhKBJwaIL2eyx1u",
          "name": "Header Auth - discord"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "113d9181-b7f5-455c-8c98-3592b223544a",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        1840,
        380
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "create",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "0fada883-e01d-402f-a582-960511303d1f",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "create"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "update",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "28274b49-c3eb-49cc-9e22-ee10e0be456f",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "update"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "e1bb4d90-07d8-4d9a-9fa9-77969b980973",
      "name": "Iterar sobre Elementos",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2140,
        600
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "cb148176-64d2-412d-b93f-7a4f41f71bb6",
      "name": "Esperar",
      "type": "n8n-nodes-base.wait",
      "position": [
        2560,
        620
      ],
      "webhookId": "1b5c93e8-676d-49fa-acf3-46aeefbcc167",
      "parameters": {
        "amount": 10
      },
      "typeVersion": 1.1
    },
    {
      "id": "32daa189-fbf3-456f-8fe1-532ea5329163",
      "name": "Iterar sobre Elementos4",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2140,
        160
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "acfea1dc-6154-419a-bfc3-33d38b88d392",
      "name": "Esperar4",
      "type": "n8n-nodes-base.wait",
      "position": [
        2560,
        180
      ],
      "webhookId": "97dcc624-188f-422e-a852-3c33f67666ce",
      "parameters": {
        "amount": 10
      },
      "typeVersion": 1.1
    },
    {
      "id": "d2aebef9-605a-471a-b0cd-c90946e0ecaf",
      "name": "Nota Adhesiva1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2060,
        20
      ],
      "parameters": {
        "color": 5,
        "width": 700,
        "height": 360,
        "content": "## send a new discord message\n\nif its a new day, then we send a new discord message to the discord server with the latest google analytics data. Google analytics data refreshes at UTC midnight"
      },
      "typeVersion": 1
    },
    {
      "id": "530cb064-a232-4791-8041-d2e86d081687",
      "name": "Nota Adhesiva2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2060,
        440
      ],
      "parameters": {
        "color": 5,
        "width": 700,
        "height": 400,
        "content": "## update an existing discord message\n\nGoogle analytics data in not real time and the value changes in the next few days. After 7 days, the traffic values are finalized. So in order to display the accurate traffic to the discord server, we need to update the previous values "
      },
      "typeVersion": 1
    },
    {
      "id": "04c66040-d5dd-46df-874c-13a2f41e5bee",
      "name": "Editar Campos",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        480
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c89a369e-0c67-476f-8227-b56b2b1c87b3",
              "name": "discord_channel_id",
              "type": "string",
              "value": ""
            },
            {
              "id": "0bc05648-2f31-4757-8703-75d3c7f80917",
              "name": "google_analytics_id",
              "type": "string",
              "value": "="
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "41409245-e194-4e69-866c-f357af2607b1",
      "name": "Editar Campos4",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        680
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "c89a369e-0c67-476f-8227-b56b2b1c87b3",
              "name": "discord_channel_id",
              "type": "string",
              "value": ""
            },
            {
              "id": "be197313-7b88-462a-8ff7-9bb9ddf7e846",
              "name": "google_analytics_id",
              "type": "string",
              "value": ""
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "15404bc5-657a-4429-ada9-6528d766b779",
      "name": "Activador Programado2",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        280,
        680
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 21,
              "triggerAtMinute": 53
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1901a316-6baa-4674-b8b5-cfa4a35d3818",
      "name": "Activador Programado3",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        280,
        480
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 21,
              "triggerAtMinute": 52
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "34d1a765-f42a-4cdd-bc7a-2c97234fd3fd",
      "name": "Nota Adhesiva4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        440
      ],
      "parameters": {
        "width": 640,
        "height": 180,
        "content": "## Google Analytics Property 3\n## Discord Channel 3\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "44ca144f-ca2d-4c7a-8348-2a50dbb48772",
      "name": "Nota Adhesiva5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        640
      ],
      "parameters": {
        "width": 640,
        "height": 180,
        "content": "## Google Analytics Property 4\n## Discord Channel 4\n"
      },
      "typeVersion": 1
    },
    {
      "id": "28e662c6-7071-4d54-b7ca-710d185e3422",
      "name": "Nota Adhesiva6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        820,
        200
      ],
      "parameters": {
        "color": 7,
        "width": 400,
        "content": "### Fetches and sorts google analytics data\n\nEnsure that your google analytics data is setup properly, follow the [n8n guide here](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleanalytics/)"
      },
      "typeVersion": 1
    },
    {
      "id": "dfc3412f-e989-4c6f-aa8e-5a2e34b0221d",
      "name": "Nota Adhesiva7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        200
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "content": "### Fetches and sorts discord messages from the channel\n\nEnsure that your discord Oauth is setup properly, follow the [n8n guide to setup discord oauth](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.discord/)"
      },
      "typeVersion": 1
    },
    {
      "id": "1287b658-275e-4d72-858c-2f279a20eb41",
      "name": "Ordenar6",
      "type": "n8n-nodes-base.sort",
      "onError": "continueRegularOutput",
      "position": [
        1440,
        380
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "embeds[0].fields[0].value"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8a999078-a716-4b1a-b501-dec5beb469f0",
      "name": "Nota Adhesiva8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        200
      ],
      "parameters": {
        "color": 7,
        "width": 160,
        "content": "### Maps the data\nusing the Date field"
      },
      "typeVersion": 1
    },
    {
      "id": "dfe339cd-0335-4f77-8517-a35441eb6193",
      "name": "Nota Adhesiva9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2060,
        -140
      ],
      "parameters": {
        "color": 7,
        "width": 700,
        "height": 120,
        "content": "### Use the discord api to update messages\nHere, we use the official discord api rather than the discord node to update messages because that feature has not been implmented in n8n yet. [Read the official discord docs](https://discord.com/developers/docs/reference#authentication) to setup your  Bot Token Authorization Header"
      },
      "typeVersion": 1
    },
    {
      "id": "39be50dc-79bc-4091-a802-ae7aacdfa684",
      "name": "Nota Adhesiva10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        -20
      ],
      "parameters": {
        "color": 7,
        "width": 440,
        "height": 480,
        "content": "## Get your discord channel id\n1. Get your discord channel id by sending a text on your discord channel and then copy message link\n2. Paste the text below and you will see your message link in the form of https://discord.com/channels/server_id/channel_id/message_id , you will want to get the channel_id which is the number in the middle\n![get discord channel id](https://articles.emp0.com/wp-content/uploads/2025/06/12345678-1.png)"
      },
      "typeVersion": 1
    },
    {
      "id": "a1032930-f62f-49d4-8e39-28c9c73fe5a2",
      "name": "Nota Adhesiva11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        500
      ],
      "parameters": {
        "color": 7,
        "width": 440,
        "height": 420,
        "content": "## Get your google analytics id\n1. Find your google analytics id by going to google analytics dashboard, seeing the properties in the top right and copy paste that number to the flow\n![get google analytics id ](https://articles.emp0.com/wp-content/uploads/2025/06/12345678.png)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "ernonQOxi07n6WGi",
    "executionOrder": "v1"
  },
  "versionId": "064d13a2-ee8a-4672-9065-09e4aed21c32",
  "connections": {
    "67074924-8e24-4cf2-bc0b-115112b1bcef": {
      "main": [
        [
          {
            "node": "113d9181-b7f5-455c-8c98-3592b223544a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9073f015-ae42-4461-b423-88fa2d45c205": {
      "main": [
        [
          {
            "node": "84d96e4a-2da5-4823-ba06-ec56346c5247",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cb148176-64d2-412d-b93f-7a4f41f71bb6": {
      "main": [
        [
          {
            "node": "e1bb4d90-07d8-4d9a-9fa9-77969b980973",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7567b2b8-2c12-42d8-898a-be7f59414061": {
      "main": [
        [
          {
            "node": "325bcec9-276a-4a62-9755-04c3033f385f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1287b658-275e-4d72-858c-2f279a20eb41": {
      "main": [
        [
          {
            "node": "67074924-8e24-4cf2-bc0b-115112b1bcef",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "acfea1dc-6154-419a-bfc3-33d38b88d392": {
      "main": [
        [
          {
            "node": "32daa189-fbf3-456f-8fe1-532ea5329163",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "113d9181-b7f5-455c-8c98-3592b223544a": {
      "main": [
        [
          {
            "node": "32daa189-fbf3-456f-8fe1-532ea5329163",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "e1bb4d90-07d8-4d9a-9fa9-77969b980973",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "84d96e4a-2da5-4823-ba06-ec56346c5247": {
      "main": [
        [
          {
            "node": "a71e1cdd-ddc3-458d-b349-638ad0d59146",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a71e1cdd-ddc3-458d-b349-638ad0d59146": {
      "main": [
        [
          {
            "node": "1287b658-275e-4d72-858c-2f279a20eb41",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "04c66040-d5dd-46df-874c-13a2f41e5bee": {
      "main": [
        [
          {
            "node": "7567b2b8-2c12-42d8-898a-be7f59414061",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d3bf8c74-1adf-46ca-8bb0-18ad83a1a3e7": {
      "main": [
        [
          {
            "node": "7567b2b8-2c12-42d8-898a-be7f59414061",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6592e781-3b51-44c7-9b60-0d38cb6143b2": {
      "main": [
        [
          {
            "node": "7567b2b8-2c12-42d8-898a-be7f59414061",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "41409245-e194-4e69-866c-f357af2607b1": {
      "main": [
        [
          {
            "node": "7567b2b8-2c12-42d8-898a-be7f59414061",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6ea881a9-19ef-4f4c-815c-efd5b963a7fc": {
      "main": [
        [
          {
            "node": "acfea1dc-6154-419a-bfc3-33d38b88d392",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e27342c6-4128-4be3-bf95-1d11fdc36126": {
      "main": [
        [
          {
            "node": "cb148176-64d2-412d-b93f-7a4f41f71bb6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e1bb4d90-07d8-4d9a-9fa9-77969b980973": {
      "main": [
        [],
        [
          {
            "node": "e27342c6-4128-4be3-bf95-1d11fdc36126",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "325bcec9-276a-4a62-9755-04c3033f385f": {
      "main": [
        [
          {
            "node": "9073f015-ae42-4461-b423-88fa2d45c205",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "32daa189-fbf3-456f-8fe1-532ea5329163": {
      "main": [
        [],
        [
          {
            "node": "6ea881a9-19ef-4f4c-815c-efd5b963a7fc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8b1a2da-d59f-44fb-8d03-60e6304d0d3a": {
      "main": [
        [
          {
            "node": "6592e781-3b51-44c7-9b60-0d38cb6143b2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b91ccf6-5397-4e4b-97a9-bbe196ddbc8e": {
      "main": [
        [
          {
            "node": "d3bf8c74-1adf-46ca-8bb0-18ad83a1a3e7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "15404bc5-657a-4429-ada9-6528d766b779": {
      "main": [
        [
          {
            "node": "41409245-e194-4e69-866c-f357af2607b1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1901a316-6baa-4674-b8b5-cfa4a35d3818": {
      "main": [
        [
          {
            "node": "04c66040-d5dd-46df-874c-13a2f41e5bee",
            "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 - Investigación de mercado

¿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 nodos34
Categoría1
Tipos de nodos11
Descripción de la dificultad

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

Autor
Jay Emp0

Jay Emp0

@jay-emp0

AI and Automation developer. Im implementing n8n and ai tools to automate marketing and sales in companies

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34