Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions docs/guides/use-cases/data-processing-etl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,12 @@ graph TB
graph TB
A[runETLPipeline] --> B[coordinateExtraction]
B --> C[batchTriggerAndWait]

C --> D[extractFromAPI]
C --> E[extractFromDatabase]
C --> F[extractFromS3]

D --> G[transformData]
E --> G
F --> G

G --> H[validateData]
H --> I[loadToWarehouse]
```
Expand All @@ -114,15 +111,12 @@ graph TB
graph TB
A[scrapeSite] --> B[coordinateScraping]
B --> C[batchTriggerAndWait]

C --> D[scrapePage1]
C --> E[scrapePage2]
C --> F[scrapePageN]

D --> G[cleanData]
E --> G
F --> G

G --> H[normalizeData]
H --> I[storeInDatabase]
```
Expand All @@ -140,15 +134,12 @@ graph TB
A[enrichRecords] --> B[fetchRecordsToEnrich]
B --> C[coordinateEnrichment]
C --> D[batchTriggerAndWait]

D --> E[enrichRecord1]
D --> F[enrichRecord2]
D --> G[enrichRecordN]

E --> H[validateEnrichedData]
F --> H
G --> H

H --> I[updateDatabase]
```

Expand Down
10 changes: 1 addition & 9 deletions docs/guides/use-cases/marketing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ graph TB
C --> D[sendProductTipsEmail]
D --> E[wait.for 7d]
E --> F[sendFeedbackEmail]

```

</div>
Expand All @@ -82,16 +81,13 @@ graph TB
graph TB
A[startCampaign] --> B[fetchUserProfile]
B --> C[selectChannel]
C --> D{Preferred<br/>Channel?}

C --> D{Channel?}
D -->|Email| E[sendEmail1]
D -->|SMS| F[sendSMS1]
D -->|Push| G[sendPush1]

E --> H[wait.for 2d]
F --> H
G --> H

H --> I[sendFollowUp]
I --> J[trackConversion]
```
Expand All @@ -109,7 +105,6 @@ graph TB
A[createCampaignAssets] --> B[generateAIContent]
B --> C[wait.forToken approval]
C --> D{Approved?}

D -->|Yes| E[publishToChannels]
D -->|Needs revision| F[applyFeedback]
F --> B
Expand All @@ -127,15 +122,12 @@ graph TB
graph TB
A[processSurveyResponse] --> B[coordinateEnrichment]
B --> C[batchTriggerAndWait]

C --> D[fetchCRMData]
C --> E[fetchAnalytics]
C --> F[fetchBehaviorData]

D --> G[analyzeAndScore]
E --> G
F --> G

G --> H[updateCRMProfile]
H --> I[triggerFollowUp]
```
Expand Down
4 changes: 0 additions & 4 deletions docs/guides/use-cases/media-generation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ graph TB
A[generateContent] --> B[createWithAI]
B --> C[wait.forToken approval]
C --> D{Approved?}

D -->|Yes| E[publishContent]
D -->|Needs revision| F[applyFeedback]
F --> B
Expand Down Expand Up @@ -106,15 +105,12 @@ graph TB
graph TB
A[processBatch] --> B[coordinateGeneration]
B --> C[batchTriggerAndWait]

C --> D[generateImage1]
C --> E[generateImage2]
C --> F[generateImageN]

D --> G[validateResults]
E --> G
F --> G

G --> H[storeResults]
H --> I[notifyCompletion]
```
Expand Down
25 changes: 3 additions & 22 deletions docs/guides/use-cases/media-processing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ Build media processing pipelines that handle large files and long-running operat
graph TB
A[processVideo] --> B[downloadFromStorage]
B --> C[batchTriggerAndWait]

C --> D[transcodeToHD]
C --> E[transcodeToSD]
C --> F[extractThumbnail]

D --> G[uploadToStorage]
E --> G
F --> G
Expand All @@ -73,25 +71,20 @@ graph TB
```mermaid
graph TB
A[processVideoUpload] --> B[analyzeMetadata]
B --> C{Source<br/>Resolution?}

B --> C{Resolution?}
C -->|4K Source| D[transcode4K]
C -->|HD Source| E[transcodeHD]
C -->|SD Source| F[transcodeSD]

D --> G[coordinatePostProcessing]
E --> G
F --> G

G --> H[batchTriggerAndWait]
H --> I[extractThumbnails]
H --> J[generatePreview]
H --> K[detectChapters]

I --> L[uploadToStorage]
J --> L
K --> L

L --> M[notifyComplete]
```

Expand All @@ -106,21 +99,17 @@ graph TB
```mermaid
graph TB
A[processImageUpload] --> B[analyzeContent]
B --> C{Content<br/>Type?}

B --> C{Content Type?}
C -->|Product| D[removeBackground]
C -->|Portrait| E[detectFaces]
C -->|Landscape| F[analyzeScene]

D --> G[upscaleWithAI]
E --> G
F --> G

G --> H[batchTriggerAndWait]
H --> I[generateWebP]
H --> J[generateThumbnails]
H --> K[generateSocialCrops]

I --> L[uploadToStorage]
J --> L
K --> L
Expand All @@ -138,16 +127,13 @@ graph TB
graph TB
A[processAudioUpload] --> B[cleanAudio]
B --> C[coordinateProcessing]

C --> D[batchTriggerAndWait]
D --> E[transcribeWithDeepgram]
D --> F[enhanceAudio]
D --> G[detectChapters]

E --> H[generateShowNotes]
F --> H
G --> H

H --> I[publishToPlatforms]
```

Expand All @@ -162,23 +148,18 @@ graph TB
```mermaid
graph TB
A[processDocumentUpload] --> B[detectFileType]

B -->|PDF| C[extractText]
B -->|Word/Excel| D[convertToPDF]
B -->|Image| E[runOCR]

C --> F[classifyDocument]
D --> F
E --> F

F -->|Invoice| G[extractLineItems]
F -->|Contract| H[extractClauses]
F -->|Receipt| I[extractExpenses]

G --> J{Needs<br/>Review?}
G --> J{Needs Review?}
H --> J
I --> J

J -->|Yes| K[wait.forToken approval]
J -->|No| L[processAndIntegrate]
K --> L
Expand Down