| name | instantly-core-workflow-a |
| description | Build and launch an Instantly.ai cold email campaign end-to-end.
Use when creating campaigns, adding leads, configuring sequences,
and launching outreach via the Instantly API v2.
Trigger with phrases like "instantly campaign", "launch instantly campaign",
"create instantly outreach", "instantly cold email", "instantly send campaign".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep |
| version | 1.12.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","instantly","workflow","campaigns","cold-email"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Instantly Core Workflow A: Campaign Launch Pipeline
Overview
Build the core Instantly outreach pipeline: create a campaign with email sequences, add leads with personalization, assign sending accounts, and launch. This is the primary money-path workflow for cold email outreach via Instantly API v2.
Prerequisites
- Completed
instantly-install-auth setup
- At least one warmed-up email account in Instantly
- Lead data (CSV or programmatic) with email + first name at minimum
- API key with
campaigns:all and leads:all scopes
Instructions
Step 1: Create a Campaign with Sequences
import { instantly } from "./src/instantly";
interface CreateCampaignPayload {
name: string;
campaign_schedule: {
start_date: string;
end_date?: string;
schedules: Array<{
name: string;
timing: { from: string; to: string };
days: Record<string, boolean>;
timezone: string;
}>;
};
sequences: Array<{
steps: Array<{
type: "email";
delay: number;
delay_unit?: "minutes" | "hours" | ;
: <{ : ; : }>;
}>;
}>;
?: ;
?: ;
?: ;
?: ;
?: ;
?: ;
}
() {
: = {
: ,
: {
: ,
: [
{
: ,
: { : , : },
: { : , : , : , : , : , : , : },
: ,
},
],
},
: [
{
: [
{
: ,
: ,
: [
{
: ,
: ,
},
{
: ,
: ,
},
],
},
{
: ,
: ,
: ,
: [
{
: ,
: ,
},
],
},
{
: ,
: ,
: ,
: [
{
: ,
: ,
},
],
},
],
},
],
: ,
: ,
: ,
: ,
: ,
: ,
};
campaign = instantly<{ : ; : ; : }>(
,
{ : , : .(payload) }
);
.();
campaign;
}