The Sales Process Agent (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/geremyjampiersalasgarcia-eng/Caso_Practico_Semillero_IA/llms.txt
Use this file to discover all available pages before exploring further.
agente_proceso_ventas) is the authoritative source for how Patito S.A.’s sales pipeline works. When the LangGraph classifier detects the intent proceso_ventas, it routes the query to this agent. The agent retrieves the most relevant chunks from the col_proceso_ventas ChromaDB collection — populated from 03_Proceso_Ventas_CRM.txt — and generates structured answers that walk sales reps through funnel stages, CRM data requirements, and opportunity-closing criteria. Whenever the agent describes pipeline stages it presents them in the canonical order: Prospecto → Contacto → Calificación → Propuesta/Cotización → Negociación → Cierre (Ganada o Perdida).
Agent properties
| Property | Value |
|---|---|
name | agente_proceso_ventas |
collection_name | col_proceso_ventas |
system_prompt_path | backend/app/prompts/proceso_ventas_prompt.md |
| Knowledge document | 03_Proceso_Ventas_CRM.txt |
| Intent trigger | proceso_ventas |
Source class
ProcesoVentasAgent inherits the full retrieve→prompt→LLM→result pipeline from BaseAgent and only needs to declare the four properties.
Example queries
1. CRM requirements before marking an opportunity as won¿Qué información debo registrar en el CRM antes de marcar una oportunidad como ganada?Expected answer: the full list of required data (see CRM data requirements for closing below), citing
03_Proceso_Ventas_CRM.txt.
2. Funnel stages overview
¿Cuáles son las etapas del embudo de ventas de Patito S.A.?Expected answer: ordered list — Prospecto → Contacto → Calificación → Propuesta/Cotización → Negociación → Cierre (Ganada o Perdida). 3. CRM data entry best practices
¿Qué buenas prácticas debo seguir al registrar una oportunidad nueva en el CRM?Expected answer: guidance on timing, required fields, and how to keep pipeline data accurate and up to date. 4. Post-sale follow-up
¿Qué pasos debo seguir después de cerrar una venta como ganada?Expected answer: post-sale and delivery steps defined in the process manual, including delivery date confirmation and invoicing data.
CRM data requirements for closing
Before a sales rep can mark an opportunity as Ganada (won), the following data points must all be recorded in the CRM:- Purchase order or signed contract from the client
- Complete billing data (company name, tax ID, billing address)
- Products, quantities, and final prices — with discount applied and authorization documented
- Payment condition — cash (contado) or credit (crédito), including term if credit (30, 60, or 90 days)
- Total sale amount in USD
- Close date of the opportunity
- Committed delivery date agreed with the client
agente_accion) enforces a parallel validation when it collects data before registering a new opportunity.
For mixed-intent queries (intent
mixta), the orchestrator runs agente_proceso_ventas in parallel alongside agente_catalogo and agente_politicas. All three partial answers are merged by the consolidation step. This is particularly useful for queries like: “A new client wants 50 units of Patito Pro 2026 on credit with a special discount — what’s the price, what discount and credit terms can I offer, and what do I register in the CRM?”