Why a Care Group Telebot?
- Tool to keep people within a care group involved in the lives of one another
- For care group members to be comfortable sharing personal matters in a bite-sized manner
- For care group members know how to pray for & encourage one another
Main features:
- Linked to a Google Spreadsheet (where all the data will be stored, and for easy access separately)
- Members can submit items under 3 categories:
- Thanksgiving items
- Prayer requests
- Reflections
- Members can also view all submitted items by everyone in the group (that has been submitted within the past week)
- Weekly reminders: reminds users (by default, on Wednesday) to submit in their items for the week
- Weekly blasts: blasts out all thanksgiving items (by default, on Thursday), prayer requests and reflections that members have sent over the week
Before running the bot, you need to set up your environment variables:
- Copy
.env.sample
to a new file named.env
- Replace the placeholder values as you go along the other steps below
- Search @botfather on telegram and message it
- Send /start and follow the steps to create a new telegram bot
- Copy the API token (paste it under "TELEGRAM_BOT_TOKEN") and use it in your project
- Go to Google Cloud and create a new project
- Go to "IAM and admin" -> "Service accounts"
- Create a new service account
- Generate Keys:
- Click on "Create Key"
- Choose "JSON" as the key type
- Click "Create". This will download a JSON file containing your service account's credentials to your computer, which you will then add into the root of the project folder! (IMPORTANT)
- Create a Google Spreadsheet (this will be the database for everything regarding this bot!)
- Rename your spreadsheet and copy the sheet name (paste it under "SHEET_NAME")
- Share the sheet with the email of your service account (created in step 2), and grant it permission to edit
Start messaging your telebot, and share it with your care group members
Currently, the code is not refined at all and there are lots of improvements to be made...in due time! At the same time, I am building a no-code platform for churches to design and implement effective telebots for church ministry apart from care groups (e.g. games, activities, admin, meetings, worship)!