This workflow follows the Google Drive → OpenAI recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"parameters": {
"options": {
"systemMessage": "You have this data from the Monday.com task system. Use it"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2.2,
"position": [
304,
-112
],
"id": "cb4a8bc2-8b92-4dbb-ad81-d86e343ec083",
"name": "AI Agent"
},
{
"parameters": {
"authentication": "oAuth2",
"resource": "boardItem",
"operation": "getAll",
"boardId": "9704173529",
"groupId": "topics",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
},
"type": "n8n-nodes-base.mondayComTool",
"typeVersion": 1,
"position": [
544,
112
],
"id": "1486e048-beb3-418c-9366-73ca9fa5c997",
"name": "Get many items in Monday.com",
"credentials": {
"mondayComOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.3,
"position": [
-656,
-112
],
"id": "02993511-9aef-46b0-80f4-f8d3e5e7e599",
"name": "When chat message received"
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
368,
128
],
"id": "0fd50511-51d9-4723-bc01-f3271acc3c01",
"name": "Simple Memory"
},
{
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
192,
144
],
"id": "5d1f7745-45db-4695-a4d7-2512b353a2f1",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-656,
112
],
"id": "37a913d6-5063-4760-9c29-1c1f38f8b870",
"name": "Schedule Trigger"
},
{
"parameters": {
"httpMethod": "POST",
"path": "64e06962-695c-4f07-923a-22eff2227335",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
-640,
304
],
"id": "5364c61f-eede-4890-8dac-3dc6a287d3d0",
"name": "Webhook"
},
{
"parameters": {
"options": {}
},
"type": "n8n-nodes-base.emailReadImap",
"typeVersion": 2.1,
"position": [
-624,
496
],
"id": "a5402115-9e46-4901-9a39-ea80b3b6ff44",
"name": "Email Trigger (IMAP)",
"credentials": {
"imap": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"leftValue": "={{ $('merged_vars').item.json.source }}",
"rightValue": "scheduled",
"operator": {
"type": "string",
"operation": "equals"
},
"id": "b6215afe-a781-41dd-beeb-a3b07fba0c20"
}
],
"combinator": "and"
},
"renameOutput": true,
"outputKey": "scheduled"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
656,
-112
],
"id": "05208c0e-b349-41dc-a3ca-9d179f74d39c",
"name": "Switch"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "22ba0792-6723-4a6a-88ab-6885aa122ea2",
"name": "chatInput",
"value": "={{ $json.chatInput }}",
"type": "string"
},
{
"id": "914bcf90-57d0-4f07-90a7-d46b4a7b7f98",
"name": "sessionId",
"value": "={{ $json.sessionId }}",
"type": "string"
},
{
"id": "88c89145-0555-4062-9da3-a97b22582076",
"name": "source",
"value": "={{ $json.chat}}",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
144,
-112
],
"id": "6ae20a57-0e48-4ead-b687-597b57317008",
"name": "merged_vars"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "22ba0792-6723-4a6a-88ab-6885aa122ea2",
"name": "chatInput",
"value": "={{ $json.chatInput }}",
"type": "string"
},
{
"id": "914bcf90-57d0-4f07-90a7-d46b4a7b7f98",
"name": "sessionId",
"value": "={{ $json.sessionId }}",
"type": "string"
},
{
"id": "88c89145-0555-4062-9da3-a97b22582076",
"name": "source",
"value": "=chat",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-400,
-96
],
"id": "fb026396-2b45-4a3a-a73b-04ac1afd568d",
"name": "chat_vars"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "22ba0792-6723-4a6a-88ab-6885aa122ea2",
"name": "chatInput",
"value": "=Give me a daily report of my items in monday",
"type": "string"
},
{
"id": "914bcf90-57d0-4f07-90a7-d46b4a7b7f98",
"name": "sessionId",
"value": "=scheduled",
"type": "string"
},
{
"id": "88c89145-0555-4062-9da3-a97b22582076",
"name": "source",
"value": "=scheduled",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-400,
112
],
"id": "3120691a-5818-4fca-8623-bacae88cf828",
"name": "scheduled_vars"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "22ba0792-6723-4a6a-88ab-6885aa122ea2",
"name": "chatInput",
"value": "={{ $json.message }}",
"type": "string"
},
{
"id": "914bcf90-57d0-4f07-90a7-d46b4a7b7f98",
"name": "sessionId",
"value": "={{$json.user_id}}",
"type": "string"
},
{
"id": "88c89145-0555-4062-9da3-a97b22582076",
"name": "source",
"value": "=api",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-400,
304
],
"id": "d1f7c48a-5db0-436c-ba46-6a80db4e298b",
"name": "api_vars"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "22ba0792-6723-4a6a-88ab-6885aa122ea2",
"name": "chatInput",
"value": "=Give me a daily report of my items in monday",
"type": "string"
},
{
"id": "914bcf90-57d0-4f07-90a7-d46b4a7b7f98",
"name": "sessionId",
"value": "=scheduled",
"type": "string"
},
{
"id": "88c89145-0555-4062-9da3-a97b22582076",
"name": "source",
"value": "=scheduled",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-400,
496
],
"id": "43fa6fba-d1e2-40e1-a0c8-9adf30ef8a6d",
"name": "email_vars"
}
],
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Get many items in Monday.com": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"When chat message received": {
"main": [
[
{
"node": "chat_vars",
"type": "main",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "scheduled_vars",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "api_vars",
"type": "main",
"index": 0
}
]
]
},
"Email Trigger (IMAP)": {
"main": [
[
{
"node": "email_vars",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[]
]
},
"merged_vars": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"chat_vars": {
"main": [
[
{
"node": "merged_vars",
"type": "main",
"index": 0
}
]
]
},
"scheduled_vars": {
"main": [
[
{
"node": "merged_vars",
"type": "main",
"index": 0
}
]
]
},
"api_vars": {
"main": [
[
{
"node": "merged_vars",
"type": "main",
"index": 0
}
]
]
},
"email_vars": {
"main": [
[
{
"node": "merged_vars",
"type": "main",
"index": 0
}
]
]
}
},
"meta": {
"templateCredsSetupCompleted": true
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleDriveOAuth2ApiopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Gist:Alnutile. Uses googleDrive, openAi. Webhook trigger; 19 nodes.
Source: https://gist.github.com/alnutile/207b8344d3d428b62edf567fda26c339 — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Transforms provider documentation (URLs) into an auditable, enforceable multicloud security control baseline. It: Fetches and sanitizes HTML Uses AI to extract security requirements* (strict 3-line TX
Listens for completed Fireflies transcripts, qualifies whether a proposal is needed using OpenAI, drafts structured proposal content, populates a Google Doc template, converts to PDF, and sends it to
Transform your webinar registrations from basic form submissions into a verified, personalized, and premium attendee experience.
Video Ads Automation - Real Estate. Uses openAi, telegram, httpRequest, googleDrive. Webhook trigger; 24 nodes.
This system meticulously guides each lead through a fully automated journey, from initial contact to a personalized follow-up and CRM integration.