AutomationFlowsAI & RAG › Telework Task Inventory Bot

Telework Task Inventory Bot

Telework Task Inventory Bot. Uses googleGemini, googleSheets. Event-driven trigger; 5 nodes.

Event trigger★★★★☆ complexityAI-powered5 nodesGoogle GeminiGoogle Sheets
AI & RAG Trigger: Event Nodes: 5 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Googlegemini → Google Sheets 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 →

Download .json
{
  "name": "Telework Task Inventory Bot",
  "nodes": [
    {
      "parameters": {},
      "id": "trigger-node",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        160,
        240
      ]
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "userName",
              "value": "\u5c71\u7530\u592a\u90ce"
            },
            {
              "name": "messageText",
              "value": "\u304a\u75b2\u308c\u69d8\u3067\u3059\u3002\u5348\u524d\u4e2d\u306f\u5168\u4f53\u306e\u5b9a\u4f8b\u30df\u30fc\u30c6\u30a3\u30f3\u30b0\u30671\u6642\u9593\u4f7f\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u5f8c\u3001A\u793e\u5411\u3051\u306e\u63d0\u6848\u8cc7\u6599\u306e\u4f5c\u6210\u30922\u6642\u9593\u307b\u3069\u9032\u3081\u3066\u3044\u307e\u3059\u3002\u5348\u5f8c\u306f\u6708\u672b\u306e\u7d4c\u8cbb\u7cbe\u7b97\u51e6\u7406\u309230\u5206\u3084\u3063\u3066\u304b\u3089\u9000\u52e4\u3057\u307e\u3059\u3002"
            }
          ]
        },
        "options": {}
      },
      "id": "mock-data-node",
      "name": "Mock Teams Message",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        380,
        240
      ]
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "models/gemini-2.5-flash",
          "mode": "list",
          "cachedResultName": "models/gemini-2.5-flash"
        },
        "messages": {
          "values": [
            {
              "content": "=\u3042\u306a\u305f\u306f\u512a\u79c0\u306a\u696d\u52d9\u7ba1\u7406\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3059\u3002\n\u4ee5\u4e0b\u306e\u5f93\u696d\u54e1\u306b\u3088\u308b\u696d\u52d9\u5831\u544a\u30c6\u30ad\u30b9\u30c8\u304b\u3089\u3001\u30bf\u30b9\u30af\u3092\u62bd\u51fa\u3057\u3001\u53b3\u5bc6\u306aJSON\u914d\u5217\u5f62\u5f0f\u3067\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n[\u696d\u52d9\u5831\u544a\u30c6\u30ad\u30b9\u30c8]\n{{ $json.messageText }}\n\n[\u62bd\u51fa\u30eb\u30fc\u30eb]\n1. \u6328\u62f6\u3084\u96d1\u8ac7\u306f\u9664\u5916\u3059\u308b\u3053\u3068\u3002\n2. 1\u3064\u306e\u30c6\u30ad\u30b9\u30c8\u306b\u8907\u6570\u306e\u30bf\u30b9\u30af\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u306f\u5206\u5272\u3059\u308b\u3053\u3068\u3002\n3. \u5404\u30bf\u30b9\u30af\u306f\u4ee5\u4e0b\u306e\u30ad\u30fc\u3092\u6301\u3064JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3059\u308b\u3053\u3068\u3002\n   - \"TaskName\": \u5177\u4f53\u7684\u306a\u4f5c\u696d\u5185\u5bb9\uff08\u6587\u5b57\u5217\uff09\n   - \"Duration\": \u6240\u8981\u6642\u9593\uff08\u5206\u5358\u4f4d\u306e\u6570\u5024\u3002\u4e0d\u660e\u77ad\u306a\u5834\u5408\u306f null \u306b\u3059\u308b\uff09\n   - \"Category\": \u4ee5\u4e0b\u306e4\u3064\u304b\u3089\u6700\u3082\u8fd1\u3044\u3082\u306e\u3092\u9078\u629e\uff08\"\u4f1a\u8b70\u30fb\u9023\u7d61\", \"\u5b9f\u52d9\u30fb\u4f5c\u6210\", \"\u4e8b\u52d9\u30fb\u7ba1\u7406\", \"\u305d\u306e\u4ed6\"\uff09\n\n[\u51fa\u529b\u5f62\u5f0f\u306e\u4f8b]\n[\n  { \"TaskName\": \"A\u793e\u5411\u3051\u63d0\u6848\u66f8\u306e\u4f5c\u6210\", \"Duration\": 120, \"Category\": \"\u5b9f\u52d9\u30fb\u4f5c\u6210\" },\n  { \"TaskName\": \"\u30c1\u30fc\u30e0\u671d\u4f1a\", \"Duration\": 30, \"Category\": \"\u4f1a\u8b70\u30fb\u9023\u7d61\" }\n]\n\n\u203bJSON\u4ee5\u5916\u306e\u30c6\u30ad\u30b9\u30c8\uff08```json \u306a\u3069\u306e\u30de\u30fc\u30af\u30c0\u30a6\u30f3\u8a18\u6cd5\u542b\u3080\uff09\u306f\u4e00\u5207\u51fa\u529b\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002"
            }
          ]
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "typeVersion": 1,
      "position": [
        600,
        240
      ],
      "id": "gemini-extractor",
      "name": "Gemini: Extract Tasks",
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "// 1. \u6b63\u3057\u3044\u968e\u5c64\u304b\u3089Gemini\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u53d6\u5f97\nlet rawText = $input.item.json.content.parts[0].text;\n\n// 2. \u3082\u3057AI\u304c\u4f59\u8a08\u306a ```json \u306a\u3069\u306e\u30de\u30fc\u30af\u30c0\u30a6\u30f3\u3092\u3064\u3051\u3066\u304d\u305f\u3089\u3001\u305d\u308c\u3092\u524a\u304e\u843d\u3068\u3059\nrawText = rawText.replace(/```json\\n?/g, '').replace(/```/g, '').trim();\n\nlet tasks = [];\n\n// 3. \u7dba\u9e97\u306a\u72b6\u614b\u306b\u306a\u3063\u305f\u30c6\u30ad\u30b9\u30c8\u3092JSON\u30c7\u30fc\u30bf\u3068\u3057\u3066\u5909\u63db\ntry {\n  tasks = JSON.parse(rawText);\n} catch (e) {\n  throw new Error(\"Gemini did not return valid JSON: \" + rawText);\n}\n\n// 4. \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u7528\u306b\u30c7\u30fc\u30bf\u3092\u6574\u5f62\uff08\u6295\u7a3f\u8005\u540d\u3068\u65e5\u4ed8\u3092\u4ed8\u4e0e\uff09\nconst userName = $('Mock Teams Message').first().json.userName;\nconst today = new Date().toISOString().split('T')[0];\n\nreturn tasks.map(task => {\n  return {\n    json: {\n      \"\u65e5\u4ed8\": today,\n      \"\u62c5\u5f53\u8005\": userName,\n      \"\u30bf\u30b9\u30af\u540d\": task.TaskName,\n      \"\u6240\u8981\u6642\u9593(\u5206)\": task.Duration,\n      \"\u30ab\u30c6\u30b4\u30ea\": task.Category\n    }\n  };\n});"
      },
      "id": "parse-code-node",
      "name": "Format for Sheets",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        820,
        240
      ]
    },
    {
      "parameters": {
        "documentId": {
          "__rl": true,
          "value": "YOUR_SPREADSHEET_ID_HERE",
          "mode": "id"
        },
        "sheetName": {
          "__rl": true,
          "value": "\u30b7\u30fc\u30c81",
          "mode": "list"
        },
        "options": {}
      },
      "id": "sheets-node",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1040,
        240
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Mock Teams Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mock Teams Message": {
      "main": [
        [
          {
            "node": "Gemini: Extract Tasks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini: Extract Tasks": {
      "main": [
        [
          {
            "node": "Format for Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format for Sheets": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Telework Task Inventory Bot. Uses googleGemini, googleSheets. Event-driven trigger; 5 nodes.

Source: https://github.com/alternativescom/n8n-automation-workflows/blob/main/23-telework-task-inventory-bot/workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Most expense tracker apps (like Money Lover, Spendee, or Wallet) have a common friction point: Data Entry. You have to unlock your phone, find the app, wait for it to load, navigate menus, and manuall

Google Sheets, Google Gemini, Telegram +2
AI & RAG

Sales Lead Qualifier. Uses telegramTrigger, googleSheets, telegram, googleGemini. Event-driven trigger; 41 nodes.

Telegram Trigger, Google Sheets, Telegram +3
AI & RAG

Monitor a Google Drive folder, process each image based on the prompt defined in and save the new image to the specified output Google Drive folder. Maintain a processing log in Google Sheets.

Google Drive Trigger, Google Drive, HTTP Request +2
AI & RAG

Understand your customers before you build for them. This workflow, Market Segmentation: Buyer Persona Pain Point Report, automates the grueling process of primary market research. By scraping real-wo

Form Trigger, Google Gemini, N8N Nodes Olostep +3
AI & RAG

Categories Marketing Intelligence, Ad Operations, Competitive Research, Creative Analysis

HTTP Request, Google Sheets, OpenAI +3