> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getnexor.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Asignar Agente a Lead

> Enroll a lead into a workflow (an AI agent). If the lead has no active workflow this is an enrollment; if it already has one, that run is deactivated and replaced (reassignment). The lead starts the new workflow's cadence unless the workflow is paused.

This does NOT set the lead's owner. To assign a human owner, send `assigned_to` on PATCH /leads/{id} (or when creating the lead).

<Note>
  Esto mueve el lead a otro **agente de IA** (workflow). No cambia el **responsable** del lead — la persona de tu equipo a cargo de él.

  Para definir el responsable, envía `assigned_to` en [PATCH /leads/{id}](/docs/es/api/leads/patch-lead) o al [crear el lead](/docs/es/api/leads/create-lead).
</Note>


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.getnexor.ai/llms.txt).
