Whatsapp Calendar Gpt Bot
A bot to send WhatsApp message generated from Google Calendar event by GPT AI
Rating
Votes
0
score
Downloads
0
total
Price
Free
API key required
Works With
About
WhatsApp Calendar GPT Bot
This bot sends WhatsApp messages with Google Calendar event description for today. You can integrate OpenAI to generate messages with an artificial intelligence to get these messages like "Write a birthday greeting for Peter" as summary event.
The message will be sent to all attenders email in the event that match with wid (WhatsApp ID) format /[0-9]+@[cg].us/ where the user is the phone number of the contact with the prefix. If my contact is +00 123 456 789 at the event I will add 00123456789@c.us as attender. Domain c.us is for contact chat and g.us is for group chat.
Table of contents
- WhatsApp Calendar GPT Bot
- Table of contents
- Configuration
- Options
- 1. Use OpenAI to generate the messages
- 2. Connect Calendar API with OAuth
- 3. Create an alternative calendar for this purposes
- Environment variables
- Run
- Develop
- References
Configuration
Export and save your calendar in iCal format. Go to calendar settings and click on Export calendar button to download an .ics file:
Add the path to the .ics file as an argument starting the script:
node index.js --ical Options
1. Use OpenAI to generate the messages
If you don't set an API key for openai or add a event description, text will be sent by default. Generate your OpenAI API key from https://beta.openai.com/account/api-keys and set as OPENAI_SECRET_KEY
2. Connect Calendar API with OAuth
This option allows you to connect with Google Calendar and avoid exporting your calendar by allowing you to add events dynamically.
Enable Calendar API and generate OAuth desktop client credential from https://console.cloud.google.com/apis/credentials and download JSON file as credentials.json
3. Create an alternative calendar for this purposes
Generate calendar for bot events
Get calendar ID from Google Calendar settings and set as CALENDAR_ID
Environment variables
Create an .env file or define the following environment variables:
OPENAI_SECRET_KEY=sk-...HeFI (optional)
CALENDAR_ID=86...cbf0a9fd0783c@group.calendar.google.com (optional, primary by default)Run
- 1.Generate event in Google Calendar with summary "Write congratulations message for my friend Peter" and attender/s "00123456789@c.us" to generate AI message or simply add description text to send specific message.
- 2.Install the dependencies with
npm i - 3.Start the NodeJS script with
node index.js --icalornode index.jswith Google API credentials - 4.Link the whatsapp account by scanning the QR code that shows the terminal
Develop
node index.js --help
Usage
node index.js
OptionsDon't lose this
Three weeks from now, you'll want Whatsapp Calendar Gpt Bot again. Will you remember where to find it?
Save it to your library and the next time you need Whatsapp Calendar Gpt Bot, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.
⚡ Pro tip for geeks: add a-gnt 🤵🏻♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.
a-gnt's Take
Our honest review
A bot to send WhatsApp message generated from Google Calendar event by GPT AI. Best for anyone looking to make their AI assistant more capable in content. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.
Tips for getting started
Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.
Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.
What's New
Imported from GitHub
Ratings & Reviews
0.0
out of 5
0 ratings
No reviews yet. Be the first to share your experience.