Graphlit Platform
Developer PortalChangelogPlatform StatusMore InformationJoin Discord
  • Graphlit Platform
    • What is Graphlit?
    • Key Concepts
  • Getting Started
    • Sign up for Graphlit
    • Create Graphlit Project
    • For Python Developers
    • For Node.js Developers
    • For .NET Developers
  • 🚀Quickstart
    • Next.js applications
      • GitHub Code
    • Python applications
      • GitHub Code
  • Graphlit Data API
    • API Usage
      • API Endpoints
      • API Authentication
      • API Explorer
      • GraphQL 101
    • API Reference
      • Content
        • Ingest With Workflow
        • Ingest File
        • Ingest Encoded File
        • Ingest Web Page
        • Ingest Text
        • Semantic Search
          • Query All Content
          • Query Facets
          • Query By Name
          • Filter By Contents
        • Metadata Filtering
          • Filter By Observations
          • Filter By Feeds
          • Filter By Collections
          • Filter By Content Type
          • Filter By File Type
          • Filter By File Size Range
          • Filter By Date Range
        • Summarize Contents
        • Extract Contents
        • Publish Contents
      • Knowledge Graph
        • Labels
        • Categories
        • Persons
        • Organizations
        • Places
        • Events
        • Products
        • Repos
        • Software
      • Collections
      • Feeds
        • Create Feed With Workflow
        • Create RSS Feed
        • Create Podcast Feed
        • Create Web Feed
        • Create Web Search Feed
        • Create Reddit Feed
        • Create Notion Feed
        • Create YouTube Feed
        • User Storage Feeds
          • Create OneDrive Feed
          • Create Google Drive Feed
          • Create SharePoint Feed
        • Cloud Storage Feeds
          • Create Amazon S3 Feed
          • Create Azure Blob Feed
          • Create Azure File Feed
          • Create Google Blob Feed
        • Messaging Feeds
          • Create Slack Feed
          • Create Microsoft Teams Feed
          • Create Discord Feed
        • Email Feeds
          • Create Google Mail Feed
          • Create Microsoft Outlook Feed
        • Issue Feeds
          • Create Linear Feed
          • Create Jira Feed
          • Create GitHub Issues Feed
        • Configuration Options
      • Workflows
        • Ingestion
        • Indexing
        • Preparation
        • Extraction
        • Enrichment
        • Actions
      • Conversations
      • Specifications
        • Azure OpenAI
        • OpenAI
        • Anthropic
        • Mistral
        • Groq
        • Deepseek
        • Replicate
        • Configuration Options
      • Alerts
        • Create Slack Audio Alert
        • Create Slack Text Alert
      • Projects
    • API Changelog
    • Multi-tenant Applications
  • JSON Mode
    • Overview
    • Document JSON
    • Transcript JSON
  • Content Types
    • Files
      • Documents
      • Audio
      • Video
      • Images
      • Animations
      • Data
      • Emails
      • Code
      • Packages
      • Other
    • Web Pages
    • Text
    • Posts
    • Messages
    • Emails
    • Issues
  • Data Sources
    • Feeds
  • Platform
    • Developer Portal
      • Projects
    • Cloud Platform
      • Security
      • Subprocessors
  • Resources
    • Community
Powered by GitBook
On this page

Was this helpful?

  1. Graphlit Data API
  2. API Reference
  3. Feeds
  4. Messaging Feeds

Create Slack Feed

Create Slack feed to ingest Slack messages and attached files.

Last updated 1 year ago

Was this helpful?

Graphlit supports ingesting messages and attached files from Slack channels.

The createFeed mutation enables the creation of a feed by accepting the feed name, type and slack feed parameters and it returns essential details, including the ID, name, state, and type of the newly generated feed.

You will need to opt-in to extracting attachments from Slack messages, which will be ingested as new content objects, by assigning includeAttachments to true.

Depending on the specified type parameter, Graphlit requires the specific feed parameters including the Slack channel and bottoken.

Slack support requires the creation of an Slack application, which can be found on the Slack API . Your bot token can be found on the OAuth & Permissions page, with your Slack application selected. Look at OAuth Tokens for Your Workspace.

You will need to add your bot to any channel you want Graphlit to read.

Here is a suggested set of Bot Token Scopes you need to assign to your bot, so Graphlit can read the available information from the channel:

  • app_mentions:read

  • channels:history

  • channels:read

  • files:read

  • groups:history

  • groups:read

  • im:history

  • im:read

  • links:read

  • mpim:history

  • mpim:read

  • users.profile:read

  • users:read

  • users:read.email

By default, the Slack feed will ingest the markdown text from Slack messages, including the author of the message, and any embedded links or attachments. You will be able to search on the extracted text to locate relevant Slack messages.

Mutation:

mutation CreateFeed($feed: FeedInput!) {
  createFeed(feed: $feed) {
    id
    name
    state
    type
  }
}

Variables:

{
  "feed": {
    "type": "SLACK",
    "slack": {
      "token": "redacted",
      "channel": "redacted",
      "includeAttachments": true,
    },
    "schedulePolicy": {
      "recurrenceType": "REPEAT",
      "repeatInterval": "PT5M"
    },
    "name": "Slack Feed"
  }
}

Response:

{
  "type": "SLACK",
  "id": "1f2ccc29-6e4d-4aec-afe0-f21eedd56132",
  "name": "Slack Feed",
  "state": "ENABLED"
}

You can assign a workflow object when creating the feed, and in order to ingest any referenced web pages or files linked to the Slack messages.

"My Apps" page
enable link crawling
Cover

Queries

Cover

Mutations

Cover

Objects