Skip to main content
This demo requires openbrowser v0.1.57+.

Features

  1. Agent logs into WhatsApp Web automatically
  2. Parses natural language scheduling instructions
  3. Composes personalized messages using AI
  4. Schedules messages for future delivery or sends immediately
  5. Reuses the saved browser profile when WhatsApp keeps the session valid

Setup

Make sure the newest version of openbrowser is installed:
Export your Gemini API key, get it from: Google AI Studio
Clone the repo and cd into the app folder

Initial Login

WhatsApp Web may require a QR scan on first use or when the saved session expires:
  • Scan the QR code when the browser opens
  • The browser profile is reused on later runs when WhatsApp keeps the session valid

Normal Usage

  1. Edit your schedule in messages.txt:
  1. Test mode - See what will be sent:
  1. Run scheduler:

Example Output

The scheduler prints the parsed schedule before sending:
Each parsed record has contact, message, and datetime fields.

Source Code

Full implementation: https://github.com/billy-enrizky/openbrowser-ai/tree/main/examples/apps/msg-use