Skip to main content
Connectors

Slack connector

Set up the Slack connector in Kaivo: authentication, configuration, the 5 BigQuery tables it syncs, and answers to common questions.

Written By Lauri Raivio

Last updated 16 days ago

Kaivo is a fully managed data platform that syncs your Slack data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your project management data instead of moving it.

What is the Slack connector

Sync your Slack channels, messages, threads, and users into BigQuery with Kaivo to analyse workspace activity and engagement alongside your other data.

CategoryTech, Project Management
AuthenticationAPI key
SetupSelf-service

Getting started with the Slack connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your Slack account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticating Slack

Authenticate with your API Token.

FieldDescription
API Token

A Slack bot token. See the Slack docs for instructions on how to generate it.

Configuring the Slack connector

When you set up the connector, you provide:

FieldDescription
Start Date

Any data before this date will not be fetched.

Join all channels

Whether to join all channels or to sync data only from channels the bot is already in. If false, you'll need to manually add the bot to all the channels from which you'd like to sync messages.

Include private channels

Whether to read information from private channels that the bot is already in. If false, only public channels will be read. If true, the bot must be manually added to private channels.

Channel name filter

A channel name list (without leading '#' char) which limits the channels from which you'd like to sync. Empty list means no filter.

Tables and columns synced from Slack

Kaivo syncs 5 tables from Slack into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
channel_idSTRINGThe unique identifier for the channel where the member is associated.
member_idSTRINGThe unique identifier for the member within the channel.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
channel_idSTRINGUnique identifier of the channel where the message was posted
bot_idSTRINGUnique identifier of the bot that sent the message
bot_profile__app_idSTRINGID of the Slack app associated with the bot
bot_profile__deletedBOOLFlag indicating if the bot profile has been deleted
bot_profile__idSTRINGUnique identifier of the bot profile
bot_profile__nameSTRINGName of the bot
bot_profile__team_idSTRINGID of the team to which the bot belongs
bot_profile__updatedINT64Timestamp of the last profile update
client_msg_idSTRINGUnique identifier for the client who sent the message
display_as_botBOOLFlag indicating if the message is displayed as coming from a bot
file_idSTRINGUnique identifier of the file attached to the message
icons__emojiSTRINGEmoji icon used in the message
inviterSTRINGUser ID of the member who invited a user to the channel
is_delayed_messageBOOLFlag indicating if the message was delayed
is_introBOOLFlag indicating if the message is an introduction message
is_starredBOOLFlag indicating if the message is starred
last_readSTRINGTimestamp when the message was last read
latest_replySTRINGTimestamp of the latest reply to the message
nameSTRINGName of the channel
old_nameSTRINGPrevious name of the channel if renamed
parent_user_idSTRINGUnique identifier of the parent user
permalinkSTRINGPermanent link to the message
purposeSTRINGPurpose set for the channel
reply_countINT64Number of replies to the message
reply_users_countINT64Number of users who replied to the message
source_teamSTRINGTeam ID of the source team
subscribedBOOLFlag indicating if the user is subscribed to the channel
subtypeSTRINGType of message subtype
teamSTRINGTeam ID where the message was posted
textSTRINGText content of the message
thread_tsSTRINGTimestamp of the thread the message is part of
topicSTRINGTopic set for the channel
tsSTRINGTimestamp of the message
float_tsFLOAT64Timestamp of the message in float format
is_lockedBOOLFlag indicating if the message is locked
typeSTRINGType of message (e.g., message, reply, etc.)
unread_countINT64Number of unread messages in the channel
uploadBOOLFlag indicating if the message contains uploaded content
userSTRINGUnique identifier of the user who sent the message
user_teamSTRINGTeam ID of the user who sent the message
usernameSTRINGUsername of the user who sent the message
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__blocks

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRINGType of block (e.g., section, actions, context, etc.)
block_idSTRINGUnique identifier for the block
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__blocks__elements

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRINGType of elements container (e.g., context, actions, etc.)
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__blocks__elements__elements

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
textSTRINGText content of the element
typeSTRINGType of element (e.g., text, image, etc.)
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__attachments

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
titleSTRINGTitle of the attachment
idINT64Unique identifier for the attachment
colorSTRINGColor code to be used for the attachment
fallbackSTRINGPlain text summary of the attachment
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__file_ids

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__pinned_to

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__reactions

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
countINT64Number of users who reacted
nameSTRINGEmoji name of the reaction
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__reactions__users

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channel_messages__reply_users

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
idSTRINGThe unique identifier of the channel.
nameSTRINGThe name of the channel.
is_channelBOOLIndicates if the entity is a channel.
is_groupBOOLIndicates if the channel is a group (private channel) rather than a regular channel.
is_imBOOLIndicates if the entity is a direct message (IM) channel.
context_team_idSTRINGThe unique identifier of the team context in which the channel exists.
createdINT64The timestamp when the channel was created.
creatorSTRINGThe ID of the user who created the channel.
is_archivedBOOLIndicates if the channel is archived.
is_generalBOOLIndicates if the channel is a general channel in the workspace.
unlinkedINT64Indicates if the channel is unlinked.
updatedINT64The timestamp when the channel was last updated.
name_normalizedSTRINGThe normalized name of the channel.
is_read_onlyBOOLIndicates if the channel is read-only.
is_sharedBOOLIndicates if the channel is shared.
is_ext_sharedBOOLIndicates if the channel is externally shared.
is_org_sharedBOOLIndicates if the channel is organization-wide shared.
is_pending_ext_sharedBOOLIndicates if the channel is pending external shared.
is_memberBOOLIndicates if the calling user is a member of the channel.
is_privateBOOLIndicates if the channel is a private channel.
is_mpimBOOLIndicates if the entity is a multiple person direct message (MPIM) channel.
last_readSTRINGThe timestamp of the user's last read message in the channel.
topic__valueSTRINGThe value of the channel topic.
topic__creatorSTRINGThe ID of the user who last set the topic.
topic__last_setINT64The timestamp when the topic was last set.
purpose__valueSTRINGThe value of the channel purpose.
purpose__creatorSTRINGThe ID of the user who last set the purpose.
purpose__last_setINT64The timestamp when the purpose was last set.
num_membersINT64The number of members in the channel.
parent_conversationSTRINGThe parent conversation of the channel.
localeSTRINGThe locale of the channel.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__pending_shared

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSONList of pending shared items.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__shared_team_ids

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRINGList of shared team IDs.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__previous_names

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRINGList of previous names.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: channels__pending_connected_team_ids

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRINGList of pending connected team IDs.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
channel_idSTRINGID of the channel where the thread is posted
bot_idSTRINGID of the bot user that posted the thread
client_msg_idSTRINGUnique identifier for the thread
typeSTRINGType of the thread
textSTRINGText content of the thread
userSTRINGID of the user who posted the thread
tsSTRINGTimestamp of the thread creation
float_tsFLOAT64Timestamp in floating format
subtypeSTRINGType of the thread subtype
is_lockedBOOLFlag indicating if the thread is locked
last_readSTRINGTimestamp of the last read
parent_user_idSTRINGUser ID of the parent thread's creator
teamSTRINGID of the team where the thread is posted
thread_tsSTRINGTimestamp of the thread
reply_countINT64Number of replies in the thread
reply_users_countFLOAT64Number of users who replied in the thread
latest_replySTRINGTimestamp of the latest reply
subscribedBOOLFlag indicating if the user is subscribed to the thread
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: threads__blocks

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRINGType of the block
block_idSTRINGUnique identifier for the block
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: threads__blocks__elements

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRINGType of elements in the block
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: threads__blocks__elements__elements

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
textSTRINGThe text content
typeSTRINGType of element
user_idSTRINGUser ID associated with the element
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: threads__reply_users

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
idSTRINGUnique identifier for the user.
profile__always_activeBOOLIndicates if the user is always active.
profile__avatar_hashSTRINGHash value representing the user's avatar.
profile__status_textSTRINGText representing the user's status.
profile__status_emojiSTRINGEmoji representing the user's status.
profile__real_nameSTRINGFull real name of the user.
profile__display_nameSTRINGThe display name of the user.
profile__real_name_normalizedSTRINGNormalized full real name of the user.
profile__display_name_normalizedSTRINGNormalized display name of the user.
profile__emailSTRINGEmail address of the user.
profile__huddle_stateSTRINGState of the user's huddle.
profile__image_24STRINGURL of the user's 24px image.
profile__image_32STRINGURL of the user's 32px image.
profile__image_48STRINGURL of the user's 48px image.
profile__image_72STRINGURL of the user's 72px image.
profile__image_192STRINGURL of the user's 192px image.
profile__image_512STRINGURL of the user's 512px image.
profile__teamSTRINGTeam associated with the user.
profile__image_1024STRINGURL of the user's 1024px image.
profile__image_originalSTRINGURL of the user's original image.
profile__first_nameSTRINGFirst name of the user.
profile__last_nameSTRINGLast name of the user.
profile__titleSTRINGJob title of the user.
profile__phoneSTRINGPhone number of the user.
profile__skypeSTRINGSkype ID of the user.
profile__status_expirationINT64Expiration date for the user's status.
profile__status_text_canonicalSTRINGCanonical text representing the user's status.
team_idSTRINGUnique identifier for the team the user belongs to.
nameSTRINGThe username of the user.
deletedBOOLIndicates if the user is deleted or not.
colorSTRINGThe color assigned to the user for visual purposes.
real_nameSTRINGThe real name of the user.
tzSTRINGTimezone of the user.
tz_labelSTRINGLabel representing the timezone of the user.
tz_offsetINT64Offset of the user's timezone.
is_adminBOOLFlag specifying if the user is an admin or not.
is_ownerBOOLFlag indicating if the user is an owner.
is_primary_ownerBOOLSpecifies if the user is the primary owner.
is_restrictedBOOLFlag specifying if the user is restricted.
is_ultra_restrictedBOOLIndicates if the user has ultra-restricted access.
is_botBOOLIndicates if the user is a bot account.
is_forgottenBOOLSpecifies if the user is marked as forgotten.
is_invited_userBOOLIndicates if the user is invited or not.
is_email_confirmedBOOLFlag indicating if the user's email is confirmed.
updatedINT64Timestamp of when the user's information was last updated.
who_can_share_contact_cardSTRINGSpecifies who can share the user's contact card.
is_app_userBOOLSpecifies if the user is an app user.
has_2faBOOLFlag indicating if the user has two-factor authentication enabled.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: users__profile__status_emoji_display_info

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRINGIndividual items for status emoji display info.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

How the Slack sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Slack supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won't get duplicate rows.

Frequently asked questions

How long does the initial sync take for Slack?

It depends on how much history is in your Slack account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they're much faster.

Can I sync only some tables or columns?

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don't select are never copied to your warehouse.

What happens when Slack's schema changes?

New fields are never added automatically. You choose which fields to sync, so data you haven't selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table's sync mode: full-refresh tables always match what's currently in Slack, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Slack instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Slack connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Slack data

Aggregate channel_messages by channel and date to track message volume, the most active channels, and how usage shifts over time.

Engagement and participation

Combine channel_members with channel_messages to see who is active, who is lurking, and who drives conversation in each channel.

Thread response times

Use threads and their timestamps to measure how quickly questions get answered and where conversations go unresolved.

Workspace directory reporting

Analyse the users table to report on membership, time zones, and deactivated accounts across teams.

Use Slack data in your AI and BI tools

Once Slack data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here's how the most common destinations work with Slack data.

Claude

Use Kaivo's MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Power BI

Microsoft's BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Data Studio

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

Tableau

The premium analytics standard, with native BigQuery integration. Setup guide →

Google Sheets

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Excel

Connect via Power Query's BigQuery connector. Setup guide →

Metabase

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for Slack connector pricing and plan details.

  • Adform: Sync Adform to BigQuery.
  • Amplitude: Sync Amplitude to BigQuery.
  • Auth0: Sync Auth0 to BigQuery.
  • ClickUp: Sync ClickUp to BigQuery.
  • Convex: Sync Convex to BigQuery.
  • GitHub: Sync GitHub to BigQuery.

Was this helpful?

Still need help? Share an idea