Slack Integration

Used for: Triggers

Promptless integrates with Slack through our official Slack App, enabling automated documentation updates based on team communication and support conversations.

Installation

  1. Click “Connect Slack” from the integrations page.
Integrations Page
  1. You’ll be redirected to Slack to install the Promptless app. Be sure to select the right workspace to install Promptless.
Slack Workspace Selection
  1. Review and approve the requested permissions for the Promptless Slack app. Promptless requires these permissions to be able to be triggered from the right events in Slack and to notify your team when updates are available.
Slack Permissions
Understanding Slack Permissions

Promptless requests broader permissions than it currently uses to support potential future features like searching across Slack threads for relevant context. Currently, Promptless only accesses threads when you explicitly tag @Promptless or use the “Update Docs” message action. Promptless does not actively monitor or read any channels.

  1. Verify that Slack is connected in the integrations page.
Slack Integration Complete

Project Setup and Permissions

After installing the Slack app, you can configure new projects in the projects page to be set up to trigger from Slack.

Below is an example of a project that is set up to trigger from Slack.

Slack Project Setup

Once the Project is created, you will be able to trigger Promptless by writing @Promptless in a Slack channel, or by clicking Slack “Update Docs” message action on any thread. When you perform either of these actions, Promptless will pull the entire thread it was tagged in, and identify the right documentation updates based on the contents of that thread.

Privacy and Channel Access

Promptless only reads Slack content when you explicitly trigger it by tagging @Promptless or using the “Update Docs” message action. It does not monitor, scan, or automatically read messages in any channels. Promptless cannot access private channels unless it has been specifically invited to those channels.

Image Processing in Slack Threads

Promptless can now process images shared in Slack threads when triggered, enhancing documentation with visual elements when appropriate.

How It Works

  1. When you tag @Promptless or use the “Update docs” message action in a thread containing images, Promptless will analyze both the text and images in the thread.

  2. Promptless evaluates whether the images provide valuable context that should be included in the documentation.

  3. If an image is deemed relevant, Promptless will:

    • Upload the image to a secure S3 bucket managed by Promptless
    • Include the image in the documentation updates it suggests
    • Format the image appropriately for the documentation platform
  4. When reviewing the suggestion in the Promptless app, you’ll see the added images at the bottom of the review interface, allowing you to approve or reject their inclusion.

Image Processing in Slack Threads

Managing Images

After images have been added to your documentation, you can manage them through the Promptless dashboard:

  1. Navigate to the Change History page for the specific documentation update
  2. Scroll to the Created Assets section at the bottom of the page
  3. From here, you can:
    • View a preview of each image
    • Copy the URL of an image to use elsewhere
    • Delete an image if it’s no longer needed

Important: When you delete an image, it is permanently removed from both the database and storage. If the image is referenced in any documentation, you will need to manually update that content to remove or replace the reference to the deleted image.

Permission Requirements

This feature requires additional Slack permissions to access images in threads. If you installed the Slack app before this feature was released, you’ll need to reinstall it:

  1. Go to the integrations page
  2. Delete the existing Slack integration
  3. Re-add the Slack app to grant the new permissions

Note: Currently, image processing is only supported for images directly shared in Slack threads. Images from other sources (such as changelogs or external links) are not automatically processed.

Permission Scope and Usage

What Promptless Actually Does

Promptless operates on an explicit trigger model with Slack:

  • Only reads content when triggered: Promptless only accesses Slack messages when you explicitly tag @Promptless or use the “Update Docs” message action
  • Thread-based processing: When triggered, Promptless reads the entire thread to understand context, but only for that specific thread
  • No background monitoring: Promptless does not scan, monitor, or automatically read messages in any channels

Why Broader Permissions Are Requested

The Slack app requests broader permissions than currently used to support potential future features:

  • Future search capabilities: We’ve designed the permission scope to potentially allow searching across Slack threads for relevant context (similar to searching through documentation)
  • Customer-requested features: Some customers have specifically asked for the ability to search historical Slack conversations for documentation context
  • Optional future functionality: If we add these features, they would be opt-in configuration options that you control

Authentication Model

Promptless uses Slack’s official App authentication, which provides:

  • Secure OAuth 2.0 token-based authentication
  • Granular permission scopes
  • Ability to revoke access at the workspace or channel level
  • Regular token rotation for enhanced security