# mehmetbisen17/ai-content-repurposing-engine architecture

> Architecture diagram of the GitHub repository mehmetbisen17/ai-content-repurposing-engine, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mehmetbisen17/ai-content-repurposing-engine
- Repository: https://github.com/mehmetbisen17/ai-content-repurposing-engine

## Overview

This n8n workflow repurposes an article into audience- and platform-specific content, with a separate short-video branch. The README documents the stage order, review passes, platforms, and Notion’s role as intermediate state; the workflow JSON itself was not excerpted, so the graph reflects documented behavior rather than verified node-level calls. Components point to workflow.json because it is the only workflow source in the tree.

Main entry points: [`workflow.json`](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json) (Platform prompters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content preparation"]
  node_clean["Text cleaning<br/>[workflow.json]"]
  node_improve["LLM improvement<br/>[workflow.json]"]
  node_frameworks["Copy frameworks<br/>[workflow.json]"]
end

subgraph group_review["Review"]
  node_brand["Brand review<br/>[workflow.json]"]
  node_ethics["Ethics review<br/>[workflow.json]"]
  node_legal["Legal review<br/>[workflow.json]"]
end

subgraph group_publishing["Platform publishing"]
  node_prompters["Platform prompters<br/>[workflow.json]"]
  node_linkedin["LinkedIn posts"]
  node_x["X posts"]
  node_facebook["Facebook posts"]
  node_instagram["Instagram posts"]
end

subgraph group_video["Short video"]
  node_video["Video branch<br/>[workflow.json]"]
  node_speech["Text-to-speech<br/>[workflow.json]"]
  node_render["Video rendering<br/>[workflow.json]"]
  node_elevenlabs["ElevenLabs"]
end

subgraph group_state["Workflow state"]
  node_notion[("Notion state")]
end

node_author(("Article author"))

node_author -->|"provides article"| node_clean
node_clean -->|"cleans for"| node_improve
node_improve -->|"improves for"| node_frameworks
node_frameworks -->|"rewrites for review"| node_brand
node_brand -->|"review passes"| node_ethics
node_ethics -->|"review passes"| node_legal
node_legal -->|"shapes for platforms"| node_prompters
node_prompters -->|"produces posts"| node_linkedin
node_prompters -->|"produces posts"| node_x
node_prompters -->|"produces posts"| node_facebook
node_prompters -->|"produces posts"| node_instagram
node_frameworks -->|"branches to video"| node_video
node_video -->|"adds speech"| node_speech
node_speech -->|"adds rendering"| node_render
node_speech -.->|"may use"| node_elevenlabs
node_clean -->|"stores stage state"| node_notion
node_improve -->|"stores stage state"| node_notion
node_frameworks -->|"stores stage state"| node_notion
node_prompters -->|"stores stage state"| node_notion
node_video -->|"stores stage state"| node_notion

click node_clean "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_improve "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_frameworks "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_brand "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_ethics "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_legal "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_prompters "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_video "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_speech "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"
click node_render "https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_clean,node_improve,node_frameworks toneBlue
class node_brand,node_ethics,node_legal toneAmber
class node_prompters,node_linkedin,node_x,node_facebook,node_instagram toneMint
class node_video,node_speech,node_render,node_elevenlabs toneRose
class node_notion,node_author toneIndigo
```

## Components

### Content preparation

- [Text cleaning](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [LLM improvement](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [Copy frameworks](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`

### Review

- [Brand review](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [Ethics review](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [Legal review](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`

### Platform publishing

- [Platform prompters](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- **LinkedIn posts**
- **X posts**
- **Facebook posts**
- **Instagram posts**

### Short video

- [Video branch](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [Text-to-speech](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- [Video rendering](https://github.com/mehmetbisen17/ai-content-repurposing-engine/blob/main/workflow.json): `workflow.json`
- **ElevenLabs**

### Workflow state

- **Notion state**

### Other components

- **Article author**

## Connections

- Article author → Text cleaning: provides article (evidence: `README.md`)
- Text cleaning → LLM improvement: cleans for (evidence: `README.md`)
- LLM improvement → Copy frameworks: improves for (evidence: `README.md`)
- Copy frameworks → Brand review: rewrites for review (evidence: `README.md`)
- Brand review → Ethics review: review passes (evidence: `README.md`)
- Ethics review → Legal review: review passes (evidence: `README.md`)
- Legal review → Platform prompters: shapes for platforms (evidence: `README.md`)
- Platform prompters → LinkedIn posts: produces posts (evidence: `README.md`)
- Platform prompters → X posts: produces posts (evidence: `README.md`)
- Platform prompters → Facebook posts: produces posts (evidence: `README.md`)
- Platform prompters → Instagram posts: produces posts (evidence: `README.md`)
- Copy frameworks → Video branch: branches to video (evidence: `README.md`)
- Video branch → Text-to-speech: adds speech (evidence: `README.md`)
- Text-to-speech → Video rendering: adds rendering (evidence: `README.md`)
- Text-to-speech → ElevenLabs: may use
- Text cleaning → Notion state: stores stage state (evidence: `README.md`)
- LLM improvement → Notion state: stores stage state (evidence: `README.md`)
- Copy frameworks → Notion state: stores stage state (evidence: `README.md`)
- Platform prompters → Notion state: stores stage state (evidence: `README.md`)
- Video branch → Notion state: stores stage state (evidence: `README.md`)
