/salesloft-pack:salesloft-core-workflow-afrom salesloft-pack
Manages SalesLoft people, cadences, and email steps via REST API. Automates prospect management, enrollment, and outbound sequences. Triggered by 'salesloft cadence', 'salesloft people', 'salesloft outbound sequence'.
Ships in salesloft-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The primary SalesLoft workflow: manage people records, build cadences (multi-step outbound sequences), and enroll prospects. Uses REST API v2 endpoints: /people.json, /cadences.json, /cadence_memberships.json, /steps.json.
salesloft-install-auth setupimport axios from 'axios';
const api = axios.create({
baseURL: 'https://api.salesloft.com/v2',
headers: { Authorization: `Bearer ${process.env.SALESLOFT_API_KEY}` },
});
// Search by email to avoid duplicates (supports array filter)
async function findOrCreatePerson(email: string, attrs: Record<string, any>) {
const { data: existing } = await api.get('/people.json', {
params: { email_addresses: [email] },
});
if (existing.data.length > 0) {
console.log(`Found existing: ${existing.data[0].id}`);
return existing.data[0];
}
const { data: created } = await api.post('/people.json', {
email_address: email, ...attrs,
});
console.log(`Created: ${created.data.id}`);
return created.data;
}
// List cadences -- filter by team_cadence, current_state
const { data: cadences } = await api.get('/cadences.json', {
params: { team_cadence: true, per_page: 50 },
});
// Each cadence has: id, name, current_state (draft|active|paused|archived)
// counts.people_count, cadence_framework_id, team_cadence
const activeCadences = cadences.data.filter(
(c: any) => c.current_state === 'active'
);
console.log(`Active cadences: ${activeCadences.length}`);
// Create a cadence membership to enroll a person
async function enrollInCadence(personId: number, cadenceId: number) {
try {
const { data } = await api.post('/cadence_memberships.json', {
person_id: personId,
cadence_id: cadenceId,
});
console.log(`Enrolled person ${personId} in cadence ${data.data.cadence.name}`);
return data.data;
} catch (err: any) {
if (err.response?.status === 422) {
console.warn('Person already enrolled or cadence not active');
}
throw err;
}
}
// Import a CSV of prospects and enroll in a cadence
async function bulkEnroll(prospects: Array<{ email: string; name: string }>, cadenceId: number) {
const results = { enrolled: 0, skipped: 0, errors: 0 };
for (const prospect of prospects) {
try {
const [first, ...rest] = prospect.name.split(' ');
const person = await findOrCreatePerson(prospect.email, {
first_name: first, last_name: rest.join(' '),
});
await enrollInCadence(person.id, cadenceId);
results.enrolled++;
} catch {
results.errors++;
}
}
return results; // { enrolled: 47, skipped: 2, errors: 1 }
}
Found existing: 1234
Created: 5678
Enrolled person 5678 in cadence Q1 Outbound
Active cadences: 3
Bulk result: { enrolled: 47, skipped: 2, errors: 1 }
| Error | Cause | Solution |
|---|---|---|
422 on create person | Missing email_address | Required field |
422 on enrollment | Person already in cadence | Check memberships first |
404 cadence | Cadence archived or deleted | Verify cadence current_state |
429 bulk import | Rate limit (600 cost/min) | Add delay between batches |
For activity tracking and email analytics, see salesloft-core-workflow-b.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
salesloft, cadences, prospect-management, outbound-sales, enrollment
18 skills in this plugin
/salesloft-ci-integrationSet up CI/CD pipelines for SalesLoft integrations with GitHub Actions.
Use when automating SalesLoft integration tests, validating OAuth tokens,
or running cadence sync validation in CI.
Trigger: "salesloft CI", "salesloft GitHub Actions", "salesloft automated tests".
/salesloft-common-errorsDiagnose and fix SalesLoft API errors: 401, 403, 422, 429, and 5xx.
Use when encountering SalesLoft errors, debugging failed requests,
or troubleshooting OAuth token issues.
Trigger: "salesloft error", "fix salesloft", "salesloft not working", "salesloft 429".
/salesloft-npx claudepluginhub flight505/skill-forge --plugin salesloft-packOther plugins' skills for the same job