When building an Automation, you may choose the "Send MS Teams message" action. When the automation runs successfully, a corresponding Microsoft Teams message will be sent, containing the customizable information of your choosing during the automation configuration process.
NOTEThis automation is not available for personal accounts due to limitations from Microsoft. Automations is in active development and more functionality is on the way. If you have any feedback to offer, feel free to share that with us here
After you have configured your base in the manner you choose, you can then begin configuring your automation. To start creating an automation, click on “Automations” in the upper right corner of your screen. Then, click “Create an automation” to begin the setup process. For this example, we will be setting up an automation that sends a notification to a team in MS Teams when a project in our Project Tracker template is completed.
Choose a trigger
First, we will set up a trigger to fire when a project enters a "Completed" view. In our Project Tracker base, we have previously created a filter that only allows projects from a completed checkbox field to enter the "Completed" view. To do this, choose the corresponding table and view within the base and test the trigger.
Add an action
After testing successfully, we can move onto setting up the action. To set up the "Send MS Teams message" action click the blue "+ Add Action" button. Then, click on the "Send MS Teams message" option. This will bring up a window with configuration options. If it is your first time creating this action, then you may need to "Manage connected accounts" or "Connect new account" before proceeding.
This will bring you to a "Connected Accounts" configuration window within Airtable.
If you encounter an error during login, you may need to get in touch with your IT department or check your MS Teams account settings to enable this integration. More on that process in our MS Teams admin approval support article.
If the computer you are working on is a trusted personal (not shared) computer, then it may be worth staying signed in, by clicking "Don't show this again" during the setup process.
After successfully connecting your MS Teams account to Airtable you can proceed with configuring the action. Choose the preferred Microsoft Teams account, specific Team, and specific Channel that you would like the message to be sent to.
You can now set up your message to include custom information including emojis, information from records in Airtable, as well as some XML (HTML) tags. After your message looks the way you want it to you must click "Run test" to ensure the action is working properly.
If the test runs successfully, then at this point it's a good idea to check your MS Teams Channel to make sure everything looks the way you want it to. If so, you can now turn on the automation so that your custom notification sends out each time a project is completed.
Can I include a clickable link in my MS Teams message?
At the moment, it is not possible to include a clickable URL link within an MS Teams message.
Which XML (HTML) tags can I use in an MS Teams message automation?
As we gather more information on which tags work you can reference this support article from Microsoft.