function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mdemaria@nechute.commdemaria@nechute.com 

Extracting/Parsing Data from Incoming Email Message

Hopefully someone will be able to help me/suggest a solution, been banging my head for a while now. I am a newbie for apex coding (which is probably reason for banging).

 

I  have an auto-send email to 1 particular vendor with Subject showing "Opp Name" and "Opp Custom ID Field", vendor replies back with Pricing & His Quote ID. Need to be able to capture"ABF Pricing : $xyz" & "ABF Quote ID : 123456" from reply email and update Opp Name with information. Obviously can't guarantee he words his email exactly the same each time. How would someone suggest being able to capture the info. I started to setup incoming email services but get lost for the APEX class on how I can capture the data right each time. Would it be better to have fields inside email (don't know how to do that either) or send an attachment with auto email, and then some how capture info from the attachment.


Any help would be greatly appreciated.

 

 

Best Regards,

 

Matt