Enterprise Feature — Incoming webhooks are available on superglue Enterprise plans. Contact us to learn more.
Trigger tools from external services like Stripe, GitHub, Shopify, or any system that can send HTTP webhooks. When an external service sends a webhook, superglue executes your tool with the webhook payload as input.
When you enable webhooks for a tool, superglue provides a unique webhook URL:
Copy
Ask AI
POST https://api.superglue.ai/v1/hooks/{toolId}?token={your_api_key}
Example with real values:https://api.superglue.ai/v1/hooks/handle-stripe-customer?token=a1b2c3d4-e5f6-7890-abcd-ef1234567890Replace with your actual tool ID (e.g., handle-stripe-customer) and with your API key UUID. Don’t include the curly braces {} — they’re just placeholders.
External services send HTTP POST requests to this URL. The request body becomes the tool’s input payload, and superglue executes the tool asynchronously.
Many services send multiple event types to the same webhook URL. Filter events in your tool using conditional logic:
Copy
Ask AI
// Only process customer.created events from Stripe{ outputTransform: `(sourceData) => { if (sourceData.type !== 'customer.created') { return { skipped: true, reason: 'Event type not handled' }; } return sourceData.addToMailchimp; }`}