graph TD
A[Start FinalOutputBot] --> B{Has Required Inputs?}
B -->|No| C[Request Missing Inputs]
C --> B
B -->|Yes| D[Load PNG and Text]
D --> E{Run Final Check?}
E -->|Yes| F[Execute Trademark Check API]
F --> G[Process API Response]
G --> H{Issues Found?}
H -->|Yes| I[Flag Issues for User]
H -->|No| J[Proceed to Package]
E -->|No| J
I --> J
J --> K[Verify PNG Specs]
K --> L{Meets Requirements?}
L -->|No| M[Convert to Required Specs]
M --> N[Package Final Output]
L -->|Yes| N
N --> O[Format Final Text]
O --> P[Combine PNG and Text]
P --> Q[Generate Final Package]
Q --> R[End FinalOutputBot]