I’m trying to add condition to check if Imap Email trigger returned an email with attachment.
I want to check first if that email contains attachment to call e proper analyzer for example file info.
If there is not attachment it returns error in cortex.
The binary variable Object.keys($binary) we can consider as the same with the Binary in the output data ? I can consider this approach for all conditions. Is it correct?
Not sure if I understand you correctly. But yes $binary is the binary data that you get as output of the previous node. To be exact it is the binary data of a specific item.
Hi @jan.
It’s me again.
Still in this case. One question regarding loops.
If i have more than one attachment how can i deal with it, iterate in this case,
And for example, create many observables using Thehive node based on each file.
Now i’m only able to get the attachment_0.
Best regards