Importing the WinSMS custom connector into Microsoft Power Automate
You will need two files to complete the process explained in this document. They are:
winsms-za-mspa-logo.jpg
winsms-za.mspa-custom-connector.json
These files are contained in a Zip file and can be downloaded from https://www.winsms.co.za/mspazip
Now login to Microsoft Power Automate at https://powerautomate.microsoft.com/en-us/
Go to Data > Custom Connectors
Select New custom connector then Import an OpenAPI file:
Give the connector a name then click on Import and select the "winsms-za.mspa-custom-connector.json" file you previously downloaded, then click on Continue:
Click on “Upload the connector icon” and choose the WinSMS logo file you previously downloaded (winsms-za-mspa-logo.jpg).
Once the connector has been created, click on Test:
Now click on New connection:
A new window will open where you need to paste your WinSMS API Key.
Login to the WinSMS Client Zone here and click on My Profile:
Go back to the new Power Automate window and paste your API Key in the field provided, then click on Create connection:
This will take you back to the Test page. Click on the refresh icon at top right and you should see the connection you have just created.
Enter your mobile number in international format, e.g. 2783xxxxx
If you scroll down you should also see Validation succeeded:
And if you look at your phone you should also see the message you just sent.
You can now click on Close:
This will take you back to your Custom Connectors page where you will see the connector you just created.
You can now create a Flow that makes use of this connector to send SMS notifications.