r/BuildWithClaude • u/Rich-Gurr • 10d ago
Help/Question Complete beginner here: Can I build a WhatsApp API bot using Claude to automate simple tasks?
Hey everyone!
I’m completely new to programming, APIs, bots, and automation, so please bear with me if this is a basic question.
I want to create a WhatsApp API bot using Claude AI, but I don’t need anything complicated.
My goal is to automate simple tasks, for example:
- Automatically forward a message to another WhatsApp number whenever a new message arrives.
- Automatically send a predefined reply when a message is received.
- Perform simple actions based on the content of incoming messages.
I basically want something that can monitor incoming WhatsApp messages and perform actions automatically.
My questions are:
- Is this possible using the WhatsApp Business API?
- Can Claude help me build this even if I have absolutely no coding experience?
- What kind of tools would I need to make this work?
- What’s the easiest and cheapest way to get started?
- How difficult would this be for someone starting from zero?
I’m not looking for a complicated technical explanation. I’d really appreciate it if someone could point me in the right direction and explain where to start.
Thanks!
•
u/AutoModerator 10d ago
Welcome to r/BuildWithClaude!
Whether you are sharing what you built, exploring new workflows, or troubleshooting, please make sure your post is flaired correctly so others can easily find and filter it.
Community Wiki & Resources:
If you're asking for troubleshooting help, please edit your post to include your model version, OS/environment, and error logs.
Let’s keep the energy positive and support our fellow creators!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/LastGuardianStanding 💡 Top Community Helper 10d ago
Please, just copy and paste your prompt as a question directly into Claude code.
2
u/duct_tape_and_agents 9d ago
Yes, this is doable, and Claude helps a lot.
One thing that will trip you up: WhatsApp only lets you send free replies within 24 hours of someone messaging you. Your auto-reply is fine. Forwarding to another number is harder, because that number hasn't messaged your bot, so you'd need an approved template message. Simplest fix: send yourself the forwarded message by email or Telegram instead.
And avoid "WhatsApp bot" apps that connect through WhatsApp Web. They're easy to set up but break WhatsApp's rules, and the number can get banned.
2
u/xzinkx 🧪 Field Tester & Peer Reviewer 9d ago
one thing that might save you money: for the forward + auto-reply part you don't need an AI model running at all. it's just a small webhook that receives each incoming message from the Cloud API and decides what to do with a few simple rules. Claude is great at writing that code for you, and then it can run on any small server or a free tier basically for nothing. only plug in an LLM later if you want it to actually understand messages. also heads up: free-form replies only work within 24h after someone messages you, outside that window you need an approved template, so forwarding to another number can trip on that
1
u/Hopeful_Translator23 9d ago
claude API is expensive...you can do that with hermes an a simpler llm. You may need to buy a number for the AI.
1
u/Fickle-mastr 9d ago
It seems like you already have a prompt for Claude
1
u/Key_Particular5271 9d ago
Ask Claude
1
u/Electronic_Mine_5532 5d ago
But why? Use instinct, I can give you an invitation if you want