← Back to directory
Personal Productivity Involved to set up Agent job Draft Response

WhatsApp Personal AI Assistant

Source reviewed Updated 2026-07-07

Send voice, images, or PDFs via WhatsApp to get AI-powered scheduling, email management, web searches, and audio responses.

founders and execsfreelancers and consultants

What it does

Send voice messages, images, or PDFs via WhatsApp to instantly get help with scheduling, email management, web searches, and receive audio responses. The system transcribes your inputs and uses Gmail and Google Calendar to execute these tasks directly within the chat.

Step by step

  1. Set up the WhatsApp Business Cloud API webhook to receive incoming messages and handle delivery receipts.
  2. Configure environment variables for all API keys including OpenAI, Anthropic, Gmail, Google Calendar, and SerpAPI.
  3. Implement a message router that classifies input type (text, audio, image, PDF) and routes it to the appropriate processing tool.

Where the LLM does the work

  • Prompt engineering for the Anthropic agent to ensure natural conversational tone while strictly adhering to tool usage protocols.
  • Design system prompts that instruct the model on how to interpret ambiguous user requests before invoking external tools like Gmail or Calendar.
  • Generate concise and context-aware summary responses from complex data retrieved by SerpAPI or Airtable before sending back via WhatsApp.

Watch out for

WhatsApp has strict template message rules for initiating conversations so you must use pre-approved templates for outbound messages to avoid bans.
Audio transcription latency can frustrate users so implement asynchronous processing with a status update mechanism rather than blocking the webhook.
Tool execution failures like Gmail auth errors will crash the flow so add robust error handling that returns a polite failure message instead of crashing.
Token limits in Anthropic may truncate long context from PDFs so implement chunking strategies for document extraction to stay within safe bounds.

Tools that fit

WhatsApp Business Cloud Service Receive and send messages
OpenAI LLM Transcription, image analysis, TTS
Anthropic Chat Model LLM Agent reasoning and tool use
Gmail Service Send and search emails
Google Calendar Service Create and read events

The agent brief

Everything your agent needs, including the gotchas. Copy it and go.
agent-brief.md
You are helping me build the following AI agent workflow.

## Goal
WhatsApp Personal AI Assistant: Send voice, images, or PDFs via WhatsApp to get AI-powered scheduling, email management, web searches, and audio responses.

## Specification
- What it does: Send voice messages, images, or PDFs via WhatsApp to instantly get help with scheduling, email management, web searches, and receive audio responses. The system transcribes your inputs and uses Gmail and Google Calendar to execute these tasks directly within the chat.
- Trigger: Triggered by an event (Event · on WhatsApp message)
- Autonomy: Fully hands-off
- Expected setup effort: a few focused days
- Tools/services involved:
  - WhatsApp Business Cloud: Receive and send messages
  - OpenAI: Transcription, image analysis, TTS
  - Anthropic Chat Model: Agent reasoning and tool use
  - Gmail: Send and search emails
  - Google Calendar: Create and read events

## Known pitfalls, handle each one explicitly in your implementation
1. WhatsApp has strict template message rules for initiating conversations so you must use pre-approved templates for outbound messages to avoid bans.
2. Audio transcription latency can frustrate users so implement asynchronous processing with a status update mechanism rather than blocking the webhook.
3. Tool execution failures like Gmail auth errors will crash the flow so add robust error handling that returns a polite failure message instead of crashing.
4. Token limits in Anthropic may truncate long context from PDFs so implement chunking strategies for document extraction to stay within safe bounds.

## Reference implementation
https://n8n.io/workflows/8920 (workflow template)
Fetch and inspect this before building. If it matches my stack, adapt it;
if not, rebuild the pattern with my tools.

## Process requirements
1. Before building: ask me which of the listed tools I actually use and
   what my platform is (n8n / Make / code / other). Do not assume.
2. Adapt the pattern to my answers; do not force the reference stack.
3. Address every pitfall above; tell me how you handled each.
4. Provide a test plan I can run before letting this touch real data.
5. Ask before any step that sends messages, modifies data, or spends money.

Source: https://usecasesforagents.com/use-case/whatsapp-personal-ai-assistant/ via usecasesforagents.com

Frequently asked questions

Can I use a different Messaging than WhatsApp?

Yes. WhatsApp is only the example messaging in this recipe. The same flow works with ClickSend API, Discord, Google Chat and LINE Messaging API. Swap the messaging connection and keep the rest of the setup as written.

Want this running in your business?

This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touch →

Who it's for

Built for founders and execs who need personal productivity handled without hiring for it.

Freelancers and consultants can run this per-client with no changes beyond the source data.

Seen in the wild

← Back to directory