Clay Icon

Best Ways to Add AI Snippets Conditionally in Emails

·
·

What's the best way to conditionally add an AI snippet to an email? Don't think you can add an "AI Snippet" within a "Conditional Snippet"

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Since AI snippets work best when generating small chunks of text at a time, here's the recommended approach: 1. First, create your AI snippets separately and save them as individual text snippets. 2. Then, use these pre-generated text snippets within your conditional snippets by: • Opening the conditional snippet panel with "/" • Setting up your conditions • Pasting the pre-generated AI content in the "If" or "Else" sections as neededThis approach maintains tight control over the AI-generated content while still allowing you to use conditional logic in your messages. It also helps avoid potential errors that could occur when generating longer content. Sources: Intro to AI Snippets (Copywriting) [Clay 101] - Clay University Message drafting overview | Clay University

  • Avatar of Mathew I.
    Mathew I.
    ·
    ·

    Better way to do this is to tell the AI snippet to return an empty string based on a condition just FYI

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Thank you for the feedback. Could you clarify if this suggestion fully addresses your concern or if you need further assistance?

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hey, thanks for reaching out, Matthew - Just to confirm, you've found a way to fix this, right?

  • Avatar of Mathew I.
    Mathew I.
    ·
    ·

    Yes thanks

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hi Mathew I.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: