PipedreamHQ / PipedreamHQ/pipedream

affinity: AI-optimize MCP action set

Open
#21,531 2 comments 0 reactions 0 assignees View on GitHub
action enhancement paid-account-needed triaged x-pd-ai
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

Affinity today has no actions at all — the integration only has account auth wired up. An agent can't read or write anything in the CRM: no contacts, no organizations, no deal pipeline. We'd like a full action set built from scratch so an agent can work with the core CRM objects, and so each tool is easy for an agent to configure.

A few things an agent can't do today, for example:
- Create, get, update, or list persons (contacts)
- Create, get, update, or list organizations
- Create, get, update, or list opportunities (deals)
- Add or remove entries from a list

**API reference:** https://api-docs.affinity.co/

**Add marker:**
When a component is AI-optimized, add this as the first line of the file:
```
// x-pd-ai: optimized
```
Add it to each action file and to the app's `.mjs` file.

Contributor guide

Open the contributing guide

Research direction

Start with the existing Affinity integration and its authentication entry point, then use the Affinity API reference to map the CRM objects and list operations. Add action files for persons, organizations, opportunities, and list membership, plus the app's .mjs file, with the required marker. Done means the listed create, get, update, list, add, and remove operations are available and each relevant file is marked.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.