I think you want to send groups in slack message so structured that anyone easily identify it.
To do so you can format your result in table or something else using Markdown syntax
Slack supports markdown messages
Slack markdown message format doc