Track Cumulocity IoT Device Alarms in Trello with webMethods.io Integration

Overview

Learn how to set up a Cumulocity IoT – Trello integration, that allows you to stay on track with your device’s alarms waiting to be resolved, with webMethods.io Integration. It creates a new card in a specific board of your Trello account when a new alarm is generated for a device in your Cumulocity IoT tenant.

Prerequisite:

  1. Cumulocity IoT account – sign up here Sign up - Software AG Cloud.
  2. Trello account

Steps

  1. Login to your webMethods.io Integration tenant or sign up for a free trial if you’re new.
  2. Create a new project or choose an existing one.
  3. Go ahead and get started by creating a blank workflow. If you need a refresher on how to get to this point, this guide can be a great introduction.
  4. Click on the small setting icon on the Start step and choose the Cumulocity IoT trigger.

Select Alarms as a trigger and complete the authorization – connect webMethods.io Integration with your Cumulocity IoT account and chose if the workflow should be triggered by an alarm on one of your devices or by an alarm on all the devices in your Cumulocity IoT tenant.

Click Save. You should see the test trigger window.

To test your trigger, you need to perform the trigger action. Create an alarm for one of your devices in Cumulocity IoT:
firefox_yBg1QJYUJB

Go back to the webMethods.io Integration workflow and click Test. You should see the output data from the trigger (the alarm information) which webMethods.io Integration will use to configure and test the rest of the workflow.

Click Done.

  1. Add the Trello connector to the canvas with the drag and drop feature. This automatically connects it with the Cumulocity IoT trigger. Click on the small settings icon on the Trello connector, select Add card as action and complete the authorization – connect webMethods.io Integration with your Trello account.

chrome_RrdoUZMysU


Click Next.

Now you can proceed with the action configuration – in the Card Name field type what should be the Trello card title. You can include whatever alarm information you want from the trigger Incoming data panel on the left. For this example, the card name can include alarm severity and device name:

{{$trigger.message.message.severity}} alarm on device {{$trigger.message.message.source.name}}

Choose the Trello Board ID and List ID where you want to create the card. You can also type description – use the Incoming data panel again to include the alarm text message:

{{$trigger.message.text}}, Labels, Due date, etc.

Click Next and then Done.

  1. Connect the Trello connector to the Stop step and don’t forget to save your workflow.

You can now run the workflow using the play button in the right upper corner and review the result. If you have configured the workflow correctly, after a couple of seconds you should see the newly created card in your Trello board:

chrome_J9jm27jZqK

chrome_qXsjUseEvR

Now every time a new alert is created in your Cumulocity IoT tenant, a new card will be automatically added to your Trello board. Please note that this may take some time.

  1. At the bottom-left corner of the screen you can find the Execution history of the workflow:

From here you can monitor the execution status and view error details if needed:

1 Like