komga-creater/workflow/历史账号Dify工作流-v1.yml
2026-03-03 17:59:27 +08:00

480 lines
14 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

app:
description: 历史内容账号增长工作流 - 支持选题标题模式和全链路发布模式
icon: 🎬
icon_background: '#FFF3E0'
mode: workflow
name: 历史账号Dify工作流-v1
use_icon_as_answer_icon: false
kind: app
version: 0.1.2
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
enabled: false
opening_statement: '请输入账号定位与主题方向,选择输出模式生成小红书历史内容发布方案。'
retriever_resource:
enabled: false
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: false
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
graph:
edges:
- data:
isInIteration: false
sourceType: start
targetType: if-else
id: 1840748800000-source-1840748800004-target
source: '1840748800000'
sourceHandle: source
target: '1840748800004'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1840748800004-true-1840748800001-target
source: '1840748800004'
sourceHandle: 'true'
target: '1840748800001'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1840748800004-false-1840748800005-target
source: '1840748800004'
sourceHandle: 'false'
target: '1840748800005'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: llm
id: 1840748800001-source-1840748800002-target
source: '1840748800001'
sourceHandle: source
target: '1840748800002'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: llm
id: 1840748800005-source-1840748800006-target
source: '1840748800005'
sourceHandle: source
target: '1840748800006'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1840748800002-source-1840748800003-target
source: '1840748800002'
sourceHandle: source
target: '1840748800003'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1840748800006-source-1840748800007-target
source: '1840748800006'
sourceHandle: source
target: '1840748800007'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: 开始
type: start
variables:
- label: 账号定位
max_length: 800
options: []
required: true
type: paragraph
variable: account_positioning
- label: 受众画像
max_length: 500
options: []
required: true
type: paragraph
variable: audience_profile
- label: 主题方向
max_length: 300
options: []
required: true
type: paragraph
variable: topic_direction
- label: 参考风格描述
max_length: 800
options: []
required: false
type: paragraph
variable: reference_style
- label: 输出模式
max_length: 48
options:
- 选题标题模式
- 全链路发布模式
required: true
type: select
variable: output_mode
height: 167
id: '1840748800000'
position:
x: 92
y: 292
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
cases:
- case_id: 'true'
conditions:
- comparison_operator: contains
id: condition-001
value: 选题标题模式
varType: string
variable_selector:
- '1840748800000'
- output_mode
id: 'true'
logical_operator: and
- case_id: 'false'
conditions:
- comparison_operator: contains
id: condition-002
value: 全链路发布模式
varType: string
variable_selector:
- '1840748800000'
- output_mode
id: 'false'
logical_operator: and
desc: 根据输出模式选择处理路径
selected: false
title: 模式选择器
type: if-else
height: 140
id: '1840748800004'
position:
x: 384
y: 292
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
desc: 生成高传播潜力历史选题池
model:
completion_params:
max_tokens: 2600
temperature: 0.7
mode: chat
name: deepseek-reasoner
provider: langgenius/deepseek/deepseek
prompt_template:
- id: system-001
role: system
text: |
你是“小红书历史内容增长策划”。
任务:基于账号定位与受众,生成可发布的历史内容选题池。
风格要求:
1. 学习“电影化叙事 + 冲突驱动 + 史料锚点”的表达方式
2. 只学习方法,不抄袭任何已有标题或原句
3. 标题必须有冲突、代价、反转中的至少两个元素
4. 选题优先“人物命运拐点、权力博弈、战争决策复盘”
输出格式Markdown
# 选题池10条
| 序号 | 选题标题 | 冲突钩子 | 史料锚点 | 爆款概率(1-10) | 风险提示 |
|---|---|---|---|---|---|
| 1 | ... | ... | ... | ... | ... |
## Top3推荐
1. [标题] - 推荐理由(受众匹配 + 传播潜力)
2. [标题] - 推荐理由
3. [标题] - 推荐理由
## 账号差异化建议
- 至少给3条避免同质化。
- id: user-001
role: user
text: |
账号定位:{{#1840748800000.account_positioning#}}
受众画像:{{#1840748800000.audience_profile#}}
主题方向:{{#1840748800000.topic_direction#}}
参考风格描述:{{#1840748800000.reference_style#}}
selected: false
title: 选题策划AI
type: llm
variables: []
height: 98
id: '1840748800001'
position:
x: 676
y: 150
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
desc: 生成完整发布包(脚本+封面+正文+标签+互动)
model:
completion_params:
max_tokens: 3600
temperature: 0.65
mode: chat
name: deepseek-reasoner
provider: langgenius/deepseek/deepseek
prompt_template:
- id: system-001
role: system
text: |
你是“小红书历史内容总编导”。
任务:输出一条可直接发布的完整内容包。
方法要求:
1. 采用电影化叙事节奏:开场钩子 -> 冲突升级 -> 反转结论 -> 价值落点
2. 观点必须可回溯到史料线索,避免绝对化断言
3. 只借鉴风格,不复用其他创作者的标题与句子
4. 语言要克制、硬核、可口播
输出格式Markdown
# 全链路发布包
## 1) 主标题5条
- 标题A
- 标题B
- 标题C
- 标题D
- 标题E
## 2) 封面文案3组
- 组1主文案 + 副文案8-14字主文案
- 组2...
- 组3...
## 3) 60-90秒口播脚本
- 开场钩子1-2句
- 第一段:背景与冲突
- 第二段:关键转折与证据
- 第三段:结论与现实映射
- 收束金句1句
## 4) 笔记正文300-450字
- 结构化排版,适合小红书阅读
## 5) 评论区引导3条
- 争议型问题1
- 站队型问题2
- 延展型问题3
## 6) 话题标签12个
- 4个泛历史标签
- 4个细分题材标签
- 4个互动增长标签
## 7) 史实校验清单
- 列出3-5条关键事实与可查线索史记/汉书等)
- 哪些是“推断”,哪些是“史实记载”,必须标注
- id: user-001
role: user
text: |
账号定位:{{#1840748800000.account_positioning#}}
受众画像:{{#1840748800000.audience_profile#}}
主题方向:{{#1840748800000.topic_direction#}}
参考风格描述:{{#1840748800000.reference_style#}}
selected: false
title: 全链路策划AI
type: llm
variables: []
height: 98
id: '1840748800005'
position:
x: 676
y: 380
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
desc: 生成标题与封面策略并给出A/B测试计划
model:
completion_params:
max_tokens: 3000
temperature: 0.6
mode: chat
name: deepseek-reasoner
provider: langgenius/deepseek/deepseek
prompt_template:
- id: system-001
role: system
text: |
你是“小红书标题与封面实验官”。
任务:基于选题池输出可执行的标题方案与实验计划。
输出格式Markdown
# 标题与封面实验方案
## 1) Top5选题深挖
对每个选题输出:
- 标题版本A悬念型
- 标题版本B结论型
- 标题版本C反差型
- 封面主文案8-14字
- 封面副文案10-18字
- 首句口播15秒内
## 2) A/B测试建议
- 测试批次首发48小时
- 指标点击率、3秒留存、完播率、收藏率
- 给出每个选题的主推版本与备选版本
## 3) 发布节奏
- 给出7天排期每天1条
- 标明每条内容的目标(拉新/互动/收藏)
约束:
- 不得重复输入中的原句
- 不得制造未经证据支持的历史细节
- id: user-001
role: user
text: '{{#1840748800001.text#}}'
selected: false
title: 标题封面AI
type: llm
variables: []
height: 98
id: '1840748800002'
position:
x: 968
y: 150
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
desc: 给全链路内容做二次压缩与发布前检查
model:
completion_params:
max_tokens: 3000
temperature: 0.55
mode: chat
name: deepseek-reasoner
provider: langgenius/deepseek/deepseek
prompt_template:
- id: system-001
role: system
text: |
你是“小红书发布前审校AI”。
任务:对内容包做实战化改写,提升发布可执行性。
输出格式Markdown
# 发布前最终稿
## 最终主标题1条
## 备选标题2条
## 最终封面文案(主+副)
## 口播精简版45-70秒
## 笔记精简版220-320字
## 标签最终版10个
## 风险检查
- 可能争议点
- 建议保守表述
- 审核风险词替换建议
要求:
- 可直接复制发布
- 保留硬核感,但避免绝对化措辞
- id: user-001
role: user
text: '{{#1840748800005.text#}}'
selected: false
title: 发布审校AI
type: llm
variables: []
height: 98
id: '1840748800006'
position:
x: 968
y: 380
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '{{#1840748800002.text#}}'
desc: 输出选题标题实验方案
selected: false
title: 选题标题输出
type: answer
variables: []
height: 102
id: '1840748800003'
position:
x: 1260
y: 150
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '{{#1840748800006.text#}}'
desc: 输出全链路发布最终稿
selected: false
title: 全链路发布输出
type: answer
variables: []
height: 102
id: '1840748800007'
position:
x: 1260
y: 380
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244