{# templates/campaigns/manage_creators.html #} {% extends "base.html" %} {% block content %} {# ========= Smart search dataset (master creators) ========= Pass from backend: creator_suggestions = Creator.query.filter(Creator.is_active==True).with_entities(Creator.id, Creator.handle, Creator.name).limit(5000).all() and convert to list of dicts: [{id, handle, name}, ...] #}

Manage Creators

Campaign: {{ campaign.title }} Status: {{ campaign.status }}
Back
Import Creators (CSV)
Add Creator
Pick from suggestions → it will auto-fill handle below. Enter to accept first match.
Adds from master DB by handle. Selected: -
Controls where this creator begins in the campaign flow.

Tip: If creator is new, use Import Creators (CSV) so it’s added to master + linked here.
Linked Creators
{% if campaign_creators %} {% for cc in campaign_creators %} {% endfor %} {% else %} {% endif %}
Creator Status Phase Removed? Actions
{{ cc.creator.name if cc.creator else '-' }}
@{{ cc.creator.handle if cc.creator else '-' }} {% if cc.creator and cc.creator.profile_link %} • Profile {% endif %}
{{ cc.status }} {{ cc.phase }} {% if cc.is_removed %} YES
{{ cc.removed_reason or '' }}
{% else %} NO {% endif %}
{% if not cc.is_removed %}
{% else %} Removed {% endif %}
No creators linked to this campaign yet.
Note: Remove is soft remove (keeps history). Replace removes old + adds new.
{% endblock %}