A Web Listener in Boomi is an essential component when building real-time integrations, especially for handling inbound HTTP requests from external systems (e.g., webhooks, APIs, or other applications). It acts as a server endpoint that listens for incoming HTTP requests and triggers a Boomi process.
In this article, we’ll walk through step-by-step instructions to create and configure a Web Listener in Boomi.
๐ Prerequisites
Before you begin, make sure you have the following:
- Access to the Boomi AtomSphere platform.
- A deployed Atom (local/cloud) capable of listening for HTTP traffic.
- Basic understanding of Boomi processes and components.
๐ Step-by-Step Guide
1. Create a New Process
- Log into Boomi AtomSphere.
- Navigate to Process and click Create.
- Enter a Name (e.g.,
Web Listener Demo). - Click Create Process.
2. Set the Start Shape as a Web Services Server (Listener)
- Drag the Start Shape onto the canvas.
- Double-click it and choose:
- Connector: Web Services Server
- Connection: Create a new one (see below)
- Operation: Create a new one (see below)
3. Create a Web Services Server Connection
- In the Connection tab:
- Connector Type: Web Services Server
- Atom: Select your deployed Atom
- Port: Set a unique port (default is 9090; avoid conflicts)
- Path: Set a custom path, e.g.,
/orderWebhook - Listener Type: Choose
HTTPorHTTPS(based on your need)
๐ Note: For
HTTPS, youโll need to configure SSL certificates on your Atom.
Click Save and Close.
4. Create a Web Services Server Operation
- Click +Add Operation:
- Action:
POST(or GET, PUT, etc., depending on your API) - Request Profile: Choose or define a profile (e.g., XML, JSON)
- Response Profile: (optional) Define if your endpoint sends a response back
Click Save and Close.
5. Add a Simple Processing Logic (Optional)
To test the listener, add a Message or Set Properties shape after the Start.
- Use a Message shape to log the inbound payload.
- Optionally, add Decision shapes, Database calls, or Connectors.
6. Deploy the Process
- Click Deploy > Create Package.
- Assign to your Runtime Environment (Atom).
- Click Deploy.
7. Enable Web Service Listener in Atom Management
Go to Manage > Atom Management:
- Select your Atom.
- Under Web Services, ensure your Listener path and port are correctly configured.
- If required, restart the Atom to bind the port.
โ Testing the Web Listener
Use any HTTP client (like Postman or cURL) to send a request:
bash
Copy
Edit
curl -X POST http://<atom-host>:<port>/<path>
-H "Content-Type: application/json"
-d '{"sample": "data"}'
Example URL:
bash Copy Edit http://localhost:9090/orderWebhook
Boomi will trigger the process and handle the payload as defined.
๐ Troubleshooting Tips
IssueFixPort conflictEnsure the port isnโt used by other processesNo responseCheck Atom is running and listening404 ErrorConfirm path and HTTP method match your configSSL errorsEnsure proper SSL certs are set up for HTTPS
๐ Best Practices
- Use authentication headers or API keys if exposing public endpoints.
- Log request metadata (IP, timestamp) for audit purposes.
- Always validate and sanitize input data to prevent security issues.
๐ Conclusion
Creating a Web Listener in Boomi allows you to build event-driven integrations and receive real-time data from external sources. With careful setup of your listener, request profiles, and deployment, you can establish a reliable endpoint in just minutes.