Workflow de gestion Google Calendar

Intermédiaire

Ceci est unAI Chatbot, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Agent, ChatTrigger, LmChatOpenAi, ToolWorkflow, MemoryBufferWindow. utilisationGPT-4o虚拟assistant(编排器)gestionGoogle日历事件

Prérequis
  • Clé API OpenAI
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "BEJjQAqk5n3Yc0Q4",
  "meta": {
    "instanceId": "146ab8f1ce0cef4bd9c6b91db262ad7cd77638e200455d5838ba053a27e415bc",
    "templateCredsSetupCompleted": true
  },
  "name": "ca7ai Google_Calendar_workflow",
  "tags": [],
  "nodes": [
    {
      "id": "a0403acd-098a-491b-bf2b-0a55fac37560",
      "name": "À la réception d'un message chat",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "c7cc7c8c-c07b-44ca-9108-052810da3ee0",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.3
    },
    {
      "id": "2c770716-4b5c-491e-ab26-120b34452558",
      "name": "Agent IA",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ],
      "parameters": {
        "options": {
          "systemMessage": "You are Albert, a helpful google calendar assistant. You are to use the \"sub_agent_cal\" to get calendar events, create calendar events, and delete calendar events."
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "5cd09248-ed99-456e-8d66-9b81241aa1db",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        208
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini",
          "cachedResultName": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "fYx3byxTFkzmN2m2",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "0b829bdb-c01c-4985-baaf-61527793ada1",
      "name": "Mémoire simple",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        224,
        208
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "0aa51268-61c0-411b-bdd7-4fd2a241c895",
      "name": "sous_agent_cal",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        528,
        176
      ],
      "parameters": {
        "workflowId": {
          "__rl": true,
          "mode": "list",
          "value": "41tGOnU3hN9zjJln",
          "cachedResultName": "Google_Cal_sub_agent"
        },
        "description": "=This workflow helps to manager Google calendar events.",
        "workflowInputs": {
          "value": {
            "text": "={{ $json.chatInput }}",
            "session_id": "={{ $json.sessionId }}"
          },
          "schema": [
            {
              "id": "text",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "text",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "session_id",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "session_id",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "189828ba-266e-4c4b-8db0-6b9c0a2550ae",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        0
      ],
      "parameters": {
        "color": 4,
        "width": 336,
        "height": 176,
        "content": "🟢 PARENT — CHAT ENTRY\n\n**Trigger**: chat message\n**Persona**: Albert (calendar assistant)\n**Uses tool**: sub_agent_cal (Execute Workflow Tool)\n\nchatInput ➜ text, sessionId ➜ sessionid"
      },
      "typeVersion": 1
    },
    {
      "id": "c74d95ad-d8ad-4082-9ee3-bfa4effed6c8",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        208
      ],
      "parameters": {
        "width": 336,
        "height": 112,
        "content": "🔗 ORCHESTRATION\n\n**Parent** = intent + memory\n**Child** = tools (Get / Create / Delete)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "99ffa58b-9bb1-4adb-a009-abc2d61ca3f7",
  "connections": {
    "0b829bdb-c01c-4985-baaf-61527793ada1": {
      "ai_memory": [
        [
          {
            "node": "2c770716-4b5c-491e-ab26-120b34452558",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "0aa51268-61c0-411b-bdd7-4fd2a241c895": {
      "ai_tool": [
        [
          {
            "node": "2c770716-4b5c-491e-ab26-120b34452558",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "5cd09248-ed99-456e-8d66-9b81241aa1db": {
      "ai_languageModel": [
        [
          {
            "node": "2c770716-4b5c-491e-ab26-120b34452558",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "a0403acd-098a-491b-bf2b-0a55fac37560": {
      "main": [
        [
          {
            "node": "2c770716-4b5c-491e-ab26-120b34452558",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Chatbot IA, IA Multimodale

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds7
Catégorie2
Types de nœuds6
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Calistus Christian

Calistus Christian

@ca7ai

Automation strategist and AI workflow architect creating intelligent, agent-driven processes that streamline operations. I build advanced n8n solutions integrating AI, cloud services, and real-time data orchestration for scalable impact. Explore my free workflows to get started. Premium, custom-built solutions are also available. Connect with me on LinkedIn for tailored automation expertise.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34