Downloads
What does this application do?
The application was developed using FactoryTalk Optix software. Its primary objective is to send system status notifications to MS Teams, thereby streamlining information flow and facilitating decision-making based on the data transmitted. This solution leverages the advanced capabilities of FactoryTalk Optix—ranging from visualization and data management to C#-based programming structures—to keep operations at the forefront of technology. It helps address the challenges of today's industrial landscape by utilizing JSON to structure the messages being sent.
- Features
- Advantages
FactoryTalk Optix helps improve your processes, efficiency, and end products—all through a single, accessible tool—by leveraging collaboration, scalability, and interoperability to realize your digital transformation vision.
FT Optix stands out for its ability to connect to a wide range of industrial devices and protocols—such as OPC UA, EtherNet/IP, PROFINET, Modbus, HTTPS, and MQTT—enabling real-time integration and monitoring of equipment from various manufacturers via a unified IoT platform. Additionally, FactoryTalk Optix allows for the creation of data logs and the storage of that information in an SQL database. This facilitates the visualization of historical alarm trends and the generation of PDF reports as needed, as well as the use of REST APIs with NetLogic to make requests to external services.
Sending messages or notifications to MS Teams is a common requirement for users who need to communicate events or status updates from the plant floor to support decision-making and streamline information flow.
In this scenario, we use JSON for the message structure and Power Automate to generate the trigger that sends the message to MS Teams; internet connectivity is required.
- Use of structured code
- Flexibility in connectivity
- Impact on development time
- Notifications according to operational model
- Sending messages to MS Teams from an industrial platform
- High reliability
- Compatible with implementation in your applications
- Flexibility and scalability
- Improved information flow
- Data optimization
- Event monitoring
- Data analysis
Please note: You will need to agree to the Terms & Conditions for each download.
Need Help?
If you need help with an application or have feedback from the Innovation Center, please contact us.
Is this application relevant to me?
Having agile notifications—with an information flow that sends alerts directly to Teams from our application—opens up a wide range of possibilities.
This application can complement your projects by enabling the delivery of notifications or information to your company's Teams chats.
It is suitable for any industry or industrial sector where there is a need to share information via Teams.
This functionality can be replicated as often as necessary across your projects, enhancing product value, optimizing implementation costs, and leveraging a continuous flow of information from the shop floor to your communication platform, such as Teams.
How can I make it work?
Requirements: products, tools, prior knowledge.
Hardware
- Controllers compatible with FT Optix connectivity
Software
- FactoryTalk Optix (V1.7.1)
Prior Knowledge
- Basic knowledge in FactoryTalk Optix and C#.
Implementation Guide
- Step 1
- Step 2
- Step 3.1
- Step 3.2
- Step 3.3
- Step 3.4
- Step 3.5
- Step 3.6
- Step 4.1
- Step 4.2
- Step 5
- Step 6
Identify the application to use: FactoryTalk Optix.
Open the file Teams_notification, in the location where you have downloaded it.
Make sure you have .NET SDK x64 installed. https://dotnet.microsoft.com/en-us/download
Create an Instant Cloud Flow from your MS Power Automate platform. https://make.powerautomate.com/
Define the structure of the JSON to be received from FT Optix.
| { "type": "object", "properties": { "Device": { "type": "string" }, "Level": { "type": "number" }, "Temperature": { "type": "number" }, "Priority": { "type": "string" } } } |
In the content structure, use the JSON variables to display the message in Teams.
| OPTIX MESSAGE | Device: @{triggerBody()['Device']} | Level: @{triggerBody()?['Level']} | Temperature: @{triggerBody()?['Temperature']} | Priority: @{triggerBody()['Priority']} | Check your process! |
Paste the HTTP URL link you obtained from Power Automate (Step 3.6) into line 23.
The JSON to be sent to Teams is structured within the code.
- Device: “REACTOR TANK”
- Level: varlevel
- Temperature: vartemp
- Priority: spriority
The code is compiled Teams_message.cs
Microsoft Teams Notifications with FactoryTalk Optix
Version 1.0 - September 2026