JSON Workflow Template: Get Telegram User info & Save to Google Sheet

  1. 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
  1. Save this text as a JSON file & import to your n8n Workflow:
Get_Telegram_User_Information.json
  1. 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====”

  2. 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====”