Bỏ qua đến nội dung

Generate Knowledge & Prompt Chaining: Workflows Chuyên Nghiệp

Thu thập insights trước khi trả lời + Build workflows prompt nhiều bước như expert

Generate Knowledge & Prompt Chaining: Build Workflows Như Pro

📌 TLDR

Generate Knowledge: Bắt AI thu thập facts/insights TRƯỚC khi trả lời → Kết quả sâu sắc hơn. Prompt Chaining: Output prompt 1 → Input prompt 2 → … → Kết quả cuối. Build workflows nhiều bước như professional (Research → Outline → Write → Edit).


Câu Chuyện: Từ “Kết Quả Tệ” Đến “Như Có Team”

Before: Kết Quả Generic

Lan cần lên kế hoạch marketing cho app giao đồ ăn.

Prompt: "Lên kế hoạch marketing cho app giao đồ ăn"

AI Output:
"1. Chạy ads Facebook
 2. Influencer marketing  
 3. Promo codes
 4. Email marketing"

Lan: “Ai cũng biết rồi… không có gì mới 😕“


After: Dùng Generate Knowledge + Chaining

Step 1: Generate Knowledge FIRST

"Liệt kê 5 thách thức lớn nhất của app giao đồ ăn VN năm 2026"

AI Output:
1. Cạnh tranh khốc liệt (Grab, ShopeeFood, Baemin...)
2. Chi phí acquire user cao (50-80k/user)
3. Retention thấp (60% churn after month 1)
4. Commission cao → Nhà hàng không thích
5. Delivery cost tăng (giá xăng, shipper)

Step 2: Use Knowledge for Strategy

"Dựa vào 5 thách thức trên, đề xuất 3 chiến lược marketing KHÁC BIỆT"

AI Output (Now insightful!):
1. Partnership với công ty (corporate lunch programs) → Stable revenue
2. "Subscription model" → Better retention  
3. "Nhà hàng exclusives" → Differentiation từ Grab/Shopee

Lan: “Đây mới là insights! Có chiều sâu!” ✅


Generate Knowledge Prompting: “Thu Thập Facts Trước”

Là Gì?

2-Step Process:

  1. Step 1: Bắt AI thu thập knowledge/facts/insights về topic
  2. Step 2: Dùng knowledge đó để solve problem

Giống như:

Bạn không tính toán ngay → Bạn research trước → Rồi mới quyết định!


Tại Sao Cần?

Không Generate Knowledge:

AI → Trả lời dựa trên “pattern chung” → Generic

Có Generate Knowledge:

AI → Thu thập context cụ thể → Phân tích → Insight sâu


Template Generate Knowledge

**STEP 1: Generate Knowledge**

[Prompt thu thập facts]
"Liệt kê 5-7 [facts/challenges/trends] về [topic]"

→ Output A: [Knowledge base]

**STEP 2: Apply Knowledge**

"Dựa vào [Output A], [task/question]"

→ Output B: [Insightful answer]

Ví Dụ Generate Knowledge

Case 1: Cafe Startup

Không Generate Knowledge:

"Mở quán cafe ở Hà Nội cần chú ý gì?"

→ "Vị trí tốt, cà phê ngon, giá hợp lý, decor đẹp"
(Ai cũng biết!)

Có Generate Knowledge:

STEP 1:
"Phân tích 5 lý do quán cafe Hà Nội thất bại trong 2 năm đầu"

Output A:
1. Chọn location theo cảm tính (không data)
2. Overhead quá cao (thuê + decor + nhân sự)  
3. Không có USP (giống 100 quán khác)
4. Marketing = 0 (chỉ trông chờ walk-in)
5. Cash flow âm tháng 3-6 (không plan trước)

STEP 2:
"Dựa vào 5 lý do thất bại trên, lên checklist mở quán cafe"

Output B:
✅ Research footfall data (không chỉ "nhìn đông người")
✅ Model cash flow 12 tháng (worst case scenario)
✅ Define 1 điểm khác biệt rõ ràng (specialty coffee? quiet workspace? pet-friendly?)
✅ Pre-marketing 2 tháng trước mở (social, local groups)
✅ Minimize fixed costs 6 tháng đầu

→ Actionable + Data-driven!


Case 2: Content Strategy

STEP 1: Generate trending topics

"Liệt kê 7 content topics trending nhất trong ngành thời trang VN Q1 2026"

Output:
1. Sustainable fashion / secondhand
2. "Office siren" aesthetic
3. Styling hacks dưới 500k
4. Local Vietnamese designers
5. How to shop Taobao
6. Capsule wardrobe
7. "Dopamine dressing"

STEP 2: Build content calendar

"Dựa vào 7 topics trên, tạo content calendar 4 tuần cho Instagram,
mix giữa trending và evergreen, 1 post/ngày"

→ AI tạo calendar với mix thông minh trending + brand message!

Prompt Chaining: “Workflows Nhiều Bước”

Là Gì?

Prompt Chaining = Chain các prompts lại thành workflow:

Output Prompt 1 → Input Prompt 2 → Input Prompt 3 → Final

Giống như production line:

Raw material → Process 1 → Process 2 → Process 3 → Finished product


Tại Sao Cần Chaining?

1 Prompt Làm Hết:

  • ❌ AI overload → Kết quả

surface-level

  • ❌ Không control được từng step
  • ❌ Sửa lỗi phải làm lại từ đầu

Prompt Chaining:

  • ✅ Mỗi step focused → Quality cao
  • ✅ Control từng giai đoạn
  • ✅ Debug dễ (sửa step nào có vấn đề)
  • ✅ Reuse được workflow

Template Prompt Chaining

**Prompt 1: [Purpose]**
[Input 1]
→ Output A

**Prompt 2: [Purpose]**
"Dựa vào [Output A], [task 2]"
→ Output B

**Prompt 3: [Purpose]**
"Use [Output B], [task 3]"
→ Output C (Final)

Ví Dụ Prompt Chaining

Workflow 1: Blog Writing

GOAL: Viết blog "Xu Hướng F&B Việt Nam 2026"

=== PROMPT 1: Research ===
"Research 7 xu hướng F&B lớn nhất VN 2026.
Include: data, examples, nguồn"

→ Output A: [7 trends với context]

=== PROMPT 2: Outline ===
"Dựa vào [Output A], tạo outline bài blog 2000 từ.
Structure: Intro → 7 trends (200 words each) → Conclusion"

→ Output B: [Detailed outline]

=== PROMPT 3: Write Intro ===
"Viết intro 150 từ theo [Output B].
Hook: Statistic về growth ngành F&B"

→ Output C: [Intro paragraph]

=== PROMPT 4-10: Write Each Section ===
"Viết section 1 về [Trend 1] theo [Output B]"
...
"Viết section 7..."

→ Output D-J: [Each section]

=== PROMPT 11: Conclusion ===
"Viết conclusion tóm tắt 7 trends và call-to-action"

→ Output K: [Conclusion]

=== PROMPT 12: Polish ===
"Combine all sections. Check:
- Transitions mượt không?
- Tone consistent?
- SEO keywords đủ chưa?"

→ FINAL: Complete blog post!

Time saved: 80% (vs viết tay)
Quality: Professional-level


Workflow 2: Email Marketing Campaign

=== PROMPT 1: Audience Research ===
"Phân tích 3 segment khách hàng của shop quần áo online VN:
1. Students (18-24)
2. Office workers (25-35)
3. Moms (30-45)

List pain points mỗi segment"

→ Output: [Pain points by segment]

=== PROMPT 2: Value Props ===
"Dựa vào pain points, tạo value proposition cho mỗi segment"

→ Output: [Value props]

=== PROMPT 3: Email Templates ===
"Tạo 3 email templates (1 cho mỗi segment)
Structure: Hook → Value → CTA
Tone: Friendly, under 150 words"

→ Output: [3 templates]

=== PROMPT 4: A/B Variations ===
"Với template 1 (Students), tạo 2 variations:
A: FOMO-driven
B: Value-driven"

→ Output: [2 variations]

=== PROMPT 5: Subject Lines ===
"Cho mỗi email, tạo 3 subject line options"

→ Output: [Subject lines]

=== FINAL: Complete Campaign ===
3 segments × 2 variations × 3 subject lines
= 18 email combinations ready to test!

Kết Hợp Generate Knowledge + Chaining = 💪

Ultimate Workflow Example: Product Launch Plan

====== PHASE 1: GENERATE KNOWLEDGE ======

Prompt 1A: "5 reasons product launches fail in VN market"
→ Knowledge A

Prompt 1B: "7 successful product launch examples VN last 2 years"
→ Knowledge B

Prompt 1C: "Current trending marketing channels VN Q1 2026"
→ Knowledge C

====== PHASE 2: STRATEGY (Use Knowledge) ======

Prompt 2: "Dựa vào Knowledge A, B, C, 
build product launch strategy 3 tháng,
avoid failures, leverage successful patterns"

→ Output: [3-month strategy]

====== PHASE 3: DETAILED PLAN (Chain) ======

Prompt 3A: "Pre-launch (Month -1): Detail plan"
Prompt 3B: "Launch week: Hour-by-hour timeline"
Prompt 3C: "Post-launch (Month +1-2): Sustain & scale"

→ Output: [Detailed plans]

====== PHASE 4: CONTENT (Chain) ======

Prompt 4A: "Content calendar pre-launch"
Prompt 4B: "Launch day content pieces"
Prompt 4C: "PR & Media outreach plan"

====== PHASE 5: POLISH & VALIDATE ======

Prompt 5: "Review entire plan. Check:
- Budget alignment?
- Timeline realistic?
- Resources available?
Suggest 3 optimizations"

→ FINAL: Complete launch playbook!

Best Practices

Generate Knowledge Best Practices

DO:

- Specific questions (5-7 items)
- Ask for examples/data
- Narrow scope (industry, geography, timeline)

DON’T:

- "Generate knowledge about marketing" (too broad!)
- Ask 20 items (overwhelming)
- Không dùng knowledge ở step 2

Good:

"Liệt kê 6 pain points của shop owner quần áo online VN
khi chạy Facebook Ads, dựa trên data 2024-2025"

Bad:

"Cho biết về marketing"

Prompt Chaining Best Practices

DO:

- 3-7 steps (not too many)
- Clear purpose mỗi step
- Pass relevant context forward
- Name outputs clearly

DON’T:

- 15+ steps (quá phức tạp)
- Duplicate steps
- Không transition rõ

Good Chain:

Prompt 1: Research → Output A
Prompt 2: "Use [Output A] to outline" → Output B
Prompt 3: "Write intro based on [Output B]" → Output C

Bad Chain:

Prompt 1: Research → Output
Prompt 2: Research lại (???) → Output
Prompt 3: "Write something" (no context!)

Templates Thực Tế

Template 1: Content Creation

**KNOWLEDGE PHASE:**
- Trends in [industry]
- Audience pain points
- Competitor content gaps

**PLANNING PHASE:**
- Content calendar (Use knowledge)
- Topics prioritization
- Format selection

**CREATION PHASE:**
- Outlines for each piece
- Write piece 1
- Write piece 2...

**POLISH PHASE:**
- SEO optimization
- Tone consistency check
- Final review

Template 2: Campaign Development

**RESEARCH CHAIN:**
1. Target audience analysis
2. Competitor campaigns review
3. Channel performance data

**STRATEGY CHAIN:**
4. Positioning (based on 1-3)
5. Messaging framework
6. Channel mix

**EXECUTION CHAIN:**
7. Creative briefs
8. Copy variations
9. Asset list

**OPTIMIZATION CHAIN:**
10. Success metrics
11. A/B test plan
12. Iteration schedule

Troubleshooting

Issue 1: Knowledge Phase Quá Generic

Fix: Add constraints

Bad:
"Liệt kê challenges của ecommerce"

Good:
"Liệt kê 5 biggest operational challenges 
của fashion ecommerce shops VN,
revenue 50-200M/tháng,
based on 2024-2025 data"

Issue 2: Chain Quá Dài, Mất Focus

Fix: Group steps

Instead of:
1. Research trend 1
2. Research trend 2
3. Research trend 3...

Do:
1. Research ALL trends (combined)
2. Analyze patterns
3. Create strategy

Issue 3: Không Dùng Previous Output

Fix: Explicitly reference

Bad:
"Write blog intro"

Good:
"Based on [Outline in Output B, specifically section 1-2],
write 150-word intro that hooks with the statistic 
mentioned in trend #1"

Action Plan

Tuần Này:

Ngày 1-2: Practice Generate Knowledge

  • Pick 1 complex topic
  • Generate knowledge phase (5-7 facts)
  • Use knowledge to create something
  • Compare với “không generate knowledge”

Ngày 3-4: Build First Chain

  • Choose simple workflow (3-4 steps)
  • Document each step clearly
  • Execute và save outputs
  • Note time saved

Ngày 5-6: Combine Both

  • Complex project (blog/campaign/plan)
  • Start with Generate Knowledge
  • Then Chain the execution
  • Build complete workflow

Ngày 7: Document Workflows

  • Save 2-3 workflows thường dùng
  • Create templates trong Notion
  • Ready to reuse!

Real Case Study: Content Agency

Before Workflows:

  • 1 blog post = 3 hours
  • Chất lượng không đều
  • Mỗi writer làm khác nhau

After Workflows (Generate Knowledge + Chaining):

Standard Workflow:
1. Knowledge: 15 phút (research)
2. Outline: 10 phút
3. Write intro: 10 phút
4. Write body: 40 phút (4 sections × 10)
5. Write conclusion: 10 phút
6. Polish: 15 phút

Total: 1.5 giờ (vs 3 giờ)
Quality: Consistent

Results:

  • ⏱️ 50% faster
  • 📈 Output 2x (6 blogs/tuần → 12 blogs)
  • ✅ Quality consistent (template-driven)
  • 💰 Revenue +60% (same team)

Kết Luận

🎯 Key Takeaways

Generate Knowledge:

  • Think BEFORE act
  • Context + Facts = Better decisions
  • Always 2-step: Knowledge → Apply

Prompt Chaining:

  • Break complex into simple
  • Control mỗi step
  • Reusable workflows

Combo:

Generate Knowledge (What to know)
  +
Prompt Chaining (How to execute)
  =
Professional-level output!

📚 Remember

Đừng hỏi AI làm hết 1 lúc!

Instead:

Research → Plan → Execute → Polish
(4 steps = 4 prompts = Better result)

🚀 Next Lesson

Bài cuối: Advanced Techniques Overview

  • Tree of Thoughts, RAG, ReAct…
  • Khi nào cần?
  • Resources để học thêm

Nhưng nhớ: 90% cases chỉ cần 6 techniques đã học!

Practice workflows tuần này - Productivity sẽ tăng vọt! 💪

Câu hỏi ôn tập

Trả lời xong, bấm “Kiểm tra đáp án” để mở ChatGPT chấm tự động.

1

Mục tiêu chính của bài học "Generate Knowledge & Prompt Chaining: Workflows Chuyên Nghiệp" là gì?

2

Tóm tắt 3 ý chính của bài học bằng lời của bạn (ngắn gọn, rõ ràng).

3

Nêu 1 tình huống thực tế bạn có thể áp dụng kiến thức từ bài học này.