Loading...
Loading...
Retrieve yourself, customers, customer business records, customer opportunities, customer contacts, leads, opportunities, tags, and users, and initiate queries via scripts.
npx skill4agent add r-earth-or/lcrm_skills lcrm-searchnode scripts/search.mjs <action> [options]node scripts/request.mjs ...LCRM_API_KEYLCRM_BASE_URLhttps://crm.langcore.netmeuserssales-presales-userstagssearch.mjsGET /api/customerscustomerType[]Direct CustomerPartnercustomerSource[]Self-developed LeadCompany-assignedcustomerStatus[]Potential CustomerFollow-up CustomerBusiness Opportunity CustomerCooperative CustomerInvalid Customerregion[]ShanghaiBeijingSouth ChinaEast ChinaOverseasOtherGET /api/opportunities/liststatusDemand GuidanceCustomer Project InitiationCustomer SelectionCustomer ClosedOpportunity FailedGET /api/leadsstatus[]Pending ProcessingFollowed UpConvertedclassification[]CompanyMarketingSalessource[]sourceOfficial ChannelSelf-hosted EventThird-party EventMarketing ListAcquaintance ReferralEcosystem PartnerSales Self-developedtags[]tags[]followUpTypeWeChatPhone CallOnline MeetingEmailOn-site VisitBusiness EventOtherGET /api/tagscategoryLEADnode scripts/search.mjs meGET /api/auth/menode scripts/search.mjs customers --company-name "<customer name>" --limit 5node scripts/search.mjs customers --query 'customerStatus[]=Follow-up Customer' --query 'region[]=East China'node scripts/search.mjs customers --query 'followUpSalesId[]=<public pool user ID>'node scripts/search.mjs customers --query 'followUpSalesId[]=<my user ID>'node scripts/search.mjs customer-business-records --customer-id "<customerId>"node scripts/search.mjs business-records --recorder-id "<userId>"node scripts/search.mjs business-records --recorder-id "<userId>" --start-date 2026-02-12 --end-date 2026-02-12node scripts/search.mjs business-records --lead-id "<leadId>"node scripts/search.mjs business-records --opportunity-id "<opportunityId>"node scripts/search.mjs business-records --customer-id "<id>" --query limit=10node scripts/search.mjs business-records --start-date 2026-02-01 --end-date 2026-02-28node scripts/search.mjs customers --company-name "<customer name>" --limit 5node scripts/search.mjs customer-opportunities --customer-id "<customerId>"node scripts/search.mjs customer-opportunities --customer-name "<customer name>"node scripts/search.mjs customer-contacts --customer-id "<customerId>"node scripts/search.mjs leads --query keyword="<keyword>" --query limit=20node scripts/search.mjs leads --query 'status[]=Followed Up' --query 'classification[]=Sales' --query mine=truenode scripts/search.mjs leads --query 'tags[]=Key Customer' --query 'tags[]=AI'node scripts/search.mjs leads --query publicOnly=truenode scripts/search.mjs leads --query mine=truenode scripts/search.mjs opportunities --query customerName="<customer name>" --query status=Demand Guidance,Customer Project Initiationnode scripts/search.mjs opportunities --query minAmount=100000 --query maxAmount=500000 --query startDate=2026-02-01 --query endDate=2026-03-31node scripts/search.mjs users --search "<name or email keyword>" --limit 20node scripts/search.mjs sales-presales-users --search "<name or email keyword>"node scripts/search.mjs tagsnode scripts/search.mjs tags --category LEADnode scripts/search.mjs tags --category LEAD --search "<keyword>"node scripts/search.mjs notifications --status activenode scripts/search.mjs notifications --status historynode scripts/search.mjs notifications --category LEAD_TIMEOUT --status activenode scripts/search.mjs notifications --page 2 --limit 20node scripts/search.mjs presales-itineraries --start-date 2026-02-10 --end-date 2026-02-16node scripts/search.mjs presales-itineraries --user-id <userId> --start-date 2026-02-10 --end-date 2026-02-16node scripts/search.mjs presales-itineraries --opportunity-id <opportunityId>ownerIdnode scripts/search.mjs leads --query publicOnly=truenode scripts/search.mjs leads --query mine=truePUBLIC_POOL_USER_EMAILfollowUpSalesIdnode scripts/search.mjs customers --query 'followUpSalesId[]=<public pool user ID>'node scripts/search.mjs customers --query 'followUpSalesId[]=<my user ID>'# 1. Query yourself to get system configuration
node scripts/search.mjs me
# 2. Use the public pool user email to query the user ID
node scripts/search.mjs users --search "<public pool user email>"id/name/email/rolesid/companyName/customerStatus/followUpSales/_countrecordTime/followUpType/contactedPerson/descriptionid/name/status/amount/estimatedCloseDate/customername/phone/position/rolesid/companyName/status/classification/owner/importedAtid/name/category/description/sortOrder/isActiveid/name/email/roles/createdAtid/category/title/message/status/isRead/createdAtid/title/startTime/endTime/tripType/deliveryMode/status/opportunity/customer