How Slack shortcuts and slash commands work
Slash commands (also known as shortcuts) are special actions you can use in Slack. Tettra’s slash commands let you do the following:
- Search for Tettra pages in any Slack channel or direct message
- Create page drafts directly from Slack
- Request a new page inside of Slack
Available Slack commands
- Searching for pages: Type
/tettra find {query}
to search your knowledge base. - Creating pages: Type
/tettra new {title}
to create a new page. - Request a page: Type
/tettra request {title}
to request a page. - Request a page assigned to a user: Type
/tettra request @user {title}
to request a page from that user. - Help: Type
/tettra help
to view a list of commands as shown below.
![b7w7lGWIXeEvicMAKdIvxYbkQbqfRl1pJTpz7zq3.png](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/b7w7lGWIXeEvicMAKdIvxYbkQbqfRl1pJTpz7zq3.png)
Searching in Slack
To search for a Tettra page from Slack, click the shortcut icon as shown below, search tettra, and click on the Tettra app that will appear above the search field. You can also type /tettra
.
![KkwMLJFIctN4MyQGzmqywLbNlceP8HRhzfcylna8.png](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/KkwMLJFIctN4MyQGzmqywLbNlceP8HRhzfcylna8.png)
Add the word find before the term you want to search for: /tettra find [search term]
![pHgTaJtisM5InWz7p2d3BOCOmta3Xl2TkLFd6vRl.gif](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/pHgTaJtisM5InWz7p2d3BOCOmta3Xl2TkLFd6vRl.gif)
The results from Tettra are only visible to you. If you'd like to share a page within a Slack channel, click Share with channel, and the content from the Tettra page will display in Slack.
Requesting a Tettra page from Slack
To create a page request from Slack, you need to add the word request and then the title: /tettra request [title]
You can also assign a page request to a teammate by including an @mention: /tettra suggest @[slack username] [title]
Creating Tettra page drafts from Slack
To create page drafts in Tettra right from Slack, you need to add the word new and then the page title: /tettra new [page title]
To edit the draft, click the Edit draft link that will appear, and you'll be redirected to the page editor to write your content.
![L3ojmi7pPlwteDsP0gvLVDVLgOBG0bwVTOem3wwe.png](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/L3ojmi7pPlwteDsP0gvLVDVLgOBG0bwVTOem3wwe.png)
Creating a page request from an existing Slack message
Just hover over any Slack message, click More actions, select Suggest a page Tettra Wiki, and fill out your page request details.
![i6Z3VCZsHX9IZ8fxcBv2RaXGvBFhVOsUP7g4IYaK.gif](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/i6Z3VCZsHX9IZ8fxcBv2RaXGvBFhVOsUP7g4IYaK.gif)
Once you've done this, three things will happen:
- The page request will be added to your Tettra account so that people know the page is being worked on.
![hiNH4HkhqT2oeEEuAuZP1O4YDgSaTMHZ07uANnYG.png](https://tettra-staging.s3.us-west-2.amazonaws.com/e6a3bb5fe35e561dc6df46f32b85a124/1a8a5ef0a226cb4015308a8adf270437/20993de870e0114a29c4be3f8daa2907/222e5dcb6f43dd35c8ba40a18331fa14/hiNH4HkhqT2oeEEuAuZP1O4YDgSaTMHZ07uANnYG.png)
2. A notification will be sent into the Slack channel so that everyone knows the page request was captured.
3. The assignee will be notified via Slack and email that a teammate requested them to write a page.
Related