filing attachments from Emails

Hi,
I am trying to write a rule that does the following
1. Recognises an email from a particular person or domain with an attachment.
2. Checks that the pdf attachment is OCR'd and if not performs an OCR in PDFPEN PRO
3 checks the content for a price and name.
4 Renames the file by date added and name
5 places the attachment based on a price band which is predetermined.
I am familiar with points 3 and 4. 1 2 & 5 not so much.
Many thanks
Steve Meyer
I am trying to write a rule that does the following
1. Recognises an email from a particular person or domain with an attachment.
2. Checks that the pdf attachment is OCR'd and if not performs an OCR in PDFPEN PRO
3 checks the content for a price and name.
4 Renames the file by date added and name
5 places the attachment based on a price band which is predetermined.
I am familiar with points 3 and 4. 1 2 & 5 not so much.
Many thanks
Steve Meyer