Listeners
What is a Listener?
A Listener is a foundational component of bots on the platform, designed to receive data from external applications and trigger automation workflows. By creating a Listener, you can provide an endpoint URL for external applications to call, enabling seamless integration without requiring any coding. Listeners require no additional integrations and can be set up directly within the platform.
In essence, a Listener is a webhook URL that acts as an endpoint, receiving data from third-party applications and triggering relevant automation actions.
How to Create a Listener
Follow these steps to set up a Listener:
-
Log in to your autobotAI account.
-
Navigate to Bot Building Blocks and click on Actions.
-
Select Listeners from the dropdown menu.
-
Click on the + New option to create a new Listener.
-
Choose a webhook type from the options provided and click Next. The available webhook types are:
- Generic: A general-purpose webhook that allows you to receive data from any external system in a customizable format.
- Conformity: A webhook tailored for receiving data related to conformity checks, helping ensure compliance with standards.
- Security Hub: A webhook specifically designed for receiving and processing security event information from AWS Security Hub, allowing for efficient handling of AWS security findings and incidents..
Creating Webhook Types
Generic Webhook
-
Select Generic as the webhook type.
-
Fill in the required details and click Next.
-
The Generic Listener will be created. You can test the connection by clicking Test if desired.
Conformity Webhook
-
Select Conformity as the webhook type.
-
Provide the necessary details and click Next.
-
The Conformity Listener will be created. Test the connection by clicking Test if needed.
Security Hub Webhook
-
Select Security Hub as the webhook type.
-
Complete the required details and click Next.
-
The Security Hub Listener will be created. Optionally, test the connection by clicking Test.
Testing a Listener
A Listener is automatically considered active and tested once it has received at least one call. You can also manually test the Listener by selecting the Test option on the Listener details page.
Viewing a Listener
To view the details of a Listener:
- Select the Edit button on the specific Listener.
- Click Next twice to reach the final page.
- Here, you can view the URL and other details for the webhook.
If you want to see the latest data received by the Listener, click Test on the final page. This will display the fields present in the most recent webhook call.
By following these steps, you can easily create, test, and manage Listeners in the platform to enable efficient data flow and automation.