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
Super Champion

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!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...