Skip to content

Sending a message notification to the admin as soon as the message if received at turn interface.

Notifications You must be signed in to change notification settings

turnhub/turnio-notifications-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turn Notifications Webhook

Sending a message notification to the admin as soon as the message is received at turn interface.

Submit template

Make sure that you have a template approved. You can submit the template from the turn interface. The sample content of the template that was used in the current implemenation is :

ALERT FROM TURN.IO

A message is received in the Turn support WhatsApp business platform. The details are below:

Sender's Name : {{1}}
Sender's wa_id : {{2}}
Message : {{3}}

Please go to https://app.turn.io to address the issue.

.env file variables

PORT =
TURN_NAMESPACE = 
TEMPLATE_NAME = 
TEMPLATE_LANGUAGE = 
TURN_TOKEN = 
ADMIN = <Phone number of the admin>

About

Sending a message notification to the admin as soon as the message if received at turn interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%