agentleFS
nirholasnirholas/XActions/skills/webhooks/SKILL.md

webhooks

Skill648 starsChanged 9 months agoApache-2.0View on GitHub

Create, manage, and test webhooks in XActions. Get notified via HTTP when automation jobs complete, followers change, or operations finish. Use when users want to integrate XActions events into external systems.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use data-pipelines, incident-response and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • YepAPISkill

    data-pipelines

    ETL patterns, cron scheduling, queue-based processing, and batch jobs with Inngest/BullMQ.

    Also in 3 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

The file

Files
SKILL.md

Webhooks

API-powered webhook system for receiving real-time event notifications from XActions.

Entry Points

GoalRouteMethod
Create a webhookPOST /api/webhooksREST API
List webhooksGET /api/webhooksREST API
Update a webhookPATCH /api/webhooks/:idREST API
Delete a webhookDELETE /api/webhooks/:idREST API
Test a webhookPOST /api/webhooks/:id/testREST API

API Usage

Create a webhook

POST /api/webhooks
Authorization: Bearer <token>
Content-Type: application/json

{
  "url": "https://your-server.com/webhook",
  "events": ["operation.complete", "follower.lost", "follower.gained"],
  "secret": "your-signing-secret"
}

Test a webhook

POST /api/webhooks/:id/test
Authorization: Bearer <token>

Sends a test payload to the registered URL.

Supported Events

EventTriggered when
operation.completeAn automation job finishes successfully
operation.failedAn automation job fails
follower.gainedYou gain a new follower
follower.lostYou lose a follower
job.startedA Bull queue job begins
job.completedA Bull queue job completes

Payload Verification

Webhooks are signed with HMAC-SHA256 using your secret:

const signature = req.headers['x-xactions-signature'];
const expected = crypto.createHmac('sha256', secret)
  .update(JSON.stringify(req.body))
  .digest('hex');
const isValid = crypto.timingSafeEqual(
  Buffer.from(signature),
  Buffer.from(expected)
);

Notes

  • Webhook deliveries are retried up to 3 times on failure (exponential backoff)
  • Delivery logs are available via GET /api/webhooks/:id/deliveries
  • Events are dispatched asynchronously from the Bull job queue

Related Skills

  • xactions-mcp-server — AI agent integration alternative to webhooks
  • follower-monitoring — Source of follower.gained / follower.lost events
  • analytics-insights — Pull analytics instead of waiting for events

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.