lfy-pipeline
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese商机查询技能
Business Opportunity Query Skill
是陆份仪提供的命令行程序,所有操作通过执行lfy-cli命令完成。lfy-cli
通过 与商机系统交互。
lfy-cli pipeline <接口名> ' 'is a command-line program provided by Lufenyi. All operations are completed by executing thelfy-clicommand.lfy-cli
Interact with the business opportunity system via .
lfy-cli pipeline <interface name> ' '注意事项
Notes
- 为空时可能返回错误或不完整结果
keywords - 若 不为
errcode或返回格式异常,需告知用户错误信息0 - 若搜索结果为空,告知用户未找到对应商机
- 、
pipeline_id等技术字段默认不展示stage_id
- If is empty, it may return errors or incomplete results
keywords - If is not
errcodeor the returned format is abnormal, you need to inform the user of the error message0 - If the search result is empty, inform the user that no corresponding business opportunity is found
- Technical fields such as and
pipeline_idare not displayed by defaultstage_id
接口列表
API List
搜索商机 (search)
Search Business Opportunities (search)
bash
lfy-cli pipeline search '{"keywords": "<keywords>"}'按关键字搜索商机,支持模糊匹配。
参见 API 详情。
bash
lfy-cli pipeline search '{"keywords": "<keywords>"}'Search for business opportunities by keyword, supporting fuzzy matching.
See API Details.
获取商机阶段 (get_sales_stage)
Get Business Opportunity Stage (get_sales_stage)
bash
lfy-cli pipeline get_sales_stage '{"gtm_id": <gtm_id>}'根据 GTM ID 获取商机阶段列表,包括阶段名称、里程碑目标、价值主张等信息。
参见 API 详情。
bash
lfy-cli pipeline get_sales_stage '{"gtm_id": <gtm_id>}'Get the list of business opportunity stages based on GTM ID, including stage name, milestone goal, value proposition and other information.
See API Details.
典型工作流
Typical Workflow
搜索商机
Search for Business Opportunities
经典 query 示例:
- "帮我搜索一下'科技'相关的商机"
- "找一下包含'未来'的商机"
- "搜索关键字为'成都'的商机有哪些?"
流程:
- 提取用户提供的关键字
- 调用 命令搜索商机
search - 在结果中筛选 包含关键字的商机
pipeline_name - 若找到唯一匹配,直接展示结果
- 若找到多个匹配,最多展示前10个,并告知用户如果需要精准匹配请提供更具体的商机名称
展示结果:
📇 为您找到 1 个商机:<pipeline_name>
找不到时:
没有匹配到包含"<keywords>"的商机,请尝试更具体的方式问我,比如:"帮我搜索一下'科技'相关的商机"。Classic query examples:
- "Help me search for business opportunities related to 'technology'"
- "Find business opportunities that include 'future'"
- "What are the business opportunities with the keyword 'Chengdu'?"
Process:
- Extract keywords provided by the user
- Call the command to search for business opportunities
search - Filter business opportunities whose contains the keyword from the results
pipeline_name - If a unique match is found, display the result directly
- If multiple matches are found, display the first 10 at most, and inform the user to provide a more specific business opportunity name if precise matching is required
Display result:
📇 1 business opportunity found for you: <pipeline_name>
When no result is found:
No business opportunities containing "<keywords>" are matched. Please try asking me in a more specific way, for example: "Help me search for business opportunities related to 'technology'".获取商机阶段
Get Business Opportunity Stage
经典 query 示例:
- "帮我查一下这个商机的阶段信息"
- "获取商机阶段"
- "这个商机进行到哪一步了"
流程:
- 提取用户提供的
gtm_id - 调用 命令获取阶段信息
get_sales_stage - 展示阶段列表信息
展示结果:
📋 商机阶段信息:
| 阶段名称 | 里程碑目标 | 价值主张 | 建议天数 |
|---|---|---|---|
| <stage_name> | <milestone_goal> | <value_proposition> | <suggested_stage_days>天 |
Classic query examples:
- "Help me check the stage information of this business opportunity"
- "Get business opportunity stage"
- "What step is this business opportunity at?"
Process:
- Extract the provided by the user
gtm_id - Call the command to get stage information
get_sales_stage - Display the stage list information
Display result:
📋 Business opportunity stage information:
| Stage Name | Milestone Goal | Value Proposition | Suggested Days |
|---|---|---|---|
| <stage_name> | <milestone_goal> | <value_proposition> | <suggested_stage_days> days |