Integrating WhatsApp with AppsScript

5,629 views
Skip to first unread message

34_HARSH_CHOUDHARY

unread,
Mar 10, 2022, 4:18:26 AM3/10/22
to Google Apps Script Community
I want to know is it possible to build up a script which automatically reads WhatsApp chats, medias and push them to our demanded place accordingly.

If our scripts reads pdf then upload that to our desired drive locations. If it reads chat then store it to the sheets. 

If its possible to create such scripts, please share ideas of how to get start with it. I searched lot of resources but couldn't find any which gives ideas of how apps script is used to read WhatsApp messages.

Thanks.

Brett Grear

unread,
Mar 10, 2022, 5:06:20 AM3/10/22
to Google Apps Script Community
Not sure! I'd love to know the answer though, especially if the answer is 'yes'.
I think it is possible with some other messaging platforms but not sure about Whatsapp.

A quick search showed that 'The WhatsApp Business API is in limited public preview'.  You could try registering for that and using the FetchApp to make calls to the API.

Regards,

Martin Hawksey

unread,
Mar 10, 2022, 5:21:19 AM3/10/22
to Google Apps Script Community
As noted by Brett the problem you'll find with WhatsApp is as they don't offer a public API so you are reliant on going through 3rd parties, many of which won't be long lived as they will be forced to shut by WhatsApp. Even reputable gateways like Zapier don't currently have a WhatsApp integration .

This question has come up before and one suggestion was to look at Robotic Process Automation (RPA) as a solution https://groups.google.com/g/google-apps-script-community/c/WeT_WMMMgTM/m/iNA7QclcAwAJ

Petr

unread,
Mar 10, 2022, 2:20:36 PM3/10/22
to google-apps-sc...@googlegroups.com
Hi,

maybe this might help you in part.


Api WhatsApp




Dne čt 10. bře 2022 11:21 uživatel Martin Hawksey <m.ha...@gmail.com> napsal:
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/179b7311-f201-40aa-9721-c357b1eef0f3n%40googlegroups.com.

Ks Karthick

unread,
Jun 21, 2022, 4:53:55 AM6/21/22
to Google Apps Script Community
Pls shae source code

suraj jadhav

unread,
Sep 8, 2022, 8:30:48 AM9/8/22
to Google Apps Script Community
Hi Brother,


Suraj Here, 
I want to do same project, for that can you please the share the script with me. 

I request you to , Kindly please share. 



On Friday, March 11, 2022 at 12:50:36 AM UTC+5:30 petr.p...@gmail.com wrote:

GDCI - Anup

unread,
Sep 8, 2022, 8:35:14 AM9/8/22
to google-apps-sc...@googlegroups.com
Hi All,

Looking for someone who can share a google app script for sending whatsapp messages. Any fees involved, happy to pay for the same. 

Thanks



--
Best Regards
Anup Rathore 

Gautam Dyes & Chemicals Inc
B-28, Vat Building, CMDA Truck Terminal Complex. Madhavaram, Chennai - 600 110. India
Mobile: +91 99418 34000 l E-Mail : an...@gdcchem.com l Web : www.gdcchem.com                    

Celebrating 50-years of Legacy


CONFIDENTIALITY NOTICE: This e-mail contains information that is privileged, confidential and subject to legal restrictions and penalties regarding its unauthorized disclosure or other use. You are prohibited from copying, distributing or otherwise using this information if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages