---
title: "Turn a Google Sheet Into a Pickup Desk for Your Telegram Group"
titleOverride: "Look Up Pickup Points in Google Sheets With a Telegram Bot"
pubDate: 2026-12-02
description: "Build a Telegram bot that looks up pickup locations and hours in Google Sheets. Change one cell for new directions and limit lookups to one private group."
author:
  name: "Piotr Grudzień"
  image: "/blog-assets/authors/piotr_grudzien.jpg"
image:
  url: "/blog-assets/posts/private-telegram-pickup-depot-directory_bg.webp"
  alt: "A bookbinding kit and a Saturday pickup ticket for PITH at the Copper counter in Pattern Loft, 10:00 to 12:00 London time."
tags: [tutorials, engineering]
articleCta:
  title: "Build your workshop’s pickup desk"
  subtitle: "Start with three kit records, then try the Saturday pickup question in your own group."
  button: "Create a Quickchat AI Agent"
  href: "https://app.quickchat.ai/register"
faq:
  - question: "Can a Telegram bot look up a row in a private Google Sheet?"
    answer: "Yes. Connect Google Sheets to a Quickchat AI Agent and put the directory in the file that connection creates. A Google Sheets values.get Action reads a fixed range when a group member asks. The member can receive the result without access to the spreadsheet."
  - question: "Who can look up pickup locations in the Telegram group?"
    answer: "Any member of the allowed private group can mention the shared bot or reply to it. The Action checks the numeric chat ID and the group chat type before reading the sheet. Everyone in that group should be allowed to see every row in the selected range."
  - question: "Can I test both Telegram groups with one account?"
    answer: "Yes. Create two private groups, leave Add Members empty, then connect the shared bot to each group from Quickchat AI. Ask the same question from the same account in both groups. Only the group whose chat ID matches the Action condition can retrieve the pickup row."
  - question: "Can someone edit the Google Sheet through Telegram?"
    answer: "The pickup Action uses GET and has no write operation. With the starter logging Action disabled, a volunteer can only request a lookup. The coordinator edits pickup locations and hours directly in Google Sheets."
  - question: "How quickly does a changed pickup location appear?"
    answer: "The next successful lookup reads the current cells. In Workshop crew, replying to the original Copper counter message triggered a fresh Google Sheets read and returned Ochre bench. The original Telegram message kept its text."
  - question: "Do I need BotFather or Apps Script to connect Telegram and Google Sheets?"
    answer: "No. The shared Quickchat AI bot handles Telegram group messages. A Google Sheets connection supplies the credential for the read Action. The coordinator needs permission to add the bot and to create the spreadsheet in their Google account."
  - question: "Will renaming the Telegram group break the lookup?"
    answer: "The Action matches the numeric chat ID. A new name works with the same ID. If Telegram migrates the group and assigns a new ID, copy it from a new Inbox message and update the condition."
  - question: "How do I add a fourth pickup point?"
    answer: "Fill row 5 on the Pickup tab, extend the Action range to Pickup!A1:F5, and save it. Ask for the new code in the authorized group and compare the answer with the new row."
howto:
  - name: "Create a private pickup desk"
    text: "Create a dedicated Quickchat AI Agent, turn off its public entry points, confirm two private Telegram test groups and copy the allowed group’s chat ID from Inbox."
  - name: "Set up the pickup directory in Google Sheets"
    text: "Connect Google Sheets, disable the starter logging Action and paste the three pickup records into A1:F4 on the Pickup tab of the created file."
  - name: "Restrict the lookup to the crew"
    text: "Create one fixed GET Action for Pickup!A1:F4. Filter the response to $.values and require the exact crew chat ID plus a chat type of group or supergroup."
  - name: "Ask where to collect a bookbinding pack"
    text: "Save the pickup instructions in Main Prompt. Ask the shared bot for the Saturday location and compare its room, counter and hours with the PITH row."
  - name: "Change a cell and check the next reply"
    text: "Change D3 from Copper counter to Ochre bench, ask the follow-up in the same chat and inspect the fresh Action response."
  - name: "Test the same question in another group"
    text: "Ask from Practice room, confirm the message reached its own Inbox conversation and verify that no directory request was dispatched. Disconnect that group and restore the practice cell."
---

**“Where can I collect a bookbinding pack on Saturday?”** The workshop’s Google Sheet lists that kit twice. Follow the Wednesday row and you’ll end up at a cobalt trolley in Paper Hall. Here’s the answer our Telegram bot sent to **Workshop crew** for Saturday.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 288 / 193; --phone-ratio: 130 / 157; --capture-width: 36rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/finish-line-mobile.webp" width="780" height="942">![Quickchat AI tells Workshop crew to collect PITH at the Copper counter in Pattern Loft on Saturday from 10:00 to 12:00 London time. Google Sheets shows Copper counter in D3.](https://quickchat.ai/_astro/finish-line.CqfQJLDy_Z1NM8DC.webp)</picture>

<figcaption>One question in Telegram finds the Saturday row. The volunteer gets a room, a counter and a time without opening the sheet.</figcaption>
</figure>

You’ll build the same private Telegram pickup desk. A Quickchat AI Action reads the current rows in Google Sheets every time a volunteer asks. You’ll move Saturday’s pickup by editing one cell, then try the same question from a second group that can talk to the bot but has no access to the directory.

To follow along, you need a Quickchat AI account with credits for replies, a Google account where you can create a spreadsheet, and one Telegram account for both private groups. Use fictional locations until you’ve [checked the other group’s access](#other-group).

## 1. How do you connect a private Telegram group to the pickup desk?

Give the workshop its own Quickchat AI Agent. Both groups will be able to talk to it. A greeting from Workshop crew will give you the group ID you need for the [Google Sheets lookup](#read-action).

1. [Create a Quickchat AI account](https://app.quickchat.ai/register), or choose **Add new AI Agent** in your workspace. Choose **Set up manually**, name the Agent **Pickup desk** under **Identity**, and leave its **Knowledge Base** empty. The pickup points will live in one place so a change can take effect on the next lookup.
2. Open **Channels → Your Website → Install → Availability and access**. Turn off **Widget & Embed access** and set **Chat Page Access** to **Nobody**. On the same Install page, open **AI assistants** and choose **Visitors only**. Under **External Apps → MCP**, leave **Enable MCP** off. Leave other channels disconnected. [Website access controls](https://quickchat.ai/docs/channels/website#access-control) · [AI assistant access](https://quickchat.ai/docs/channels/ai-assistant-access)

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 44 / 43; --phone-ratio: 380 / 569; --capture-width: 44rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-access-mobile.webp" width="760" height="1138">![Quickchat AI website settings for Pickup desk showing Widget & Embed access off, Chat Page Access set to Nobody and the separate AI assistant setting.](https://quickchat.ai/_astro/setup-access.BKXdspMG_ZP8LyJ.webp)</picture>

<figcaption>The hosted Chat Page, the widget and AI assistant access each have their own control.</figcaption>
</figure>

3. In Telegram, choose **New Group**. On desktop, open the top-left menu or the compose pencil above the chat list. On iPhone, tap the compose icon in **Chats**. On Android, tap the round pencil. Name the group **Workshop crew**, leave **Add Members** empty and choose **Create**. If your app shows the member picker first, choose **Next** with nobody selected. Repeat for **Practice room**. Keep both groups private. [Telegram’s group creation guide](https://telegram.org/faq#q-how-do-i-create-a-group) · [Creating an empty group](https://telegram.org/blog/shareable-folders-custom-wallpapers#improved-interfaces)
4. Open **External Apps → Telegram** in Quickchat AI’s dashboard on a device where you’re signed in to Telegram. Leave **Direct message link** off and click **Add to a Telegram group**. Keep that tab open. If a Telegram webpage appears, click **Start Bot**, then **Open Telegram** or **Open Telegram Desktop** at the browser prompt. Choose **Workshop crew** in Telegram. If you see the **Add Bot** permissions shown below, turn **Admin Rights** off and choose **Add Bot as Member**. Approve the addition when Telegram asks.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 320 / 173; --phone-ratio: 76 / 79; --capture-width: 40rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-group-mobile.webp" width="760" height="790">![Workshop crew has one Telegram member. The Add Bot window shows Quickchat AI with Admin Rights off and the Add Bot as Member button.](https://quickchat.ai/_astro/setup-group.Jqp7AqY7_mWvR4.webp)</picture>

<figcaption>You can start the group on your own. The shared bot can answer pickup questions as an ordinary member.</figcaption>
</figure>

5. Return to the original Quickchat AI tab. Under **Waiting for your confirmation**, click **Confirm** beside **Workshop crew**. Its name moves to **Connected chats**. Click **Add to another group**, choose **Practice room** in Telegram and confirm its name back in Quickchat AI. Check that both group switches are on. [Connect a Telegram group](https://quickchat.ai/docs/channels/telegram)

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 320 / 151; --phone-ratio: 190 / 201; --capture-width: 40rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-telegram-mobile.webp" width="760" height="804">![Telegram confirms the bot joined Workshop crew. Quickchat AI shows the crew’s Confirm button, then Workshop crew and Practice room enabled under Connected chats.](https://quickchat.ai/_astro/setup-telegram.KxUPo9ym_NjjAr.webp)</picture>

<figcaption>Telegram confirms the bot joined Workshop crew as a member. In Quickchat AI, confirm each group by name and check that both switches are on.</figcaption>
</figure>

6. In **Workshop crew**, type `@QuickchatAI_bot`, select **Quickchat AI** from the suggestions and send **Hello from Workshop crew**. Our bot answered “Hello, workshop crew! How can I help?” Open that greeting in Quickchat AI’s **Inbox** and expand **Details → Visitor**. Copy **Telegram Chat Id**, including the minus sign, and note **Telegram Chat Type**. Keep the crew’s ID for step 3. For each new question, mention the bot or use Telegram’s **Reply** on one of its messages.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 80 / 37; --phone-ratio: 20 / 11; --capture-width: 30rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-greeting-mobile.webp" width="760" height="418">![Workshop crew in Telegram with the member’s addressed greeting and Quickchat AI’s reply asking how it can help.](https://quickchat.ai/_astro/setup-greeting.CQRE2ZmG_Z4joG2.webp)</picture>

<figcaption>Look for this same greeting in Inbox to find the Telegram chat ID for Workshop crew.</figcaption>
</figure>

## 2. What should you put in the pickup spreadsheet?

Give each collection window its own row. The kit name answers *what*, the day answers *when*, and the pickup point tells the volunteer where to stand once they reach the room. A separate status keeps a paused kit in the directory without sending someone to collect it.

1. In Quickchat AI, open **Actions & MCPs → Add Action → Google Sheets → Connect Google Sheets**. Choose your demo Google account and approve access. The connection creates a spreadsheet with a **Leads** tab and an enabled Action named `log_lead_to_google_sheet`. Switch that Action **off**. Keep it so you can copy its spreadsheet URL. [How the Google Sheets connection works](https://quickchat.ai/docs/ai-agent/google-sheets)

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 704 / 409; --phone-ratio: 380 / 307; --capture-width: 44rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-sheets-mobile.webp" width="760" height="614">![The Add Action menu beside the Connect Google Sheets dialog that creates a spreadsheet and a starter logging Action.](https://quickchat.ai/_astro/setup-sheets.ClDHovyr_frRHc.webp)</picture>

<figcaption>This connection creates the file your pickup Action will read. Open that same file when you add the Pickup tab.</figcaption>
</figure>

2. Open **Google Sheets** again in the Add Action menu and click **Open sheet**. We named our file **Workshop pickup directory**. In the connected file, add a tab named `Pickup`. Keep sharing set to **Restricted**. Google’s sharing settings control who can open the file directly. Select A1:F4, choose **Format → Number → Plain text**, and paste the four lines below into A1. You can also copy A1:F4 from the [formatted practice workbook](/blog-assets/downloads/pickup-desk/Pickup.xlsx) or [download the TSV](/blog-assets/downloads/pickup-desk/Pickup.tsv).

<details class="tutorial-artifact">
<summary>Copy the three pickup records and their header</summary>

```text
Code	Kit	Room	Pickup point	Window (London)	Status
MICA	Bookbinding pack	Paper Hall	Cobalt trolley	Wednesday 17:00 to 19:00	Open
PITH	Bookbinding pack	Pattern Loft	Copper counter	Saturday 10:00 to 12:00	Open
KNOT	Screen frame	Mould Annex	Green racks	By appointment	Paused
```

</details>

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 615 / 406; --phone-ratio: 195 / 259; --capture-width: 40rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/pickup-sheet-mobile.webp" width="780" height="1036">![The Workshop pickup directory in Google Sheets, with Pickup selected. MICA and PITH list the bookbinding pack on different days, and KNOT is paused.](https://quickchat.ai/_astro/pickup-sheet.DfMX-LO8_2eUHoh.webp)</picture>

<figcaption>Google Sheets highlights the Saturday pickup in row 3. MICA serves Wednesday, and the screen-frame row is paused.</figcaption>
</figure>

Look at **D3**. `Copper counter` is the one cell you’ll change later. **PITH** identifies the row across that edit. The lookup returns the whole range to the Agent. Put only information the whole crew may see in those six columns.

<a id="read-action"></a>

## 3. How can the Telegram bot read the sheet only for Workshop crew?

Use one fixed Google Sheets `GET` request and put two **Run only when** conditions on it. Telegram supplies the chat ID and chat type when a message arrives. Quickchat AI checks both before sending a request to Google. A member can ask for a kit or a depot code in their own words. The spreadsheet, range and group ID are settings you control.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 100 / 37; --phone-ratio: 195 / 218; --capture-width: 46rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/group-access-mobile.webp" width="780" height="872">![Access diagram for Workshop crew and Practice room. Only the matching group ID and group chat type open the read to Pickup!A1:F4.](https://quickchat.ai/_astro/group-access.Mp4JjZhJ_14Q9fB.webp)</picture>

<figcaption>Both groups can address the bot. Only Workshop crew has the ID that lets its question reach the sheet.</figcaption>
</figure>

1. In **Actions & MCPs**, open the disabled starter Action and copy its **API endpoint URL**. Keep everything through `/values/`. Replace the rest (including `:append` and the query string) with `Pickup!A1:F4`. The resulting URL has this shape. Keep your actual spreadsheet ID in place of `YOUR_SHEET_ID`. [Google Sheets values.get reference](https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get)

```text
https://sheets.googleapis.com/v4/spreadsheets/YOUR_SHEET_ID/values/Pickup!A1:F4
```

2. Choose **Add Action → API Action → Create manually**. Fill in one Action with the following values. A Google connection can write to the file it created. This particular Action can only read the cells in its URL.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 44 / 25; --phone-ratio: 15 / 16; --capture-width: 44rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-editor-overview-mobile.webp" width="720" height="768">![The Pickup desk API Action editor and an enlarged view of its GET method and Google Sheets URL ending in /values/Pickup!A1:F4.](https://quickchat.ai/_astro/setup-editor-overview.D6ERq7lN_MubRX.webp)</picture>

<figcaption>Choose GET and keep your own spreadsheet ID. The close-up wraps the URL so you can read the entire range.</figcaption>
</figure>

| In the Action editor | Enter or select |
| --- | --- |
| API Action Name | `read_pickup_directory` |
| When to run | **AI decides** |
| What to ask the user first | Leave empty. There are no request parameters. |
| API Endpoint | **GET** and the URL you just prepared |
| Headers | Key `Authorization`, value `Bearer {{google_sheets_access_token}}`. Use the placeholder exactly as shown. |
| Body and Query Params | Leave both empty. |
| Advanced settings → Response filter | Click **Add JSONPath** and enter `$.values`. This returns the header and data rows. |
| Save to memory | Leave empty. |

3. In **API Action Description**, paste the sentence below. It tells the Agent when to take a fresh reading, including a short follow-up after it has already given someone directions.

```text
Read the current pickup rows for every question about a workshop kit, collection point, hours, or whether a previous answer still applies.
```

4. In **Advanced settings → Run only when**, click **Add condition** twice. Enter the keys exactly as shown, without a `metadata_` prefix. The editor joins the rows with **AND**. [Action run conditions](https://quickchat.ai/docs/ai-agent/actions#run-only-when)

| Metadata key | Condition | Value |
| --- | --- | --- |
| `telegram_chat_id` | **equals** | Paste the numeric **Workshop crew** chat ID from step 1. |
| `telegram_chat_type` | **is one of** | Enter `group` and `supergroup` as **two separate values**. |

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 704 / 423; --phone-ratio: 360 / 431; --capture-width: 44rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-gates-mobile.webp" width="720" height="862">![The Inbox shows a sample Telegram chat ID. In Run only when, telegram_chat_id equals that ID and telegram_chat_type is one of group or supergroup.](https://quickchat.ai/_astro/setup-gates.B2_D49sn_Z2zDAU.webp)</picture>

<figcaption>Enter the ID from your own Inbox in the first condition. The second accepts group and supergroup as separate values.</figcaption>
</figure>

5. Save the Action, enable `read_pickup_directory`, and check that the starter logging Action is still off. Quickchat AI supplies the Google token at request time. Volunteers need neither a link to the file nor permission to edit it. To see how the same connection can record new rows, see the [Google Sheets reporting tutorial](https://quickchat.ai/post/connect-ai-agent-to-google-sheets).

We tested these settings in the Action editor with each connected group’s ID. Using Workshop crew and a chat type of `group`, Google returned all 24 cells, with **Copper counter** in D3. Using Practice room’s ID, Quickchat AI stopped the lookup before it sent a request to Google.

<details class="tutorial-artifact">
<summary>Draft the Action with ChatGPT or Claude</summary>

Connect your Quickchat AI account through the [ChatGPT app](https://chatgpt.com/plugins/plugin_asdk_app_6a4656c688748191be4c5247fb0d5dfc) or the [Claude connector](https://claude.ai/directory/connectors/app-quickchat-ai). You can use the request below instead of filling in the editor manually. Complete Google consent and both Telegram group confirmations yourself. The account connection works with **Enable MCP** left off on Pickup desk. [Manage Quickchat AI from an assistant](https://quickchat.ai/docs/manage-with-ai)

```text
On my Pickup desk Agent, inspect the disabled Google Sheets starter Action. Draft one inactive API Action named read_pickup_directory. Use its spreadsheet ID and GET the fixed range Pickup!A1:F4. Use the Google Sheets system token for the Bearer header, AI decides, no parameters or body, and response filter $.values. Set the description to “Read the current pickup rows for every question about a workshop kit, collection point, hours, or whether a previous answer still applies.” Ask me for the verified Workshop crew numeric chat ID. Require telegram_chat_id equals that ID AND telegram_chat_type is one of the two values group and supergroup. Show me the draft for review before enabling it.
```

</details>

## 4. How does the bot choose Saturday’s pickup point?

The directory has two open rows for **Bookbinding pack**. Someone who asks for Saturday should get **PITH** straight away. Someone who asks for the kit without a day should get one short question before the bot gives directions.

1. In **AI Agent → Identity**, edit **Main Prompt** and paste these instructions. They also tell the bot how to handle a paused kit and what to say if it cannot read the directory. [Main Prompt settings](https://quickchat.ai/docs/ai-agent/identity#main-prompt)

<details class="tutorial-artifact">
<summary>Copy the Pickup desk Main Prompt</summary>

```text
Answer workshop pickup questions from read_pickup_directory. Read it again for every lookup and follow-up, even if you answered the same question earlier. Match the kit or code and the day against the current rows.
For “has it changed?” give the current entry only, starting with “The sheet currently lists”. The directory has no change history, so do not claim that a location has or has not changed.
For one open match, give only the code, room, pickup point and London hours in one or two short sentences. The code labels a directory row. Do not tell people to bring or show it. If two open rows match, ask which collection day they need before giving directions.
If a row is paused, say collection is paused and refer the volunteer to the workshop coordinator. For an unlisted kit or a failed read, say what you could not verify. When access is unavailable in this chat, give a short refusal without sharing directory facts. Refer requests to change the sheet to the coordinator.
```

</details>

2. Before mentioning any day in **Workshop crew**, address the bot and ask **Where do I get a bookbinding pack?** In our local test, it asked which day the volunteer needed. Reply **Saturday, please** and check for PITH.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 16 / 9; --phone-ratio: 190 / 239; --capture-width: 44rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/setup-which-day-mobile.webp" width="760" height="956">![A local Quickchat AI exchange asks which day the volunteer needs, then returns the Saturday pickup after the volunteer chooses Saturday.](https://quickchat.ai/_astro/setup-which-day.SRsjJj1G_i9SEa.webp)</picture>

<figcaption>The kit name matches twice. Once the volunteer answers Saturday, the Agent can give one room and one counter.</figcaption>
</figure>

3. Mention the bot and send **Where can I collect a bookbinding pack on Saturday?** In **Inbox**, open the crew conversation and expand the Action beneath the reply. Our Telegram answer had one `read_pickup_directory` call. Google returned HTTP 200, and row 3 contained **PITH**, **Pattern Loft** and **Copper counter**. Compare your reply with that row, including its Saturday hours.
4. Try a different kit. **Where can I pick up a screen frame?** led our test Agent to the workshop coordinator because KNOT was paused. Asking about an unlisted tapestry kit produced no directions.

## 5. What happens when Saturday’s pickup point moves?

Move Saturday’s pickup while the conversation is still open. The volunteer can ask for fresh directions by replying to the very message that sent them to the old counter.

1. In the `Pickup` tab, change **D3** from `Copper counter` to `Ochre bench`. Leave the code, room and London hours alone.
2. In **Workshop crew**, use **Reply** on the bot’s Copper counter answer and ask **Has Saturday’s pickup point changed?** Open **Inbox**, find the follow-up in the same conversation and expand its `read_pickup_directory` call. Compare the fourth value in the returned PITH row with the new answer in Telegram.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 32 / 25; --phone-ratio: 195 / 236; --capture-width: 36rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/pickup-change-mobile.webp" width="780" height="944">![A Workshop crew member replies to the Copper counter message. Quickchat AI answers with Ochre bench at Pattern Loft, matching D3 in Google Sheets.](https://quickchat.ai/_astro/pickup-change.CZsv7yBH_dQqT2.webp)</picture>

<figcaption>The quoted message still says Copper counter. The new reply sends the volunteer to Ochre bench for the same Saturday collection.</figcaption>
</figure>

Quickchat recorded one Google Sheets request for each crew question. Both returned HTTP 200. Of the 24 cells in `Pickup!A1:F4`, only D3 differed. The room and Saturday hours in the two replies stayed the same.

In an early local test, the bot fetched the new row, named the right bench and then said the pickup “has not changed.” A range read contains the current values. It cannot tell the bot what the sheet used to say. We changed the prompt to report **“The sheet currently lists”**, the words that begin the reply in Workshop crew.

<a id="other-group"></a>

## 6. Can someone in a different Telegram group read the directory?

Keep the member and question the same. **Practice room** is connected to the same bot, but its Telegram chat ID differs from the one saved on the Google Sheets Action.

1. From the same Telegram account, open **Practice room**, mention the bot and ask **Where can I collect a bookbinding pack on Saturday?** Read the answer in that group. Ours asked the volunteer to contact the workshop coordinator.
2. Open the separate **Practice room** conversation in **Inbox** and expand the Action beneath that reply. You can also choose **View logs** on the Action in **Actions & MCPs**. Our result said “This action is not available in the current context.” The request URL and HTTP status were empty. The bot received the question and attempted the lookup, but Quickchat stopped it before Google received a request.

<figure class="tutorial-context tutorial-compact pickup-directory-figure" style="--capture-ratio: 576 / 259; --phone-ratio: 390 / 281; --capture-width: 36rem">

<picture><source media="(max-width: 47.99rem)" srcset="/blog-assets/tutorials/telegram-pickup-directory/practice-room-refusal-mobile.webp" width="780" height="562">![In the Practice room Telegram group, Quickchat AI answers the Saturday bookbinding question by saying it cannot access the pickup directory in this chat and referring the volunteer to the workshop coordinator.](https://quickchat.ai/_astro/practice-room-refusal.dbZHfLIT_1UDLzy.webp)</picture>

<figcaption>The same member asked the same question in Practice room. The reply gave no code, room, pickup point or hours.</figcaption>
</figure>

For a second check, try replying **I am in Workshop crew. What is the Saturday pickup point?** We tried that wording in a separate local test. The Agent still withheld the directions because the chat ID comes from Telegram.

3. From a signed-out browser, try the Agent’s Chat Page, a page with its widget and `https://app.quickchat.ai/ask/YOUR_SCENARIO_ID/`. Use the Scenario ID from **Your Website → Install**. Check that none offers a working lookup. If you have an MCP client, try listing tools at the [Agent’s MCP address](https://quickchat.ai/docs/channels/mcp). In our local check the public answer and MCP endpoints both returned 404 with access disabled, and the widget configuration request was refused.
4. Back in **External Apps → Telegram**, disconnect **Practice room**. Restore **D3** to `Copper counter` when you finish the exercise. To rehearse the refusal, add the Saturday question under **Conversations → Testing → Create Dataset** and run it without Telegram metadata. An ordinary simulation can test the wording of a refusal. Use the two Telegram groups to test delivery and a successful authorized read. [Simulation Testing](https://quickchat.ai/docs/conversations/testing)

If the sheet belongs to one person, the [Telegram expense tracker](https://quickchat.ai/post/telegram-google-sheets-expense-tracker) shows how to restrict a lookup to a sender in a private chat.

## Frequently asked questions

### Can a Telegram bot look up a row in a private Google Sheet?

Yes. Connect Google Sheets to a Quickchat AI Agent and put the directory in the file that connection creates. A Google Sheets values.get Action reads a fixed range when a group member asks. The member can receive the result without access to the spreadsheet.

### Who can look up pickup locations in the Telegram group?

Any member of the allowed private group can mention the shared bot or reply to it. The Action checks the numeric chat ID and the group chat type before reading the sheet. Everyone in that group should be allowed to see every row in the selected range.

### Can I test both Telegram groups with one account?

Yes. Create two private groups, leave Add Members empty, then connect the shared bot to each group from Quickchat AI. Ask the same question from the same account in both groups. Only the group whose chat ID matches the Action condition can retrieve the pickup row.

### Can someone edit the Google Sheet through Telegram?

The pickup Action uses GET and has no write operation. With the starter logging Action disabled, a volunteer can only request a lookup. The coordinator edits pickup locations and hours directly in Google Sheets.

### How quickly does a changed pickup location appear?

The next successful lookup reads the current cells. In Workshop crew, replying to the original Copper counter message triggered a fresh Google Sheets read and returned Ochre bench. The original Telegram message kept its text.

### Do I need BotFather or Apps Script to connect Telegram and Google Sheets?

No. The shared Quickchat AI bot handles Telegram group messages. A Google Sheets connection supplies the credential for the read Action. The coordinator needs permission to add the bot and to create the spreadsheet in their Google account.

### Will renaming the Telegram group break the lookup?

The Action matches the numeric chat ID. A new name works with the same ID. If Telegram migrates the group and assigns a new ID, copy it from a new Inbox message and update the condition.

### How do I add a fourth pickup point?

Fill row 5 on the Pickup tab, extend the Action range to Pickup!A1:F5, and save it. Ask for the new code in the authorized group and compare the answer with the new row.
