Option 1: Using ChatGPT for HTML Enrichment
Open the enrichment panel in Clay by clicking the “add enrichment” button at the top right of the page.
Instruct ChatGPT to add HTML tags for formatting. You can use prompts like: “Add <p> at the start of every paragraph and </p> at the end,” or “Insert <br> at the end of every line for line breaks.” This is the column: /column1
Link the relevant text column by using the forward slash, e.g., /column1.
Example:Original Text:
Dear Customer,
Thank you for your purchase.
We hope you enjoy your new product.
Expected Result:
<p>Dear Customer,</p>
<p>Thank you for your purchase.</p>
<p>We hope you enjoy your new product.</p>
Once you have saved the result as a column or within a nested object, the next step is to re-link this result inside your CRM or sequencer enrichment and re-export it. After the data is re-imported into your CRM or sequencer, you’ll need to activate the HTML editor to review, edit, and ensure the HTML formatting is correctly applied.
Option 2: Using a Formula in Clay
Select “formula” for the new column.
Use Clay’s AI formula feature to automatically add HTML tags to your text. For example: Add html formating "<p>" before every paragraph and "</p>" after every pagraph break from this column: /Description
Once you’ve run your formula and the output is generated, hover your mouse over the output cell to see the options.
Review the formatted text to ensure the line breaks (<br>) and paragraphs (<p>...</p>) are correctly applied.
If the output is correct, click on “Output is correct” to save the formula. This ensures that the formatting is applied consistently to all relevant rows.
Once you have saved the result as a column or within a nested object, the next step is to re-link this result inside your CRM or sequencer enrichment and re-export it. After the data is re-imported into your CRM or sequencer, you’ll need to activate the HTML editor to review, edit, and ensure the HTML formatting is correctly applied.
Need More Help?
Chat with us below or email us at [email protected]