List Opportunities
affinity_list_opportunitiesRetrieve a list of opportunities from Affinity CRM, including IDs, names, and list IDs. Use this to discover deals or fundraising leads for further detail retrieval.
Instructions
List opportunities from Affinity CRM.
Opportunities represent deals, fundraising leads, or other tracked items that belong to opportunity-type lists.
Returns (JSON): { "data": [ { "id": number, // Opportunity ID "name": string, // Opportunity name "listId": number // The list this opportunity belongs to } ], "count": number, // Items in response "hasMore": boolean, // More results available "nextCursor": string|null, // Pagination cursor "summary": string // Human-readable summary }
Important Notes:
Opportunities only return basic info (id, name, listId)
To get field data (Status, Amount, etc.), use affinity_get_list_entries with the listId
Example workflow:
Call affinity_list_opportunities to find opportunities
Use the listId to call affinity_get_list_entries with fieldTypes: ["list"] to get field values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Filter by specific opportunity IDs. Example: [87195214] | |
| limit | No | Number of opportunities to return per page. Default: 100, Max: 100 | |
| cursor | No | Pagination cursor from previous response (pagination.nextPageToken) | |
| responseFormat | No | Output format: "json" for structured data or "markdown" for human-readable. Default: "json" |