top of page

E2F: Get Lead, Contact, User Id from Headers

Leverage the Get Lead, Contact, User Id from Headers apex action to retrieve the record id based on an email header In-Reply-to.  Note: This functionality is specific to Email-to-Lead, Email-to-User, and Email-to-Contact.

Inputs

Headers

The email header string

Object Name

Lead, Contact, or User

Outputs

Record Id

If a match was found, the Lead, Contact, or User record id that was found

RecordExists

A T/F indicate that Lead, Contact, or User record was found

EmailMessageExists

A T/F indicating that a match was found for the EmailMessage

EmailMessageId

The EmailMessageId used for matching

HeaderValueFound

​A T/F to indicate that the email header contains an In-Repy-To value

InReplyToValue

The In-Reply-To value retrieved from the email header

IsSuccess

False if an error occurred during the process

ErrorMessage

If IsSuccess is false, the error message

bottom of page