salesforce-core-workflow-a

Featured

Execute Salesforce CRUD operations on standard sObjects with SOQL and REST API. Use when creating, reading, updating, or deleting Accounts, Contacts, Leads, or Opportunities via the Salesforce API. Trigger with phrases like "salesforce CRUD", "salesforce create record", "salesforce update account", "salesforce SOQL query", "salesforce REST API".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Salesforce Core Workflow A — CRUD & SOQL ## Overview Primary workflow: perform CRUD operations on standard sObjects (Account, Contact, Lead, Opportunity) using SOQL queries, jsforce methods, and REST API endpoints. ## Prerequisites - Completed `salesforce-install-auth` setup - jsforce installed and connection configured - Understanding of Salesforce sObject model ## Instructions ### Step 1: SOQL Queries (Read Operations) ```typescript import { getConnection } from './salesforce/connection'; const conn = await getConnection(); // Basic query — all open opportunities closing this quarter const opps = await conn.query(` SELECT Id, Name, Amount, StageName, CloseDate, Account.Name FROM Opportunity WHERE IsClosed = false AND CloseDate = THIS_QUARTER ORDER BY Amount DESC LIMIT 50 `); // Relationship query — Accounts with their Contacts const accountsWithContacts = await conn.query(` SELECT Id, Name, Industry, (SELECT Id, FirstName, LastName, Email FROM Contacts) FROM Account WHERE Industry = 'Technology' LIMIT 20 `); // Aggregate query const revByIndustry = await conn.query(` SELECT Industry, COUNT(Id) numAccounts, SUM(AnnualRevenue) totalRevenue FROM Account WHERE Industry != null GROUP BY Industry ORDER BY SUM(AnnualRevenue) DESC `); // SOSL search — full-text search across objects const searchResults = await conn.search( `FIND {Acme} IN ALL FIELDS RETURNING Account(Id, Name, Industry), Contact(Id, FirstName, LastName, Emai...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category