Description
n8n-nodes-whatsapp-decrypt
Custom node for n8n that allows decrypting WhatsApp media.
Installation (command line)
npm install n8n-nodes-whatsapp-decrypt
Configuration in n8n
- Install the package
- Restart n8n
- The node "WhatsApp Decrypt" will be available under the "Transform" category
Usage
Parameters
- Media Type: Type of media (audio, image, video, document, etc.)
- Media URL: Encrypted media URL
- Media Key: Media key in Base64 format
- Output Format: Output format (Base64 or Buffer)
Example
- Configure the node with the required parameters
- Run the workflow
- The decrypted media will be returned in the chosen format
Supported Media Types
- Document (working)
- Image (working)
- Audio*
- GIF*
- Product*
- PTT (Voice Message)*
- Sticker*
- Video*
- Thumbnails (Document, Image, Video, Link)*
- Message History*
- App State*
- Payment Background*
- PTV*
(* untested)
Credits
The decryption logic is based on the original Java implementation by @bryanwac,
shared in this Evolution API issue comment.
License
MIT