Skip to main content

๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets

Workflow preview

Workflow preview
100%
๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Tags: Logistics, Supply Chain, Warehouse Operations, Paperless Processes, Inventory Management Context Hi! Iโ€™m Samir, Supply Chain Engineer, Data Scientist based in Paris, ...

Best for

  • Miscellaneous automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Samir Saci.

Original n8n.io source

1.1 Workflow description

Title
๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets
Workflow name
๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets

Tags: Logistics, Supply Chain, Warehouse Operations, Paperless Processes, Inventory Management

Context

Hi! Iโ€™m Samir, Supply Chain Engineer, Data Scientist based in Paris, and founder of LogiGreen.

> Let's use AI with n8n to help SMEs digitalise their logistics operations!

Traditional inventory cycle counts often require clipboards, scanners, and manual reconciliation.

With this workflow, the operator walks through the warehouse, sends voice messages, and the bot automatically updates the inventory records.

Using AI-based transcription and structured extraction, we optimise the entire process with a simple mobile device connected to Telegram.

๐Ÿ“ฌ For business inquiries, you can find me on LinkedIn

Demo of the workflow

In this example, the bot guides the operator through the cycle count for three locations.

The workflow automatically records the results in Google Sheets.

Who is this template for?

This template is ideal for companies with limited IT resources:

  • Inventory controllers who need a hands-free, mobile-friendly counting process
  • Small 3PLs and retailers looking to digitalise stock control

๐ŸŽฅ Tutorial

A complete tutorial (with explanations of every node) is available on YouTube:

What does this workflow do?

This automation uses Telegram and OpenAIโ€™s Whisper transcription:

  1. The operator sends /start to the bot.
  2. The bot identifies the first location that still needs to be counted.
  3. The operator is guided to the location through a Telegram message.
  4. The operator records a voice message with the location ID and the number of units counted.
  5. AI nodes transcribe the audio and extract location_id and quantity.
  6. If the message cannot be transcribed, the bot asks the operator to repeat.
  7. If the location is valid and still pending, the Google Sheet is updated.
  8. The bot sends the next location, until the final one is completed.
  9. The operator receives a confirmation that the cycle count is finished.

Next Steps

Before running the workflow, follow the sticky notes and configure:

  • Connect your Telegram Bot API
  • Add your OpenAI API Key to the transcription and extraction nodes
  • Connect your Google Sheets credentials
  • Update the Google Sheet ID and the worksheet name in all Spreadsheet nodes
  • Adjust the AI prompts depending on your warehouse location naming conventions

Submitted: 20 November 2025
Template designed with n8n version 1.116.2

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Transcribe Operator Command

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 3 - Model: Information Extraction

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - Transcription Error

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Ask to repeat

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - Update Inventory Quantity

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Error Message: Wrong Location

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Get Location, Qty

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 10 - Command

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Collect Remaining Locations

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 12 - Collect Audio

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Command Selection

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 14 - Help Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note12

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note13

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Remaining Locations

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 24 - Number of Locations

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Showing the first 24 of 38 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow ๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets
Complexity advanced
Nodes 38
Categories Miscellaneous, AI Chatbot
Author Samir Saci
Published 20 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11055/11055.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does ๐Ÿ”„๏ธ AI warehouse inventory cycle count bot using GPT, Telegram and Google Sheets do?

Tags: Logistics, Supply Chain, Warehouse Operations, Paperless Processes, Inventory Management Context Hi! Iโ€™m Samir, Supply Chain Engineer, Data Scientist based in Paris, ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Miscellaneous, AI Chatbot use case.