lfy-pipeline

Original🇨🇳 Chinese
Translated

Business opportunity query skill. It is applicable to searching business opportunity lists by keywords. Use this skill when users need to search for business opportunities by keywords.

5installs
Added on

NPX Install

npx skill4agent add 6fy/lfy-cli lfy-pipeline

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

Business Opportunity Query Skill

lfy-cli
is a command-line program provided by Lufenyi. All operations are completed by executing the
lfy-cli
command.
Interact with the business opportunity system via
lfy-cli pipeline <interface name> ' '
.

Notes

  • If
    keywords
    is empty, it may return errors or incomplete results
  • If
    errcode
    is not
    0
    or the returned format is abnormal, you need to inform the user of the error message
  • If the search result is empty, inform the user that no corresponding business opportunity is found
  • Technical fields such as
    pipeline_id
    and
    stage_id
    are not displayed by default

API List

Search Business Opportunities (search)

bash
lfy-cli pipeline search '{"keywords": "<keywords>"}'
Search for business opportunities by keyword, supporting fuzzy matching.
See API Details.

Get Business Opportunity Stage (get_sales_stage)

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

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:
  1. Extract keywords provided by the user
  2. Call the
    search
    command to search for business opportunities
  3. Filter business opportunities whose
    pipeline_name
    contains the keyword from the results
  4. If a unique match is found, display the result directly
  5. 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

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:
  1. Extract the
    gtm_id
    provided by the user
  2. Call the
    get_sales_stage
    command to get stage information
  3. Display the stage list information
Display result:
📋 Business opportunity stage information:
Stage NameMilestone GoalValue PropositionSuggested Days
<stage_name><milestone_goal><value_proposition><suggested_stage_days> days