salesloft-core-workflow-a
Manage 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".
Best use case
salesloft-core-workflow-a is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Manage 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".
Teams using salesloft-core-workflow-a should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/salesloft-core-workflow-a/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How salesloft-core-workflow-a Compares
| Feature / Agent | salesloft-core-workflow-a | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Manage 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".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
AI Agent for Cold Email Generation
Discover AI agent skills for cold email generation, outreach copy, lead personalization, CRM support, and sales-adjacent messaging workflows.
SKILL.md Source
# SalesLoft Core Workflow A: People & Cadences
## Overview
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`.
## Prerequisites
- Completed `salesloft-install-auth` setup
- Understanding of SalesLoft cadence model (cadences contain steps, people are enrolled via memberships)
## Instructions
### Step 1: Search and Deduplicate People
```typescript
import 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;
}
```
### Step 2: List and Select Cadences
```typescript
// 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}`);
```
### Step 3: Enroll Person in Cadence
```typescript
// 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;
}
}
```
### Step 4: Bulk Import with Cadence Assignment
```typescript
// 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 }
}
```
## Output
```
Found existing: 1234
Created: 5678
Enrolled person 5678 in cadence Q1 Outbound
Active cadences: 3
Bulk result: { enrolled: 47, skipped: 2, errors: 1 }
```
## Error Handling
| 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 |
## Resources
- [List People](https://developers.salesloft.com/docs/api/people-index/)
- [List Cadences](https://developers.salesloft.com/docs/api/cadences-index/)
- [Cadence Memberships](https://developers.salesloft.com/docs/api/1.0/public-api-v-1-person-cadence-memberships-index/)
- [Cadence Imports](https://developers.salesloft.com/docs/platform/cadence-imports/introduction/)
## Next Steps
For activity tracking and email analytics, see `salesloft-core-workflow-b`.Related Skills
calendar-to-workflow
Converts calendar events and schedules into Claude Code workflows, meeting prep documents, and standup notes. Use when the user mentions calendar events, meeting prep, standup generation, or scheduling workflows. Trigger with phrases like "prep for my meetings", "generate standup notes", "create workflow from calendar", or "summarize today's schedule".
workhuman-core-workflow-b
Workhuman core workflow b for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow b".
workhuman-core-workflow-a
Workhuman core workflow a for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow a".
wispr-core-workflow-b
Wispr Flow core workflow b for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow b".
wispr-core-workflow-a
Wispr Flow core workflow a for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow a".
windsurf-core-workflow-b
Execute Windsurf's secondary workflow: Workflows, Memories, and reusable automation. Use when creating reusable Cascade workflows, managing persistent memories, or automating repetitive development tasks. Trigger with phrases like "windsurf workflow", "windsurf automation", "windsurf memories", "cascade workflow", "windsurf slash command".
windsurf-core-workflow-a
Execute Windsurf's primary workflow: Cascade Write mode for multi-file agentic coding. Use when building features, refactoring across files, or performing complex code tasks. Trigger with phrases like "windsurf cascade write", "windsurf agentic coding", "windsurf multi-file edit", "cascade write mode", "windsurf build feature".
webflow-core-workflow-b
Execute Webflow secondary workflows — Sites management, Pages API, Forms submissions, Ecommerce (products/orders/inventory), and Custom Code via the Data API v2. Use when managing sites, reading pages, handling form data, or working with Webflow Ecommerce products and orders. Trigger with phrases like "webflow sites", "webflow pages", "webflow forms", "webflow ecommerce", "webflow products", "webflow orders".
webflow-core-workflow-a
Execute the primary Webflow workflow — CMS content management: list collections, CRUD items, publish items, and manage content lifecycle via the Data API v2. Use when working with Webflow CMS collections and items, managing blog posts, team members, or any dynamic content. Trigger with phrases like "webflow CMS", "webflow collections", "webflow items", "create webflow content", "manage webflow CMS", "webflow content management".
veeva-core-workflow-b
Veeva Vault core workflow b for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow b".
veeva-core-workflow-a
Veeva Vault core workflow a for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow a".
vastai-core-workflow-b
Execute Vast.ai secondary workflow: multi-instance orchestration, spot recovery, and cost optimization. Use when running distributed training, handling spot preemption, or optimizing GPU spend across multiple instances. Trigger with phrases like "vastai distributed training", "vastai spot recovery", "vastai multi-gpu", "vastai cost optimization".