Create a Contact and Account Record When a Case is Created Using Inbound Mail
Summary:
Create a Contact and Account Record When a Case is Created Using Inbound Mail
Content (please ensure you mask any confidential information):
The requirement is to create an Account from a Contact. The solution provided is to associate an Account with the Contact.
Please refer to the steps below for the requirement:
Step 1: Create a Contact when an inbound email is received, and a Contact is not found.(Step 1 is working using Groovy, with a field-level trigger on the Inbound Message object.)
Step 2: Search for an Account based on the Contact.
Step 3: If an Account is not found, an Account should be created from the Contact, and the Contact should be set as the primary contact for that Account.
0