GTM Stack

How do I select the best person from a list in an AI enrichment prompt?

When working with AI enrichment and a list of people, you need to correctly reference specific data fields to avoid errors. Properly using JSON schema and column references is key to successful selection.
February 2026

1 Answer

Resolving '[object Object]' Errors in AI Enrichment Prompts

To select the best person from a list in an AI enrichment prompt:

  1. Use the JSON schema option in your AI enrichment

    • Scroll down to the JSON body section
    • Properly tag your data
  2. Reference specific properties from list items

    • Use correct syntax like /List Column.name or /List Column.jobtitle
    • Avoid referencing the entire JSON object
    • Wrap dynamic column references in quotes
  3. When working with Clay tables:

    • Use the 'create and modify content' use case
    • Add list data in the JSON body section

Key Syntax Tips

  • ✓ Good: /List Column.name
  • ✗ Bad: Referencing entire [object Object]

By following these steps, you'll correctly select and reference specific data points in your AI enrichment prompts.

February 2026

Add your take

Have experience with the tools discussed here? Share your honest opinion.