Hi, I am trying to integrate email and label forwarding from Gmail to Zammad, which I have managed to do. However, I noticed that it does not transfer attachments as it does when connecting Gmail within Zammad. Can anyone help? I use Extract binary to base64, but when I have 10 attachments in 10 messages, each one is an “attachment” in the name, and it combines them into one large base64 string that I cannot separate.
The issue is that the “Extract Binary Data” node is combining all attachments into a single base64 string. To handle multiple attachments correctly, you’ll want to use the “Gmail Trigger” node to fetch the emails, and then use the “Move Binary Data” node to handle the attachments.
1. In the “Gmail Trigger” node, configure it to fetch emails with attachments.
2. Following the Gmail node, use a “Move Binary Data” node. In the “Move Binary Data” node, you can specify the “Attachment” field to extract each attachment separately.
3. Then, you can use the extracted attachments in your Zammad integration.
Give that a shot.