Cannot attach file to a message in Gmail node

I have a Gmail node and I am trying to attach a CSV generated by the previous node. I do not see an Attachment option at the bottom of the parameters window.

What is the error message (if any)? N/A

{

“nodes”: [
{
“parameters”: {},
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
304,
560
],
“id”: “382b39d4-d57a-4886-9739-8a047bddb3e0”,
“name”: “When clicking ‘Execute workflow’”
},
{
“parameters”: {
“operation”: “toFile”
},
“name”: “Convert to CSV for Clay”,
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1,
“position”: [
1184,
368
],
“id”: “704a3974-c5d0-43f0-be21-c7c73c8eda20”
},
{
“parameters”: {
“amount”: 15,
“unit”: “seconds”
},
“name”: “Wait for Enrichment”,
“type”: “n8n-nodes-base.wait”,
“typeVersion”: 1,
“position”: [
1408,
560
],
“id”: “1064f9ce-da01-4780-bc9f-7a5c25d87c3f”,
“webhookId”: “5df624bb-1eac-47a0-9a05-77339fcbad6a”
},
{
“parameters”: {
“options”: {}
},
“name”: “Convert to CSV for Dripify”,
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1,
“position”: [
1840,
560
],
“id”: “fa0db187-34fc-4e0d-a32c-aca76741f335”
},
{
“parameters”: {
“operation”: “sendAndWait”,
“sendTo”: “[email protected]”,
“subject”: “3PL Campaign List for Approval”,
“message”: “Hi Domenic,\n\nAttached is the enriched CSV file for the 3PL campaign (includes Full Name, Work Email, LinkedIn URL, Company Name, Domain). Please review and reply with "approve" to proceed with Dripify and Instantly, or "reject" with feedback.\n\nThanks,\nJamie”,
“approvalOptions”: {
“values”: {
“approvalType”: “double”
}
},
“options”: {}
},
“name”: “Send Approval Email”,
“type”: “n8n-nodes-base.gmail”,
“typeVersion”: 2.1,
“position”: [
2064,
560
],
“id”: “44467a88-a7c9-497e-9285-e63f07165059”,
“webhookId”: “df0fd0c4-afb4-4fc2-ac65-cc2df5fb2ed1”,
“credentials”: {
“gmailOAuth2”: {
“id”: “Z202XUYyyHOn8nnz”,
“name”: “Gmail account”
}
}
},
{
“parameters”: {},
“name”: “Switch”,
“type”: “n8n-nodes-base.switch”,
“typeVersion”: 1,
“position”: [
2288,
560
],
“id”: “a3df0a99-b0cb-499c-a770-ea937c19e01b”
},
{
“parameters”: {
“sendTo”: “[email protected]”,
“subject”: “3PL Campaign List Approval Status”,
“message”: “List was {{$node[‘Send Approval Email’].json[‘approvalStatus’]}}. Feedback: {{$node[‘Send Approval Email’].json[‘approvalReply’] || ‘None’}}”,
“options”: {}
},
“name”: “Notify Rejection”,
“type”: “n8n-nodes-base.gmail”,
“typeVersion”: 2.1,
“position”: [
2512,
672
],
“id”: “2add68a6-c94b-4afa-9d4b-17ea2a468715”,
“webhookId”: “57cf1a1e-08a3-40b5-8a1f-5914d5944a10”,
“credentials”: {
“gmailOAuth2”: {
“id”: “Z202XUYyyHOn8nnz”,
“name”: “Gmail account”
}
}
},
{
“parameters”: {
“url”: “Interactive map - IT Subway Map”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.2,
“position”: [
528,
560
],
“id”: “2f3e36f2-dde5-4263-93fc-c2c87d40b4e2”,
“name”: “HTTP Request1”
},
{
“parameters”: {
“operation”: “extractHtmlContent”,
“extractionValues”: {
“values”: [
{
“key”: “vendors”,
“cssSelector”: “g[id=‘Warehouse Management System (WMS)’] g.datapoint”,
“returnValue”: “attribute”,
“attribute”: “id”,
“returnArray”: true
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.html”,
“typeVersion”: 1.2,
“position”: [
752,
560
],
“id”: “17815185-fcfa-4568-8a40-1ead056393b2”,
“name”: “HTML1”
},
{
“parameters”: {
“fieldToSplitOut”: “vendors”,
“options”: {}
},
“type”: “n8n-nodes-base.splitOut”,
“typeVersion”: 1,
“position”: [
960,
560
],
“id”: “b539e127-5340-49ed-8519-6fb169360226”,
“name”: “Split Out1”
},
{
“parameters”: {
“authentication”: “oAuth2”,
“sheetId”: “1pDDVFgUQFnua_EbzK6YGRrCqwMJYCOj3rZt2pZV5D0g”,
“range”: “A:Z”,
“options”: {}
},
“name”: “Read Enriched Google Sheet1”,
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 1,
“position”: [
1632,
560
],
“id”: “30e044de-d20d-429d-92e3-ddc30d3b6a85”,
“credentials”: {
“googleSheetsOAuth2Api”: {
“id”: “pXt5U9pv8iF1RZsN”,
“name”: “Google Sheets account”
}
}
},
{
“parameters”: {
“authentication”: “headerAuth”,
“url”: “https://api.instantly.ai/v1/contacts”,
“options”: {}
},
“name”: “Instantly API1”,
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 1,
“position”: [
2512,
464
],
“id”: “a7d7a9a6-b0f1-4d17-b709-b7303c81140b”
},
{
“parameters”: {
“operation”: “appendOrUpdate”,
“documentId”: {
“__rl”: true,
“value”: “1Zd97bUdgwlY3ZxpFTX9Juyb8Tbpmo8xEVd7P0hEky8k”,
“mode”: “id”
},
“sheetName”: {
“__rl”: true,
“value”: “Sheet1”,
“mode”: “name”
},
“columns”: {
“mappingMode”: “defineBelow”,
“value”: {
“vendors”: “={{ $json.vendors }}”
},
“matchingColumns”: [
“vendors”
],
“schema”: [
{
“id”: “vendors”,
“displayName”: “vendors”,
“required”: false,
“defaultMatch”: false,
“display”: true,
“type”: “string”,
“canBeUsedToMatch”: true,
“removed”: false
}
],
“attemptToConvertTypes”: false,
“convertFieldsToString”: false
},
“options”: {}
},
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 4.6,
“position”: [
1184,
560
],
“id”: “01c0dc09-9775-47de-9653-174e23668f2a”,
“name”: “Append or update row in sheet”,
“credentials”: {
“googleSheetsOAuth2Api”: {
“id”: “pXt5U9pv8iF1RZsN”,
“name”: “Google Sheets account”
}
}
}
],
“connections”: {
“When clicking ‘Execute workflow’”: {
“main”: [
[
{
“node”: “HTTP Request1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Wait for Enrichment”: {
“main”: [
[
{
“node”: “Read Enriched Google Sheet1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Convert to CSV for Dripify”: {
“main”: [
[
{
“node”: “Send Approval Email”,
“type”: “main”,
“index”: 0
}
]
]
},
“Send Approval Email”: {
“main”: [
[
{
“node”: “Switch”,
“type”: “main”,
“index”: 0
}
]
]
},
“Switch”: {
“main”: [
[
{
“node”: “Instantly API1”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “Notify Rejection”,
“type”: “main”,
“index”: 0
}
]
]
},
“HTTP Request1”: {
“main”: [
[
{
“node”: “HTML1”,
“type”: “main”,
“index”: 0
}
]
]
},
“HTML1”: {
“main”: [
[
{
“node”: “Split Out1”,
“type”: “main”,
“index”: 0
}
]
]
},
“Split Out1”: {
“main”: [
[
{
“node”: “Append or update row in sheet”,
“type”: “main”,
“index”: 0
},
{
“node”: “Convert to CSV for Clay”,
“type”: “main”,
“index”: 0
}
]
]
},
“Read Enriched Google Sheet1”: {
“main”: [
[
{
“node”: “Convert to CSV for Dripify”,
“type”: “main”,
“index”: 0
}
]
]
},
“Append or update row in sheet”: {
“main”: [
[
{
“node”: “Wait for Enrichment”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “939f987c97668a01954a7e6c13eb949567081e72165a04e7117302dcf0e9a8a1”
}
}

data

File Name:
File.csv
File Extension:
csv
Mime Type:
text/csv
File Size:
192 B

Information on your n8n setup

  • n8n version: 1.102.4
  • Database (default: SQLite): ??
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ??
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n Cloud
  • Operating system: Windows 11

hi there

the attachment option are only available in the send opperation, and not on the “send and wait for response”

if it answers your question, please mark this as a solution

3 Likes

thank you! very helpful. doesnt it make sense to allow attachments for this function? like if you want to send something to be reviewed and need a human to approve the doc?

anyway, thank you again!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.