Bug Fix

Creating a lead source no longer fails on a name held by an archived source

What’s Fixed

Archived lead sources are hidden from the Lead Flow list and from the Source
dropdown on a contact, but they still reserve their name. So a team whose
“Facebook” source had been archived — including automatically, after 90 days
without a lead — could not create “Facebook” again by any route:

  • From a contact’s Source field, typing the name and creating it failed with
    “Failed to update source. Please try again.”
  • From Settings → Lead Flow → Create New Lead Source, it failed with “Name
    has already been taken”, even though no source by that name appeared in the
    list.

Neither message pointed anywhere useful, because the source holding the name was
invisible in both places.

What changed

  • Creating a lead source whose name belongs to an archived source now restores
    that source
    instead of failing. This works from both the contact Source field
    and Settings → Lead Flow.
  • The restored source keeps everything it already had — its contacts, its lead
    flow rules and its history. A source that had quietly accumulated hundreds of
    leads before being archived comes back intact rather than being replaced by an
    empty duplicate.
  • You are told what happened: the confirmation says the source was unarchived
    rather than created.
  • Matching ignores capitalisation, so typing “Facebook” finds an archived
    “facebook”. The source keeps its original spelling — we do not rename a source
    you already had.
  • When the name belongs to a source that is not archived, creating it is
    still rejected as a duplicate, exactly as before.

Lead sources archived with “ignore new leads” still ignore inbound leads. They
are only restored when someone explicitly asks for that name by creating it.

Also improved

Errors from the Source field on a contact now show what actually went wrong
instead of a generic “Please try again”.