# Make Lead Qualification Workflow Recipe

## Trigger

Create a Make scenario with a Webhooks > Custom webhook module. Send lead data such as contact name, company, email, campaign, and message.

## HTTP Writeback Step

Add an HTTP module that sends a JSON request to the approved Jodoo writeback endpoint. The test run used synthetic lead data and wrote a record for Bluebird Operations Group.

```json
{
  "ai_score": 92,
  "lead_tier": "Hot",
  "routing_priority": "High",
  "suggested_owner": "Sales Ops queue",
  "next_best_action": "Schedule a discovery call within one business day"
}
```

## Required Output Fields

- `ai_score`
- `lead_tier`
- `fit_reason`
- `missing_info`
- `suggested_owner`
- `next_best_action`
- `follow_up_draft`
- `routing_priority`

## Jodoo Writeback

Send the structured output to an approved Jodoo writeback endpoint or middleware layer. The test run completed in Make History and created a visible lead record in Jodoo.

## Production Notes

- Keep the Make webhook payload schema stable.
- Verify the HTTP module URL before each live test when using a temporary tunnel.
- Use a persistent endpoint before production traffic.
- Add error handling and retry alerts for failed HTTP responses.
- Store the original workflow output for auditability.
- Use secrets or a secure middleware layer for Jodoo credentials.
