Skip to content

Lead Capture Forms

Lead capture forms empower your AI agent to convert anonymous website visitors into verified sales opportunities. Instead of routing users to friction-heavy landing pages, contact collection occurs naturally within the conversation stream.


How to Create a Lead Capture Form

  1. Navigate to Actions → New Action
    From your agent’s dashboard menu, click Actions and select + New Action.

  2. Choose Type: Lead Capture
    Assign a clear label (e.g. Enterprise Demo Request or Request a Callback).

  3. Configure Form Fields
    Select the attributes to request from the prospect:

    • Full Name (Text, required/optional)
    • Email Address (With automated syntax validation)
    • Phone Number (With country code selector)
    • Company / Organization Name (Text)
    • Project Details / Message (Multiline textarea)
  4. Add GDPR / Privacy Consent (Optional)
    Toggle a privacy acknowledgment checkbox referencing your Terms of Service and Privacy Policy.

  5. Set the Ingestion Trigger Directive
    Instruct the agent: “Display this form when the visitor expresses interest in pricing, enterprise plans, or requests a callback from our team.”


Lead Routing and Alerts

When a visitor submits the form:

Instant Email Notification

Pitaj.io dispatches an alert to your sales reps containing full form responses and an immediate link to the chat session.

CRM Webhook Stream

The verified payload is streamed via HTTP POST to your webhook endpoint (Zapier, Make, n8n, HubSpot, or Salesforce).


Webhook JSON Payload Schema

When a form is submitted, Pitaj.io delivers a POST request structured as follows:

{
"event": "lead.captured",
"agent_id": "agt_987654321",
"conversation_id": "conv_abc123xyz",
"created_at": "2026-10-28T09:15:30Z",
"lead": {
"name": "Alex Mercer",
"email": "alex@mercerlogistics.com",
"phone": "+14155552671",
"company": "Mercer Logistics Inc.",
"message": "We want to deploy an autonomous support agent across our 12 regional storefronts."
},
"metadata": {
"page_url": "https://yourbrand.com/pricing",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)..."
}
}