Starting from version 5.7, it's possible to send notifications from EasyMorph to Microsoft Teams using EasyMorph Bot for Teams (or a custom Teams bot).
The bot can only send messages to the specified channel. It can't receive and process replies. It's a one-way communication.
Open the Connector Manager in EasyMorph and create a new Teams Bot connector:
Step 3: Add the "Teams Bot" action to your workflow
Press "Add action" on the toolbar and add the "Teams Bot" action to your workflow. You can drag the action from the sidebar right onto a table in your workflow.
Click the action in the table to select it. In the action settings:
Choose the connector that you configured in step 2 above
Pick the Teams channel in which you added EasyMorph Bot in step 1 above. You will be prompted to sign into your Microsoft account - go ahead and authorize.
Write a message to send. There are two supported message formats:
Plain text messages
Adaptive cards
Plain text messages have no formatting. You can insert EasyMorph parameters in curly braces right in the text.
Adaptive cards allow creating complex messages with formatted text, images, buttons, hyperlinks, lists, etc. Adaptive cards must be specified as JSON. Optionally, you can insert EasyMorph parameters right into the JSON.
Examples of notifications that you can send to Teams:
Daily business metrics (such as revenue)
Automated alerts about incidents and KPIs getting below/above a threshold
Notifications about finished workflows
Warnings about data inconsistency detected in databases and applications
Notifications about events in other systems (that can't send notifications to Teams directly)
The last point above can be unexpected. Basically, other applications can use EasyMorph as a proxy to send real-time notifications to Teams as long as they can do one of the following:
Run commands from the command line, so that they can use ems-cmd to trigger Server tasks or use CLW run EasyMorph workflows.
Send HTTP requests, so that they can send HTTP requests to a custom API endpoint of EasyMorph Server or a webhook on the EasyMorph Gateway
The bot is still undergoing verification by Microsoft. We needed this article for the verification process. It may take another week or so. I'll post when it's ready.
For now, the Teams Bot can only perform one-way communication, i.e. notifications.
However, we can add the ability to receive replies and form submissions (like below) to the bot, if such a feature is actually needed. The responses/submissions would arrive through EasyMorph Gateway.
If that sounds interesting, please post your feature requests here or in #feature-requests.
If the team has access to EasyMorph Server (via a browser), you can simply send them a link to a task, and prompt for one or more parameters in that task to collect responses.
I will try as soon as our organization officially allows the usage of Easymorph bot, which is hopefully by the end of this month.
I‘ll keep you informed.