I am using Gmail activity to read emails and download attachments in my local machine. I want to check if a specific word (e.g, invoice) appears in PDF, then move it to INVOICE folder and if it contains QUOTATION then move it to quotation folder.
Note: Invoice and Quotation words will be in PDF contents (not the name of the file)
Hey @Bilal_Anwar
After you download the pdf attachment from gmail you can you read pdf activity you will get it in string
Then you can use boolVal = pdfStr.contains(specific word (e.g, invoice).tostring)
use if contion in True move to That folder invoice similarly use for quotation to move to quotation folder.
No that is not possible bro @Bilal_Anwar
But if there is something on email body or subject then you can explore that i.e for that subject you download the attachment.