salesforce
Installation
SKILL.md
Salesforce
Query and manage CRM data via the Salesforce REST API.
Environment Variables
SALESFORCE_INSTANCE_URL- Instance URL (e.g.https://myorg.my.salesforce.com)SALESFORCE_ACCESS_TOKEN- OAuth access token
Query records (SOQL)
curl -s -H "Authorization: Bearer $SALESFORCE_ACCESS_TOKEN" \
"$SALESFORCE_INSTANCE_URL/services/data/v59.0/query?q=$(python3 -c "import urllib.parse; print(urllib.parse.quote('SELECT Id, Name, Industry FROM Account LIMIT 10'))")" | jq '.records[] | {Id, Name, Industry}'