# Pipedream + Jodoo Lead Qualification Handbook

## Use Case

Use Pipedream to receive inbound lead payloads, apply a qualification decision, and write the result into Jodoo so sales teams can review score, tier, owner, and next action from one record.

## Workflow

1. A lead enters Pipedream through an HTTP webhook.
2. A code step normalizes the payload and returns lead qualification fields.
3. The workflow sends those fields to a Jodoo writeback endpoint.
4. Jodoo stores the lead record with score, tier, reason, owner, next action, and follow-up draft.
5. Sales teams filter hot leads, review missing information, and route follow-up from Jodoo.

## Jodoo Record Model

- Record title
- Lead source
- Contact name
- Company
- Email
- Campaign
- Message or request
- AI score
- Lead tier
- Fit reason
- Missing information
- Suggested owner
- Next best action
- Follow-up draft
- Routing priority
- Review status
- Original agent output

## Rollout Checklist

- Decide which lead sources should trigger the Pipedream webhook.
- Agree on scoring thresholds and lead tiers.
- Map every output field to a Jodoo field before production use.
- Test with synthetic data before sending real lead data.
- Add review queues for missing information or low-confidence decisions.
- Add owner notifications after the field model is stable.
