Skip to content

Improve bot message template #4

@preshetin

Description

@preshetin

Currently, the message bot posts look is not ideal.

To improve this and make it easy for development, I suggest using Block Kit Builder tool created by Slack. This tool allows to play how the Slack message would look like. You'd be surprised at how many cool 🚀 elements a Slack message could have!

Check out the steps below 👇 on how you can improve the existing message template. If you get stuck just let me know. I'm thinking to record a short video with a walkthrough of those steps.

How to use Block kit builder for improving message template

  1. Copy this JSON object which is an example of the current bot message:
Message example as JSON:
{
   "blocks":[
      {
         "type":"section",
         "text":{
            "type":"mrkdwn",
            "text":"Here are job posts I've recently run into.\n\n *Check them out:*"
         }
      },
      {
         "type":"divider"
      },
      {
         "type":"section",
         "text":{
            "type":"mrkdwn",
            "text":"*Grafiker Tasarımcı*\nCompany: Meryem Boz Spor Akademi | :world_map:Location: Anywhere\n:clock9:Wed, 13 May 2020 08:27:36 GMT | <https://www.behance.net/joblist/73399/Grafiker-Tasarmc|View job>"
         }
      },
      {
         "type":"divider"
      },
      {
         "type":"section",
         "text":{
            "type":"mrkdwn",
            "text":"You can find more jobs at Designed platform"
         },
         "accessory":{
            "type":"button",
            "text":{
               "type":"plain_text",
               "text":"Go to Designed.org"
            },
            "url":"https://www.designed.org/jobs"
         }
      }
   ]
}
  1. Visit Block Kit builder (it's a tool from Slack for creating rich messages) and paste initial JSON object above to the right side of that page.
  2. Make the necessary adjustments, when it's ready then paste your resulting JSON object to the comment of this issue.

If you feel stuck, just leave a comment below

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions