I have no idea about how can I do the next process. Could someone help me please? I will be appreciated any help
I want to save in a folder the attachments of emails. But the name of folder it is inside of email. So it is possible that folder already is created or it will be needed to created it.
I have seen that I can create several folders with the same name. I suppose that it is because Google Drive use IDs for his folders. But that is not what I want to do. I want to read the attachment, read into the email the name of folder where I must upload the attachment file and check if the folder exists. If the folders exists, then upload the file there and if folder not exists then create it and upload the file there.
What is the error message (if any)?
Please share the workflow
(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)
Share the output returned by the last node
Information on your n8n setup
n8n version: 0.180.0
Database you’re using (default: SQLite): N/A
Running n8n with the execution process [own(default), main]: own
**Running n8n via [Docker, npm, n8n.cloud, desktop app]:**n8n.cloud, desktop app
Thank you very much @marcus!!! Your solution runs properly!
But I want to search several folders but using your solution only check the first one.
This is an example of that:
The folder with name “101010” not exists into my GDrive, but the folder with name “10001” exists.
If you check my attached flow then you will see that only check the first folder name.
How can I do to search all folders @marcus ?
Thank you very much for your time and patient!!
Thank you very much for your solution! you are the best!!
I didn’t know that some nodes require to do loops. Nice to know it, thanks a lot to teach me that! Every day I love N8N more. Their community is amazing!! thx a lot for your patience and time.
Ah, one thing, your workflow show me the next error: