windsor-ai-business-data
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWindsor.ai Business Data Skill
Windsor.ai 业务数据技能
Use this skill whenever the user needs business data — marketing analytics, sales metrics, CRM data, ecommerce transactions, financial data, or any other data available through Windsor.ai's 325+ connectors.
当用户需要业务数据时即可使用此技能——包括营销分析、销售指标、CRM数据、电商交易、财务数据,或Windsor.ai 325+连接器可获取的任何其他数据。
When to Use
使用场景
- User is building a dashboard, report, or data visualization that needs business data from any source
- User asks about ad spend, campaign performance, ROAS, CTR, CPC, or conversion metrics
- User needs CRM, sales, ecommerce, or financial data in their codebase
- User needs to explore what data sources or fields are available
- User wants to seed a project with real data (e.g. for testing, prototyping, or generating fixtures)
- User is building an integration with any platform supported by Windsor.ai
- 用户正在构建需要来自任意数据源的业务数据的仪表盘、报表或数据可视化
- 用户询问广告支出、广告系列表现、ROAS、CTR、CPC或转化指标
- 用户需要在代码库中接入CRM、销售、电商或财务数据
- 用户需要探索可用的数据源或字段
- 用户想要为项目植入真实数据(例如用于测试、原型开发或生成测试数据)
- 用户正在构建与Windsor.ai支持的任意平台的集成
Available Tools
可用工具
Windsor.ai provides 4 MCP tools:
Windsor.ai 提供4种MCP工具:
get_connectors
get_connectorsget_connectors
get_connectorsLists all connected platforms and their account IDs. Always call this first if you don't know what accounts are available.
列出所有已连接的平台及其账户ID。如果不清楚可用账户,务必先调用此工具。
get_options
get_optionsget_options
get_optionsReturns available fields, date filters, and options for a specific connector. Use this to discover what data can be queried before calling .
get_dataParameters:
- (required): Platform ID like
connector,"google_ads","facebook","tiktok","linkedin","googleanalytics4","hubspot","salesforce","searchconsole","instagram","youtube","google_my_business","shopify","stripe", and 300+ more"quickbooks" - (required): List of account IDs from
accountsget_connectors
返回特定连接器的可用字段、日期筛选器及选项。在调用前,使用此工具了解可查询的数据。
get_data参数:
- (必填):平台ID,例如
connector、"google_ads"、"facebook"、"tiktok"、"linkedin"、"googleanalytics4"、"hubspot"、"salesforce"、"searchconsole"、"instagram"、"youtube"、"google_my_business"、"shopify"、"stripe",以及其他300+平台"quickbooks" - (必填):来自
accounts的账户ID列表get_connectors
get_fields
get_fieldsget_fields
get_fieldsReturns detailed metadata about specific fields — data types, descriptions, available values. Use this when you need to understand the schema before writing code that processes the data.
Parameters:
- (required): Platform ID
connector - (required): List of field IDs like
fields["campaign", "spend", "clicks"]
返回特定字段的详细元数据——数据类型、描述、可用值。当需要在编写处理数据的代码前了解架构时使用此工具。
参数:
- (必填):平台ID
connector - (必填):字段ID列表,例如
fields["campaign", "spend", "clicks"]
get_data
get_dataget_data
get_dataRetrieves actual data. This is the main query tool.
Parameters:
- (required): Platform ID
connector - (required): List of account IDs
accounts - (required): Fields to retrieve, e.g.
fields["campaign", "date", "spend", "clicks", "impressions"] - /
date_from: Date range asdate_to"YYYY-MM-DD" - : Shorthand like
date_preset,"last_7d","last_30d","this_month""last_3m" - : Conditions like
filters[["spend", "gt", 100], "and", ["campaign", "contains", "Sale"]] - : Connector-specific options like
options{"attribution_window": "7d_view,1d_click"}
检索实际数据。这是核心查询工具。
参数:
- (必填):平台ID
connector - (必填):账户ID列表
accounts - (必填):要检索的字段,例如
fields["campaign", "date", "spend", "clicks", "impressions"] - /
date_from:日期范围,格式为date_to"YYYY-MM-DD" - :快捷选项,例如
date_preset、"last_7d"、"last_30d"、"this_month""last_3m" - :筛选条件,例如
filters[["spend", "gt", 100], "and", ["campaign", "contains", "Sale"]] - :连接器特定选项,例如
options{"attribution_window": "7d_view,1d_click"}
Workflow Pattern
工作流模式
- Discover → Call to see what's connected
get_connectors - Explore → Call to see available fields for a connector
get_options - Understand → Call for field metadata if building typed interfaces
get_fields - Query → Call to pull the actual data
get_data
- 发现 → 调用查看已连接的平台
get_connectors - 探索 → 调用查看连接器的可用字段
get_options - 理解 → 若要构建类型化接口,调用获取字段元数据
get_fields - 查询 → 调用提取实际数据
get_data
Common Field Patterns
常见字段模式
Fields vary by connector type. Here are some common examples:
Marketing/Ads connectors: , , , , , , , , , , , , , ,
campaignadgroupaddatedevicecountryspendclicksimpressionsconversionsrevenuectrcpccpmroasCRM connectors: , , , , , ,
dealcontactcompanystageowneramountclose_dateEcommerce connectors: , , , , ,
order_idproductquantitypricecustomerstatusAlways check first since available fields vary by connector.
get_options字段因连接器类型而异。以下是一些常见示例:
营销/广告连接器: , , , , , , , , , , , , , ,
campaignadgroupaddatedevicecountryspendclicksimpressionsconversionsrevenuectrcpccpmroasCRM连接器: , , , , , ,
dealcontactcompanystageowneramountclose_date电商连接器: , , , , ,
order_idproductquantitypricecustomerstatus务必先查看,因为可用字段因连接器而异。
get_optionsTips
提示
- When building dashboards or charts, pull data with and write it to a local JSON/CSV file the app can read
get_data - For TypeScript projects, use to generate accurate type definitions
get_fields - Use for quick queries:
date_preset,"last_7d","last_30d""this_month" - Combine filters for focused queries:
[["spend", "gt", 0], "and", ["campaign", "ncontains", "test"]] - You can join data from different connectors (e.g. ad spend + CRM revenue) by pulling from each and merging in code
- 构建仪表盘或图表时,使用提取数据并写入本地JSON/CSV文件,供应用读取
get_data - 对于TypeScript项目,使用生成准确的类型定义
get_fields - 使用快速查询:
date_preset、"last_7d"、"last_30d""this_month" - 组合筛选条件实现精准查询:
[["spend", "gt", 0], "and", ["campaign", "ncontains", "test"]] - 可以通过分别提取不同连接器的数据并在代码中合并,来关联来自不同连接器的数据(例如广告支出 + CRM收入)