Clay Icon

Using AI to Generate Responses with Incomplete Data Fields

Β·
Β·

Hi Support! I am running an AI prompt through OpenAI to generate a text prompt based on fields in my clay table. I am using multiple fields to fuel the prompt for information. On some of my prospects that data is blank so the cell isn't running. I am wondering if there is a way to tell the AI prompt "if some cells are blank, please try to supply an answer based on what you do have". For example, if I don't have the company but I do have their job title, I would like the AI to still attempt a response. Thanks!!

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    To configure your AI prompt in Clay to work with incomplete data: 1. Use the "Required to Run" toggle in the Prompt Editor to control which fields are necessary for the enrichment to run. 2. For fields that may be blank, don't mark them as required. This allows the enrichment to run even if those fields are empty. 3. In your prompt, use conditional statements to handle potentially missing data. For example: "If [Company Name] is available, use it in the response. Otherwise, focus on [Industry] information." 4. Utilize the AI help tool by clicking "Help me" in the "Use AI" enrichment. Describe your desired outcome, including how to handle blank fields, and the tool will generate a tailored prompt. 5. Always verify that your dynamic prompt inputs are correctly linked to the appropriate columns to ensure proper data usage.

  • Avatar of Jill Y.
    Jill Y.
    Β·
    Β·

    BOOM AI FOR THE WIN!! That totally answered my question. Thanks

  • Avatar of Summiya B.
    Summiya B.
    Β·
    Β·

    Keep the toggles of , so if some data points are missing your prompt will run.

  • Avatar of Jill Y.
    Jill Y.
    Β·
    Β·

    Ya I should have hovered over the toggles, I didn't realize that would make them not required.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    To ensure your AI prompt in Clay runs even if some data points are missing, you can use the "Required to Run" toggle in the Prompt Editor. Here's how: 1. Open the Prompt Editor for your AI enrichment. 2. Identify fields that aren't crucial for the prompt to run. 3. For these non-essential fields, make sure the "Required to Run" toggle is turned off. This way, your enrichment will run even if those fields are empty. Only enable "Required to Run" for fields that are absolutely necessary for your prompt to function correctly. Remember to verify that your dynamic prompt inputs are correctly linked to the appropriate columns. You can preview your results by clicking on any enriched cell to view the generated details.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·