Clay Icon

Seeking Help with AI Prompt Engineering for Random Input Rotation

ยท
ยท

Hi there, have an AI Prompt problem / question would love to get some help with. I have never been able to write a prompt that gets the AI writer to:

  1. 1.

    Randomly rotate between using a different input from a list (e.g. hooks/pain points etc) for each Row/contact. Instead the AI will:

  1. a.

    Always use the first item in the list

  2. b.

    Or it will use all of the provided items in a list for each contact.

Would really appreciate some prompt engineering ti for this use case. thank you

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

    To create a prompt that randomly rotates between different inputs, follow these steps:1. Start with a clear system prompt that sets the context and explicitly instructs the AI to use random selection. 2. In your main prompt: โ€ข Define your list of inputs (hooks/pain points) using dynamic variables with '/' โ€ข Include specific instructions for the AI to randomly select one item from the provided list for each contact โ€ข Specify the exact output format you want 3. Make your instructions step-by-step and explicit about: โ€ข The randomization requirement โ€ข How to handle each contact independently โ€ข The desired output structureIf you're having trouble crafting the prompt, you can use the "Help me" feature next to the prompt field. Simply describe your randomization needs in the Task Description, and the AI will generate a customized prompt for you. Sources: Use AI integration overview | Documentation | Clay University Prompt Engineering Crash Course [Clay 101] - Clay University Prompt Engineering Crash Course [Limitless Research] - Clay University

  • Avatar of Channeled
    Channeled
    APP
    ยท
    ยท

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