P.S.: Random Word
will not be recorded as checked words or synced to your Google Spreadsheet.
Purpose:
This function is designed to sync
vocabulary checked by user with the user’s personal Google Spreadsheet
. It allows users to keep track of the vocabulary words they’ve reviewed, along with additional information like phonetics
, explanations
, and examples
.
Why This Feature Is Useful:
Personalized Vocabulary Tracking
: Users can maintain their own vocabulary lists in a Google Sheet, which can be reviewed later or used for learning purposes.Seamless Sync
: Each time a word is checked, it is automatically logged in the spreadsheet.Custom User Data
: The Google Sheet can act as a personal study tracker, with all relevant word data stored neatly for the user’s reference.
1: Create a New Google Sheet and Prepare It
- Go to Google Sheets: Open Google Sheets.
- Create a new sheet: Click on the Blank button to create a new spreadsheet. You can also click
HERE
to copy my sample structure.
- Rename the Spreadsheet to
Daily Words
(Optional)
- Rename the First Tab: At the bottom, click the default tab name ("Sheet1"), and rename to
Vocabulary
(This step is required and is case-sensitive, so ensure it matches exactly.)
- Copy the Google Sheet URL: Send this URL to the bot directly.
Send the full-length url to the bot, and you'll get a message like this:
2: Enable Google Sheets API and Create Service Account Credentials
- Go to the Google Cloud Console and search for
Spreadsheet
, or click HERE to get toSpreadsheet API
page directly.
If you do not have an existing project, then you need to create one:
Once you have a project, then you can select the project.
Then you can hit ENABLE
button.
- Generate a Key for the Service Account (crucial step):
Find the .json
file from your download folder
and rename to google_sheet_credentials.json
, then send the file directly to the bot. This is crucial.
If you don't know your download folder
, then you can find the file from browser download history
button.
Now it should be fine, let's try it out. Check some vocabularies first.
Troubleshooting
- Error: Invalid Credentials
- Ensure the
google_sheet_credentials.json
file is correctlyrenamed
anduploaded
. - Make sure the
Service Account email
hasEditor access
to the Google Sheet and your spreadsheet has shared to thisService Email Address
- Don't forget to send your spreadsheet
full-length url
to the bot and the first tab is renamed toVocabulary
. - Verify that the
Google Sheets API
is enabled in Google Cloud.
- Ensure the
Summary
Although the setup process requires several steps, it ensures a smooth and secure connection between the bot and your Google Spreadsheet
. By following this guide, you’ll be able to:
- Automatically log vocabulary words to your Google Sheet.
- Track your progress efficiently using Telegram and Google Sheets.
- Enjoy seamless synchronization without manually entering data.
Once set up, this feature will enhance your learning experience by keeping all vocabulary data organized and accessible.