Market_research_app
概览
该仓库演示如何利用 S 构建自然语言就绪的 ServiceNow 应用——无需手动元数据创作。 市场调研邮件解析器是演示中使用的示例应用。 一个端到端的ServiceNow应用程序,具备: 1. 在任何主题中包含市场调研的入站邮件 2.自定义邮件数据表中的原始邮件 3.在市场调研表中 4.(插入后)解析HTML正文——从竞争对手表中提取每个/。将种子变成每个竞争者一个结构化记录,带有递归守卫(is_parsed),以确保BR不会重复发送 6.数据通过自定义应用导航菜单处理 所有这些都是Claude Code用sndev技能在一次对话中生成的。 你用 Claude Code 在自己的 ServiceNow 项目中复制这一点所需的一切: 将 SKILL.md 复制到您的Claude Code技能目录: 每当你描述ServiceNow任务时,技能会自动触发。示例:
概述(AI 翻译)
该仓库演示如何使用 Claude Code 配合 ServiceNow SDK(现为 sdk),从自然语言构建生产准备的 ServiceNow 应用——无需手动元数据创作。
市场调研邮件解析器是演示中使用的示例应用。
Claude Code 构建了什么(演示应用)
一个端到端的ServiceNow应用程序,具备:
- 触发器,任何主题中带有
Market Research]的入站邮件 - 归档在自定义
Email Data表中保存原始邮件 - 在
Market Research表中创建种子记录 - 触发一项业务规则(插入后),解析HTML正文——从竞争对手表中提取每个
/ - **将种子扩展为每个竞争者一个结构化记录,带有递归守护(
is_parsed),使BR不会重复发射 - 通过自定义应用导航菜单显示数据
所有这些都是由Claude Code通过一次对话生成的,使用sndev技能。
教程与技能档案
你用 Claude Code 在自己的 ServiceNow 项目中复制这一点所需的一切:
| 档案 | 描述 |
|---|---|
| “教程说明和技能/技能。 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Claude Code × ServiceNow SDK — Demo App
This repository demonstrates how to use Claude Code with the ServiceNow SDK (now-sdk) to build production-ready ServiceNow applications from natural language — no manual metadata authoring required.
The Market Research Email Parser is the sample app used throughout the demo.
What Claude Code Built (the demo app)
An end-to-end ServiceNow application that:
- Triggers on any inbound email with
Market Researchin the subject - Archives the raw email in a custom
Email Datatable - Creates a seed record in the
Market Researchtable - Fires a Business Rule (after insert) that parses the HTML body — extracting every
/from the competitor table - Expands the seed into one structured record per competitor, with a recursion guard (
is_parsed) so the BR never double-fires - Surfaces the data through a custom app navigator menu
All of this was generated by Claude Code in a single conversation using the sndev skill.
Tutorial & Skill Files
Everything you need to replicate this with Claude Code on your own ServiceNow project:
| File | Description |
|---|---|
Tutorial instructions and skills/SKILL.md |
Claude Code skill — drop this into ~/.claude/skills/ to give Claude full ServiceNow SDK knowledge |
Tutorial instructions and skills/fluent-patterns.md |
Full Fluent DSL reference: Tables, Flows, Business Rules, Script Includes, ACLs, Records |
Tutorial instructions and skills/flow-advanced.md |
Advanced Flow patterns: subflows, loops, parallel blocks, error handling |
Tutorial instructions and skills/market_research_email_sample.html |
Sample inbound email used to test the demo app |
Tutorial instructions and skills/Claude-Code-ServiceNow-SDK-Tutorial.docx |
Step-by-step tutorial document |
Tutorial instructions and skills/Market-Research-Email-Parser-UseCase.docx |
Use case write-up for the demo scenario |
Using the Claude Code Skill
1. Install the skill
Copy SKILL.md to your Claude Code skills directory:
cp "Tutorial instructions and skills/SKILL.md" ~/.claude/skills/sndev.md
2. Open your ServiceNow SDK project with Claude Code
cd my-servicenow-app
claude
3. Ask Claude to build what you need
The skill triggers automatically whenever you describe a ServiceNow task. Examples:
"Create an inbound email flow that fires when subject contains Market Research"
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add yvain13/market_research_app