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

# Lead Enrichment Pipeline

> Ask your agent to enrich a lead file in separate, reviewable stages.

[Agent guide: CLI and SDK instructions →](/docs/recipes/lead-enrichment)

## 1. Have your context ready

Have a small lead file with source IDs, names, company information, and required output fields.

## 2. Ask your agent

Paste this into your agent, then provide your task and example inputs when it asks:

```deepline-prompt theme={null}
/deepline-gtm Prepare a Deepline lead-enrichment pilot for this file. Separate company matching, person and role enrichment, and contact validation. Inspect the current contracts for the selected providers before using them. Use Apollo only if I explicitly select it and my own key is connected. Preserve each stage’s evidence and errors. Show the proposed sample and usage before running it; do not activate outreach.
```

Complete any requested sign-in yourself. Give the agent the missing information before approving execution. Provider-backed work can incur usage.

## 3. Review the result

Each source lead is accounted for at every stage. A provider error is distinct from a missing field or rejected contact detail, and a repeated run is not assumed to be free.

Ask your agent:

```deepline-prompt theme={null}
/deepline-gtm Compare the result with the acceptance rule we agreed. Show the evidence for accepted and rejected outcomes, unresolved questions, and recorded Deepline usage where work ran. If work is still running or a response is uncertain, inspect the original saved execution before proposing another request. Explain the next decision I need to make.
```

Approve a larger job, recurring work, or external changes only after reviewing that decision.

## Check your understanding

Does separating steps guarantee that reruns cost nothing?

> **Show the answer**
>
> No. Completed cache reuse is conditional. Independent misses and refreshed
> work can execute and incur usage again.

## Related guides

* [Choose a Deepline workflow](/docs/human/plays/decision-tree)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.