Install
openclaw skills install salesforce-api-integrationComplete Salesforce REST API for SOQL queries, CRUD operations, Bulk API, Composite API, authentication, and standard objects with error handling.
openclaw skills install salesforce-api-integrationComplete Salesforce REST API reference. See auxiliary files for detailed operations.
curl "$SF_INSTANCE_URL/services/data/v59.0/sobjects/" \
-H "Authorization: Bearer $SF_ACCESS_TOKEN"
On first use, read setup.md. Preferences stored in ~/salesforce-api-integration/memory.md.
Any Salesforce operation: SOQL queries, record CRUD, bulk imports/exports, metadata, composite requests.
~/salesforce-api-integration/
├── memory.md # Org context and object schemas
└── queries.md # Saved SOQL queries
| Topic | File |
|---|---|
| Setup and authentication | setup.md, memory-template.md |
| SOQL queries and search | soql.md |
| Records: create, read, update, delete | records.md |
| Standard objects reference | objects.md |
| Bulk API 2.0 for large datasets | bulk.md |
| Composite and batch requests | composite.md |
| Metadata and schema | metadata.md |
| Error handling | errors.md |
Authorization: Bearer $SF_ACCESS_TOKENhttps://yourorg.my.salesforce.com/services/data/v59.0/ (or newer)Account, Contact__c (custom objects end in __c)nextRecordsUrl for results over 2000Required environment variables:
SF_ACCESS_TOKEN - OAuth access token for API callsSF_INSTANCE_URL - Your Salesforce instance (e.g., https://yourorg.my.salesforce.com)# All requests require these headers
curl "$SF_INSTANCE_URL/services/data/v59.0/..." \
-H "Authorization: Bearer $SF_ACCESS_TOKEN" \
-H "Content-Type: application/json"
Account.Name not AccountId.Name| Endpoint | Purpose |
|---|---|
https://*.my.salesforce.com/services/data/* | REST API |
https://*.my.salesforce.com/services/async/* | Bulk API |
https://login.salesforce.com/services/oauth2/* | OAuth (production) |
https://test.salesforce.com/services/oauth2/* | OAuth (sandbox) |
Environment variables used:
SF_ACCESS_TOKEN - for API authenticationSF_INSTANCE_URL - for API endpoint routingSent to Salesforce: Queries, record data via your instance URL Stays local: Access token (in environment variable only), ~/salesforce-api-integration/ preferences Never: Store tokens in files, log sensitive data, bypass field-level security
This skill ONLY:
~/salesforce-api-integration/This skill NEVER:
~/salesforce-api-integration/By using this skill, data is sent to Salesforce (salesforce.com). Only install if you trust Salesforce with your CRM data.
Install with clawhub install <slug> if user confirms:
api — REST API patternscrm — CRM workflowsaccounting — Financial operationsclawhub star salesforce-api-integrationclawhub sync