instantly-deploy-integration
Deploy Instantly integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Instantly-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy instantly", "instantly Vercel", "instantly production deploy", "instantly Cloud Run", "instantly Fly.io".
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- instantly-deploy-integration
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Deploy Instantly integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Instantly-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy instantly", "instantly Vercel", "instantly production deploy", "instantly Cloud Run", "instantly Fly.io".
- allowed-tools
- Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*)
- compatible-with
- claude-code, codex, openclaw
03 SKILL.md 正文
Instantly Deploy Integration
Overview
Deploy applications integrating with Instantly's email outreach API. Covers deploying webhook receivers for email engagement events, campaign management endpoints, and CRM sync services with proper API credential management.
Prerequisites
- Instantly API key stored in
INSTANTLY_API_KEYenvironment variable - Application with webhook endpoint for email events
- Platform CLI installed (vercel, docker, or gcloud)
Instructions
Step 1: Configure Secrets
# Vercel
vercel env add INSTANTLY_API_KEY production
vercel env add INSTANTLY_WEBHOOK_SECRET production
# Docker
echo "INSTANTLY_API_KEY=your-key" >> .env.production
Step 2: Deploy Campaign Management API
// api/campaigns.ts
export async function GET() {
const response = await fetch("https://api.instantly.ai/api/v1/campaigns", {
headers: { "Authorization": `Bearer ${process.env.INSTANTLY_API_KEY}` },
});
return Response.json(await response.json());
}
export async function POST(req: Request) {
const { name, sendingAccounts, schedule } = await req.json();
const response = await fetch("https://api.instantly.ai/api/v1/campaigns", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.INSTANTLY_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ name, sending_accounts: sendingAccounts, schedule }),
});
return Response.json(await response.json());
}
Step 3: Webhook Receiver Deployment
// api/webhooks/instantly.ts
export async function POST(req: Request) {
const apiKey = req.headers.get("x-api-key");
if (apiKey !== process.env.INSTANTLY_WEBHOOK_SECRET) {
return Response.json({ error: "Unauthorized" }, { status: 401 }); # HTTP 401 Unauthorized
}
const { event_type, data } = await req.json();
switch (event_type) {
case "email.replied":
await syncReplyToCRM(data);
break;
case "email.bounced":
await handleBounce(data);
break;
}
return Response.json({ received: true });
}
Step 4: Docker Deployment
FROM node:20-slim
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build
EXPOSE 3000 # 3000: 3 seconds in ms
CMD ["node", "dist/index.js"]
Step 5: Health Check
export async function GET() {
try {
const response = await fetch("https://api.instantly.ai/api/v1/campaigns?limit=1", {
headers: { "Authorization": `Bearer ${process.env.INSTANTLY_API_KEY}` },
});
return Response.json({ status: response.ok ? "healthy" : "degraded" });
} catch {
return Response.json({ status: "unhealthy" }, { status: 503 }); # HTTP 503 Service Unavailable
}
}
Error Handling
| Issue | Cause | Solution |
|---|---|---|
| API auth failure | Invalid key | Regenerate in Instantly dashboard |
| Webhook not received | URL unreachable | Verify HTTPS endpoint accessibility |
| Campaign not sending | Account warming | Check sending account warmup status |
| Rate limited | Too many API calls | Implement request throttling |
Examples
Basic usage: Apply instantly deploy integration to a standard project setup with default configuration options.
Advanced scenario: Customize instantly deploy integration for production environments with multiple constraints and team-specific requirements.
Resources
Next Steps
For webhook handling, see instantly-webhooks-events.
Output
- Configuration files or code changes applied to the project
- Validation report confirming correct implementation
- Summary of changes made and their rationale
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.