Skip to main content

Key Features

Framework Agnostic

Works with Express, Next.js, NestJS, Fastify, AWS Lambda, and any Node.js framework

Auto Message Parsing

Automatically parses WhatsApp webhook payloads into structured message objects

Type-Safe Handlers

Strongly typed handler functions for each message type with full IntelliSense

Built-in Verification

Automatic webhook verification for security and authenticity

Message Buffer System

Optional message grouping for better context and performance optimization

Auto Storage

Automatically persist messages to database when storage is enabled

Quick Start

1. Create Webhook Processor

2. Universal Webhook Endpoint

Works with any framework:

Webhook Handler Types

Message Handlers

Complete Example

Smart Auto-Responder

Framework Integration

The webhook processor works universally with any Node.js framework:
For complete framework-specific examples including NestJS, Express, Next.js, Fastify, and AWS Lambda, see our Framework Integration Examples.For message grouping and performance optimization, check out the Message Buffer System.To automatically persist messages to a database, see Storage & Persistence.

Advanced Features

Message Context Tracking

Webhook Security

Best Practices

1. Response Time

Keep webhook responses under 20 seconds:

2. Error Handling

3. Rate Limiting

Message Status Updates

Track the delivery status of sent messages through webhook notifications.

onMessageStatusUpdate Handler

MessageStatusUpdate Interface

Webhook Payload Format

WhatsApp sends status updates in this format: