please find below a way how you can send an alert with GL to a WhatApp Group

The code below  is just a simple shell script which you can call by GL with a Linux Shell Script Action


###############################

#!/bin/bash

INSTANCE_ID="YOUR_INSTANCE_ID_HERE" # TODO: Replace it with your gateway instance ID here
CLIENT_ID="YOUR_CLIENT_ID_HERE" # TODO: Replace it with your "Forever Green" client ID here
CLIENT_SECRET="YOUR_CLIENT_SECRET_HERE" # TODO: Replace it with your "Forever Green" client secret here

# TODO: Specify the group creator, group name and the message content
read -r -d '' jsonPayload << _EOM_
{
"group_admin": "<whatsapp_groupadmin_ID>",
"group_name": "<whatsapp_groupname>",
"message": "<"
}
_EOM_

curl -X POST \
-H "X-WM-CLIENT-ID: $CLIENT_ID" \
-H "X-WM-CLIENT-SECRET: $CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d "$jsonPayload" \
http://api.whatsmate.net/v3/whatsapp/group/text/message/$INSTANCE_ID