{
"json_code": {
"flow_desc": "",
"flow_id": "MzIwMQ.7hKIgJxJ6UDrLVLw2HA5r8E",
"flow_info": {
"actions": [],
"model_info": {
"max_tokens": 1047000,
"model": "DeepSeek-R1-0528",
"tag": "built",
"temperature": 1
},
"process_explain": "当接收到消息时\n1.首先执行|{{[tool][语聚AI : AI流程中延迟处理][{\"id\":\"IjYzOF9wcm9jZXNzIg.9ZRAhNBa7yG9D4YD0TI_0KRT_ts\"}]}}|,延迟执行的时间为3分钟\n2.然后将消息发送到\n3.11111\n4.21222\n",
"trigger": {
"account_id": 0,
"account_name": "",
"account_on": 0,
"action_desc": "当前AI助手收到消息时同步数据并触发流程。",
"action_id": 1018883,
"action_key": "ai_assistant_receives_message",
"action_name": "当前AI助手收到消息时",
"action_type": 1,
"app_icon": "https://windeal.oss-cn-beijing.aliyuncs.com/7963317fec822fe40bb1d59f867aa730.svg",
"app_id": 1001582,
"app_name": "语聚AI",
"bot_config_id": "IjYzN19wcm9jZXNzIg.7lXtRikKx6GA2jkijI1-4jtEJJ8",
"content": "",
"custom_config": "{\"dropdownLabels\":{}}",
"id": 637,
"sample_type": 1,
"trigger_type": "1"
}
},
"flow_name": "模版创建测试",
"flow_type": "content",
"flow_type_name": "对话内容触发"
}
}curl --location --request POST 'https://chat.jijyun.cn/v1/openapi/ai/template/add?apiKey=hV1NLpH7cTCbeszSdq1704wd1756450059' \
--header 'Content-Type: application/json' \
--data-raw '{
"json_code": {
"flow_desc": "",
"flow_id": "MzIwMQ.7hKIgJxJ6UDrLVLw2HA5r8E",
"flow_info": {
"actions": [],
"model_info": {
"max_tokens": 1047000,
"model": "DeepSeek-R1-0528",
"tag": "built",
"temperature": 1
},
"process_explain": "当接收到消息时\n1.首先执行|{{[tool][语聚AI : AI流程中延迟处理][{\"id\":\"IjYzOF9wcm9jZXNzIg.9ZRAhNBa7yG9D4YD0TI_0KRT_ts\"}]}}|,延迟执行的时间为3分钟\n2.然后将消息发送到\n3.11111\n4.21222\n",
"trigger": {
"account_id": 0,
"account_name": "",
"account_on": 0,
"action_desc": "当前AI助手收到消息时同步数据并触发流程。",
"action_id": 1018883,
"action_key": "ai_assistant_receives_message",
"action_name": "当前AI助手收到消息时",
"action_type": 1,
"app_icon": "https://windeal.oss-cn-beijing.aliyuncs.com/7963317fec822fe40bb1d59f867aa730.svg",
"app_id": 1001582,
"app_name": "语聚AI",
"bot_config_id": "IjYzN19wcm9jZXNzIg.7lXtRikKx6GA2jkijI1-4jtEJJ8",
"content": "",
"custom_config": "{\"dropdownLabels\":{}}",
"id": 637,
"sample_type": 1,
"trigger_type": "1"
}
},
"flow_name": "模版创建测试",
"flow_type": "content",
"flow_type_name": "对话内容触发"
}
}'{
"Code": 2000,
"Data": {
"temp_id": "273cf980-ac8b-441b-9578-a7922a3a8kkk",
"temp_status": "审核中"
},
"Msg": "成功",
"RequestId": "791a7451-8d43-4a35-83bc-02929e676d21"
}