n8n-nodes-whatsapp-decrypt
v1.0.0
Published
A custom n8n node to easily decrypt WhatsApp media files (images, videos, documents) directly in your workflows. It processes the encrypted file URL and Base64 mediaKey to output the usable binary file.
Maintainers
Readme
n8n Node: WhatsApp Media Decrypt
Português 🇧🇷
[cite_start]Este é um nó customizado para a plataforma n8n que descriptografa arquivos de mídia do WhatsApp[cite: 28].
Muitas integrações com a API do WhatsApp fornecem apenas a URL direta para o arquivo de mídia e uma mediaKey para descriptografá-lo. Este nó automatiza o processo de download, descriptografia e disponibilização do arquivo para ser usado em outras etapas do seu fluxo de trabalho.
Instalação
Para instalar este nó em sua instância n8n:
- Vá para Settings > Community Nodes.
- Selecione Install.
- Digite
n8n-nodes-whatsapp-decrypte clique em Install.
Após a instalação, o nó "WhatsApp Media Decrypt" aparecerá na lista de nós para ser adicionado ao seu workflow.
Como Usar
O nó precisa das seguintes informações de entrada para funcionar:
- [cite_start]URL do Arquivo: O link direto para o arquivo de mídia criptografado, geralmente começando com
https://mmg.whatsapp.net/...[cite: 3]. - [cite_start]Media Key: A chave de descriptografia (
mediaKey) correspondente ao arquivo, em formato Base64[cite: 3]. - [cite_start]Tipo do Arquivo (Extensão): A extensão do arquivo que você está tentando descriptografar (ex:
jpg,mp4,pdf)[cite: 3]. Isso é crucial para que o algoritmo de descriptografia funcione corretamente. - [cite_start]Nome do Arquivo de Saída: O nome que você deseja dar ao arquivo final, sem a extensão[cite: 4, 5].
O nó irá processar esses dados e retornar um arquivo binário na saída, que pode ser usado por outros nós (por exemplo, para enviar por e-mail, salvar no Google Drive, ou processar com uma IA).
Compatibilidade de Arquivos
[cite_start]O nó suporta uma vasta gama de tipos de arquivo, incluindo[cite: 3, 4]:
- [cite_start]Imagens: JPG, JPEG, PNG, WEBP [cite: 4]
- [cite_start]Vídeos: GIF, MP4, 3GP, MOV [cite: 4]
- [cite_start]Áudios: MP3, OGG, AAC, Opus [cite: 4]
- [cite_start]Documentos: PDF, DOCX, XLSX, PPTX, TXT, ZIP [cite: 4]
Licença
[cite_start]Este projeto é distribuído sob a licença MIT[cite: 30].
English 🇺🇸
[cite_start]This is a custom node for the n8n platform that decrypts WhatsApp media files[cite: 28].
Many WhatsApp API integrations only provide a direct URL to the media file and a mediaKey to decrypt it. This node automates the process of downloading, decrypting, and making the file available for use in other steps of your workflow.
Installation
To install this node in your n8n instance:
- Go to Settings > Community Nodes.
- Select Install.
- Enter
n8n-nodes-whatsapp-decryptand click Install.
After installation, the "WhatsApp Media Decrypt" node will appear in the node list to be added to your workflow.
How to Use
The node requires the following input information to work:
- [cite_start]File URL: The direct link to the encrypted media file, usually starting with
https://mmg.whatsapp.net/...[cite: 3]. - [cite_start]Media Key: The corresponding decryption key (
mediaKey) for the file, in Base64 format[cite: 3]. - [cite_start]File Type (Extension): The extension of the file you are trying to decrypt (e.g.,
jpg,mp4,pdf)[cite: 3]. This is crucial for the decryption algorithm to work correctly. - [cite_start]Output File Name: The name you want to give the final file, without the extension[cite: 4, 5].
The node will process this data and return a binary file in the output, which can be used by other nodes (e.g., to send via email, save to Google Drive, or process with an AI).
File Compatibility
[cite_start]The node supports a wide range of file types, including[cite: 3, 4]:
- [cite_start]Images: JPG, JPEG, PNG, WEBP [cite: 4]
- [cite_start]Videos: GIF, MP4, 3GP, MOV [cite: 4]
- [cite_start]Audio: MP3, OGG, AAC, Opus [cite: 4]
- [cite_start]Documents: PDF, DOCX, XLSX, PPTX, TXT, ZIP [cite: 4]
License
[cite_start]This project is distributed under the MIT License[cite: 30].
