/salesloft-pack:salesloft-hello-worldfrom salesloft-pack
Lists people and creates a person via the SalesLoft REST API v2. Useful when starting a new SalesLoft integration, testing setup, or learning the People and Cadences API patterns.
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.
List people and create a new person — the two fundamental SalesLoft API operations. Uses the REST API v2 at https://api.salesloft.com/v2/. All endpoints return JSON with a data wrapper and support pagination via page and per_page params.
salesloft-install-auth)SALESLOFT_API_KEY environment variable setimport axios from 'axios';
const api = axios.create({
baseURL: 'https://api.salesloft.com/v2',
headers: { Authorization: `Bearer ${process.env.SALESLOFT_API_KEY}` },
});
// List people — returns paginated results
const { data } = await api.get('/people.json', {
params: { per_page: 25, page: 1 },
});
console.log(`Total people: ${data.metadata.paging.total_count}`);
data.data.forEach((person: any) => {
console.log(` ${person.display_name} <${person.email_address}>`);
});
// Create a new person record
const { data: created } = await api.post('/people.json', {
email_address: '[email protected]',
first_name: 'Alex',
last_name: 'Johnson',
title: 'VP Engineering',
company_name: 'Acme Corp',
phone: '+1-555-0100',
city: 'Austin',
state: 'TX',
custom_fields: {
lead_source: 'website',
},
});
console.log(`Created person: ${created.data.id} — ${created.data.display_name}`);
// First, list available cadences
const { data: cadences } = await api.get('/cadences.json', {
params: { per_page: 10 },
});
const cadenceId = cadences.data[0].id;
// Add person to cadence
const { data: membership } = await api.post('/cadence_memberships.json', {
person_id: created.data.id,
cadence_id: cadenceId,
});
console.log(`Added to cadence: ${membership.data.cadence.name}`);
Total people: 1,247
Alex Johnson <[email protected]>
Created person: 98765 — Alex Johnson
Added to cadence: Q1 Outbound Sequence
| Error | Cause | Solution |
|---|---|---|
422 Unprocessable Entity | Missing required field (email) | Ensure email_address is provided |
409 Conflict | Duplicate email address | Search existing people first with ?email_addresses[]= |
401 Unauthorized | Invalid/expired token | Refresh OAuth token |
429 Too Many Requests | Rate limit exceeded (600 cost/min) | Back off and retry after Retry-After header |
const { data } = await api.get('/people.json', {
params: { email_addresses: ['[email protected]'] },
});
await api.put(`/people/${personId}.json`, {
title: 'CTO',
company_name: 'New Corp',
});
const { data: activities } = await api.get('/activities/emails.json', {
params: { person_id: personId, per_page: 50 },
});
Proceed to salesloft-local-dev-loop for development workflow setup.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flight505/skill-forge --plugin salesloft-pack18 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-core-workflow-aManage SalesLoft people, cadences, and email steps via the REST API.
Use when building prospect management, enrolling people in cadences,
or automating outbound sales sequences.
Trigger: "salesloft cadence", "salesloft people", "salesloft outbound sequence".
/salesloft-core-workflow-bTrack SalesLoft activities, emails, calls, and analytics via the REST API.
Use when reading email engagement data, logging call dispositions,
or building sales activity dashboards.
Trigger: "salesloft activities", "salesloft emails", "salesloft calls", "salesloft analytics".
/salesloft-cost-tuningOptimize SalesLoft API costs by reducing request volume and deep pagination.
Use when analyzing API usage, reducing rate limit consumption,
or planning capacity for bulk operations.
Trigger: "salesloft cost", "salesloft billing", "reduce salesloft API usage".
/salesloft-debug-bundleCollect SalesLoft debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic info for SalesLoft API problems.
Trigger: "salesloft debug", "salesloft diagnostic", "salesloft support bundle".
Other plugins' skills for the same job