graph TD
A[Start] --> B[Input: short-promotional-script]
B --> C[Task 1: Parse Script Keywords]
C --> |Using #223| D[refined-keywords]
D --> E[Task 2: Get Vertical Videos]
E --> |Using #205| F[vertical-video-urls]
F --> G{Need manual selection?}
G --> |Yes| H[Task 3: Select Best URL]
G --> |No| J[Use First URL]
H --> |Using #223| I[selected-video-url]
J --> K[selected-video-url]
I --> L[Task 4: Trim Video]
K --> L
L --> |Using #194| M[trimmed-vertical-broll]
M --> N[End]
style A fill:#f9f,stroke:#333,stroke-width:2px
style N fill:#f9f,stroke:#333,stroke-width:2px
style G fill:#ffb,stroke:#333,stroke-width:2px