- Create Google Sheet with the following column names:
- message.from.id
- message.from.is_bot
- message.from.first_name
- message.from.last_name
- message.from.username
- message.from.language_code
- message.from.phone_number
- Save this text as a JSON file & import to your n8n Workflow:
Get_Telegram_User_Information.json
-
Add Sheet ID: In the n8n workflow editor, open the Google Sheet Node & Update it with your own Sheet ID. Replace the “====GOOGLE_SHEET_ID====”
-
Add Telegram Bot ID: In the n8n workflow editor, open the Telegram Share Button Code node & Update it with your own Telegram Bot Token, instead of “====TELEGRAM_BOT_TOKEN====”