How It Works
The WhatsApp integration uses Meta’s WhatsApp Business Cloud API to:- Send notifications to verified WhatsApp numbers
- Use pre-approved message templates
- Deliver real-time event notifications
WhatsApp has strict requirements for business messaging. All message templates must be approved by Meta before use.
Prerequisites
To use WhatsApp notifications, you need:- Enterprise Plan: WhatsApp is available for Enterprise customers only
- WhatsApp Account: A valid WhatsApp account with the registered number
- Manual Setup: Contact PingPilot support to enable WhatsApp for your account
Setup Process
Technical Implementation
The WhatsApp integration uses Meta’s Graph API:src/lib/whatsapp.ts:4.
Message Templates
WhatsApp requires pre-approved message templates. The current implementation uses:- Template Name:
hello_world - Language: English (en_US)
- Type: Notification template
Custom event templates are being developed. Currently, WhatsApp integration uses a basic template for testing.
API Configuration
The WhatsApp integration requires:Environment Variables
WHATSAPP_TOKEN: Meta access token for WhatsApp Business API- Phone number configured in Meta Business Suite
API Endpoint
The integration uses:Current Limitations
- Template Only: Currently limited to pre-approved templates
- No Custom Fields: Event-specific data not yet supported in messages
- Manual Configuration: Requires PingPilot team setup
- Enterprise Only: Available for Enterprise plan customers
- Single Number: Hardcoded recipient in current implementation
Future Enhancements
Planned improvements for WhatsApp integration:- Dynamic event templates with custom fields
- User-configurable phone numbers in account settings
- Rich media support (images, documents)
- Interactive button messages
- Delivery status tracking
- Template management interface
WhatsApp Business Requirements
To use WhatsApp Business API, your organization must:- Business Verification: Complete Meta Business verification
- Phone Number: Provide a dedicated business phone number
- Compliance: Follow WhatsApp Business Policy guidelines
- Templates: Get message templates approved by Meta
The PingPilot team handles most of these requirements. You just need to provide your WhatsApp number and complete verification.
Testing WhatsApp Integration
Currently, WhatsApp testing is handled by the PingPilot team:hello_world template.
User-facing WhatsApp testing will be available once custom templates are implemented.
Troubleshooting
WhatsApp not available in settings
WhatsApp not available in settings
Possible reasons:
- You’re not on an Enterprise plan
- WhatsApp hasn’t been enabled for your account
- Contact PingPilot support to enable WhatsApp
Not receiving WhatsApp messages
Not receiving WhatsApp messages
Check the following:
- Verify your phone number is correctly registered
- Ensure you have WhatsApp installed and active
- Check if you’ve blocked the PingPilot business number
- Contact support to verify your configuration
Template approval pending
Template approval pending
If your custom templates are pending:
- Meta typically reviews templates within 24-48 hours
- Check your Meta Business Suite for approval status
- Contact PingPilot support for assistance
API rate limits
API rate limits
WhatsApp Business API has rate limits:
- Tier-based messaging limits (1K, 10K, 100K+ messages/day)
- Your tier increases automatically based on quality and volume
- Contact support if you need higher limits
WhatsApp vs Other Channels
| Feature | Discord | Telegram | ||
|---|---|---|---|---|
| Setup Complexity | High | Low | Low | None |
| Real-time | Yes | Yes | Yes | Delayed |
| Rich Formatting | Limited | Full | Moderate | Full |
| Template Required | Yes | No | No | No |
| Self-Service | No | Yes | Yes | Yes |
| Plan Requirement | Enterprise | All | All | All |
Requesting WhatsApp Access
To enable WhatsApp notifications:- Upgrade to Enterprise: Ensure you’re on an Enterprise plan
- Contact Support: Email [email protected] with:
- Your account email
- WhatsApp number (international format)
- Business name for verification
- Complete Verification: Follow Meta’s verification process
- Wait for Setup: PingPilot team will configure your account
Enterprise customers can contact their account manager directly for WhatsApp setup.
Pricing
WhatsApp messaging costs:- Included in Enterprise Plan: First 1,000 messages/month
- Overage: $0.005 per message (after included quota)
- Template Fees: Waived for PingPilot customers
Pricing is subject to change based on Meta’s WhatsApp Business API pricing.
Compliance
WhatsApp Business messaging must comply with:- 24-hour Window: Free-form messages only within 24 hours of user contact
- Templates Required: Outside 24-hour window, use approved templates
- Opt-in Required: Users must opt-in to receive business messages
- Privacy Policy: Must have a privacy policy for business messaging
Next Steps
Contact Sales
Discuss Enterprise plan and WhatsApp access
Other Integrations
Explore other notification channels