Inspiration

My mother is a teacher at a Sr. Secondary School. She teaches 9th and 10th grade students. While going through the challenges, I saw a challenge to automate things. I have seen many times that my mom is sharing meeting ids for online classes to her students at the evening for tuition classes. I saw this as an perfect opportunity to both help my mom and also submit a project to the MLH event.

What it does

I have made a python script which will take all the numbers and name from an Online Database and send them a message every evening at 4:00 pm. I have used the appwrite cloud functions to deploy my project to the cloud(localhost) and assigned a CRON values for it to execute everyday at 4:00 pm in the evening. I can always add more recipients to the list by adding more users in the database. Thus, handling who gets and who doesn't gets the message easily.

How we built it

I used Twilio API to send the WhatsApp messages. Basically it will loop through all the phone numbers in the database and send them a message via Twilio. I used Python language to build this function. After that i uploaded the function to Appwrite and set a CRON function to make it excecute every day at 4:00 pm in the evening.

Challenges we ran into

I didn't faced any major challenges while making this. It has already been 2 weeks since I have been doing Open Source work with Appwrite so I'm quite familiar with using it. Learning about Twilio was also not a major issue as they have an amazing tutorial on their website on how to use it.

Accomplishments that we're proud of

I'm proud that I got to know how to use Twilio and this API will always remain in my mind when I need to send messages via code.

What we learned

Twilio String formatting

What's next for Auto Reminder via WhatsApp

While going through Twilio, I realized that I can easily make many more functions and can send these messages via various ways. These additional features can be implemented in the project as well. Also thinking of adding an Email functionality where it will send Emails daily rather than WhatsApp messages

Built With

Share this project:

Updates