Automation
... 2026-2-5 小于 1 分钟
# Automation
| 名称 | 类型 | 描述 |
|---|---|---|
| title | json object(RichText) | 消息标题 |
| content | json object(RichText) | 消息内容 |
| buttons | json object array(Button) | 底部按钮 |
| workflowId | string | 自动化配置id |
| executionId | string | 自动化运行记录id |
# RichText
| 名称 | 类型 | 描述 |
|---|---|---|
| blocks | json object array(RichTextBlock) | 富文本块 |
# RichTextBlock
| 名称 | 类型 | 描述 |
|---|---|---|
| type | enum(RichTextBlockType) | 富文本类型 |
| value | json object(RichTextBlockValue) | 文本 |
| style | json object(Style) | 文本样式 |
# RichTextBlockType
| 名称 | 说明 |
|---|---|
| 1 | 单元格 |
# RichTextBlockValue
| 名称 | 类型 | 描述 |
|---|---|---|
| cellValue | json object(CellValue) | 单元格值,type 为 1 时返回 |
# CellValue
| 名称 | 类型 | 描述 |
|---|---|---|
| string_value | string | 单元格文本内容 |
# Style
| 名称 | 类型 | 描述 |
|---|---|---|
| color | string | hex 颜色 (白天) |
| darkColor | string | hex 颜色 (暗黑) |
# Button
| 名称 | 类型 | 描述 |
|---|---|---|
| type | enum(ButtonType) | 按钮类型 |
| text | json object(RichText) | 按钮文本 |
| link | string | 按钮链接 |
# ButtonType
| 名称 | 说明 |
|---|---|
| 1 | 超链接按钮 |