Skip to main content

IF you use the 'read PDF' write it to a txt file (check what he has read) if its in a variable and use the 'if File contains...' is it possible it can't see the word mentioned, if its not in the middle of the text/variable? in the exported txt file the word clearly seen. (no paperscan) If the word is at the beginning of the scanned text it sees it, but when its somewhere in the middle it misses the word..

Hi Leon! As far as I can remember you would have to use split first and then save the specific text you’re looking for as a variable. Only then you can use the “if contains”. Are you taking into account that the “read pdf” may not have read the text accurately? Did you try the tesseract OCR command?


Hi Marlon,

thxs for your reply,

I let the read PDF variable export to a txt file to seen what it can read.

But the mistake was on my hand I use in one search 'if X equals' instead of contains..

Now it finds and acts on the word in the pdf I was looking for, I am fine-tuning a Mailbox invoice Robot, as we have 6 companies, 4 different mailboxes ant 2 types of invoices and need to reject on double invoices, remember mails, needs to attach PDF, more invoices in pdf, the company name must be correct in the invoice (there my question came from) ..So this takes some testing but it works brilliant and will save almost 1 FTE..


happy to read! good job Leon!


Reply