Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Output table in slack slash command

I want slash command to output data in a table format? I know that I will have to setup a custom integration for this. I did that using GET Method. enter image description here

I can setup my own web service on EC2 machine, but how should I make sure that data comes in table format.

May be something like thisenter image description here My problem is how should I make available data present in tabular format?

like image 523
prashantitis Avatar asked Sep 20 '16 06:09

prashantitis


People also ask

Can I put a table in a Slack message?

The official answer is that Slack messages do not support tables.

How do you slash a Slack command?

Here's the structure: /todo - this is the command , the part that tells Slack to treat it as a Slash Command and where to route it.


1 Answers

It's unfortunately not possible to format Slack messages as a table in this way. You would need to resort to generating an image and referencing it in a message attachment. There is limited support for displaying simple fields and labels, but may not quite meet your needs.

like image 74
Taylor Singletary Avatar answered Oct 12 '22 09:10

Taylor Singletary