For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
  • Getting started
    • Introduction
    • Obtaining API keys
    • Quickstart
    • Concepts
    • Embedding authentication
    • Versioning
    • Idempotent requests
  • Configuring your connections
    • CDC streaming from databases
      • Affinity
      • Airtable
      • Amplitude
      • API
      • Apollo.io
      • Asana
      • Ascend
      • Attio
      • AWS S3
      • AWS Athena
      • AWS OpenSearch
      • Azure Blob Storage
      • Azure SQL
      • BiqQuery
      • CloudSQL (MySQL)
      • CloudSQL (Postgres)
      • Chargebee
      • ConstructionWire
      • CosmosDB
      • Customer.io
      • Databricks
      • Datadog
      • dbt Cloud
      • Delighted
      • Dialpad
      • Dittofeed
      • DynamoDB
      • Facebook Ads
      • Freshdesk
      • Front
      • FullStory
      • Google Cloud Storage
      • Github
      • Google Ads
      • Google Workspace
      • Google Sheets
      • Harmonic
      • Heap
      • Honeycomb
      • HubSpot
      • Intercom
      • Iterable
      • Jira
      • Klaviyo
      • Kustomer
      • Linear
      • Linkedin Ads
      • Lob
      • Mailercheck
      • Marketo
      • MongoDB
      • Microsoft Ads
      • MySQL
      • Netsuite
      • Outreach
      • Pardot
      • Pipedrive
      • Postgres
      • PredictLeads
      • Quickbooks
      • Recharge
      • Redshift
      • Redshift Serverless
      • Reply.io
      • Salesforce
      • Segment
      • SFTP
      • Shopify
      • Short.io
      • Slack
      • Snowflake
      • Statsig
      • Stripe
      • Survicate
      • Synapse
      • Tixr
      • Unbounce
      • Uservoice
      • Vanilla Forums
      • Webhooks
      • Zendesk Chat
      • Zendesk Support
      • ZoomInfo
  • API Reference
Logo
Log inBook a demo
On this page
  • Overview
  • Ingesting Slack events
  • Connection
  • Configuration
  • Example
  • Read-only properties
  • Bulk Sync
  • Source
  • Configuration
  • Example
Configuring your connectionsConnection configurations

Slack

Was this page helpful?
Previous

Snowflake

Next

Supports:

  • ✅ Bulk sync source
  • ✅ Connection Proxy

Overview

Polytomic connects to Slack using a Bot User OAuth Access Token. This requires first creating a Slack app

  1. Go to the Slack App site.

  2. Click Create an App.

  3. Give the app a name and select the workspace you want to sync data from.

  4. Click Create App.

  5. Add the following OAuth Scopes to the list of Bot Token Scopes:

  • channels:history
  • channels:join
  • channels:read
  • files:read
  • groups:read
  • links:read
  • reactions:read
  • remote_files:read
  • remote_files:write
  • team:read
  • useergroups:read
  • users.profile:read
  • users:read
  • users:read.email
  1. Install the app to your Slack workspace.

  2. After successfully installing the app to your Slack workspace, use the resulting Bot User OAuth Access Token as the api_key value in your Polytomic Slack connection config.

Ingesting Slack events

If you want to ingest Slack’s real-time events using Polytomic’s Bulk Syncs, you’ll need to perform additional configuration in the Slack app you set up above after creating a Polytomic Slack connection.

  1. Turn on the Enable Events switch in the Event Subscriptions section of your Slack app config:

Slack app events config

  1. Copy the Event Subscription Request URL (the read-only event_url value in the connection configuration) from your newly-created Polytomic Slack connection and paste it in the Request URL field above. You can also use your own URL as long as you implement a 301HTTP redirect to your Polytomic Slack connection’s event subscription request URL.

  2. Click Add Bot User Event to specify the list of Slack events that Polytomic should ingest.

  3. Once you’ve saved your new Slack application config, you’ll be able to add the collection Events to your Polytomic bulk sync config. You’ll then receive all Slack events you added in Step 3.

Connection

Configuration

NameTypeDescriptionRequired
api_keystringBot API Keytrue

Example

1{
2 "name": "Slack connection",
3 "type": "slack",
4 "configuration": {
5 "api_key": "secret"
6 }
7}

Read-only properties

NameTypeDescriptionRequired
event_urlstringEvent Subscription Request URL

Used if ingesting Slack events.
false

Bulk Sync

Source

Configuration

NameTypeDescriptionRequired
message_lookbackintegerLookback period for Slack message updatesfalse

Example

1{
2 ...
3 "source_configuration": {
4 "message_lookback": 0
5 }
6}