Docs›AI & automation
n8n Connection Guide with Mangobeds
3 min read
An n8n booking workflow gives you the same automation as the hosted platforms, on infrastructure you control. If you self-host n8n, every booking in Mangobeds can hit a Webhook node and run whatever comes next, with no per-task pricing and no booking data leaving servers you own.
This guide covers n8n only. For the overview and the other platforms, see Connect Mangobeds to Zapier, Make, n8n and more.
How it works
The connection works in one direction: Mangobeds sends, your automation platform receives. Whenever something happens to a booking in Mangobeds, we POST a small JSON payload to a URL you’ve given us. Your Zap, Scenario, or Workflow picks it up from there and decides what to do.
You’ll receive one of three event types:
- booking.created — a new booking has been added.
- booking.updated — the dates, guests, status, or any other detail changed.
- booking.cancelled — the booking has been cancelled.
You choose which events you want to subscribe to. The payload contains the booking with all the details you’d expect (guest name and email, dates, units, total, status, and more).
The Automations card in Mangobeds is the doorway in: go to Apps > Automations, follow the steps below, and come back to Apps > Webhooks to paste the URL when the platform gives it to you.
n8n is an open-source automation tool you can self-host. It’s a great pick if you want full control over your data, no monthly fees, or the freedom to extend workflows with code when you need it. n8n also offers a cloud version if you don’t want to host it yourself.
Setting It Up
Step 1: Create a new workflow
Open your n8n instance (cloud or self-hosted) and click New Workflow.
Step 2: Add a Webhook node
Add a Webhook trigger node. Set the HTTP method to POST. n8n displays two URLs — a Test URL for setting things up and a Production URL for live traffic. Copy the Production URL.
Step 3: Paste it into Mangobeds
In your Mangobeds dashboard, go to Apps > Webhooks > New webhook. Paste the n8n URL, name the webhook “n8n”, check the events you want to receive, and click Save.
Step 4: Activate and test
To capture a sample payload, click Listen for Test Event in the Webhook node (this uses the Test URL temporarily). Create a test booking in Mangobeds. n8n catches the payload and shows you all the fields.
Then build the rest of your workflow with n8n’s nodes for Mailchimp, Google Sheets, Slack, databases, HTTP, code, and more. When ready, click Activate at the top right.
What Mangobeds sends
Every event Mangobeds delivers is a JSON object with the full booking. You’ll find the fields you need to do most things: guest name and email, check-in and checkout dates, status, total amount, the property and units booked, and metadata about the booking source (direct, Airbnb, Booking.com, etc.).
The exact field names show up in your automation platform’s data preview once the first event arrives, so you can map them onto your action without needing a reference up front. If you want to see the structure ahead of time, the Mangobeds API documentation describes the same booking shape.
Ready to automate? Go to Apps > Webhooks in Mangobeds, paste your n8n webhook URL, and let your bookings flow.