https://discord.gg/botpress logo
Vibe Playbook: how to access the Telegram user ID ...
# šŸ¤help
h
Hi! I’m building a Telegram bot using Botpress Vibe and Playbooks, without programming. Goal: identify each driver by their actual Telegram user ID, check for an existing record in Google Sheets, and add a registration row if none exists. Telegram is connected and the bot responds. In an actual Telegram conversation, the registration Playbook collects and confirms the test driver’s details, but then says it cannot access a trusted Telegram user ID. No registration is saved. I have added instructions to use the ID from the Telegram integration, but Vibe says it cannot inspect or configure the event-to-Playbook mapping. I have not verified Google Sheets read/write operations yet. How can a Vibe Playbook access the actual Telegram sender’s user ID? Is there a supported no-code method? Please provide exact steps for Vibe, or confirm whether Studio or custom code is required. I found event.tags.user[ā€˜telegram:id’] in the Telegram documentation, but I don’t know whether it is accessible in Vibe. Thank you!
n
Yes, Botpress can access the Telegram sender’s ID through event data, but whether Vibe Playbooks can reference event.tags.user['telegram:id'] directly depends on the available context and configuration. You may need to expose it through a variable in Studio or use a small Execute Code action if Vibe cannot access it directly. I can help you configure the ID retrieval, check Google Sheets for existing drivers, and save new registrations without duplicates. @high-answer-67507
h
Thank you for your reply! I’m using Botpress Vibe with Playbooks, not Studio, and I don’t have programming experience. Could you please share the exact steps here in this thread to access the Telegram sender’s user ID in Vibe? Where should I configure it, and how can the Playbook use it? Is this possible without code in Vibe itself? If Studio or custom code is required, please clarify that before we proceed. Step-by-step instructions with screenshots would be very helpful. Thank you!