salesloft-hello-world

Featured

Create a minimal working SalesLoft example — list people and create a person. Use when starting a new SalesLoft integration, testing your setup, or learning the People and Cadences API patterns. Trigger: "salesloft hello world", "salesloft example", "salesloft quick start".

AI & Automation 2,944 stars 440 forks Updated today 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

# SalesLoft Hello World ## Overview 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. ## Prerequisites - Valid OAuth token or API key (see `salesloft-install-auth`) - `SALESLOFT_API_KEY` environment variable set ## Instructions ### Step 1: List People ```typescript import 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}>`); }); ``` ### Step 2: Create a Person ```typescript // Create a new person record const { data: created } = await api.post('/people.json', { email_address: 'prospect@example.com', 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}`); ``` ### Step 3: Add Person to a Cadence ```typescript // First, lis...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category