webhook-transforms

Transform external webhook payloads into brain pages with citations.

Updated May 4, 2026
One-click install
npx skills add https://github.com/Postergully/11mirror-plugin --skill webhook-transforms-postergully
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webhook-transforms
Source: https://github.com/Postergully/11mirror-plugin/tree/main/skills/webhook-transforms
Command: npx skills add https://github.com/Postergully/11mirror-plugin --skill webhook-transforms-postergully

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

External webhook payloads can be transformed into brain-friendly pages with proper citations, while preserving raw payloads for failed transforms and enabling robust error handling and recovery.

Core Features & Use Cases

  • Define a transform to map an incoming webhook payload (JSON) to brain page content (markdown) plus metadata (slug, type, citations), with input sanitization to strip HTML or script content.
  • Register and publish a webhook URL, so external services can post events into the brain ingestion workflow, then route events to the transformer and brain writer.
  • On event receipt: parse payload, run the transform, write the brain page via gbrain put, extract entities, enrich, add timeline entries to affected entities, and synchronize with the brain.
  • Error handling: if transform fails, log the raw payload to a dead-letter queue and retry once without losing events.

Quick Start

Register a webhook and implement a transform function to start processing incoming events.

Frequently Asked Questions about webhook-transforms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transform webhook payloads into markdown pages with citations?

Transform webhook payloads into markdown pages by defining a transform function that maps incoming JSON to brain page content with metadata like slug, type, and citations. The workflow parses the payload, sanitizes input, and writes the page.

What happens to webhook events when a data transform fails?

When a webhook transform fails, the raw payload is logged to a dead-letter queue for preservation. The system automatically attempts a one-time retry to prevent event loss while ensuring robust error handling and recovery.

Can I sanitize incoming webhook JSON data to strip HTML or script content?

Yes, input sanitization strips HTML or script content from incoming webhook payloads before transformation. This ensures the resulting brain pages remain clean and secure during the ingestion workflow.

How do I register a webhook URL for external services to post events?

Register and publish a webhook URL so external services can post events directly into the brain ingestion workflow. The system routes incoming events to the transformer and brain writer for processing.

How does entity extraction work when processing external webhook events?

After transforming the webhook payload and writing the brain page, the system extracts entities from the content, enriches them, and adds timeline entries to affected entities, synchronizing everything with the brain.

What types of external events can be converted into brain pages?

Webhook events such as SMS messages, meetings, and social mentions can be converted into annotated brain pages. The transform maps the JSON payload to markdown content while updating related entity timelines.