How to handle WhatsApp .enc audio files from Wasender API in n8n

I’m using Wasender API to receive WhatsApp messages in an n8n workflow. When I receive a voice message, Wasender sends the file in .enc format (encrypted). The issue is that n8n cannot work with this file directly, since Gemini/Whisper require an audio file in a playable format such as .ogg or .mp3. My question is whether there is any way within n8n to decrypt the .enc file and convert it into a valid audio format, or if I necessarily need Wasender to provide the audio already decrypted in a standard format.

Welcome to the community @ADAM999,

After some research, it seems they provide a Decrypt Media File API:

Also if the files are sensitive, they also explain how to decrypt them here:

Hope this helps!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.