Logotipo de Workflows Audience Enrichment

Workflows Audience Enrichment

Organización
clay-run
workflows-audience-enrichment

Clay workflows — build enrichment steps and map their results back to Audiences in an existing audience enrichment workflow. Use while editing an audience enrichment workflow or migrating an Audience-backed bulk enrichment table into a workflow.

Add to TypingMind

Descripción general

Editorclay-run
Repositorioagent-plugins
Nombre de la habilidadworkflows-audience-enrichment
Estrellas
145
Forks
24
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por clay-run en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Workflows Audience Enrichment en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/clay-run/agent-plugins/tree/main/clay/skills/workflows-audience-enrichment
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/clay-run/agent-plugins.git /tmp/agent-plugins
mkdir -p .claude/skills
cp -r /tmp/agent-plugins/clay/skills/workflows-audience-enrichment .claude/skills/workflows-audience-enrichment
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Workflows Audience Enrichment en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Workflows Audience Enrichment automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Workflows Audience Enrichment no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Build an audience enrichment workflow

Use this skill for an existing audience_enrichment workflow or an explicitly requested Audience-backed bulk enrichment migration. It owns the workflow-specific sequence: build enrichment steps, ensure the shared final Audiences writeback, and map enrichment results onto audience fields.

Read the complete workflows and audiences skills first. Read /workflows-discover-actions when choosing provider actions, and read the workflows skill's audiences.md before mapping the writeback.

Verify the workflow type

Start every task with:

bash
clay workflows get <workflowId>

Continue when .type is exactly audience_enrichment. For a regular workflow (null or absent type), convert only as part of an authorized Audience bulk enrichment migration, using the procedure below. For other tasks or workflow types, return to /workflows. Never convert or reclassify a workflow implicitly.

Plan the enrichment

Read the full graph and identify the audience trigger, existing enrichment steps, and current writeback node. Resolve the following from the workflow and user instructions, asking only where a choice remains:

  • which audience fields should be populated
  • whether the workflow should enrich people or companies
  • whether the requested fields are actually missing or sparse
  • the action or function to use when the workspace catalog offers consequential alternatives
  • the audience size before testing or publishing

Use the audiences skill to inspect field fill rates and count matching records. Prefer direct enrichment actions for provider data, Clay functions for reusable workspace logic, agents for unstructured research or classification, conditionals for eligibility and fallbacks, and code for deterministic transformations.

Map unambiguous existing fields without asking whether to use them or create new ones. A request to update a field does not need another confirmation because it may already have values; do not add a fill-blanks-only restriction unless requested. For ambiguous mappings, offer plausible fields and a new-field option. Create needed fields without asking permission, following the workflows skill's audiences.md. Reuse field choices already made.

Present a short plan and get approval before editing the graph unless the user already authorized the edits. Get separate approval before publishing. Testing must be within the authorized scope; follow the shared policy in workflows-discover-actions/cost-and-budget.md for cost disclosure and significant-spend confirmation.

Build the enrichment path

Migrating an Audience bulk enrichment table

If the destination is a regular workflow, convert it with clay workflows update <workflowId> --type audience_enrichment once the user has authorized the migration. Then create draft Audience triggers matching the table's source segments and entity type. Conversion alone does not create triggers or run enrichment.

Read the table's full column settings and the destination trigger's output schema before creating nodes. Preserve the table's enrichment behavior while using the existing audience trigger as the source of the original record ID and fields:

  • Replace a lookup that only reloads the triggering Audience record, and columns that only extract its fields, with direct trigger bindings. Keep formulas that transform those fields.
  • Only carry over a related-company lookup when a downstream enrichment or writeback uses its output and that value is not already available from the trigger. Preserve user lookups that retrieve different records or implement additional filtering.
  • Pin each required value on the consuming code or tool node using an inputSchema property with the trigger's sourceNodeId and the exact sourcePath from its output schema. For example, a trigger exposing fields.Name supplies sourcePath: "$.fields.Name"; this may differ from the Audience field ID name. A nested expression like {{fields.id}} does not replace an explicit upstream binding. Read /workflows's data-passing.md for the writable shape.
  • In code, read the pinned input by its property name with context.get_input. On the final writeback, pin the original record ID from the trigger and the transformed value from the enrichment node, then reference those input names in inputMappingConfig. Read each node back and confirm its source bindings survived before running.

Use the shared writeback procedure below for the table's final Audience update. Do not copy the table's source-record lookup or legacy writeback action into a separate update path.

Build from the existing audience trigger. Preserve the trigger and any existing upsert-audiences-record node.

Use clay workflows actions list and clay workflows actions schema to choose and configure each enrichment. Never guess action input names, output paths, credentials, or provider availability. Put cheap eligibility checks before paid actions. When an enrichment can miss, use the user's chosen fallback or conditional path rather than silently writing a blank value.

Use the general workflows skill for node creation, insertion, data passing, and branch wiring. Do not manually create or reconnect the final audience writeback while building intermediate steps.

Ensure and configure the final writeback

After the enrichment graph is structurally complete, run:

bash
clay workflows ensure-audience-writeback <workflowId>

This command calls the same server-side helper as the audience enrichment editor. It creates or reuses exactly one upsert-audiences-record node, validates its entity type, and reconnects every eligible terminal route. Do not reproduce that topology change with manual node or edge edits.

Read the returned node before updating it. Preserve its tool identity and static entityType, then configure its inputMappingConfig with clay workflows nodes update using the writable shape from clay workflows nodes get.

Discover destination fields with:

bash
clay audiences fields list --entity-type people
clay audiences fields list --entity-type companies

Follow the workflows skill's audiences.md for the complete mapping shape. In particular:

  • set lookupFields|selectedLookupFields to the static array ["id"]
  • bind lookupFields|id to the audience trigger record id: use $.fields.id when the trigger output schema contains a fields object, otherwise use $.id; inspect the trigger output schema and never guess the path
  • do not replace the record-id lookup with email, LinkedIn URL, phone, or domain; those aliases are for generic or net-new audience upserts where an existing audience record id is unavailable
  • include every destination id in recordFields|selectedRecordFields and provide its matching recordFields|<id> binding
  • set recordFields|removeNullValues to true unless the user explicitly wants blanks to clear existing values
  • bind enrichment outputs from their declared $.result.<outputPath> paths; never invent paths

Read the writeback node again after updating it and confirm the mappings persisted.

Validate, test, and publish

Finish an audience enrichment workflow in this order:

  1. Run clay workflows ensure-audience-writeback <workflowId>, read the returned node, and confirm its mappings persisted.

  2. Validate the graph with the available workflow tools and show the resulting diagram.

  3. Resolve the segment id from the workflow's existing audience_segment trigger. Do not search for audience entities or records to decide what to publish or run. If the workflow has no audience_segment trigger, stop this completion sequence and use the general workflows testing guidance; do not alter its triggers.

  4. Explain the likely credit exposure and get approval for a credit-consuming test.

  5. Test 10 segment records from the current draft by default:

    bash
    clay workflows runs test <workflowId> --audience-segment <segmentId> --limit 10

    Use a different limit only when the user requests or approves it.

  6. Wait for the run to finish. Inspect both the enrichment output and the final Audiences update. If mappings need correction, correct and validate them, then return to step 4 and get renewed approval before another credit-consuming test.

  7. Get separate approval, then publish the tested draft with clay workflows publish <workflowId>.

When the user asks to publish and run an audience_segment workflow, publish first, then test 10 records from the version just published with --audience-segment <segmentId> --limit 10 --live. Do not substitute an entity lookup, a record search, or a plain manual run for the requested segment run. Later edits remain draft-only until the workflow is published again.

Preguntas frecuentes

¿Qué hace la habilidad de IA Workflows Audience Enrichment?

Clay workflows — build enrichment steps and map their results back to Audiences in an existing audience enrichment workflow. Use while editing an audience enrichment workflow or migrating an Audience-backed bulk enrichment table into a workflow.

¿Por qué usar Workflows Audience Enrichment en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Workflows Audience Enrichment está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Workflows Audience Enrichment en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/clay-run/agent-plugins/tree/main/clay/skills/workflows-audience-enrichment. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Workflows Audience Enrichment?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Workflows Audience Enrichment?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Workflows Audience Enrichment con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Workflows Audience Enrichment?

clay-run la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇