{% extends "admin/base.html" %} {% block title %}Follow-up | Admin{% endblock %} {% block content %}

Outreach

Lead Follow-up

Leads whose email was sent but the link was never clicked. Text them, then mark as texted — the row disappears from this list.

Email sent at least: {% for h in (1, 2, 4, 8, 12, 24, 48, 72) %} {{ h }}h ago {% endfor %} {% if rows %} {% endif %}
{% for item in rows %} {% set r = item.row %}
{{ r.lead_name or 'Lead' }} {{ r.lead_phone }}
Email not opened {% if r.sms_visited %}SMS link visited{% endif %}

{{ item.car_line }}

Email sent {{ (r.sent_at or '')[:10] }} · {{ r.lead_email }}

Text message
{% if not r.text_message %}

No text message yet for this lead — click "Generate text (AI)" (safe: the email reply is not touched), or run "Generate all un-replied" which now fills missing texts too.

{% endif %}
{% else %}

No leads waiting for follow-up (email sent {{ hours }}h+ ago, link unclicked, has phone, not texted).

{% endfor %}
{% endblock %}