# Conversion rate optimisation

> Score the company behind each form fill or demo request, and give your best-fit visitors the fastest path to buy.

Not every form fill deserves the same follow-up. Score the company behind each one as it arrives, then give high scores the fast path (a sales call, a calendar link, a tailored offer) and send the rest to self-serve or nurture.

## The flow

1. **Get your template once.** Call [`GET api-templates`](/templates) and keep the `template_id` with `"is_live": true` in your config.
2. **Score each submission** from the email the visitor typed:

   ```bash
   curl -X POST "https://mmkuffhlzytnmgraagbp.supabase.co/functions/v1/score/email" \
     -H "Authorization: Bearer $PLATINUX_API_KEY" -H "Content-Type: application/json" \
     -d '{"email": "jane@acme.com", "template_id": "4d286e65-…"}'
   ```

3. **Check back** with the `job_id` (see [Score from an email](/score-email)). A score usually takes 1 to 3 minutes, so route the follow-up, not the page the visitor is looking at.
4. **Act on the score:** push it to your CRM or marketing tool and branch on it.

## What different emails cost

| Email | What happens | Credits |
|---|---|---|
| Work (`jane@acme.com`) | Scored from the email's domain | 10 |
| Generic (Gmail, Outlook, etc.) | We find the person's current employer, then score it | 20 |
| Temporary (`x@mailinator.com`) | Not scored: `status: "temporary_email"` | 0 |

## Tips

- Want only the company first, without a score? [`api-email-domain`](/email-domain) is free for work and temporary emails.
- Use the same template for every form, so scores are comparable across pages and campaigns.
