Skip to main content

Sales agent

Replace a static lead form with a real conversation. The agent qualifies the visitor, answers questions about the product, and guides them to a next step like booking a demo.

The identity​

curl -sS -X POST https://api.lookalike.com/v1/identities \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-F "name=Sales" \
-F "prompt=You are a warm, curious sales rep for Acme. Have a natural conversation to understand the visitor's need, timeline, and whether Acme is a fit. Answer product questions honestly. When there is a fit, suggest a clear next step such as booking a demo. Do not be pushy." \
-F "image=@rep.jpg;type=image/jpeg"
# -> { "identity_id": "id_...", "status": "ready" }

The session​

curl -sS -X POST https://api.lookalike.com/v1/sessions/start \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identity_id": "id_..." }'

Join the returned room with a LiveKit client — see the Realtime API guide.

Make it feel right​

Keep it conversational, not an interrogation. Qualifying works best woven into a genuine back-and-forth, so the prompt asks the agent to understand need and timeline through conversation rather than firing off a checklist of questions.

Next​