{"uid":"cap_XpOD3Qs2XhrROP93pcFOO","slug":"crm-record-grouper-2dedfafd","name":"CRM Record Grouper","description":"CRM Record grouper: Group JSON records by a selected field. Tailored for crm workflows.","url":"https://market.datapackvibe.com/x402/group-records-crm?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","default":"type"},"records":{"type":"array","items":{"type":"object"},"default":[{"type":"open","count":2},{"type":"closed","count":1}]}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2sYUTBGqqMe2TtdgMEQs6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Groups an array of CRM JSON records by a specified field key, returning the records organized into named groups.","exampleAgentPrompt":"Can you group these CRM records by their 'status' field? I have an array of deal objects and I want them bucketed by status value.","exampleUseCases":[{"title":"Grouping leads by pipeline stage","prompt":"I have a list of CRM lead records and I need them grouped by their 'stage' field — can you split them into buckets like 'prospecting', 'qualified', and 'closed'?"},{"title":"Segmenting contacts by account type","prompt":"Take these CRM contact records and group them by the 'account_type' field so I can see how many fall under 'enterprise', 'SMB', and 'startup'."},{"title":"Organizing open vs closed deals","prompt":"Group these deal records by the 'type' field so I can separate the open ones from the closed ones — here's the JSON array."}],"resultDescription":"Returns a dictionary/object where each key is a distinct value found in the specified grouping field, and each value is an array of the original CRM records that had that field value. This allows agents to quickly see how many records fall into each category and access the full record details per group.","failureModes":["Specified key field not present in any records — returns empty groups or error","Records array is empty — returns empty grouped object","Invalid JSON structure for records — returns parse or validation error","Key field has null or missing values in some records — those records may be grouped under a null/undefined bucket"],"whenToPreferThis":"Choose this endpoint when you have a flat array of CRM JSON records and need to partition them into named groups by a single field value without writing custom code. It is purpose-built for CRM workflows, making it ideal for segmenting deals, contacts, or leads by status, type, owner, or any categorical field before further processing or reporting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:48:13.104Z","isFirstParty":false,"canonicalSlug":"crm-record-grouper-2dedfafd"}