I’d like to know how to send an email with attachments (image and files) to a ClickUp task. I tried creating a code after gmail trigger node that captures the email, but after that, when I trigger the “create a task” function in ClickUp, it no longer returns the attachments. What’s the best way to create a task every time I receive an email and send the attachments along with it?
Here’s how to create ClickUp tasks with Gmail attachments:
• Use a **Gmail Trigger** to capture incoming emails, then add a **ClickUp node** to create the task with email content
• For attachments, add a **Code node** between Gmail and ClickUp to process the attachment data - Gmail provides attachments as base64 data that you’ll need to format properly
• In the ClickUp task creation, you can attach files by uploading them first using ClickUp’s file upload API, then reference those file IDs in your task
• Check out the [n8n.io](ClickUp and Gmail: Automate Workflows with n8n) ClickUp-Gmail integration examples and the [docs.n8n.io](ClickUp node documentation | n8n Docs) ClickUp node documentation for specific attachment handling methods
The key is properly processing the Gmail attachment data in a Code node before passing it to ClickUp, since the attachment format needs to be converted from Gmail’s base64 format to something ClickUp can accept.