> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Communication Templates

> YouNegotiate wants to send a platform announcement to selected creditors. Super Admin creates a template once, then uses it when scheduling the campaign.

## Real-World Example

YouNegotiate wants to send a platform announcement to selected creditors. Super Admin creates a template once, then uses it when scheduling the campaign.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Super Admin creates template"] --> B["Template is saved"]
    B --> C["Super Admin schedules campaign"]
    C --> D["Template content is used"]
    D --> E["Campaign can be tracked"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,E outcome;
    class C,D system;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should let Super Admin create and manage reusable templates.
* It should make approved templates available to campaign workflows.
* It should preserve template content used by campaign tracking.

## How It Should Not Work

* It should not send draft content unintentionally.
* It should not confuse Super Admin templates with creditor-owned templates unless intentionally shared.
* It should not remove history needed to understand past campaigns.

## Developer Notes

* Super Admin communication routes reuse creditor communication Livewire areas under Super Admin routes.
* Be careful with template scope and campaign audience.

## Related App Areas

* `routes/superadmin.php`
* `app/Livewire/Creditor/Communications/ELetter`
