Receive Webhooks from Any Service
Set up webhook triggers for your Nebula AI agent. Let Stripe, GitHub, Shopify, and other services trigger automations with a single webhook URL.
What you'll build
Your agent gets a unique webhook URL. Paste it into any service — Stripe, GitHub, Typeform, Shopify — and whenever that service fires an event, your agent processes it and takes action, like posting to Slack or updating a database.
What to say
I want to get a Slack notification in #revenue every time we receive a Stripe payment. Set up a webhook for it.
Registering an inbound webhook endpoint for Stripe events. (build_custom_api handles both outbound API connections and inbound webhook endpoints — no add_endpoints or set_authentication needed for webhooks.)
Here's your webhook URL:
https://hooks.nebula.gg/wh_abc123xyz
Paste this into your Stripe dashboard under Developers → Webhooks → Add endpoint. Select the checkout.session.completed event.
Whenever a payment comes in, I'll delegate to @Slack Agent to post a summary to #revenue with the amount, customer email, and product name.
What happens
Nebula creates a webhook URL
Nebula generates a unique endpoint URL that listens for incoming HTTP POST requests from any external service.
You paste the URL into the external service
Copy the webhook URL and add it to the service's webhook settings. For Stripe, that's Developers → Webhooks → Add endpoint. For GitHub, it's Settings → Webhooks.
The service sends events to your agent
When something happens — a payment, a push, a form submission — the service sends a JSON payload to your webhook URL. Nebula receives it and parses the data.
Your agent processes the event and takes action
Based on the payload, your agent does what you asked: posts to Slack, creates a task, sends an email, or triggers another workflow. You defined the action in plain English when you set it up.
More webhooks to try
Set up a webhook for GitHub push events. When someone pushes to main, post a summary to #engineering with the commit messages.
Create a webhook for Typeform. When someone submits our feedback form, save their responses to a Google Sheet and send me a Slack DM.
Listen for Shopify order webhooks. When a new order comes in over $500, post it to #big-deals in Slack.
Set up a webhook for our backend. When a new user signs up, send them a welcome email and notify #growth in Slack.
Make it automatic
Webhooks are inherently automatic — once the URL is registered with the external service, your agent responds to every event without you doing anything. There's no schedule to configure because the external service decides when to fire.
Connect your integrations
For output actions like posting to Slack or Discord, connect those services from the Integrations page. The webhook itself doesn't require a connection — it's just an incoming URL that any service can call.
Related recipes
Connect Any REST API to Your Agent
Connect any REST API to your Nebula AI agent using API keys, tokens, or custom auth. Call external services directly from any agent conversation.
Connect Your Company's Internal Tools
Integrate internal tools with Nebula's AI agent — connect company APIs to query employee directories, inventory systems, and internal wikis.