Generador de eventos de Google

Intermedio

Este es unAI Chatbot, Multimodal AIflujo de automatización del dominio deautomatización que contiene 6 nodos.Utiliza principalmente nodos como Chat, Agent, GoogleCalendarTool, ChatTrigger, LmChatOpenAi. Crear eventos de Google Calendar a partir de chats de lenguaje natural con GPT

Requisitos previos
  • 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": "j2cXjrAKmMW32GkS",
  "meta": {
    "instanceId": "9bec9cfd8e9aeda7a9f1549c45e4485977acb7c605c675eb0d06a256366a2ca8",
    "templateCredsSetupCompleted": true
  },
  "name": "Google Event Generator",
  "tags": [],
  "nodes": [
    {
      "id": "36eca77f-0591-4569-84af-dfdf3b4684a9",
      "name": "Cuando se recibe un mensaje de chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "a8684269-0254-440d-a268-d458c4dfcecb",
      "parameters": {
        "public": true,
        "options": {
          "responseMode": "responseNodes"
        },
        "initialMessages": "Hey bestieeeee, what can I schedule for you?"
      },
      "typeVersion": 1.3
    },
    {
      "id": "987900f2-9d37-484f-b0ef-8ec50f2a9df6",
      "name": "Agentee de IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ],
      "parameters": {
        "options": {
          "systemMessage": "=You are a scheduling agent inside an n8n workflow.\n\nNow (ISO8601): {{ $now.toISO() }}\nDefault timezone: Asia/Manila\n\nYour ONLY job is to create Google Calendar events by CALLING the attached tool.\nDo NOT return JSON to the user. Always call the tool.\n\nRequired fields:\n- summary (title) → MUST NOT be empty\n- description (optional)\n- start.dateTime (ISO8601 with offset, e.g. 2025-08-24T10:00:00+08:00)\n- end.dateTime (ISO8601 with offset)\n- timeZone (IANA string, e.g. \"Asia/Manila\")\n- location (optional)\n- attendees (array of { \"email\": \"user@example.com\" })\n\nTitle handling rules:\n- If the user gives a clear title (“Standup”, “Dentist”), use it directly.\n- If the user does not give a title, infer a concise one from context. \n  Examples:\n  - “Lunch with John” if user said “schedule lunch with John tomorrow”\n  - “Dentist” if user said “dentist appointment next Wed”\n  - “Meeting” if nothing else is obvious\n- NEVER leave `summary` blank.\n\nTime handling rules:\n- Resolve relative times (“tomorrow 10am”, “next Wed 3–4:30pm”) against Now and the default timezone.\n- If duration is given, compute end = start + duration.\n- If no end/duration given, default to 60 minutes.\n\nInteraction rules:\n- If either title or time is too ambiguous, ask ONE clarification question and wait.\n- Otherwise, immediately call the Calendar tool with the required fields.\n\nOutput policy:\n- Do not output JSON.\n- After the tool runs, summarize the booked event in one sentence (e.g., “Booked Dentist on Sept 3, 2:00–2:30 PM Asia/Manila”).\n"
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "9c13d9b1-3e7a-4298-8527-310e7e804566",
      "name": "Modelo de chat OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        96,
        224
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "PDIpOMaOIqYanbhm",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3bc6de4c-18e8-48f8-91ef-dc737eac3a6e",
      "name": "Memoria simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        256,
        224
      ],
      "parameters": {
        "contextWindowLength": 10
      },
      "typeVersion": 1.3
    },
    {
      "id": "dcd82d7c-ad23-48c8-9e01-db1907a87bdd",
      "name": "Responder en el chat",
      "type": "@n8n/n8n-nodes-langchain.chat",
      "disabled": true,
      "position": [
        560,
        0
      ],
      "parameters": {
        "message": "Your event has been created!",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "85d389c8-cd55-455c-9457-107ad084e254",
      "name": "Crear un evento en el calendario Google",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        448,
        224
      ],
      "parameters": {
        "end": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}",
        "start": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "additionalFields": {
          "summary": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Summary', ``, 'string') }}"
        },
        "useDefaultReminders": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Use_Default_Reminders', ``, 'boolean') }}"
      },
      "credentials": {
        "googleCalendarOAuth2Api": {
          "id": "ngqDqMeuSxiWZu4L",
          "name": "Google Calendar account"
        }
      },
      "typeVersion": 1.3
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2d8ec69d-9949-44bf-aa9b-dd7483e63058",
  "connections": {
    "Agente de IA": {
      "main": [
        [
          {
            "node": "dcd82d7c-ad23-48c8-9e01-db1907a87bdd",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3bc6de4c-18e8-48f8-91ef-dc737eac3a6e": {
      "ai_memory": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "9c13d9b1-3e7a-4298-8527-310e7e804566": {
      "ai_languageModel": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "36eca77f-0591-4569-84af-dfdf3b4684a9": {
      "main": [
        [
          {
            "node": "Agente de IA",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "85d389c8-cd55-455c-9457-107ad084e254": {
      "ai_tool": [
        [
          {
            "node": "Agente de IA",
            "type": "ai_tool",
            "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 - Chatbot de IA, IA Multimodal

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

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

Enlaces externos
Ver en n8n.io

Compartir este flujo de trabajo

Categorías

Categorías: 34