lindy-sdk-patterns

Featured

Lindy AI integration patterns for webhook handling, HTTP actions, and Run Code. Use when building integrations, calling Lindy agents from code, or implementing the Run Code action with Python/JavaScript. Trigger with phrases like "lindy SDK patterns", "lindy best practices", "lindy API patterns", "lindy Run Code", "lindy HTTP Request".

AI & Automation 2,926 stars 433 forks Updated yesterday 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

# Lindy SDK & Integration Patterns ## Overview Lindy is primarily a no-code platform. External integration happens through three channels: **Webhook triggers** (inbound), **HTTP Request actions** (outbound), and **Run Code actions** (inline Python/JS execution via E2B sandbox). This skill covers patterns for each. ## Prerequisites - Lindy account with active agents - Node.js 18+ or Python 3.10+ for webhook receivers - Completed `lindy-install-auth` setup ## Pattern 1: Webhook Trigger Integration Your application fires webhooks to wake Lindy agents: ```typescript // lindy-client.ts — Reusable Lindy webhook trigger client class LindyClient { private webhookUrl: string; private secret: string; constructor(webhookUrl: string, secret: string) { this.webhookUrl = webhookUrl; this.secret = secret; } async trigger(payload: Record<string, unknown>): Promise<{ status: number }> { const response = await fetch(this.webhookUrl, { method: 'POST', headers: { 'Authorization': `Bearer ${this.secret}`, 'Content-Type': 'application/json', }, body: JSON.stringify(payload), }); if (!response.ok) { throw new Error(`Lindy webhook failed: ${response.status} ${response.statusText}`); } return { status: response.status }; } async triggerWithCallback( payload: Record<string, unknown>, callbackUrl: string ): Promise<{ status: number }> { return this.trigger({ ...payload, callbackUrl }); } } ...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category