Do not really understand what the data after “I also searched the variables, but I don’t see a path:” is about, but the documentation page you linked actually answers exactly your question.
It has even an example workflow that does exactly that, and also mentions it specifically:
Hello @jan , I think that what @Josh_Fialkoff means is that he is not trying to read a pdf he just keeps in his disc or similar, he is trying to read the attached pdf just downloaded from the email, so he cannot set a custom file path, or he cannot just know the path where the pdf is downloaded by default, so he cannot set the path where the Read PDF node has to find the file. I got the same wall just in front of me May you know how to find that path? PS Sorry for my English, it is not my mother language.
No, I would like to get the text from the PDF file and also to upload it to Google Drive. I tried uploading first, but I found te same problem. Thanks for answering
So there are a few parts to it, If you are not saving the PDF to disk you can just use the binary property as you already have the file there ready to use.
Example Workflow
If you were saving the file to disk first using the write binary node you would need to use the read binary node and input the path you would have used for the write binary.
Example Workflow
The 2 example workflows above don’t use an email source but instead use an HTTP source but the process and theory is the same. Hopefully this helps.
Thank you so much for your help. I finally managed to read the pdf and even to upload it to Drive. It was not exactly your solution but it helped a lot . The diference between your workflow and mine or @Josh_Fialkoff 's is that the binary data is JUST behind the node that gets it. Once you add another node in between the data needs to be recollected again. As the email was the trigger and I needed to check somewhere else in which folder I need to upload the file, I was missing the data on the way It might be a basic from coding, sorry, I come from Zapier and similar zero code solutions, and coding is not one of my skills yet So I will have to first check where to upload, and then how can I recollect the binary data? I guess I will need to write it to disk so I can get to the data every time I need it
I reply myself I guess that if I upload the file twice, once on the main GDrive folder and once again in the folder I really need to keep it I can donwload the data as many times I need and delete the first file at the end of proccess… I just don’t want to use my server as a useless files storage.