Hey all, our company is new to HubSpot and we’re going through the initial setup process right now, primarily for marketing emails.
I’m a developer helping our marketing team, and so far they’ve been able to design emails to their satisfication with the default theme using the drag-and-drop email editor.
We’re building a lot of automated emails sent via workflows, and at the bottom of every email we’ve been adding a section (1-column layout) that inclues the Social module, an image, and then the Footer module.
Is there any way we can create a custom module for this whole lower section so that we can manage it globally in one place?
A few example use cases would be:
- We want to add a new social link to the bottom of every email
- We want to conditionally display or not display some new text at the bottom of every email depending on a contact property value (e.g. for a week-long promo)
- We want to change the background color of the lower section for every email
Ideally we could just make these changes in the module, and then all of the automated emails that use this module would reflect the changes.
I’ve figured out how to create a custom module and use it in programmable emails, but only with raw HTML/HubL — so it seems like I would need to rebuild all of the email-client-friendly HTML that HubSpot generates for its default Social module, Footer module, etc…
Is there any way I can include or reuse those default modules in my custom module so that I can take advantage of the email-client-friendly markup that HubSpot generates and add my custom content/markup/HubL logic around it?
I found this article that looked promising, but then I discovered that it’s N/A because our emails aren’t using a custom email template set up in the design manager, we’re just building them in the drag-and-drop editor using the default theme.
