
Announcements
Hello Everyone.
I have a flow that stores some variables. I want to output those variable to a Teams group.
In Teams I have set up the incoming webhook successfully, and I can use Postman to post to the Team group using that same webhook URL.
But when I add the Invoke Web Service option in my PAD flow and put in the details it doesn't work.
The WebServiceResponse variable comes back with 'Bad payload received'.
Here is how it looks in PAD:
Here is my JSON request body, the variables from my flow are in bold:
{
"@type": "MessageCard",
"@context": "https://schema.org/extensions",
"summary": "Test Bot",
"themeColor": "0078D7",
"title": "My Test Bot,
"sections": [
{
"facts": [
{
"name": "Test1:",
"value": "%TestDigits1%"
},
{
"name": "Test2:",
"value": "%TestDigits2%"
},
{
"name": "Test3:",
"value": "%TestDigits3%"
}
],
"text": "First test:"
},
{
"facts": [
{
"name": "Test4:",
"value": "%TestDigits4%"
},
{
"name": "Test5:",
"value": "%TestDigits5%"
},
{
"name": "Test6:",
"value": "%TestDigits6%"
}
],
"text": "Second test set."
}
],
"potentialAction": [
{
"@type": "OpenUri",
"name": "Open URL1",
"targets": [
{
"os": "default",
"uri": "https://...."
}
]
},
{
"@type": "OpenUri",
"name": "Open URL 2",
"targets": [
{
"os": "default",
"uri": "https://...."
}
]
}
]
}
Where am I going wrong? Any help is much appreciated - thanks!