Guide

Webhook Relay Setup Guide

Connect Stripe, GitHub, and Sentry webhooks to your locally-running OpenClaw agent — no port forwarding, no firewall rules, no ngrok tunnels.

Webhook Flow Architecture
[ Stripe / GitHub / Sentry ]
| webhook POST
v
ClawPulsar Relay (wh.clawpulsar.com)
| encrypted tunnel (outbound)
v
Your network (behind firewall/NAT)
[ Relay Client ] → [ OpenClaw Agent ]

Prerequisites

  • A running OpenClaw agent on your local machine or server
  • A ClawPulsar account (join the waitlist for early access)
  • Active accounts with Stripe, GitHub, and/or Sentry

Step 1: Install the Relay Client

The relay client is a lightweight binary that runs alongside your OpenClaw agent. It opens a persistent, encrypted outbound connection to the ClawPulsar relay server.

# Install the relay client
curl -sSL https://get.clawpulsar.com | sh
# Or via npm
npm install -g @clawpulsar/relay

Step 2: Connect to Your Agent

Start the relay client and point it at your local OpenClaw agent. The client will register with the ClawPulsar server and establish a secure tunnel.

# Start the relay, forwarding to your local agent on port 3000
clawpulsar connect --agent http://localhost:3000
Establishing secure tunnel...
Relay endpoint: wh.clawpulsar.com/r/abc123
Status: connected

Save the relay endpoint URL — you will use it to configure each webhook provider.

Step 3a: Configure Stripe Webhooks

Stripe webhooks deliver payment events, subscription changes, disputes, and invoices to your agent.

  1. Go to Stripe Dashboard → Developers → Webhooks
  2. Click Add endpoint
  3. Enter your relay URL: https://wh.clawpulsar.com/r/abc123/stripe
  4. Select events to listen to: payment_intent.succeeded, customer.subscription.deleted, etc.
  5. Copy the signing secret and add it to your relay configuration for signature verification
# Register Stripe webhook with signing secret
clawpulsar webhook add stripe \
--signing-secret whsec_... \
--events payment_intent.succeeded,customer.subscription.deleted

Step 3b: Configure GitHub Webhooks

GitHub webhooks deliver repository events like pull requests, issues, deployments, and pushes to your agent.

  1. Go to your repository → Settings → Webhooks
  2. Click Add webhook
  3. Enter your relay URL: https://wh.clawpulsar.com/r/abc123/github
  4. Set content type to application/json
  5. Choose which events trigger the webhook or select "Send me everything"
  6. Set a secret for payload signature verification
# Register GitHub webhook
clawpulsar webhook add github \
--secret your-webhook-secret \
--events push,pull_request,issues

Step 3c: Configure Sentry Webhooks

Sentry webhooks deliver error tracking events, issue state changes, and deployment notifications to your agent.

  1. Go to Sentry → Settings → Developer Settings → Custom Integrations
  2. Create a new internal integration
  3. Set the webhook URL to: https://wh.clawpulsar.com/r/abc123/sentry
  4. Enable the webhook events you want: issue alerts, error events, etc.
  5. Save the client secret for signature verification
# Register Sentry webhook
clawpulsar webhook add sentry \
--client-secret your-client-secret \
--events issue.created,error.created

Step 4: Verify and Monitor

Once configured, send a test event from each provider to verify the relay is working. The ClawPulsar dashboard shows every webhook received, delivery status, and response times.

# Check relay status
clawpulsar status
Agent: connected (localhost:3000)
Webhooks registered: 3 (stripe, github, sentry)
Last delivery: 2 min ago (stripe/payment_intent.succeeded)
Uptime: 99.97% (last 30 days)

Troubleshooting

Webhook not arriving? Check that your relay client is running and connected. Run clawpulsar status to verify.

Signature verification failing? Ensure you copied the signing secret correctly. Each provider has a different format — Stripe uses whsec_, GitHub uses a plain string, Sentry uses a client secret.

Agent not responding? Verify your OpenClaw agent is running and accepting requests on the configured port. Test locally first: curl http://localhost:3000/health

Ready to set up your webhook relay?

Join the ClawPulsar waitlist and get early access to the managed relay, uptime monitoring, and budget alerts.

Join Waitlist