I want to copy list of files in one shot in googledrive node

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow {

“nodes”: [
{
“parameters”: {
“operation”: “copy”,
“fileId”: {
“__rl”: true,
“value”: “=”,
“mode”: “id”
},
“options”: {
“parents”: [
“={{$node["Google Drive1"].json["id"]}}”
]
}
},
“id”: “526fa027-0c5a-436d-a4f5-16c4790a8f52”,
“name”: “Google Drive4”,
“type”: “n8n-nodes-base.googleDrive”,
“typeVersion”: 2,
“position”: [
940,
-340
],
“credentials”: {
“googleDriveOAuth2Api”: {
“id”: “tPO8EExytJVvW1MW”,
“name”: “Google Drive account”
}
}
},
{
“parameters”: {
“resource”: “fileFolder”,
“queryString”: “=”,
“returnAll”: true,
“filter”: {
“folderId”: {
“__rl”: true,
“value”: “={{ $json.id }}”,
“mode”: “id”
}
},
“options”: {
“fields”: [
“id”,
“mimeType”,
“name”
]
}
},
“type”: “n8n-nodes-base.googleDrive”,
“typeVersion”: 3,
“position”: [
440,
-260
],
“id”: “36d3a257-3449-431d-b782-ca465a594123”,
“name”: “Google Drive6”,
“credentials”: {
“googleDriveOAuth2Api”: {
“id”: “tPO8EExytJVvW1MW”,
“name”: “Google Drive account”
}
}
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 2
},
“conditions”: [
{
“id”: “e61c6687-7700-49bf-8e93-2a9d93f3834e”,
“leftValue”: “={{ $json.name }}”,
“rightValue”: “CashFlow Ledger.xlsx”,
“operator”: {
“type”: “string”,
“operation”: “notEquals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.filter”,
“typeVersion”: 2.2,
“position”: [
700,
-500
],
“id”: “3ea06230-8932-4549-9df5-9e050ae9f99c”,
“name”: “Filter”
}
],
“connections”: {
“Google Drive4”: {
“main”: [

]
},
“Google Drive6”: {
“main”: [
[
{
“node”: “Filter”,
“type”: “main”,
“index”: 0
}
]
]
},
“Filter”: {
“main”: [
[
{
“node”: “Google Drive4”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “56618ac74fc1653fa13a004decd583a5fc421e12ac60e59c391259dc6bd565ce”
}
}

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: version 1
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • **Operating system:**wondows

Hi @Bhagyashri_Barot
what is the issue you’re having?
I tried a simplified version of your workflow (without the filter) and it works correctly:

Please share what is wrong with your workflow so that the community can support you better

Below is my workflow, where i want to pasted copied files to created folder, which is google drive2

hi @Bhagyashri_Barot
this workflow is missing the File Copy operation that you had instead in the first workflow you shared, so it is not possible to make the copy of the files.

You should first retrieve the list of files you cant to copy, and the have a google drive node with the File Copy operation. The workflow I shared is a barebones version of it.

Hi @Bhagyashri_Barot
your workflow is missing a File:Copy operation of the Google Drive node
Once you have selected some files you can copy them by using that operation
You can of course create a new destination folder in advance.

Here’s a more complete example where I create a folder with a random name:

Hope it helps