Send WA text+multiple files to multiple contacts

by P. Andreas Schmidt, IVE

Version 1 (April 14, 2023)

Download (132 downloads)

No Premium - no root
Perhaps more than an actual flow to do this automatically for you it's meant as an example of how to send things by Whatsapp through the start app block and a send intent.

Feature:
1) enter a text message
2) pick at least one file (to keep within 30 blocks there's no check done on this!); Cancel to move on.
3) pick or hit cancel to enter at least one contact
4) the flow will automatically hit the buttons to send the things.
It works on my LG Velvet and hope it'll work on yours. If it doesn't, experiment and let us know in the comments.

If you have the Contacts Tasker plugin then first configure it to search through your account.

Like I said in the beginning I hope this will help anyone wanting to automatise their whatsapp.
1) I couldn't get it to send the text and files together - and that seems to be the way WA wants it, if you search on inet. That's why they're sent separately.
2) You can simply pass on variables (as you can see also arrays of files). You need to run the file path through the fileUri function first.
3) I didn't notice any difference in using SEND or SEND_MULTIPLE as intent.
4) WA has a special "jid" intent with the number to send to, check the blocks to see how it's done. They don't have to be saved contacts. If it's not valid it'll give you the contact picker.

Credits and thanks to Thomas and Micha from the AM WhatsApp group who helped me to get the send intent working properly!

Disclaimer:
Things may change in WA and the way they handle things so no guarantee it'll work forever! I've had to read on forums and ask around, so don't be afraid to do so yourself.

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.