Promoting to Microsoft Teams
The Block Editor feature within Interact allows Content Authors to promote content across many channels within your business including Microsoft Teams. The following guide explains how to configure Interact to promote to your Teams workspace.
Creating an Incoming Webhook
-
Open the channel in which you want to add the webhook and select ••• from the upper-right corner.
-
Select Connectors from the dropdown menu.
![Teams 1.png 264](https://files.readme.io/57fc28a-Teams_1.png)
- Search for 'Incoming Webhook' and select Add.
![Teams 4.png 991](https://files.readme.io/c3bf598-Teams_4.png)
- You'll be presented with another screen that prompts you to click Add again
![Teams 5.png 1106](https://files.readme.io/bf29448-Teams_5.png)
-
Return to the 'Connectors' screen by selecting ••• from the upper-right corner again and clicking on 'Connectors'.
-
Select Configure, provide a name, and upload an image for your webhook if necessary.
![Teams 2.png 670](https://files.readme.io/e1a3ab0-Teams_2.png)
-
Copy and save the unique webhook URL present in the dialog. The URL maps to the channel and you can use it to send information to Teams.
-
Select Done.
![Teams 3.png 600](https://files.readme.io/1ba1505-Teams_3.png)
The webhook is now available in the Teams channel. You can read more about Incoming Webhooks and even see a video tutorial of the above steps on the Microsoft website: https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook
Configuring Interact to be able to Promote a Page to your Teams workspace.
- From Application Settings > Control Panel > Block Editor > Promotion Channels > Add New Channel
- Specify the Name and Type. The Name is what your Content Authors will see when they are selecting which platform to promote to so 'Teams' is fine here. The 'Type' field must be set to 'm365teams'.
- Mark it as active.
- Paste the code below into the 'Configuration' field but use your own Webhook URL. Provider can remain as incoming-webhook.
- Click Save.
{
"provider":"incoming-webhook",
"config":{
"url":"your_own_webhook_url"
}
}
![Teams 6.png 471](https://files.readme.io/e7aae17-Teams_6.png)
You should now be able to Promote a Page to a public or private Teams channel.
![Slack 15.png 1140](https://files.readme.io/3d970f0-Slack_15.png)
![Teams 7.png 473](https://files.readme.io/58dc94b-Teams_7.png)
Updated over 1 year ago