The Wia Developer Hub

Welcome to the Wia developer hub. You'll find comprehensive guides and documentation to help you start working with Wia as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

MessageBird

Send data from your IoT devices to MessageBird

Wia & MessageBird

Wia & MessageBird

Start Setting Up Integration

In your Space, select Devices from the left sidebar. Then, select Settings from the top menu
Scroll down to find Integrations and click on the blue toggle button to start the integration.

MessageBird Integration

MessageBird Integration

Turn on MessageBird to see the keys you require to use the MessageBird integration.

MessageBird Requirements

MessageBird Requirements

Get Your MessageBird access key

If you don't already have a MessageBird account, click here to set one up for free

  • Once signed up, you'll be redirected to the console page
MessageBird console page

MessageBird console page

  • To get an access key, click on the Developers section on the lower end of the left menu bar
MessageBird developer section

MessageBird developer section

  • From there, click on the `API access (REST) tab
  • Click on the blue Add access key button
MessageBird access key

MessageBird access key

  • Enter a description for your access key
  • Chose live in order to send real texts and voicemails
MessageBird access key description

MessageBird access key description

  • Click show key and copy to copy the access key to your clipboard.
  • Back in the Wia dashboard, paste the copied access key and click Create Integration.

Create a Flow

  • In the Wia dashboard, go to Flows (Flow icon in left hand menu bar) and click create Flow
  • Enter a name for your Flow
  • You will then be redirected to the Flow Studio
MessageBird flow

MessageBird flow

Add a Trigger Node

  • In the Flow Studio, drag over an Event Created trigger node from the panel on the left
  • Select the node, enter temperature as the name of the Event in the panel on the right
  • Select from on of your Devices and click Update
Configure Event trigger

Configure Event trigger

Add an Action Node

  • Drag over a Send SMS Message action node from the MessageBird section in the panel on the left
  • Select the node, then on the panel on the right, do the following:
  • Include an Originator (Your number or Name)
  • Enter the phone numbers (NOTE: enter the country code and have no spaces i.e. +14568893405)
  • Enter your Body message. I'm going to set mine as Temperature is ${input.body.data}. This takes the temperature data from the Event we are going to send. You can see more variables by clicking the show variables panel link
  • Click Update to save your changes

Test the Flow

  • Click on Test in the upper right-hand corner of the Flow
  • Enter temperature as the parameter
  • Click on JSON as the Event data
  • Enter a temperature
  • Click on Run Test

References

MessageBird is a cloud communications platform that connects enterprises to their global customers.
Software teams use MessageBirds API to add capabilities like voice, video, and messaging to their applications. This enables businesses to provide the right communications experience for their customers.