Hi All,
I am trying to send a slack message from a plugin.
I have a formatted HTML message coming as a part of json payload.
as shown below:
{
"message": "<br>The below <b>Purchase Order</b> is set to expire in 90 days or less.<br> Please review the details, and then indicate if you would like to initiate a renewal or not.<br> • <b>PO Number</b>: <a href="https://www.google.com">PO1100004112</a><br> - <b>Requisition BU</b>: TEst, BU.<br> - <b>Supplier</b>: Test Supplier <br> - <b>Requester</b>: test.user@test.com<br> - <b>PO Description</b>: Test Support Fee<br> - <b>PO Total Amount</b>: 50,000.00<br> - <b>PO Remaining Amount</b>: 18,500.00<br> - <b>PO Expiration Date</b>: 31-Dec-2025",
"recipients": [
"dhotre.virupaksha@airbnb.com"
],
"context": {
"slots": {
"messageId": "62cd4a70cf8011f0b478a201a1fa319b-91",
"poNumber": "PO1100004112",
"notificationType": "PO RENEWALS"
}
}
}

My compound action notify message has the below script:
RENDER():
args:
fn: data.target_user.user.first_name
msg: data.message
template: Hi {{fn}}, {{msg}}

This sends the message to slack :
Hi Dhotre, <br>The below <b>Purchase Order</b> is set to expire in 90 days or less.<br> Please review the details, and then indicate if you would like to initiate a renewal or not.<br> • <b>PO Number</b>: <a href="https://www.google.com">PO1100004112</a><br> - <b>Requisition BU</b>: TEst, BU.<br> - <b>Supplier</b>: Test Supplier <br> - <b>Requester</b>: test.user@test.com<br> - <b>PO Description</b>: Test Support Fee<br> - <b>PO Total Amount</b>: 50,000.00<br> - <b>PO Remaining Amount</b>: 18,500.00<br> - <b>PO Expiration Date</b>: 31-Dec-2025

Attaching the screenshots as well for the reference.
I need the bot to render the HTML message as is.
Any help would be greatly appreciated
Thanks in advance
Virupaksha