Skip to content

Commit 1f0b48e

Browse files
authored
chore(docs): update example docs (#880)
1 parent 28b304a commit 1f0b48e

15 files changed

+119
-8
lines changed

packages/docs/content/docs/examples/ai-content-moderation.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ Let's build a content moderation system that scales intelligently.
1616

1717
---
1818

19-
## The Power of Intelligent Content Moderation
19+
## Explore the Workbench
2020

2121
<div className="my-8">![AI Content Moderation Workflow](./../img/ai-content-moderation-workflow.png)</div>
2222

23+
**Try it yourself:**
24+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/ai-content-moderation)
25+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
26+
27+
---
28+
29+
## The Power of Intelligent Content Moderation
30+
2331
At its core, our content moderation system solves a fundamental challenge: how do you efficiently moderate user-generated content at scale while maintaining human oversight for complex decisions? Traditional approaches often involve either fully manual processes that don't scale or fully automated systems that lack nuance.
2432

2533
Our Motia-powered solution combines the best of both worlds through intelligent routing:

packages/docs/content/docs/examples/ai-deep-research-agent.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ description: A powerful research assistant that leverages the Motia Framework to
55

66
import { CodeFetcher } from '../../../components/CodeFetcher'
77

8+
---
9+
10+
## Explore the Workbench
11+
12+
<div className="my-8">![AI Deep Research Agent](./../img/ai-deep-research-agent.png)</div>
13+
14+
**Try it yourself:**
15+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/ai-deep-research-agent)
16+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
17+
18+
---
19+
820
## Let's build a AI Deep Research Agent that:
921

1022
- **Deep Web Research**: Automatically searches the web, extracts content, and synthesizes findings

packages/docs/content/docs/examples/finance-agent.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ description: A powerful event-driven financial analysis workflow that combines w
55

66
import { CodeFetcher } from '../../../components/CodeFetcher'
77

8+
---
9+
10+
## Explore the Workbench
11+
12+
<div className="my-8">![Finance Agent](./../img/finance-agent.gif)</div>
13+
14+
**Try it yourself:**
15+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/finance-agent)
16+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
17+
18+
---
19+
820
## Let's build a finance agent that:
921

1022
- Real-time Financial Analysis: Combines multiple data sources for comprehensive insights

packages/docs/content/docs/examples/github-integration-workflow.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ title: 'GitHub Integration'
33
description: Build an automated GitHub issue and PR management system with AI-powered classification and routing
44
---
55

6+
---
7+
8+
## Explore the Workbench
9+
10+
<div className="my-8">![GitHub Issue Workflow](./../img/github-issue-workflow.png)</div>
11+
12+
**Try it yourself:**
13+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/github-integration-workflow)
14+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
15+
16+
---
17+
618
## Let's build a GitHub automation system that:
719

820
1. Automatically triages and classifies new issues

packages/docs/content/docs/examples/github-stars-counter.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ Let's build a stars counter that updates in real-time across all connected clien
1616

1717
---
1818

19+
<div className="my-8">![GitHub Stars Counter Demo](./../img/gitstars-workbench.png)</div>
20+
21+
**Try it yourself:**
22+
- [View Source Code](https://github.com/MotiaDev/github-stars-counter)
23+
24+
---
25+
1926
## 🏭 Production-Grade Example
2027

2128
**This is not a tutorial project** - this is battle-tested, production-ready code that handles real traffic at scale. Every aspect has been designed for enterprise use:
@@ -45,8 +52,6 @@ That live-updating number next to the GitHub icon? That's this exact implementat
4552

4653
## The Power of Real-Time Simplicity
4754

48-
<div className="my-8">![GitHub Stars Counter Demo](/docs-images/motia-star.gif)</div>
49-
5055
At its core, our GitHub stars counter solves a fundamental challenge: how do you display live, real-time metrics without complex WebSocket infrastructure or manual state management? Traditional approaches often involve intricate server-side event handling, client connection management, and complex state synchronization.
5156

5257
Our Motia-powered solution breaks this down into just two simple components:

packages/docs/content/docs/examples/gmail-automation.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ description: Build an automated email system with smart labeling, auto-responses
55

66
import { GmailTab } from '../../../components/GmailCodeFetcher'
77

8+
---
9+
10+
## Explore the Workbench
11+
12+
<div className="my-8">![Gmail Automation](./../img/gmail-automation.png)</div>
13+
14+
**Try it yourself:**
15+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/gmail-flow)
16+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
17+
18+
---
19+
820
## Let's build a Gmail automation system that:
921

1022
- 📊 Smart email classification by category (work, personal, social, promotion, spam, update)

packages/docs/content/docs/examples/multi-language-data-processing.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ Let's build a production-ready data processing system where steps unify TypeScri
1616

1717
---
1818

19-
## The Power of Steps: A Unified Multi-Language Primitive
19+
## Explore the Workbench
2020

2121
<div className="my-8">![Multi-Language Data Processing in Motia Workbench](/docs-images/motia-build-your-app-2.gif)</div>
2222

23+
**Try it yourself:**
24+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/multi-language-data-processing)
25+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
26+
27+
---
28+
29+
## The Power of Steps: A Unified Multi-Language Primitive
30+
2331
At its core, our data processing pipeline demonstrates how **steps** solve the fundamental challenge of multi-language systems: unifying different programming languages under a single, coherent abstraction. Traditional polyglot architectures require complex inter-process communication and deployment coordination. Motia's **step** primitive unifies everything.
2432

2533
**Steps enable true language unification:**

packages/docs/content/docs/examples/rag-docling-weaviate.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,18 @@ Let's transform your documents into an intelligent AI assistant.
1717

1818
---
1919

20-
## The Power of Intelligent Document Processing
20+
## Explore the Workbench
2121

2222
<div className="my-8">![RAG Workflow in Motia Workbench](./../img/rag-docling-weaviate-agent.png)</div>
2323

24+
**Try it yourself:**
25+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/rag-docling-weaviate-agent)
26+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
27+
28+
---
29+
30+
## The Power of Intelligent Document Processing
31+
2432

2533
At its core, our RAG agent solves a fundamental challenge: how do you make unstructured documents searchable and queryable by AI? Traditional approaches often involve complex, monolithic systems that are difficult to scale and maintain. Our Motia-powered solution breaks this down into discrete, event-driven steps that each handle a specific aspect of the pipeline.
2634

packages/docs/content/docs/examples/sentiment-analysis.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@ description: 'Dynamic Workflows: Building a Sentiment Analyzer with Motia'
55

66
In modern application development, workflows are rarely linear. Whether you're building a simple "prompt => response" system or a complex, multi-stage data processing pipeline, you often need your application to make decisions and route data dynamically. This is where the power of event-driven architecture shines, and where the Motia framework provides a clear path forward.
77

8-
<div className="my-8">![motia workbench for sentiment analysis](./../img/sentimental-analysis.png)</div>
8+
---
9+
10+
## Explore the Workbench
11+
12+
<div className="my-8">![motia workbench for sentiment analysis](./../img/sentimental-analyzer-workbench.gif)</div>
13+
14+
**Try it yourself:**
15+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/sentimental-analysis)
16+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
17+
18+
---
919

1020
This guide explores how to build a dynamic sentiment analysis application that uses an LLM to determine how to proceed. We'll cover:
1121

packages/docs/content/docs/examples/trello-automation.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ description: Build an automated card progression system for Trello boards with A
55

66
import { TrelloTab, TrelloCodeContent } from '../../../components/TrelloCodeFetcher'
77

8+
---
9+
10+
## Explore the Workbench
11+
12+
<div className="my-8">![Trello Automation](./../img/trello.png)</div>
13+
14+
**Try it yourself:**
15+
- [View Source Code](https://github.com/MotiaDev/motia-examples/tree/main/examples/trello-flow)
16+
- [Browse All Examples](https://github.com/MotiaDev/motia-examples)
17+
18+
---
19+
820
## Let's build a Trello automation system that:
921

1022
1. Automatically progresses cards across board lists
@@ -50,7 +62,7 @@ The Trello board is organized into four main lists:
5062

5163
Here's how the automation flow works:
5264

53-
<div className="my-8">![Flow: Trello Automation Steps](../img/trello-automation.png)</div>
65+
<div className="my-8">![Flow: Trello Automation Steps](./../img/trello.png)</div>
5466

5567
1. **Card Validation** → Checks for required information
5668
2. **Progress Tracking** → Moves cards between lists

0 commit comments

Comments
 (0)