How to handle image uploads in n8n chat? (binary data missing)

I think you have to activate this option “Include Other Input Fields” in the “Set” node to get the binary attachments from Chat node to deal with it

Here is a working example to upload a file from the chat to google drive: