Re-Inviting a Previously-Deleted Client
Clients you removed are soft-archived, not deleted — re-inviting them reactivates the original relationship.
When you click the trash icon on a client row, EvoFit performs a soft archive — the TrainerClient row is marked status='archived' rather than deleted. Their account, workout history, and progress photos all remain intact. This article covers the three ways to bring an archived client back.
When to use this
- A client took a break and is returning.
- You archived someone by mistake.
- A client signed up under a different email and you want to relink.
Option 1 — Toggle status from the archive view (fastest)
- Go to
/clientsand change the status filter to Archived. - Find the client row.
- Click the edit pencil and set Status back to Active, OR tick the row and use the bulk Status dropdown to set Active.
- Their relationship is reactivated. They appear on your default roster again with all data intact.
Option 2 — Send a fresh email invite (the system reactivates automatically)
This is the smart path when the client deleted the original invite email or you're not sure they remember EvoFit at all.
- On
/clients, click Invite New Client. - Enter the client's email — the same one they registered with.
- Send the invite.
- When they accept, the system detects the existing archived
TrainerClientrow and reactivates it instead of failing. The accept flow now handles three cases:
- No prior relationship → creates a new
TrainerClientrow. - Existing active relationship → no-op success (idempotent).
- Existing archived relationship → reactivate (status='active', archivedAt=null).
- Their card appears on your roster as Active, and all their old data is still attached.
This works for both registration paths: a logged-in client clicking the invite link, AND a logged-out client registering via the invite.
Option 3 — Add Existing Client (if they registered separately)
If the client created their own EvoFit account in the meantime, use Add Existing Client instead. See Adding Existing Clients.
What happens to the data
| Item | Behavior on archive | Behavior on reactivate |
|---|---|---|
| User account | Untouched | Untouched |
| Workout history | Preserved | Re-visible to you |
| Measurements / goals | Preserved | Re-visible to you |
| Progress photos | Preserved | Re-visible to you |
| Programs you assigned | Stay on their record (legacy) | Visible on Schedule tab as past programs |
| Habits / macro targets you set | Stay on their record | Re-active and editable |
| Floating WhatsApp button | Disappeared on archive | Reappears on reactivate |
Common pitfalls
Where to find this
- Trash icon:
/clients→ row hover → trash icon (archives). - Reactivate via filter:
/clients?status=archived→ edit row → status=Active. - Re-invite:
/clients→ Invite New Client button. - API (archive):
DELETE /api/clients/[clientId]. - API (reactivate-on-accept):
POST /api/clients/invitations/acceptandPOST /api/auth/register.
