I am creating a automation where rule is receiving json response from a custom Rovo agent. Now, I want to post that JSON response to a confluence page as a table. How can I do that?
I am trying to pass as below but its not working.
"body": {
"representation": "storage",
"value": [
{{agentResponse}}
]
}
I tried without square bracket and also converting to string using {{agentResponse}}.asJsonString
I am getting error as below.
Unable to publish the web request - received HTTP status response:
Error found in the HTTP body response:
{"errors":[{"status":400,"code":"INVALID_MESSAGE","title":"Invalid message","detail":null}]}
How to resolve this?
Thanks,
Praveen