Skip to main content
All CollectionsIntegrations and EnrichmentsClay Formatters
FAQ: How can I format my text with line breaks and paragraphs before sending it to my email sequencer?
FAQ: How can I format my text with line breaks and paragraphs before sending it to my email sequencer?

If your text from Clay to your CRM or sequencer lost paragraphs and line breaks, it’s likely due to missing HTML formatting.

Updated over 3 months ago

Option 1: Using ChatGPT for HTML Enrichment

  1. Open the enrichment panel in Clay by clicking the “add enrichment” button at the top right of the page.​

  2. 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>

  3. 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

  1. Select “formula” for the new column.

  2. 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

  3. Once you’ve run your formula and the output is generated, hover your mouse over the output cell to see the options.

  4. Review the formatted text to ensure the line breaks (<br>) and paragraphs (<p>...</p>) are correctly applied.

  5. 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]


Did this answer your question?