# mostafa7arafa/n8n-workflow-portfolio architecture

> Architecture diagram of the GitHub repository mostafa7arafa/n8n-workflow-portfolio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mostafa7arafa/n8n-workflow-portfolio
- Repository: https://github.com/mostafa7arafa/n8n-workflow-portfolio

## Overview

This repository is a portfolio of eight n8n automation workflows, not a shared application runtime. The graph summarizes each workflow’s documented user-to-result stages and integrations. Only the root README and file tree were provided; relationships and capabilities are based on their descriptions, not inspection of the workflow JSON files.

Main entry points: [`AI-Powered Customer Support Email Automation/Customer Support Workflow.json`](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json) (Email support bot), [`Telegram AI Chatbot with Human-in-the-Loop (HITL) Approval/Human in loop.json`](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json) (Telegram HITL bot), [`Automated LinkedIn Post and Image Generation Pipeline/Automated LinkedIn Post and Image Generation Pipeline.json`](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json) (LinkedIn post generator), [`automated-pdf-invoice-processing/Invoice reader (pdf).json`](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json) (PDF invoice processor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_support["Support Workflows"]
  node_support_flow["Email support bot"]
  node_support_read["Read incoming email"]
  node_support_rag["Retrieve and answer"]
  node_support_send["Send email reply"]
  node_hitl_flow["Telegram HITL bot<br/>[Human in loop.json]"]
  node_hitl_generate["Generate response<br/>[Human in loop.json]"]
  node_hitl_approve["Human approval<br/>[Human in loop.json]"]
end

subgraph group_content["Content Workflows"]
  node_linkedin_flow["LinkedIn post generator"]
  node_linkedin_research["Research topic"]
  node_linkedin_write["Write post"]
  node_linkedin_image["Generate image"]
end

subgraph group_documents["Document Workflows"]
  node_invoice_flow["PDF invoice processor"]
  node_invoice_extract["Extract invoice data"]
  node_invoice_log["Log and summarize"]
  node_multiagent_flow["Biography writer"]
  node_bio_write["Draft biography"]
  node_bio_evaluate["Evaluate draft"]
  node_bio_revise["Revise until ready"]
end

subgraph group_research["Research Workflows"]
  node_weather_flow["Weather chatbot comparison<br/>[Weather App.json]"]
  node_weather_agent["Agent approach<br/>[Weather App.json]"]
end

node_customer(("Support requester"))
node_gmail["Gmail"]
node_pinecone[("Pinecone")]
node_gemini["Gemini"]
node_telegram_user(("Telegram user"))
node_supervisor(("Human supervisor"))
node_telegram["Telegram"]
node_topic_user(("Topic submitter"))
node_tavily["Tavily Search"]
node_dalle["DALL-E"]
node_drive["Google Drive"]
node_sheets[("Google Sheets")]
node_invoice_email(("Email recipient"))
node_google_docs["Google Docs"]

node_customer -->|"emails"| node_support_flow
node_support_flow -->|"handles"| node_support_read
node_support_flow -->|"answers with"| node_support_rag
node_support_flow -->|"replies via"| node_support_send
node_support_flow -->|"reads and sends"| node_gmail
node_support_flow -->|"retrieves from"| node_pinecone
node_support_flow -->|"uses"| node_gemini
node_telegram_user -->|"messages"| node_hitl_flow
node_hitl_flow -->|"generates"| node_hitl_generate
node_hitl_flow -->|"routes for"| node_hitl_approve
node_hitl_approve -->|"requests review"| node_supervisor
node_hitl_flow -->|"sends approved replies"| node_telegram
node_hitl_flow -->|"uses"| node_pinecone
node_hitl_flow -->|"uses"| node_gemini
node_topic_user -->|"provides topic"| node_linkedin_flow
node_linkedin_flow -->|"researches"| node_linkedin_research
node_linkedin_flow -->|"writes"| node_linkedin_write
node_linkedin_flow -->|"generates"| node_linkedin_image
node_linkedin_flow -->|"searches with"| node_tavily
node_linkedin_flow -->|"creates image with"| node_dalle
node_invoice_flow -->|"watches folder"| node_drive
node_invoice_flow -->|"extracts"| node_invoice_extract
node_invoice_flow -->|"logs and summarizes"| node_invoice_log
node_invoice_flow -->|"writes records"| node_sheets
node_invoice_flow -->|"emails summary"| node_invoice_email
node_multiagent_flow -->|"drafts"| node_bio_write
node_multiagent_flow -->|"evaluates"| node_bio_evaluate
node_multiagent_flow -->|"revises until accepted"| node_bio_revise
node_multiagent_flow -->|"saves to"| node_google_docs
node_weather_flow -->|"compares agent design"| node_weather_agent

click node_support_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json"
click node_support_read "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json"
click node_support_rag "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json"
click node_support_send "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json"
click node_hitl_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json"
click node_hitl_generate "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json"
click node_hitl_approve "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json"
click node_linkedin_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json"
click node_linkedin_research "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json"
click node_linkedin_write "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json"
click node_linkedin_image "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json"
click node_invoice_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json"
click node_invoice_extract "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json"
click node_invoice_log "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json"
click node_multiagent_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json"
click node_bio_write "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json"
click node_bio_evaluate "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json"
click node_bio_revise "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json"
click node_weather_flow "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/ai-weather-assistant-comparison/Weather%20App.json"
click node_weather_agent "https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/ai-weather-assistant-comparison/Weather%20App.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_support_flow,node_support_read,node_support_rag,node_support_send,node_hitl_flow,node_hitl_generate,node_hitl_approve,node_telegram_user toneBlue
class node_linkedin_flow,node_linkedin_research,node_linkedin_write,node_linkedin_image,node_pinecone,node_sheets toneAmber
class node_invoice_flow,node_invoice_extract,node_invoice_log,node_multiagent_flow,node_bio_write,node_bio_evaluate,node_bio_revise,node_customer toneMint
class node_weather_flow,node_weather_agent toneRose
class node_gmail,node_gemini,node_supervisor,node_telegram,node_topic_user,node_tavily,node_dalle,node_drive,node_invoice_email,node_google_docs toneIndigo
```

## Components

### Support Workflows

- [Email support bot](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json): `AI-Powered Customer Support Email Automation/Customer Support Workflow.json`
- [Read incoming email](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json): `AI-Powered Customer Support Email Automation/Customer Support Workflow.json`
- [Retrieve and answer](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json): `AI-Powered Customer Support Email Automation/Customer Support Workflow.json`
- [Send email reply](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/AI-Powered%20Customer%20Support%20Email%20Automation/Customer%20Support%20Workflow.json): `AI-Powered Customer Support Email Automation/Customer Support Workflow.json`
- [Telegram HITL bot](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json): `Telegram AI Chatbot with Human-in-the-Loop (HITL) Approval/Human in loop.json`
- [Generate response](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json): `Telegram AI Chatbot with Human-in-the-Loop (HITL) Approval/Human in loop.json`
- [Human approval](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Telegram%20AI%20Chatbot%20with%20Human-in-the-Loop%20(HITL)%20Approval/Human%20in%20loop.json): `Telegram AI Chatbot with Human-in-the-Loop (HITL) Approval/Human in loop.json`

### Content Workflows

- [LinkedIn post generator](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json): `Automated LinkedIn Post and Image Generation Pipeline/Automated LinkedIn Post and Image Generation Pipeline.json`
- [Research topic](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json): `Automated LinkedIn Post and Image Generation Pipeline/Automated LinkedIn Post and Image Generation Pipeline.json`
- [Write post](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json): `Automated LinkedIn Post and Image Generation Pipeline/Automated LinkedIn Post and Image Generation Pipeline.json`
- [Generate image](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline/Automated%20LinkedIn%20Post%20and%20Image%20Generation%20Pipeline.json): `Automated LinkedIn Post and Image Generation Pipeline/Automated LinkedIn Post and Image Generation Pipeline.json`

### Document Workflows

- [PDF invoice processor](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json): `automated-pdf-invoice-processing/Invoice reader (pdf).json`
- [Extract invoice data](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json): `automated-pdf-invoice-processing/Invoice reader (pdf).json`
- [Log and summarize](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/automated-pdf-invoice-processing/Invoice%20reader%20(pdf).json): `automated-pdf-invoice-processing/Invoice reader (pdf).json`
- [Biography writer](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json): `multi-agent-biography-writer/Multi agent Biography Creator.json`
- [Draft biography](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json): `multi-agent-biography-writer/Multi agent Biography Creator.json`
- [Evaluate draft](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json): `multi-agent-biography-writer/Multi agent Biography Creator.json`
- [Revise until ready](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/multi-agent-biography-writer/Multi%20agent%20Biography%20Creator.json): `multi-agent-biography-writer/Multi agent Biography Creator.json`

### Research Workflows

- [Weather chatbot comparison](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/ai-weather-assistant-comparison/Weather%20App.json): `ai-weather-assistant-comparison/Weather App.json`
- [Agent approach](https://github.com/mostafa7arafa/n8n-workflow-portfolio/blob/main/ai-weather-assistant-comparison/Weather%20App.json): `ai-weather-assistant-comparison/Weather App.json`

### Other components

- **Support requester**
- **Gmail**
- **Pinecone**
- **Gemini**
- **Telegram user**
- **Human supervisor**
- **Telegram**
- **Topic submitter**
- **Tavily Search**
- **DALL-E**
- **Google Drive**
- **Google Sheets**
- **Email recipient**
- **Google Docs**

## Connections

- Support requester → Email support bot: emails
- Email support bot → Read incoming email: handles
- Email support bot → Retrieve and answer: answers with
- Email support bot → Send email reply: replies via
- Email support bot → Gmail: reads and sends
- Email support bot → Pinecone: retrieves from
- Email support bot → Gemini: uses
- Telegram user → Telegram HITL bot: messages
- Telegram HITL bot → Generate response: generates
- Telegram HITL bot → Human approval: routes for
- Human approval → Human supervisor: requests review
- Telegram HITL bot → Telegram: sends approved replies
- Telegram HITL bot → Pinecone: uses
- Telegram HITL bot → Gemini: uses
- Topic submitter → LinkedIn post generator: provides topic
- LinkedIn post generator → Research topic: researches
- LinkedIn post generator → Write post: writes
- LinkedIn post generator → Generate image: generates
- LinkedIn post generator → Tavily Search: searches with
- LinkedIn post generator → DALL-E: creates image with
- PDF invoice processor → Google Drive: watches folder
- PDF invoice processor → Extract invoice data: extracts
- PDF invoice processor → Log and summarize: logs and summarizes
- PDF invoice processor → Google Sheets: writes records
- PDF invoice processor → Email recipient: emails summary
- Biography writer → Draft biography: drafts
- Biography writer → Evaluate draft: evaluates
- Biography writer → Revise until ready: revises until accepted
- Biography writer → Google Docs: saves to
- Weather chatbot comparison → Agent approach: compares agent design
