I am using a flow which simply posts a message to slack.
However I am wanting to post as an attachment which allows me to change the layout of the message and especially the color of verticle bar to be either danger, warning or good.
Is there a particular message format and parse option I need to select to be able to use attachments.
The info from the api documents says to use:
Test
{ "attachments": [ { "fallback": "Required plain-text summary of the attachment.", "color": "#2eb886", "pretext": "Optional text that appears above the attachment block", "author_name": "Bobby Tables", "author_link": "http://flickr.com/bobby/", "author_icon": "http://flickr.com/icons/bobby.jpg", "title": "Slack API Documentation", "title_link": "https://api.slack.com/", "text": "Optional text that appears within the attachment", "fields": [ { "title": "Priority", "value": "High", "short": false } ], "image_url": "http://my-website.com/path/to/image.jpg", "thumb_url": "http://example.com/path/to/thumb.png", "footer": "Slack API", "footer_icon": "https://platform.slack-edge.com/img/default_application_icon.png", "ts": 123456789 } ] }