Hi. I'm trying to craft a personalized cold email series in Clay that then gets sent (via the API) to Lemlist. The email looks fine in Clay, but when it lands in Lemlist all the formatting is gone. I think i have to fix this on the Clay side because I'm syncing the complete email body in the Clay field to Lemlist via a custom field. how can this be accomplished?
To preserve email formatting when syncing to Lemlist, you need to format your email content with HTML tags in Clay before sending it via the API.
Use a formula in Clay to wrap your text with HTML formatting tags like <p>
for paragraphs, <br>
for line breaks, and other HTML elements. For example: LBKSCONCATENATE("<p> ", /your_email_content, "</p> ")LBKS
After applying the HTML formatting formula:
1. Save the formatted result as a new column
2. Map this HTML-formatted column to your Lemlist custom field in the API call
3. In Lemlist, activate the HTML editor to ensure the formatting displays correctly
This ensures your personalized email formatting is preserved when it reaches Lemlist.