The "WhatsApp Notifications" section in Plaspy's settings allows administrators to configure notifications via WhatsApp. This functionality is useful for sending alerts and messages directly to users through WhatsApp. It is essential that the user has already created their own WhatsApp Business account and bot, following the provided instructions. This guide details the available fields and the steps to configure them properly.
Field Descriptions
- App ID: ID of your WhatsApp application.
- WhatsApp Business Account ID: ID of your WhatsApp Business account.
- Phone Number ID: ID of the phone number associated with your WhatsApp Business account.
- Access Token: Token for accessing the WhatsApp Business API.
- Template Name: Name of the message template to use.
- Webhook:
- Callback URL: URL for receiving webhook events.
- Verify Token: Token used to verify the webhook configuration.
- Test Phone Number: Phone number used for testing notifications.
Step-by-Step Instructions
-
Access the Section:
- Log in to Plaspy and navigate to the main menu.
- Select "Settings " and then "WhatsApp Notifications."
-
Create a WhatsApp Business Account and Get API Credentials:
- Go to the Facebook Developers Console and create a WhatsApp Business account.
- Follow the instructions in the WhatsApp API Help to obtain your App ID, WhatsApp Business Account ID, Phone Number ID, and Access Token.
- You can create a permanent access token through System Users .
-
Configure WhatsApp Business API Credentials:
- Enter the App ID in the "App ID" field.
- Enter the WhatsApp Business Account ID in the "WhatsApp Business Account ID" field.
- Enter the Phone Number ID in the "Phone Number ID" field.
- Enter the Access Token in the "Access Token" field.
-
Configure the Message Template:
- Enter the name of the message template in the "Template Name" field.
- You can create templates in 'es' and 'en' at the Facebook Business Console .
-
Set Up the Webhook:
- The "Callback URL" is pre-configured and read-only. It is used to receive webhook events from WhatsApp.
- The "Verify Token" is also pre-configured and read-only. It is used to verify the webhook configuration. Follow the guide on Configuring Webhooks for more details.
-
Test the Configuration:
- Enter a test phone number in the "Test Phone Number" field.
- Click "Test" to send a test notification and verify that the configuration is correct.
-
Save Changes:
- Review all fields to ensure the information is correct.
- Click "Accept" to save all changes made.
Validations and Restrictions
- App ID, WhatsApp Business Account ID, Phone Number ID, Access Token: Must be valid credentials obtained from the Facebook Developers Console.
- Template Name: Must be the name of an existing message template created in the Facebook Business Console.
- Test Phone Number: Must be a valid phone number for testing notifications.
Frequently Asked Questions
1. How do I create a WhatsApp Business account and get API credentials?
- Go to the Facebook Developers Console and follow the instructions in the WhatsApp API Help to create an account and obtain your credentials.
2. What is a Webhook and how do I configure it?
- A Webhook is a URL that receives real-time data from WhatsApp. Follow the guide on Configuring Webhooks for detailed steps.
3. What should I do if the access token doesn't work?
- Ensure the token is correct and has not expired. If the issue persists, you can generate a new token through System Users .
4. How can I test that WhatsApp notifications are working correctly?
- Enter a test phone number in the "Test Phone Number" field and click "Test" to send a test notification. Verify that the notification is received correctly on the specified phone number.
5. Can I use any message template for WhatsApp notifications?
- You must use a message template that has been created and approved in the Facebook Business Console. Enter the exact name of the template in the "Template Name" field.
With these instructions, you will be able to configure the "WhatsApp Notifications" section effectively and ensure that notifications are correctly sent via WhatsApp on the Plaspy platform.
- Welcome to Plaspy help
- Map
- Viewing a Device's Route History
- Device Control Panel
- Detailed Device Information
- Buttons on the Map
- Details
- Trip Statistics
- Device Menu
- GeoFences
- Bulk Alert Editing
- Enable map notifications
- Mileage Calculation
- Atributes
- Devices
- Marker Icon
- Information
- Sensors
- Reassign Digital Sensors
- Commands
- Alerts
- Types
- Configuration
- Reminders
- Limits
- History
- Setting Up a New Tracker
- Solution for Identifier Already in Use by Another Account
- Device Issues
- Email alerts sending limits
- Reports
- New Report
- My Account
- Billing Information
- Password Change
- Email Notifications
- Telegram Accounts
- Update Mobile Phone Number
- Primary Email
- Alternative Email
- Activate Two-Factor Authentication (2FA)
- Access Log
- Password Recovery
- Recover Username
- Delete Your Account
- Subscription
- Sign Up
- Activation Code
- Payment Methods
- Line Renewal
- Free Version
- Settings
- Organization
- Login
- Contact
- Styles
- Maps
- Email Templates
- Push Notifications
- Telegram Notifications
- WhatsApp Notifications
- Mobile App
- Statistics
- Activity Summary
- Groups
- Users
- Share Access
- SMS
- Mobile Application
- Developers
- Enable the API
- Rest API
- Authentication
- Devices API
- GET /api/devices
- GET /api/devices/{deviceId}
- GET /api/devices/{deviceId}/lastLocation
- POST /api/devices/{deviceId}/locations
- POST /api/devices/{deviceId}/alerts
- Groups API
- GET /api/groups
- POST /api/groups
- GET /api/groups/{groupId}
- PUT /api/groups/{groupId}
- PATCH /api/groups/{groupId}
- DELETE /api/groups/{groupId}
- Users API
- GET /api/users
- POST /api/users
- GET /api/users/countries
- GET /api/users/timeZones
- GET /api/users/{userId}
- PUT /api/users/{userId}
- PATCH /api/users/{userId}
- DELETE /api/users/{userId}
- Embed login on my website
- Embed the map on my website
We answer all support request within 24 business hours approximately, If you have a question that needs an immediate resolution, please contact us by other way.
We answer you in business hours, as soon as possible. We are located in Bogotá, Colombia, time zone (GMT-5).