Agent skill

postcall-page-builder

Generate personalized post-call landing pages from voice transcripts

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/postcall-page-builder

SKILL.md

Post-Call Page Builder Skill

You are an expert at creating personalized real estate landing pages. Analyze call transcripts, extract requirements, find matching properties, generate beautiful follow-up pages.

Mission

Given transcript + agency context, create personalized page that:

  1. Acknowledges caller by name
  2. Summarizes their requirements
  3. Shows relevant property listings
  4. Provides clear next steps

Input Data

You receive:

json
{
  "callId": "call-abc123",
  "transcript": "Agent: Hi! Thanks for calling...\nCaller: Hi, I'm looking to buy...",
  "agencyData": {
    "id": "ray-white-surry-hills",
    "name": "Ray White Surry Hills",
    "branding": { "logoUrl": "...", "primaryColor": "#ffe512", "secondaryColor": "#1a1a1a" }
  }
}

NOTE: You will NOT receive pre-extracted data. You extract ALL data from the raw transcript yourself.

Processing Steps

Step 1: Extract Requirements from Transcript

IMPORTANT: Always parse the full transcript to extract ALL requirements. Do NOT rely on any pre-extracted data.

Parse transcript for:

  • Caller name: "My name is...", "I'm...", "This is..."
  • Intent: "looking to buy", "want to sell", "need to rent"
  • Location: suburb names, area descriptions
  • Budget: dollar amounts, price ranges
  • Property type: house, apartment, unit, townhouse
  • Bedrooms: "3 bedroom", "2 bed"
  • Special requirements: parking, garden, pool, pets

Step 2: Search for Listings

Use web search to find matching properties:

  1. Primary: Agency website listings page
  2. Fallback: realestate.com.au, domain.com.au
  3. Search: "[location] [type] for [intent] [budget]"

For each listing extract:

  • Property address
  • Price/guide
  • Bedrooms, bathrooms, parking
  • Image URL (main photo)
  • Listing URL
  • Key features (brief)

Step 3: Generate Page

Create beautiful, personalized HTML page.

Technical Requirements

  • Single HTML file, self-contained
  • Tailwind CSS via CDN
  • No external dependencies
  • Mobile-first responsive

Page Design Requirements

Design a warm, personalized experience. Be creative with layout and animations. Make it feel like a premium, thoughtful follow-up.

1. Header

  • Agency logo
  • "Prepared just for you" or similar personal touch
  • Clean, minimal

2. Personalized Greeting

  • Warm welcome using caller's name
  • Thank them for calling agency
  • Brief intro: "Here's what we found based on your requirements"
  • Use agency brand colors
  • Make it feel personal, not robotic

3. Requirements Summary

  • Visual display of their search criteria
  • Cards/badges showing:
    • Intent (Buy/Sell/Rent)
    • Location preference
    • Budget range
    • Property type (if mentioned)
    • Bedrooms (if mentioned)
  • Use icons for visual appeal
  • Clean grid or flex layout

4. Matching Listings

  • Title: "Properties You Might Love"
  • Subtitle: "Based on your conversation with us"
  • 3-5 property cards, each showing:
    • Property image (prominent)
    • Address
    • Price
    • Bed/bath/car counts
    • Brief description
    • "View Details" button (links to listing)
    • "Book Inspection" button (if available)
  • Modern card design with hover effects
  • Consider image zoom on hover, subtle shadows

If no exact matches:

  • Show similar/nearby properties
  • Include friendly notice: "No exact matches right now, but here are similar options. We'll notify you when something perfect comes up!"

5. Next Steps Section

  • 3 action cards:
    1. Book Inspections - see properties in person
    2. Get Alerts - new listings matching criteria
    3. Talk to Agent - personalized advice (agency phone)
  • Clear CTAs
  • Icons for each action

6. Footer

  • "Prepared by [Agency Name]"
  • "Powered by Voqo AI"
  • Generation timestamp
  • Professional, minimal

Data Mapping

  • caller_name → greeting, page title
  • intent → requirements display, "Buy"/"Sell"/"Rent"
  • preferred_location → requirements display
  • budget_range → requirements display
  • agencyData.name → throughout
  • agencyData.branding.* → colors, logo
  • agencyData.phone → contact CTA

Output Files

  1. HTML page: postcallHtmlPath (absolute path provided in the prompt)

  2. Update existing call JSON: callDataPath (absolute path provided in the prompt)

    The webhook handler creates this file with the raw transcript. You must UPDATE it with:

    • extractedData - all fields you extracted from transcript
    • callerName - extracted name
    • intent - buy/sell/rent
    • location - extracted location preference
    • budget - extracted budget range
    • requirements - structured requirements object
    • listingsShown - array of listings you found
    • pageUrl - "/call/[call-id]"
    • pageStatus - "completed"
    • generatedAt - current timestamp

    Example updated JSON:

    json
    {
      "callId": "call-abc123",
      "timestamp": "2025-01-15T10:30:00Z",
      "agencyId": "ray-white-surry-hills",
      "callerName": "Sarah",
      "extractedData": {
        "caller_name": "Sarah",
        "caller_intent": "buy",
        "preferred_location": "Surry Hills or Darlinghurst",
        "budget_range": "$800k-$1.2M",
        "property_type": null,
        "bedrooms": null
      },
      "intent": "buy",
      "location": "Surry Hills or Darlinghurst",
      "budget": "$800k-$1.2M",
      "requirements": {
        "intent": "buy",
        "location": "Surry Hills or Darlinghurst",
        "budget": "$800k-$1.2M",
        "propertyType": null,
        "bedrooms": null
      },
      "listingsShown": [
        { "address": "12/45 Crown Street", "price": "$950,000", "url": "..." }
      ],
      "pageUrl": "/call/call-abc123",
      "pageStatus": "completed",
      "generatedAt": "2025-01-15T10:32:00Z"
    }
    

Quality Standards

  • Show 3-5 listings (not overwhelming)
  • All images must load
  • Prices match budget range
  • Locations match preference
  • Fully responsive
  • Smooth animations
  • Personal, warm tone throughout

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results