Skip to content

Auto-replying on WhatsApp with AI skills

One of PyWacli's most powerful features is AI Automate — hand a conversation to a bot and let it reply for you, in the style you choose. Here's how it works and how to set it up.

Skills, not just prompts

PyWacli ships with a set of skills — prompt templates tuned for a job. Want a polite support agent? Use customer_support. Qualifying leads? lead_qualifier. Want the bot to sound like you? The clone skill studies your past messages and mirrors your voice.

Skill What it does
sales Pitches and qualifies
customer_support Answers support questions
translator Translates incoming messages
clone Mimics your own style from chat history

See the full skill list.

Pick your model

You're not locked to one vendor. Choose from:

  • Ollama — fully local, no API key, great for privacy.
  • OpenAI, Gemini, Claude, GLM — bring your API key.

PyWacli remembers your default so you only choose once.

Try it

Make sure a connect session is live, then in another terminal:

pywacli automate

Pick a contact, a skill, and a provider. PyWacli loads recent history for context, watches for new messages, and replies automatically:

─── Listening for new messages... ───
  Customer: do you ship internationally?
  AI:  We do! We ship to most countries — where would you like it sent?
  Sent to Customer

Press Ctrl+C to stop. Full walkthrough in the Automate guide.

A note on responsibility

Automated replies are powerful — use them transparently and within WhatsApp's terms of service. Keep a human in the loop for anything sensitive, and review the bot's tone with a quick test chat before pointing it at real conversations.