Create a ticketing system using HPE Aruba Networking Central webhooks and Trello
This section will provide step-by-step instructions for creating a Ticketing system using Aruba Central’s Webhooks (included in foundation licensing) and Trello, a project management tool. This integration will automatically generate a “Card” in the Trello platform whenever an alert occurs and is transmitted through the Webhook. With this system, you'll be able to differentiate between various alerts and assign tasks to specific members on your Trello Board.
Create a Webhook in Make and add it to your Central Account
- Add a new Module to your scenario and add a “Custom Webhook”
- Webhooks > Custom Webhook > Add
- Enter a Webhook name, leave the IP restrictions option blank, and save.
- Click on the “Copy address to clipboard” button, then close the window by selecting the “OK” button.
- Access your Aruba Central account, then navigate to the Main Menu > Maintain > Organization > Platform Integration > Webhooks.
- Add a new Webhook, enter a name, select a “Retry Policy” option, and in the URL paste the address copied in the Webhook module. Finally, click on the “Add” button.
Configure the alerts that will trigger the actions through the Webhook
You can configure multiple alerts to be notified through the same Webhook
- At a “Global” level, navigate to “Alerts & Events” and access the configuration.
- Select the type of alert you want to configure and customize it. To do so select the alert’s name, not the + sign.
- Configure the alert with the desired parameters. Under “Notification Options”, select “Webhook” and choose the one previously created from the drop-down list.
- Once the alert is fully configured, click on the “Save” button.
Trigger an alert to obtain JSON parameters in Make.
- Before triggering the alert, save your scenario and ensure it is turned on. For further instructions, refer to the “Programming Running Times” section of the documentation.
- An easy way to trigger an alert is by configuring the “AP reboot” alert and rebooting an AP.
Establish the connection to your Trello Account
- Add a New module and Select Trello > Create Card
- In the New window select “Create a Connection” and enter a name for your Connection.
- You will be redirected to the Trello – Make connection page. Select the “Login” option at the bottom right.
- You will be redirected to the login window where you can either create a new account or login.
- Once logged in, you need to accept the connection by clicking on the “Allow” button.
Prepare your Trello account to create tickets
-
Access your Trello account and navigate to the Desired Workspace. Click on “Create a new board”.
-
Enter the desired name for the board and click on “Create”.
-
Inside your board, enter the name to create a list. This list will be used to create the cards as incidents happen and are triggered by Aruba Central through the Webhook.
- You can create as many lists as needed based on how you would like to manage your tickets. (This example will manage tickets by sites)
Configure your Trello module to create a new card
- Add a new module to your scenario and select "Trello" > "Create a Card" option.
- If you do not have the module from the previous steps, proceed with adding it.
- In the new window, under "Connection", the previously created Connection should be automatically selected.
- Under "Enter a list ID," choose the "Select" option from the drop-down list to populate options based on your Trello account information.
- Select the "Board" and "List" where the tickets will be created. For example, create cards in different lists according to the site the alert belongs to.
- Choose the color for the alerts and specify the member you want the task to be assigned to.
- Ensure all members are added to the Trello Board beforehand.
- For the “Name”, enter text or select from attributes received in the webhook.
- Clicking on the Name opens a new window where you can choose attributes such as alert type and Serial number and add complementary text.
- For the Description, select the "Description" attribute from the list to show full information on the triggered alert.
- Optionally, add other attributes such as Id and time to customize the information displayed on
- After configuring the “Trello” module, your system is ready to receive the first alerts. You can now trigger a new alert and see the card created and assigned in your Trello Board.
Add a new Module to create cards in a secondary list
- Create a new module and select "Trello" > "Create a Card."
- Link that module to the “Webhook” module, a “Router” module should automatically be added linking the Webhook module to the two “Trello” modules.
- You can create as many Modules as needed and have them linked to the same "Webhook" to be triggered.
- Configure the Module (or Modules) using the instructions previously described in Step 6.
Set up filters to create cards in the correct list
- Click on the tool icon ( ) and select the “Set up Filter” option.
- Enter a name in the "Label" field to help identify each path/module.
- Click on the "Condition" field and select "description" from the options received by the webhook.
- In the "Text operators" dropdown menu, select "Contains" to change from the "Equals to" condition.
- Enter the Site name for which you want the module to handle alerts.
- You can add more conditions based on how you want to manage your cards, lists, and member assignments."
Updated 2 days ago
Now that you have learned to automate webhooks with make and Trello, check out how to create excel reports using Central API in Make!