# yashsharma1911/codex-meetup architecture

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

- Interactive diagram: https://gitdiagram.com/yashsharma1911/codex-meetup
- Repository: https://github.com/yashsharma1911/codex-meetup

## Overview

This repository is a UiPath workshop starter whose built application accepts manual-task ideas, scores them through a UiPath Flow, saves them, and presents a ranked board. The main runtime path is the signed-in React app, its UiPath API helpers, the IdeaScorer Flow, and Data Fabric. The README also documents a separate PitchPilot Flow for evaluating automation ideas and generating a social post. Evidence is limited to the supplied excerpts and README; Flow internals and some UI details are not sampled.

Main entry points: [`src/App.tsx`](https://github.com/yashsharma1911/codex-meetup/blob/main/src/App.tsx) (Idea form and results), [`src/uipath/ideas.ts`](https://github.com/yashsharma1911/codex-meetup/blob/main/src/uipath/ideas.ts) (Idea API helpers), [`src/main.tsx`](https://github.com/yashsharma1911/codex-meetup/blob/main/src/main.tsx) (React entry), [`automation/IdeaIntake/IdeaScorer/IdeaScorer.flow`](https://github.com/yashsharma1911/codex-meetup/blob/main/automation/IdeaIntake/IdeaScorer/IdeaScorer.flow) (IdeaScorer Flow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Idea Intake App"]
  node_entry["React entry<br/>[main.tsx]"]
  node_auth["UiPath authentication<br/>[auth.tsx]"]
  node_idea_ui["Idea form and results<br/>[App.tsx]"]
  node_board_ui["Ranked idea board<br/>[App.tsx]"]
  node_idea_api["Idea API helpers<br/>[ideas.ts]"]
end

subgraph group_scoring["Scoring Automations"]
  node_scorer["IdeaScorer Flow<br/>[IdeaScorer.flow]"]
  node_pitchpilot["PitchPilot Flow<br/>[PitchPilot.flow]"]
  node_ai_agent["PitchPilot AI step<br/>[agent.json]"]
end

subgraph group_data["Idea Records"]
  node_idea_entity["AutomationIdea entity"]
  node_data_fabric[("Data Fabric records")]
end

node_user(("Idea submitter"))
node_orchestrator{{"UiPath Orchestrator"}}

node_user -->|"submits task"| node_idea_ui
node_entry -->|"mounts provider"| node_auth
node_entry -->|"renders app"| node_idea_ui
node_idea_ui -->|"uses session"| node_auth
node_idea_ui -->|"scores and lists"| node_idea_api
node_idea_api -->|"starts and polls job"| node_orchestrator
node_orchestrator -->|"runs flow"| node_scorer
node_scorer -->|"saves scored idea"| node_data_fabric
node_idea_api -->|"reads records"| node_data_fabric
node_idea_api -->|"uses entity name"| node_idea_entity
node_idea_ui -->|"refreshes board"| node_board_ui
node_orchestrator -->|"debug-runs flow"| node_pitchpilot
node_pitchpilot -->|"includes agent step"| node_ai_agent

click node_entry "https://github.com/yashsharma1911/codex-meetup/blob/main/src/main.tsx"
click node_auth "https://github.com/yashsharma1911/codex-meetup/blob/main/src/uipath/auth.tsx"
click node_idea_ui "https://github.com/yashsharma1911/codex-meetup/blob/main/src/App.tsx"
click node_board_ui "https://github.com/yashsharma1911/codex-meetup/blob/main/src/App.tsx"
click node_idea_api "https://github.com/yashsharma1911/codex-meetup/blob/main/src/uipath/ideas.ts"
click node_scorer "https://github.com/yashsharma1911/codex-meetup/blob/main/automation/IdeaIntake/IdeaScorer/IdeaScorer.flow"
click node_idea_entity "https://github.com/yashsharma1911/codex-meetup/blob/main/automation/AutomationIdea.entity.json"
click node_pitchpilot "https://github.com/yashsharma1911/codex-meetup/blob/main/automation/PitchPilot/PitchPilot/PitchPilot.flow"
click node_ai_agent "https://github.com/yashsharma1911/codex-meetup/blob/main/automation/PitchPilot/PitchPilot/7b16564e-eb2f-443c-b6d7-295a2ad2272c/agent.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_entry,node_auth,node_idea_ui,node_board_ui,node_idea_api toneBlue
class node_scorer,node_pitchpilot,node_ai_agent toneAmber
class node_idea_entity,node_data_fabric toneMint
class node_user,node_orchestrator toneIndigo
```

## Components

### Idea Intake App

- [React entry](https://github.com/yashsharma1911/codex-meetup/blob/main/src/main.tsx): `src/main.tsx`
- [UiPath authentication](https://github.com/yashsharma1911/codex-meetup/blob/main/src/uipath/auth.tsx): `src/uipath/auth.tsx`
- [Idea form and results](https://github.com/yashsharma1911/codex-meetup/blob/main/src/App.tsx): `src/App.tsx`
- [Ranked idea board](https://github.com/yashsharma1911/codex-meetup/blob/main/src/App.tsx): `src/App.tsx`
- [Idea API helpers](https://github.com/yashsharma1911/codex-meetup/blob/main/src/uipath/ideas.ts): `src/uipath/ideas.ts`

### Scoring Automations

- [IdeaScorer Flow](https://github.com/yashsharma1911/codex-meetup/blob/main/automation/IdeaIntake/IdeaScorer/IdeaScorer.flow): `automation/IdeaIntake/IdeaScorer/IdeaScorer.flow`
- [PitchPilot Flow](https://github.com/yashsharma1911/codex-meetup/blob/main/automation/PitchPilot/PitchPilot/PitchPilot.flow): `automation/PitchPilot/PitchPilot/PitchPilot.flow`
- [PitchPilot AI step](https://github.com/yashsharma1911/codex-meetup/blob/main/automation/PitchPilot/PitchPilot/7b16564e-eb2f-443c-b6d7-295a2ad2272c/agent.json): `automation/PitchPilot/PitchPilot/7b16564e-eb2f-443c-b6d7-295a2ad2272c/agent.json`

### Idea Records

- [AutomationIdea entity](https://github.com/yashsharma1911/codex-meetup/blob/main/automation/AutomationIdea.entity.json): `automation/AutomationIdea.entity.json`
- **Data Fabric records**

### Other components

- **Idea submitter**
- **UiPath Orchestrator**

## Connections

- Idea submitter → Idea form and results: submits task (evidence: `README.md`)
- React entry → UiPath authentication: mounts provider (evidence: `src/main.tsx`)
- React entry → Idea form and results: renders app (evidence: `src/main.tsx`)
- Idea form and results → UiPath authentication: uses session (evidence: `src/App.tsx`)
- Idea form and results → Idea API helpers: scores and lists (evidence: `src/App.tsx`)
- Idea API helpers → UiPath Orchestrator: starts and polls job (evidence: `src/uipath/ideas.ts`)
- UiPath Orchestrator → IdeaScorer Flow: runs flow (evidence: `README.md`)
- IdeaScorer Flow → Data Fabric records: saves scored idea (evidence: `README.md`)
- Idea API helpers → Data Fabric records: reads records (evidence: `src/uipath/ideas.ts`)
- Idea API helpers → AutomationIdea entity: uses entity name (evidence: `src/uipath/ideas.ts`)
- Idea form and results → Ranked idea board: refreshes board (evidence: `src/App.tsx`)
- UiPath Orchestrator → PitchPilot Flow: debug-runs flow
- PitchPilot Flow → PitchPilot AI step: includes agent step (evidence: `README.md`)
