マイワークフロー
中級
これはAI分野の自動化ワークフローで、12個のノードを含みます。主にAgent, GoogleCalendarTool, ChatTrigger, LmChatGoogleGemini, MemoryBufferWindowなどのノードを使用、AI技術を活用したスマート自動化を実現。 Gemini 1.5 Flashで自然言語でGoogleカレンダーイベントを管理する
前提条件
- •Google Gemini API Key
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "Zmia0j2r2xRgGc2J",
"meta": {
"instanceId": "2ed3b4c67898ec0d15be592aec8553e47045965b0e62ca6019ef4c1b0da74bc4",
"templateCredsSetupCompleted": true
},
"name": "My workflow",
"tags": [],
"nodes": [
{
"id": "ba7b6068-39e1-415b-9fd4-591304c2e37b",
"name": "Google カレンダー1",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
160,
20
],
"parameters": {
"options": {},
"timeMax": "={{ $fromAI(\"beforeDate\", \"This is the time user wants to search for the event past\") }}",
"timeMin": "={{ $fromAI(\"afterDate\", \"This is the time user wants to search for the event past\") }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": "7b358b08789959448cf50f4eba906fdbc4e260825dbaaffb5b4aac4ae80e2650@group.calendar.google.com",
"cachedResultName": "testn8n"
},
"operation": "getAll"
},
"typeVersion": 1.3
},
{
"id": "e7fd1c3d-5f5c-4033-b9a9-5a97fa930a1c",
"name": "Google カレンダー",
"type": "n8n-nodes-base.googleCalendarTool",
"position": [
-60,
80
],
"parameters": {
"end": "={{ $fromAI(\"endTime\",\"This is the end time of the event\") }}",
"start": "={{ $fromAI(\"startTime\",\"This is the start time of the event\") }}",
"calendar": {
"__rl": true,
"mode": "list",
"value": "7b358b08789959448cf50f4eba906fdbc4e260825dbaaffb5b4aac4ae80e2650@group.calendar.google.com",
"cachedResultName": "testn8n"
},
"additionalFields": {
"summary": "={{ $fromAI(\"summary\",\"This is the summary/title of the event\") }}"
}
},
"typeVersion": 1.3
},
{
"id": "78f963b1-2581-4106-96f8-9142319154d4",
"name": "シンプルメモリ",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
-320,
60
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c78dad7d-0997-4ac8-b30d-9d8563665059",
"name": "Google Gemini チャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-560,
140
],
"parameters": {
"options": {},
"modelName": "models/gemini-1.5-flash"
},
"typeVersion": 1
},
{
"id": "2dd0a798-19df-4579-899d-09d92be3a3ce",
"name": "AI エージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-280,
-200
],
"parameters": {
"options": {
"systemMessage": "=You are a helpful assistant\n\nThe current date is {{ $now }}.\n\nYou are connected to a Google Calendar tool that lets you search for calendar events between two dates using the variables `afterDate` and `beforeDate` in ISO format (e.g., 2025-06-24T00:00:00Z). When the user asks for events, you must extract those fields and return them to the tool to make the query.\n"
}
},
"typeVersion": 2
},
{
"id": "3a00ee73-ae8e-4913-b948-2ff2308b8775",
"name": "チャットメッセージ受信時",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
-580,
-220
],
"webhookId": "61386d2a-d33e-49b6-b1ad-5cdc6fe9059f",
"parameters": {
"options": {}
},
"typeVersion": 1.1
},
{
"id": "d6300f52-3c5f-47e8-9dce-2018f22b081d",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-660,
-300
],
"parameters": {
"height": 240,
"content": "Send the prompt if we want to set the event on the calendar or get events available in the calendar"
},
"typeVersion": 1
},
{
"id": "e48711cf-8484-42eb-950e-937baa5cee76",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-300
],
"parameters": {
"width": 360,
"height": 220,
"content": "Responsible for injecting the system prompt so things that are related for the project is only carried out. Also connects Gemini, Memory and calendar application together"
},
"typeVersion": 1
},
{
"id": "cdb655b0-52e8-4335-9570-0b05b06418b1",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
40
],
"parameters": {
"width": 220,
"height": 240,
"content": "Takes in the prompt and gives out the small event name based on the prompt"
},
"typeVersion": 1
},
{
"id": "56b1989b-73e4-4548-a8ee-c0da3f1d8d9b",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
60
],
"parameters": {
"height": 200,
"content": "\n\n\n\n\n\n\n\n\nInbuilt memory for n8n which will store the value prompt received by AI agent so model can remember the conversation"
},
"typeVersion": 1
},
{
"id": "bbfa4e3b-de8a-4453-ae33-7d656a0324a0",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-120,
60
],
"parameters": {
"width": 200,
"height": 240,
"content": "\n\n\n\n\n\n\n\n\n\n\n\nCalendar node responsible for adding event in the calendar"
},
"typeVersion": 1
},
{
"id": "90780243-d4a9-41f0-8359-4ed773198660",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
100,
-20
],
"parameters": {
"width": 200,
"height": 240,
"content": "\n\n\n\n\n\n\n\n\n\n\n\nCalendar node responsible for getting all the events in asked timeframe"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d64ed07c-8f62-404c-84b2-80f4bac64809",
"connections": {
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Google Calendar": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Calendar1": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
マルチプラットフォーム売上エージェントの自動化
RAG、CRM、および決済処理を使用したマルチプラットフォーム販売エージェント
If
Set
Switch
+
If
Set
Switch
83 ノードElectrabot
営業
個人アシスタント MCP サーバー
MCPを使用してGoogle Gemini、Gmail、カレンダーを統合した個人アシスタントを構築する
Gmail Tool
Agent
Google Sheets Tool
+
Gmail Tool
Agent
Google Sheets Tool
20 ノードAitor | 1node.ai
その他
AI アジェント:OpenAI を使用した Google カレンダーアシスタント
AI アシスタント:OpenAI を基盤にした Google カレンダー ヘルパー
Agent
Google Calendar Tool
Chat Trigger
+
Agent
Google Calendar Tool
Chat Trigger
13 ノードDataki
人工知能
⚡AI驱动のYouTube播放列表と视频摘要与分析v2
AI YouTube播放列表与视频分析チャットボット
If
Set
Code
+
If
Set
Code
72 ノードdmr
その他
AI駆動のRAGドキュメント処理とチャットボット - Google Drive、Supabase、OpenAI
Google Drive、Supabase、OpenAIを基盤としたAI駆動のRAGドキュメント処理とチャットボット
Set
Code
Limit
+
Set
Code
Limit
35 ノードBilly Christi
人工知能
アダプティブ RAG
適応型RAG戦略:クエリ分類と検索(GeminiとQdrant)
Set
Switch
Summarize
+
Set
Switch
Summarize
39 ノードdmr
エンジニアリング