# Category 5: Integrations

> **Usage:** Connections with internal and external systems
> **When to load:** If feature involves integrations

---

## 5.1 Existing Systems

| # | Question | Answer Type |
|---|----------|-------------|
| Q5.1 | What internal systems should we integrate with? | List |
| Q5.2 | What external systems? | List |
| Q5.3 | Existing APIs to use? | Documentation |
| Q5.4 | Data to import from another system? | List + format |

## 5.2 Data Flows

| # | Question | Answer Type |
|---|----------|-------------|
| Q5.5 | Flow direction? (inbound/outbound/bidirectional) | Per system |
| Q5.6 | Synchronization frequency? | Real-time/Batch |
| Q5.7 | Data conflict management? | Strategy |
| Q5.8 | Fallback if external system unavailable? | Behavior |

---

## SmartStack Patterns

| Integration Type | Pattern |
|-----------------|---------|
| REST API | HttpClient + Polly |
| Message Queue | MassTransit |
| Webhook | Controller endpoint |
| Real-time | SignalR |
| Batch import | Background job |
