Agent 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.

Stars 197
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/nirholas/XActions/tree/main/skills/webhooks

Metadata

Additional technical details for this skill

author
nichxbt
version
1.0

SKILL.md

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

bash
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

bash
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:

js
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

Expand your agent's capabilities with these related and highly-rated skills.

nirholas/XActions

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.

197 39
Explore
nirholas/XActions

x-pro-management

Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.

197 39
Explore
nirholas/XActions

business-ads

Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.

197 39
Explore
nirholas/XActions

engagement-interaction

Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.

197 39
Explore
nirholas/XActions

unfollow-management

Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.

197 39
Explore
nirholas/XActions

follower-monitoring

Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.

197 39
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results