With the LMS365 Connectors, you can easily subscribe to the events happening inside the LMS365 applications as well as perform some actions based on the data coming from the LMS events.
Let us see how it works on the example of the Microsoft Flow.
Please follow the link https://flow.microsoft.com/connectors/shared_lms365/lms365/ to use the existing Template for your MS Flow.
You can create your own unique MS Flows that will react on the events happening inside LMS365 and send data to the LMS if needed.
To create your own flow, go to https://flow.microsoft.com and sign in. Click My Flows section, and then click Create from blank button:
On the creation page, you can see the list of available within the MS Flow connectors. Search for the “LMS365” to see all actions related to the learning system:
Please pay attention that the Connector consists of two groups of items:
- Triggers – give you the possibility to subscribe to some events in the LMS. Each trigger has a proper title that describes when the event is triggered. Usually, that is the starting point of the flow.
For example, the trigger “LMS365 - When training has been published to a catalog” means that the event will be triggered when any course has changed its status to Published and is now available in the Course Catalog.
- Actions – give you the possibility to affect LMS. That means these are the set of predefined API calls to the LMS service.
For example, an action “Enroll user to training” gives you an ability to enroll a user in a specific course.
Let’s create a simple test flow which reacts to the Course Published event, gets the course information and sends an email with the course information to the specified users.
To do that, please follow the steps:
- Select the needed event from the Triggers list:
- If you use the LMS365 Connector for the first time, you will be required to enter credentials for the LMS API service using API key for both ‘username’ and ‘password’ fields:
- After the connection is set, you will see a message that your flow has only a starting point and you need to add new steps:
- Click New step button, select Add an action option, and then enter LMS365 in the search box to find the available LMS connector action.
In our example, we want to get information about the course that has been published – we select “Get course details” action:
- Next, you will see the action’s block added to the flow. Here you should specify the Course Id value in order to get the information about the specific course.
Click the field to see all available data you can operate with.
Select the Course Id from the list to proceed:
- After the Course Id value is selected, you can choose what to do with the data returned by the ‘Get course details’ action (by adding new action).
In our example, we will select the ‘Send email’ action and fill in some course data:
That is all, we are ready with the Flow that is triggered when a Course has been published, gets the detailed information about it, and sends Course’s description via email to the specified recipients.
The logic and approach are the same for all other cases. The same functionality is provided by Microsoft Power Apps and Microsoft Azure Logic Apps.