Sending messages to Teams from GoAnywhere
Steps to follow to send messages to Teams:
1) In Teams, create a channel, then select 'connectors'
2) configure an 'incoming webhook' and record the URL
3) In GoAnywhere, create a REST resource and provide the URL. Set the data format to JSON and leave the authentication tab blank. IMPORTANT: on the Connection tab, set Use Chunked Encoding to 'no'. Save the resource
4) In a project, add a REST Post task referring to the new resource. Set the content type to "application/json"
5) Use the following for the Content:
{
"@context": "http://schema.org/extensions",
"title": "YOUR TITLE",
"@type": "MessageCard",
"text": "YOUR MESSAGE"
}
6) Now test!