/lindy-pack:lindy-deploy-integrationfrom lindy-pack
Deploys webhook receivers, callback handlers, and application code that integrate with Lindy AI agents. Covers Docker, Vercel, and other platforms.
Ships in lindy-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.
Read when SKILL.md points to them.
Lindy agents run on Lindy's managed infrastructure. Deployment focuses on your integration layer: webhook receivers, callback handlers, and application code that Lindy agents interact with via HTTP Request actions and webhook triggers.
// src/server.ts — Production-ready Lindy webhook receiver
import express from 'express';
import helmet from 'helmet';
const app = express();
app.use(helmet());
app.use(express.json({ limit: '1mb' }));
// Health check for load balancer
app.get('/health', (req, res) => {
res.json({
status: 'ok',
timestamp: new Date().toISOString(),
version: process.env.APP_VERSION || 'unknown',
});
});
// Lindy webhook receiver with auth verification
app.post('/lindy/callback', (req, res) => {
const auth = req.headers.authorization;
if (auth !== `Bearer ${process.env.LINDY_CALLBACK_SECRET}`) {
return res.status(401).json({ error: 'Unauthorized' });
}
// Respond immediately, process async
res.json({ received: true });
// Async processing
processWebhook(req.body).catch(err => {
console.error('Webhook processing error:', err);
});
});
async function processWebhook(payload: any) {
const { taskId, status, result } = payload;
// Your business logic here
console.log(`Task ${taskId}: ${status}`, result);
}
const PORT = process.env.PORT || 3000;
app.listen(PORT, () => console.log(`Listening on :${PORT}`));
# Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
COPY dist/ ./dist/
EXPOSE 3000
ENV NODE_ENV=production
HEALTHCHECK --interval=30s --timeout=3s \
CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "dist/server.js"]
# Build and run
docker build -t lindy-integration .
docker run -d \
-p 3000:3000 \
-e LINDY_CALLBACK_SECRET="$LINDY_CALLBACK_SECRET" \
--name lindy-app \
lindy-integration
# Install Vercel CLI
npm i -g vercel
# Set secrets
vercel secrets add lindy-callback-secret "$LINDY_CALLBACK_SECRET"
# Deploy
vercel --prod
// vercel.json
{
"env": {
"LINDY_CALLBACK_SECRET": "@lindy-callback-secret"
}
}
After deployment, update all Lindy agents with production URLs:
In Lindy dashboard, open each agent with a webhook trigger
Navigate to the HTTP Request action (if agent calls your API)
Update URL from dev/staging to production:
OLD: https://abc123.ngrok.io/lindy/callback
NEW: https://api.yourapp.com/lindy/callback
For webhook triggers, callers need the Lindy-generated URL (unchanged)
Test with a sample webhook to verify end-to-end
#!/bin/bash
echo "=== Post-Deploy Verification ==="
PROD_URL="https://api.yourapp.com"
# Health check
echo "[1/3] Health check..."
curl -sf "$PROD_URL/health" | jq .
# Webhook endpoint reachable
echo "[2/3] Webhook endpoint..."
STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
-X POST "$PROD_URL/lindy/callback" \
-H "Authorization: Bearer $LINDY_CALLBACK_SECRET" \
-H "Content-Type: application/json" \
-d '{"test": true}')
echo "Webhook endpoint: HTTP $STATUS (expect 200)"
# Trigger a test agent run
echo "[3/3] Agent trigger test..."
curl -s -X POST "https://public.lindy.ai/api/v1/webhooks/YOUR_ID" \
-H "Authorization: Bearer $LINDY_TRIGGER_SECRET" \
-H "Content-Type: application/json" \
-d '{"event": "deploy.verify", "env": "production"}'
echo "Agent triggered — check Tasks tab in Lindy dashboard"
# If deployment fails, rollback:
# Vercel
vercel rollback
# Docker
docker stop lindy-app
docker run -d --name lindy-app-rollback \
-e LINDY_CALLBACK_SECRET="$LINDY_CALLBACK_SECRET" \
lindy-integration:previous-tag
# Update Lindy agents back to previous URLs if needed
Produce a deployment receipt with the release identifier, deployed callback URL, health-check result, authenticated and unauthenticated webhook outcomes, and the verified Lindy task ID. Keep the previous image or deployment revision and the corresponding rollback command with that receipt.
For a Vercel release, record the production URL, a GET /health 200 result,
an unauthenticated callback 401 result, and a successful signed test event.
If the signed callback returns 502, invoke the documented rollback before
changing Lindy agent URLs or retrying the test.
| Step | Verification |
|---|---|
| Build passes | npm run build exits 0 |
| Tests pass | npm test all green |
| Secrets configured | API key + webhook secret in platform |
| Health check responds | GET /health returns 200 |
| Webhook auth works | POST with valid token returns 200 |
| Webhook auth rejects | POST without token returns 401 |
| Lindy agent URLs updated | HTTP Request actions point to prod |
| End-to-end test | Trigger agent, receive callback |
| Issue | Cause | Solution |
|---|---|---|
| Webhook 502 | App crashed/not running | Check container logs, restart |
| Webhook timeout | Slow processing | Respond 200 immediately, process async |
| Wrong URL in Lindy | Not updated post-deploy | Update HTTP Request action URLs |
| SSL error | Certificate issue | Verify HTTPS cert is valid |
| Secret mismatch | Dev secret in prod | Verify production secrets match Lindy config |
See lindy-webhooks-events for advanced webhook patterns.
What SKILL.md sets; muted values are Claude Code's defaults
24 skills in this plugin
/lindy-ci-integrationConfigure CI/CD pipelines for testing Lindy AI agent integrations.
Use when setting up automated testing, configuring GitHub Actions
for webhook receiver tests, or validating agent connectivity in CI.
Trigger with phrases like "lindy CI", "lindy GitHub Actions",
"lindy automated tests", "CI lindy pipeline".
/lindy-common-errorsTroubleshoot common Lindy AI agent errors and workflow failures.
Use when encountering errors, debugging agent failures,
or resolving integration problems.
Trigger with phrases like "lindy error", "lindy not working",
"debug lindy", "lindy troubleshoot", "lindy agent failed".
/lindy-core-workflow-aBuild and configure multi-step Lindy AI agent workflows.
Use when creating agents with triggers, actions, conditions,
knowledge bases, or agent steps.
Trigger with phrases like "create lindy agent", "build lindy agent",
"lindy agent workflow", "configure lindy agent", "lindy workflow".
/lindy-core-workflow-bConfigure Lindy triggers, scheduling, multi-agent delegation, and automation.
Use when setting up trigger-based workflows, scheduling agents,
building multi-agent societies, or configuring agent delegation.
Trigger with phrases like "lindy automation", "schedule lindy agent",
"lindy workflow automation", "lindy delegation", "lindy multi-agent".
/lindy-cost-tuningOptimize Lindy AI costs through credit management, model selection,
and agent consolidation.
Use when reducing spend, analyzing credit usage patterns,
or optimizing budget allocation across agents.
Trigger with phrases like "lindy cost", "lindy billing",
"reduce lindy spend", "lindy budget", "lindy credits".
/lindy-data-handlingData handling best practices for Lindy AI agents.
Use when managing sensitive data in agent workflows,
implementing data privacy controls, or ensuring compliance.
Trigger with phrases like "lindy data", "lindy privacy",
"lindy PII", "lindy data handling", "lindy GDPR", "lindy HIPAA".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin lindy-packOther plugins' skills for the same job