Skip to content
Automation
Skill

/webhooks

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.

From plugin
xactions
44349 skills
Install
$ npx -y skills add nirholas/XActions --skill webhooks --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/webhooks

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

webhooks.SKILL.md
name: webhooks
description: 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.
license: Apache-2.0
metadata:
  author: nichxbt
  version: "1.0"

Webhooks

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

Entry Points

| Goal | Route | Method | |------|-------|--------| | Create a webhook | `POST /api/webhooks` | REST API | | List webhooks | `GET /api/webhooks` | REST API | | Update a webhook | `PATCH /api/webhooks/:id` | REST API | | Delete a webhook | `DELETE /api/webhooks/:id` | REST API | | Test a webhook | `POST /api/webhooks/:id/test` | REST 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

| Event | Triggered when | |-------|---------------| | `operation.complete` | An automation job finishes successfully | | `operation.failed` | An automation job fails | | `follower.gained` | You gain a new follower | | `follower.lost` | You lose a follower | | `job.started` | A Bull queue job begins | | `job.completed` | A 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
Read more
Ships withxactions

⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source. Unfollow people who don't follow back. Monitor real-time analytics. Auto follow, like, comment, scrape, without API. Follow Bot. Like bot. Grow your account automatically.

Get the whole plugin

Other skills on xactions.