Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

2.6 KB
Raw Blame
{
  "blocks": [
    {
      "type": "header",
      "text": {
        "type": "plain_text",
        "text": "Hello from TaskBot",
        "emoji": true
      }
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "Hey there 👋 I'm TaskBot. I'm here to help you create and manage tasks in Slack.\nThere are two ways to quickly create tasks:"
      }
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "*1️⃣ Use the `/task` command*. Type `/task` followed by a short description of your tasks and I'll ask for a due date (if applicable). Try it out by using the `/task` command in this channel."
      }
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "*2️⃣ Use the _Create a Task_ action.* If you want to create a task from a message, select `Create a Task` in a message's context menu. Try it out by selecting the _Create a Task_ action for this message (shown below)."
      }
    },
    {
      "type": "image",
      "title": {
        "type": "plain_text",
        "text": "image1",
        "emoji": true
      },
      "image_url": "https://api.slack.com/img/blocks/bkb_template_images/onboardingComplex.jpg",
      "alt_text": "image1"
    },
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "➕ To start tracking your team's tasks, *add me to a channel* and I'll introduce myself. I'm usually added to a team or project channel. Type `/invite @TaskBot` from the channel or pick a channel on the right."
      },
      "accessory": {
        "type": "conversations_select",
        "placeholder": {
          "type": "plain_text",
          "text": "Select a channel...",
          "emoji": true
        }
      }
    },
    {
      "type": "input",
      "element": {
        "type": "plain_text_input",
        "action_id": "plain_text_input-action"
      },
      "label": {
        "type": "plain_text",
        "text": "Try writing some task in here:",
        "emoji": true
      }
    },
    {
      "type": "divider"
    },
    {
      "type": "context",
      "elements": [
        {
          "type": "image",
          "image_url": "https://pbs.twimg.com/profile_images/625633822235693056/lNGUneLX_400x400.jpg",
          "alt_text": "cute cat"
        },
        {
          "type": "mrkdwn",
          "text": "👀 View all tasks with `/task list`"
        },
        {
          "type": "mrkdwn",
            "text": "❓Get help at any time with:\n- `/task help`, or\n- type *help* in a DM with me"
        }
      ]
    }
  ]
}