Hello, I need to implement email forwarding with one or more attachments via a Telegram bot. I used an IMAP trigger that saves attachments to binary with names (attachment_0, attachment_1, and so on…). To send to Telegram, I used the Send Document node, where I specified the attachment name in the input binary field. However, how can I automatically send all attachments in one message without typing their names manually each time?
depends on the input but generally, split out the array that contains each attachment, map out the data and then set the name to something dynamic, but I’m assuming it won’t care if you upload files with the same name