When you build an event-triggered WhatsApp query, you can select universal behaviors in the query criteria. Each event has its code and characteristics you will find in this article. WhatsApp event types include:
- Been sent a message from a WhatsApp program
- Received delivery status
- Interacted with a program
- Read a WhatsApp message
- Clicked a link in a WhatsApp message
Been sent a message from WhatsApp
Event type code: 175
This event is triggered for messages sent to contacts from WhatsApp.
Attribute | Valid values |
Code | {Short / Long code} |
Delivery status |
|
Includes media | True/false |
Message body |
|
Num media URLs | Number |
Program ID | {Campaign ID} |
Program name | {Campaign name} |
Program type |
|
Source | {Source parameter value from batch WhatsApp send API} Example value: {mailingId=34,reportId=234,recipientId=234,jobId=433} |
Timeframe | {Dates} |
Received delivery status
Event type code: 176
This event is triggered for every WhatsApp message delivered.
Attribute | Valid values |
Code | {Short / Long code} |
Delivery status |
|
Program ID | {Campaign ID} |
Program name | {Campaign name} |
Program type |
|
Source | {Source parameter value from batch WhatsApp send API} Example value: {mailingId=34,reportId=234,recipientId=234,jobId=433} |
Timeframe | {Dates} |
Interacted with a WhatsApp message
Event type code: 177
This event is triggered when a customer sends a message from WhatsApp independently.
Attribute | Valid values |
Code | {Short / Long code} |
Message body |
|
Message type |
|
Program ID | {Campaign ID} |
Program name | {Campaign name} |
Program type |
|
Set consent |
|
Timeframe | {Dates} |
Read a WhatsApp message
Event type code: 178
This event is triggered when a WhatsApp message is read.
Attribute | Valid values |
Code | {Short / Long code} |
Program ID |
{Campaign ID} |
Program name | {Campaign name} |
Program type |
|
Source | {Source parameter value from batch WhatsApp send API} Example value: {mailingId=34,reportId=234,recipientId=234,jobId=433} |
Timeframe | {Dates} |
Clicked a link in a WhatsApp message
Event type code: 179
This event is triggered when a link is clicked in a WhatsApp message.
Attribute | Valid values |
Link name | {Link Name} |
Link URL | Personalized long URL Example: http://acoustic.com/carbon/?fname=Krysta |
Message name | {WhatsApp message name} |
Program ID |
{Campaign ID} |
Program name | {Campaign name} |
Source | {Source parameter value from batch WhatsApp send API} Example value: {mailingId=34,reportId=234,recipientId=234,jobId=433} |
User agent | Info about the user's device |
User IP | User's IP |
Timeframe | {Dates} |