How to attach a downloaded file from Telegram in the "Gmail: Send an Email" module

Hi, I’m a beginner in using make, I’m facing a problem with attaching a downloaded file from telegram to the Gmail: Send an Email module. I tried to use the following paths to the downloaded document as: {{12.channel_post.attachment}} {{12.channel_post.attachment}}{{10.fileOutput}}{{10.filePath}}{{10.fileName}} but I get an error when using this data:
Validation failed for 1 parameter(s).
Array of objects expected in parameter ‘attachments’.

Hi @Nazar_Pauk,
Could you please attach a screenshot of the output from the Download a File module? (Click on the “1” in the circle.) The filename and data should be provided by this module’s output.

Best regards,

Great!

In the Gmail module, you need to use File Name and Data as parameters in the Attachments array.


I tried this option, but unfortunately it gives the same error. Thank you for your willingness to help. If you have any other ideas, please let me know

Toggle off the Attachment Map option, and you’ll see that the data from the Download module will be mapped as shown in the screenshot below.

I hope the screenshot helps!

1 Like

Thank you very much for your help — this solution works

2 Likes