AI漏洞检测和Servicenow事件创建
中级
这是一个SecOps, Multimodal AI领域的自动化工作流,包含 7 个节点。主要使用 JinaAi, SplitOut, ServiceNow, RssFeedRead, ScheduleTrigger 等节点。 使用GPT-4和ServiceNow事件创建自动化AI漏洞监控
前置要求
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "2Nez00PbMbD5pHI5",
"meta": {
"instanceId": "6004a16b59a95da573dfac2b89c29cb3d5d09e00386053659b2f24878624b8d6",
"templateCredsSetupCompleted": true
},
"name": "AI漏洞检测和Servicenow事件创建",
"tags": [],
"nodes": [
{
"id": "2b5b197b-eebc-43c2-924a-85cedd66b47f",
"name": "RSS 读取",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
208,
0
],
"parameters": {
"url": "https://rss.app/feeds/tbFqDT5HIb59.xml",
"options": {}
},
"typeVersion": 1.2
},
{
"id": "5e2d584f-7254-41da-9f0b-4ee99d82defe",
"name": "信息提取器",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
624,
0
],
"parameters": {
"text": "=Snippet {{ $json.metadata.description}}\nTitle{{ $json.title}}\npubDate{{ $json.publishedTime}}\nCreator {{ $json.metadata.author}}\ncontent {{ $json.content}}",
"options": {
"systemPromptTemplate": "You are an expert extraction algorithm.\nOnly extract relevant information from the input text.\nExtract data as JSON objects with the following fields:\n\ntitle (string): The title of the news article or vulnerability report.\nlink (string): The URL linking to the full article.\npubDate (string, ISO 8601 format preferred): The publication date of the article.\ncreator (string): The author or source of the article.\ncontent (string): A brief summary or snippet of the article content.\n\n\nIf any field is missing or not found, omit that field in the output.\nOutput a JSON array called results containing the extracted objects.\n"
},
"schemaType": "manual",
"inputSchema": "={\n\t\"properties\": {\n\t\t\"Title\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"Description\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t},\n \"PublishedTime\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t},\n \"SiteName\": {\n\t\t\t\"type\": \"string\"\n\t\t\t\n\t\t}\n \n }\n} "
},
"typeVersion": 1.2
},
{
"id": "fcfeb18c-eb1c-42c8-b102-6a549a5dda7b",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
560,
208
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "ppNn03FE7vbsyINF",
"name": "n8n free OpenAI API credits"
}
},
"typeVersion": 1.2
},
{
"id": "73901b61-1b73-440c-b959-2a882331386e",
"name": "拆分输出",
"type": "n8n-nodes-base.splitOut",
"position": [
976,
0
],
"parameters": {
"options": {
"destinationFieldName": "response"
},
"fieldToSplitOut": "output.results"
},
"typeVersion": 1
},
{
"id": "9acef534-f34a-4655-b617-775a5ab2a805",
"name": "创建事件",
"type": "n8n-nodes-base.serviceNow",
"position": [
1184,
0
],
"parameters": {
"resource": "incident",
"operation": "create",
"authentication": "basicAuth",
"additionalFields": {
"description": "=Snippet {{ $json.response.content }}\nCreator {{ $json.response.creator }}\nPubDate {{ $json.response.pubDate}} "
},
"short_description": "=Ai Vulnerability {{ $json.response.title }}"
},
"credentials": {
"serviceNowBasicApi": {
"id": "keHrNdS7cHG3Tr0X",
"name": "ServiceNow Basic Auth account 2"
}
},
"typeVersion": 1
},
{
"id": "a50f6014-3019-4335-b4d6-9e1e199ee096",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
0
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "725aced5-996d-4529-9af1-60ac1e0bb693",
"name": "读取 URL 内容",
"type": "n8n-nodes-base.jinaAi",
"position": [
432,
0
],
"parameters": {
"url": "={{ $json.link }}",
"options": {},
"requestOptions": {}
},
"credentials": {
"jinaAiApi": {
"id": "kJgZ4iHvGNvtfSlw",
"name": "Jina AI account 2"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "0d769cde-f47e-44b9-b81f-7fd9eda3da07",
"connections": {
"RSS Read": {
"main": [
[
{
"node": "Read URL content",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Create an incident",
"type": "main",
"index": 0
}
]
]
},
"Read URL content": {
"main": [
[
{
"node": "Information Extractor",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "RSS Read",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Information Extractor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Information Extractor": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 安全运维, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
在ServiceNow中提取并创建漏洞
使用OpenAI处理自动化CVE监控以生成ServiceNow安全事件
Split Out
Service Now
Http Request
+3
6 节点Tushar Mishra
安全运维
ServiceNow L1支持代理
基于GPT-4的ServiceNow聊天分流——事件与请求路由
Service Now
Http Request
Agent
+7
15 节点Tushar Mishra
AI 聊天机器人
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
内容创作
使用ScrapeGraph AI提取n8n社区最近添加的工作流
使用ScrapeGraphAI和Gemini提取和存储n8n社区最近添加的工作流
Set
Merge
Split Out
+12
21 节点Davide
杂项
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
## 适用对象
AI驱动的每日LinkedIn帖子创建器,集成OpenAI反馈循环和Notion
Set
Notion
Linked In
+12
28 节点Nabin Bhandari
社交媒体
工作流信息
难度等级
中级
节点数量7
分类2
节点类型7
作者
Tushar Mishra
@yajnaProblem Solver | ServiceNow Architect | AI/ML Specialist | Product Builder 1. 10+ years in tech consulting and product development across AI, enterprise platforms, and cloud ecosystems. 2. ISB AMP in Business Analytics; strong foundation in strategy + data. 3. Founder – ReAcademy.ai: Flashcard-based learning SaaS using AI & LLMs to transform PDFs into gamified micro-learning.
外部链接
在 n8n.io 查看 →
分享此工作流