Feedback
Got feedback? We want it! Submit your comments and suggestions for our community here.

Text Format - Google chat Webhook

Rquiros23
New Member

Does anyone know how to format text when sending a message via Google Chat webhook? The app works perfectly, but when we send a message in plain text only, we need to receive more aesthetically pleasing messages.

I tried using <br> or \n, but they don't work as described in the Google Workspace documentation.

https://developers.google.com/workspace/chat/format-messages?hl=es-419
https://splunkbase.splunk.com/app/3906

Tags (3)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Rquiros23 

I wasnt able to make the new line character (\n) work. howeve I was able to create a multiline Splunk field in the result which *did* work!

livehybrid_0-1742051217086.png

 

You can see where I changed it from \n to multiline.

This is what my search/alert looks like:

livehybrid_1-1742051254998.png

livehybrid_2-1742051345920.png

Please let me know how you get on and consider adding karma to this or any other answer if it has helped.
Regards

Will

 

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...