Scenario
When sending emails directly on the Contact record, the Entity ID is showing. However, emails sent from Workflow does not show the Entity ID. This is due to the incorrect syntax/formula on the Body of the Send Email action of the Contact Workflow. You will need to use template when using functions like ?keep_before.
Solution
- Navigate to Documents > Templates > Email Templates > New
- Name: Enter Preferred Name
- Record Type: Select Entity
- Template:
- Text Editor: Enter ${contact.company?keep_before(” “)}
- Click Save
- Navigate to Customization > Workflow > Workflows
- Preferred Contact Workflow: Click Edit
- Double-click State 1
- Click Send Email action
- Parameters:
- Content: Select Use Template
- Template: Select Preferred Template
- Click Save