23 Jan 2024 05:35 AM - last edited on 23 Jan 2024 08:42 AM by MaciejNeumann
Hello team,
We have a Synthetic monitor enabled for a HTTP Get endpoint, and we also have integrated both Email and Slack notification to get notified in case of any outage. But we could see there is no proper message in the Alert notification, so we would like to have the actual response body in the alert message. For that we have enabled Post execution script with the following script to capture the response body.
We tried using this as a placeholder {responseBody} in the Slack Message, but we could not see the actual response body in the message instead the placeholder was sent as it is. Are we missing anything here? Could someone help us with this please?
Thanks!
27 Mar 2024 06:27 PM
In terms of the alert integrations, Slack only has the following placeholders:
Any placeholder that you add, that isn't in the list above will result in a clear text payload.