Strip header details from email attached to case

We have a scenario where a user manually attaches an email to the case. The business desire is to strip the header information from the email to populate case data for use during various integrations.

Is there any OOTB process or rules which will take an attached file and process to enable certain details to be mapped to Pega defined properties?

Attached is an example email file which would be attached to the case manually.

Test Email.txt (130 Bytes)

@ScotRob , we have pyGetAttachmentContent activity, please customize this activity to get email header fields

@ScotRob You can try this approach:

  1. Create an entity extraction model from prediction studio and train the model with few sample emails

  2. Create a text analyzer rule and under “Text extraction” section check “Enable text extraction” add the model created in step1 here.

  3. Refer the text analyzer rule from activity by calling ootb activity “pxRunTextAnalyzer” with all required parameters.

  4. The extracted entities would be present under the .pyNLPOutcome.pyEntities

@BhanuPrakash_G - Thanks for this information. I was able to follow this and accomplish what I was attempting.