WhatsApp is a free-to-use messaging app offering end-to-end encrypted chat, voice, and video communication, along with document and media sharing, available on multiple platforms.
Categories: Communication
Type: whatsApp/v1
Connections
Version: 1
WhatsApp Custom Authorization
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
systemUserAccessToken | System user access token | STRING | true | |
phoneNumberId | Phone number ID | STRING | true |
Actions
Send Message
Name: sendMessage
Send a message via WhatsApp
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
body | Message | STRING | Message to send via WhatsApp | true |
to | Send Message To | STRING | Phone number to send the message. It must start with "+" sign | true |
Example JSON Structure
{
"label" : "Send Message",
"name" : "sendMessage",
"parameters" : {
"body" : "",
"to" : ""
},
"type" : "whatsApp/v1/sendMessage"
}
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
messaging_product | STRING | |
contacts | OBJECT Properties{STRING(input), STRING(wa_id)} | |
messages | OBJECT Properties{STRING(id)} |
Output Example
{
"messaging_product" : "",
"contacts" : {
"input" : "",
"wa_id" : ""
},
"messages" : {
"id" : ""
}
}
Triggers
Message Received
Name: messageReceived
Triggers when you get a new message from certain number.
Type: DYNAMIC_WEBHOOK
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
senderNumber | Sender Number | STRING | Type in the number from whom you want to trigger | true |
Output
Type: OBJECT
Properties
Name | Type | Description |
---|---|---|
object | STRING | |
entry | OBJECT Properties{STRING(id), {{STRING(messaging_product), {STRING(display_phone_number), STRING(phone_number_id)}(metadata)}(value), {{STRING(name)}(profile), STRING(wa_id)}(contacts), {STRING(from), STRING(id), STRING(timestamp), {STRING(body)}(text)}(messages)}(changes)} |
JSON Example
{
"label" : "Message Received",
"name" : "messageReceived",
"parameters" : {
"senderNumber" : ""
},
"type" : "whatsApp/v1/messageReceived"
}
Additional instructions
Connection Setup
To Obtain a Phone Number ID and a Permanent System User Access Token, follow these steps:
- Go to https://developers.facebook.com/
- Make a new app, Select Other for use-case.
- Choose Business as the type of app.
- Add new Product > WhatsApp.
- Navigate to WhatsApp Settings > API Setup.
- Copy the Business Account ID.
- Login to your Meta Business Manager.
- Click on Settings.
- Create a new System User with access over the app and copy the access token.
Webhook
Webhook is a method utilized by applications to supply real-time information to other apps. Such a process usually delivers data immediately as and when it occurs. Webhook Trigger enables users to receive callouts whenever a service provides the option of distributing signals to a user-defined URL.
Wolfram Alpha Full Results
Wolfram Alpha Full Results returns the computed results of your query in a variety of formats.