Skip to content

An easy way to write WhatsApp messages in advance and batch 'em all

Notifications You must be signed in to change notification settings

NoriSte/whatsapp-messages-batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-messages-batch

Write your messages in advance and batch 'em all

  • groups support
  • emojis support
  • naver-chatted contacts support
  • multiline messages support
  • test it without send any message
  • summary of unsent messages

disclaimer: I've used it for a hundred Xmas greetings and everything worked well 😊

Before starting:

  • open messages.js
  • $ yarn start to send the messages
  • you can test my script without really sending messages, set TEST_SAFELY in config.js to true
  • open config.js and set the findInputTitle string, it's the content of the "Search or start a new chat input field" Alt text

FAQ

Why did you create it?

Because I love to send Xmas greetings but on Dec 25th I can't spend an hour writing and sending them.

... So?

So I write all the messages in advance and on Dec 25th I'm going to launch this script.

How it works?

It uses Puppeteer to open up the WhatsApp web UI and write/send the messages for you.

Nice, should I already chatted with the contacts I'd like to send messages?

No, it works also with contacts you never chatted with.

Does it support multiline messages?

Yes, every line will be sent as a saperate message.

Does it support emojis?

Obviously...

Does it work for groups too?

Yep.

Can I test your script before sending all the messages?

Yep, open config.js and set TEST_SAFELY to true

What happens if mystiped the name of a contact?

Nothing happens, the script needs to match exactly the contact name, otherwise it does nothing.

Why it doesn't find the contact to chat with?

Because it's case and emoji sensitive, the contact name must 100% match the correct one.

And how can I fix it?

Don't worry, every unsent message is console.logged

What can I configure?

Look at the config.js file.

How can I set the messages to send?

Look at the messages.js file.

How can I send them?

$ yarn start

About

An easy way to write WhatsApp messages in advance and batch 'em all

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published