
Announcements
Team - Here is my case
I have written a PA BOT like below
When a new message is keyed into a channel, PA BOT will reply to it with a @mention TAG created in the that team. THis works great when i manually create a message in a channel and click send button..
But now the catch is - if the message comes to the channel via incoming webhook ,the BOT is not working...Any ideas or pointers please?
Did some analysis... The PA output is below
"body": {
"contentType": "html",
"content": "<attachment id=\"1699915b32218a2c849c8954367a38b140544\"></attachment>",
"plainTextContent": ""
},
"channelIdentity": {
"teamId": "xxxx92b-db271-4e5c-bc0d-8da42e3ce771",
"channelId": "333:6271fa8cc7fd342baa20904f251129ba0@thread.tacv2"
},
"attachments": [
{
"id": "1699915b32218a2c849c8954367a38b140544",
"contentType": "application/vnd.microsoft.teams.card.o365connector",
"contentUrl": null,
"content": "{\r\n \"text\": \"<pre><h1> !! Error 404 !! No files seen.. Time_to_chase Vendor !!!... </h1></pre>\"\r\n}",
"name": null,
"thumbnailUrl": null
}
I need to perform business rule if the content contains "Time_to_chase", which is the case above.. but i need to know which Dynmaic variable i need to use...:(
In other words, what dynamic variable I need to use to process
"{\r\n \"text\": \"<pre><h1> !! Error 404 !! No files seen.. Time_to_chase Vendor !!!... </h1></pre>\"\r\n}"