I can't figure out how to build the JSON for an HTTP Post:
ie, this doesn't work where [somevariablehere]. How do I manually concat what I want to post along with some dynamnic variables?
{
"color": "green",
"message": "(awesome) [somevariablehere] ",
"notify": false,
"message_format": "text"
}
Take a look at documentation of the Logic Apps definition language: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language
You can use the concat
function to concatenate strings, for example
{
"color": "green",
"message": "@concat('awesome', actionBody('otherAction').someProperty)",
"notify": false,
"message_format": "text"
}