Pull attachments from Gmail trigger and merge with revised content for LinkedIn

In the Gmail node’s attachments configuration, use the binary property name (e.g., attachment_0, data, etc.), not the actual file name. You used {{ $json.attachment2.fileName }} but in the previous node you used attachment_0 etc…

Beside that, you can use a single expression to join the files :

{{ Object.keys($binary).join(‘,’) }}

like in this post here

P.S Visually in UI, if you want to put each attachment as you did, be sure to use in the field the orange text.

Cheers!

1 Like