salesforce-api: Salesforce CRM access through managed OAuth
The salesforce skill lets an agent query and change Salesforce CRM data through the maton CLI, over a managed OAuth connection to the user's Salesforce account. It is for Salesforce administration, and it can change CRM records, so each write needs the user's approval. It also explains how to turn an approved Salesforce read into a hosted function that a trigger can run on a schedule.
What problem this skill solves
Working with Salesforce usually means setting up OAuth, handling tokens and building API paths by hand. This skill sends calls through the maton CLI. The user signs in once, and the credential is stored in the operating system's credential store.
Without limits, an agent could read more Salesforce data than a task needs, or change records by mistake. The skill starts with read and list calls and asks the user to confirm every write and every new connection. It also tells the user to choose the narrowest Salesforce permissions and to prefer sandbox orgs for destructive or batch work.
Good for
- Querying Salesforce records with SOQL
- Reading or listing sObjects in a sandbox org
- Creating, updating or deleting specific records after the user approves them
Not for
- Calling other third-party apps (use the api-gateway skill instead)
- Reading Salesforce events through a trigger, since Salesforce is not an event source
Trend
Growth slowing- Daily downloads, last 30 days
- 10
- Daily downloads, last 30 days vs the 30 days before
- -41.2%
How this skill works
- 1Sign in once with `maton login`, then check the session with `maton whoami --json`.
- 2After the user approves, create or select a Salesforce connection, and check the `connection_id` before each request.
- 3Run read and list calls such as `maton salesforce object list`, adding `--connection` when there is more than one connection.
- 4Before any write, confirm the exact sObject, record IDs and consequence with the user.
- 5To automate an approved read, wrap it in a hosted function deployed with `--network-policy DENY_ALL`, then run it on a schedule with a trigger.
- 6When the task is finished, delete connections and functions that are no longer needed, after the user confirms them.
Are you the author of this skill? Add its rank to your GitHub repo
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/clawhub/salesforce-api)