Clay Icon

Streamlining Record Integration for Dynamic Prompts in Clay

Β·
Β·

I am pulling many (dozens) of records from an enrichment which relate to the company or individual being enriched (e.g. a contact's tasks from Salesforce). I want to essentially "dump" all of the records into a context window or prompt. Is there an easier way to do this rather than manually placing all of the records' fields that I want to use into the prompt or formula? When prompt or formula building in Clay, I'm afforded the option to add up to n records according to the maximum records that appear in the dataset but I'd like to be able to dynamically add all records. Thanks!

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    To dynamically add all records from an enrichment into a context window or prompt in Clay, you can use the "Entire enrichment" reference option. Here's how: 1. In the "Use AI" enrichment configuration, click on the column containing your enrichment results. 2. Select "Insert all properties" to reference the entire enrichment data. This method allows you to access all data returned by the enrichment at once, including entire lists and individual list items, without manually placing each record's fields. If you need help creating a prompt, use the AI help tool: 1. Click "Help me" in the "Use AI" enrichment configuration. 2. Describe your desired outcome in the "Task description" field. 3. The tool will generate a tailored prompt to help you achieve your goal. Remember to verify that the dynamic prompt inputs are correctly linked to the appropriate columns for accurate results.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·