/lindy-pack:lindy-webhooks-eventsfrom lindy-pack
Configures Lindy AI webhook triggers, callback patterns, and event handling with Bearer auth, retry policies, and idempotency.
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.
Build two documented boundaries: an application calls a Lindy Webhook Received trigger using its generated Bearer secret, and Lindy calls an application through an outbound callback action such as HTTP Request. Treat them as separate trust directions with separate secrets, schemas, retry policies, and evidence.
Use Read to inspect the integration and Write or Edit to implement its closed contracts. Implement only the documented generated-Bearer trigger and configurable outbound-request surfaces; do not add unaudited control-plane, registration, event-feed, or signature mechanisms.
Specify only fields the workflow needs. A safe application-owned trigger envelope
might contain requestId, an enumerated eventType, a non-sensitive subjectId,
and occurredAt. Reject unknown fields, invalid types, excessive lengths, and
payloads above the documented local byte limit before enqueue or transmission.
Define the callback separately—for example requestId, taskId, and an enumerated
status. Do not return full prompts, model output, source records, or customer data
unless an approved data contract requires those fields.
In the workflow, add Webhook Received, create or select a webhook, generate its secret, and store that secret immediately. Lindy documents URLs in this form:
https://public.lindy.ai/api/v1/webhooks/[unique-id]
Callers send Authorization: Bearer [generated-secret]. Select the documented
follow-up behavior that matches the workflow: handle in the same task, create a new
task, or ignore follow-ups. Treat request body, headers, and query parameters as
untrusted input. Never copy the full headers object into a prompt or log because it
can contain the Authorization secret.
Fail startup unless the URL uses HTTPS, has hostname exactly public.lindy.ai, no
unexpected port or embedded credentials, and the expected generated webhook path.
Load a nonempty per-trigger secret only after the destination passes validation.
type TriggerConfig = { url: URL; secret: string };
function loadTriggerConfig(env: NodeJS.ProcessEnv): TriggerConfig {
const url = new URL(env.LINDY_TRIGGER_URL ?? '');
const path = url.pathname.split('/').filter(Boolean);
if (
url.protocol !== 'https:' ||
url.hostname !== 'public.lindy.ai' ||
url.port !== '' ||
url.username !== '' ||
url.password !== '' ||
url.search !== '' ||
url.hash !== '' ||
path.length !== 4 ||
path[0] !== 'api' ||
path[1] !== 'v1' ||
path[2] !== 'webhooks' ||
path[3].length === 0
) {
throw new Error('LINDY_TRIGGER_URL is not an approved Lindy webhook URL');
}
const secret = env.LINDY_TRIGGER_SECRET ?? '';
if (secret.length === 0) throw new Error('LINDY_TRIGGER_SECRET is required');
return { url, secret };
}
Do not send the trigger secret to a caller-supplied callbackUrl, another Lindy
host, or your own callback receiver.
Require a stable request ID derived from the source business event. Atomically reserve that ID and durably enqueue the validated event. A process-local set, background promise, or timer is not durable and does not coordinate across instances.
The worker sends the closed payload with the generated Bearer secret. Treat 2xx as transport acceptance only. Treat authentication and other non-retryable 4xx as permanent failures. Retry only explicitly transient outcomes such as 408, 429, or selected 5xx with capped exponential backoff, jitter, bounded attempts, and a total deadline. Reuse the same request ID; dead-letter and alert after exhaustion.
An ambiguous timeout may occur after Lindy accepted the request. Local idempotency cannot prove exactly-once remote execution, so reconcile the request ID with the Tasks view or an authenticated callback before retrying or claiming completion.
Prefer an application-owned, pre-approved HTTPS callback URL. Configure a Lindy HTTP Request action to send the closed callback body and:
Authorization: Bearer [application-owned-callback-secret]
Content-Type: application/json
The HTTP Request action documentation supports explicit headers and status-code handling. If using a callback URL from the trigger body, validate it against an exact scheme/host/path allowlist before any secret-bearing request. If the chosen callback action cannot enforce that validation and the required Authorization header, do not use a caller-controlled URL.
At the application receiver, authenticate before inspecting or acting on the body,
enforce a request-byte limit before parsing, validate the closed schema, and use an
atomic enqueueOnce(requestId, payload) operation. Return 2xx only after durable
persistence succeeds. Use constant-time secret comparison and never reuse the
Lindy trigger secret as the callback secret.
For a synthetic trigger, record its unique request ID and transport result, then
find the corresponding task in Lindy's Tasks view and verify the intended steps and
terminal state. A 2xx trigger response without a matching task is
ACCEPTED_UNVERIFIED, not success.
Test a wrong trigger secret: require non-2xx and no task. Test a wrong callback secret, malformed and oversized callbacks, duplicates, durable-store failure, and worker termination after enqueue: each must create no unauthorized or duplicate side effect.
Record request ID, task ID, status class, attempt, latency, queue disposition, and sanitized workflow identifier. Do not log secrets, full generated webhook URLs, headers, full request/response bodies, prompts, model output, or customer content.
See the implementation guide for bounded sender and receiver patterns plus the qualification matrix.
Produce an integration record containing:
VERIFIED, FAILED, or NOT VERIFIED disposition with owners.source event
-> closed schema
-> shared idempotency + durable queue
-> exact public.lindy.ai HTTPS trigger + generated Bearer secret
-> Lindy task correlated by requestId
-> fixed application callback + distinct Bearer secret
-> authenticated validation + durable enqueueOnce
-> terminal outcome ledger
If the trigger returns 2xx but no matching task can be found, record
ACCEPTED_UNVERIFIED, keep the event reconcilable, and investigate. Do not mark the
business operation complete or send a blind sequence of retries.
| Failure | Required response |
|---|---|
| Trigger URL fails exact sink validation | Refuse to construct the secret-bearing request |
| Generated trigger secret is empty | Fail startup or configuration validation |
| Trigger payload is malformed or excessive | Reject before claim, enqueue, or send |
| 401/403 or permanent 4xx | Stop retries, redact telemetry, alert owner |
| 408/429/selected 5xx | Apply bounded retry; dead-letter after exhaustion |
| Ambiguous timeout | Reconcile stable request ID; do not claim exactly-once delivery |
| Callback target is caller-controlled or not allowlisted | Do not attach callback secret |
| Callback auth/schema fails | Return non-2xx and create no durable job |
| Durable enqueue fails | Return non-2xx; never acknowledge unpersisted work |
| 2xx without a matching task | Mark ACCEPTED_UNVERIFIED and investigate |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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