graph TD
subgraph "Phase 1: Initiation"
A["
Webhook Trigger
Manual or Scheduled Kickoff
"]
end
subgraph "Phase 2: Orchestration & AI Generation"
B["
n8n
Central Orchestrator
"]
subgraph "Generative AI Services"
C["
Google Veo 3
AI Video Generation
"]
D["
External Service
AI Audio Generation
"]
end
end
subgraph "Phase 3: Production & Publishing"
E["
Python Script
Video Processing
"]
F["
FFmpeg
Rendering Engine
"]
G["
YouTube API
Upload & Publish
"]
end
A --> B
B -- "1. Request Assets" --> C & D
C -- "Video Asset" --> E
D -- "Audio Asset" --> E
E -- "Process & Combine" --> F
B -- "2. Generate Metadata" --> B
F -- "Rendered MP4" --> G
B -- "3. Publish" --> G
%% Styling
style A fill:#e8f5e9,stroke:#a5d6a7
style B fill:#e3f2fd,stroke:#90caf9
style C fill:#fff3e0,stroke:#ffcc80
style D fill:#fff3e0,stroke:#ffcc80
style E fill:#fce4ec,stroke:#f8bbd0
style F fill:#ede7f6,stroke:#d1c4e9
style G fill:#f1f8e9,stroke:#c5e1a5