Help with Decompress for a zip file

Hi, I’m new atn8n, I’m giving it a try to automate a big process.

I have ingested an email with an attachment, and after validating it’s the one I need, I want to decompress it. I read some posts and it should be farely easy, but I’m not sure what am I missing.

That’s my flow, and the error is:

The only thing to mention is that I have 3 inputs, as per the flow

Thanks in advance!

Hey @diegocatlad hope all is good. Welcome to the community.

The node that attempts to decompress the archive is not directly connected to the source of the binary (the trigger).

You can (choose one):

  • pass the binary through the code node
  • merge the switch with the trigger
  • write and then read the file back if using self-hosted setup

Depending on what the Code node is doing you may not need it, which could simplify things a lot for your case

2 Likes

Thank you, the first one did the trick. Unluckly, these are password-protected files, so it won’t be that easy.

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