P060 / Sales, CRM & Real Estate

AI Lead Intake & Follow-up Intelligence

Independent portfolio project · fictional data

A sandbox-tested lead intake and CRM synchronization MVP. It validates fictional inquiries, checks for existing records, creates new Pipedrive records when appropriate, and tracks completion in PostgreSQL. Follow-up is planned, not implemented.

Branded diagram of the P060 CRM lead intake and synchronization system

Project overview

Business problem

Manual inquiry handoffs can leave inconsistent fields, duplicate CRM records, and unclear synchronization status.

Implemented approach

WF01 validates required fields, formats, and contact consent before CRM access. WF02B searches for an existing Deal or Person, then creates or reuses records and records synchronization state.

System & workflow

Workflow architecture

  1. 01

    Test webhook

  2. 02

    WF01 validation

  3. 03

    WF02B CRM search

  4. 04

    Pipedrive Person / Deal

  5. 05

    PostgreSQL sync state

  6. 06

    Explicit HTTP outcome

What it does

Key capabilities

  • Required-field, email-format, and consent checks before CRM writes
  • Exact Deal lookup by external intake ID and Person lookup by email
  • Sequential duplicate reuse without a new Deal creation request
  • New-lead Person and Deal synchronization with PostgreSQL completion checks
  • Explicit 422 rejection, 200 confirmed completion, and 202 fallback responses

Project evidence

Workflow screenshots

Project evidence

Testing evidence

Evidence & limits

Testing and reliability

  • Two integrated sandbox paths were observed with fictional leads: existing-Deal reuse and a new-lead synchronization.
  • The existing-Deal branch did not itself verify PostgreSQL completion; a separate read-only check did.
  • Concurrency, uncertain-write recovery, and production behavior remain unverified.

Planned work

Future roadmap

These items are planned, not implemented capabilities.

  • Rotate the previously exposed test webhook key before any further test or demo.
  • Separate reuse, review, recovery, and unexpected HTTP outcomes; add in-workflow existing-Deal database reconciliation.
  • Test concurrent submissions and safe recovery before adding consent-aware follow-up, notifications, AI enrichment, or a dashboard.

Supporting documents

Project documentation