Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve bot message template #4

Open
preshetin opened this issue May 13, 2020 · 0 comments
Open

Improve bot message template #4

preshetin opened this issue May 13, 2020 · 0 comments

Comments

@preshetin
Copy link
Contributor

preshetin commented May 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant