I am currently using Email Services as a way to have a customer's email update certain fields in a record relative to them (based on a customer ID# which is included in the subject of the email).

Their emails contain a pdf attachment. I would like to strip the value out of the fields on the pdf document and populate certain fields in their Salesforce record.

Is that possible ? Has anybody ever done it ?


That's not possible in Apex by default.

Your most viable solution would be to grab the PDF and send it over to some other server to do the processing for you, and return the values you want. This requires a callout and might require quite some bandwidth if the PDFs are large.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.