Custom components enhance the email builder experience by enabling the creation of Lightning Web Component (LWC) modules that can be embedded and configured within the email template or content canvas. The primary objective of custom components is to provide marketers with reusable elements that streamline the creation of new email records. Below are two common use cases for custom components:
- Integrating with External Sources:
Custom components allow marketers to easily pull information or content from external sources, saving time and reducing the risk of errors. For example:- Automatically import webinar data into an email, eliminating manual steps.
- Integrate external content management systems (CMS) to access information not stored in Salesforce.
- Reusable Email Formatting:
Custom components enable the creation of advanced, reusable email elements not included in the standard builder. For example:- Design a data table component that allows marketers to quickly insert tables into emails.
- Develop a component with a pre-set structure (such as an image, title, and text) to speed up the email-building process for common patterns.
These use cases showcase how custom components can increase efficiency and consistency in email creation, empowering marketers to focus on content rather than repetitive tasks.
Content updated November 2024.