Slack Tables

The Slack integration includes the following tables

SlackAccessLogs

Each access log entry represents a user accessing Slack from a specific user, IP address, and user agent combination.

NameTypeDescription
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CountintegerThe total number of times an access log entry has been recorded for a given combination.
CountrystringThe estimated region within the country where the access attempt was made, based on the IP address.
DateFirstdatetimeThe Unix timestamp marking the first recorded access for a specific user, IP address, and user agent combination
DateLastdatetimeThe Unix timestamp indicating the most recent access for that same combination.
IDintegerUnique identifier for the access log.
IPstringThe IP address from which the user accessed Slack.
ISPstringThe estimated internet service provider associated with the recorded IP address.
RegionstringThe estimated country from which the access originated, based on the IP address.
UserAgentstringThe user agent string reported by the browser or client application at the time of access.
UserIDstringThe unique identifier of the user associated with the access log entry.
UserNamestringThe username of the individual who accessed Slack.

SlackFiles

Stores metadata for files hosted or shared in Slack workspaces

NameTypeDescription
ConfigIDintegerIdentifier of the Compyl integeregration configuration that sourced the data.
FileIDstringUnique identifier of the file assigned by Slack (e.g., F123ABC456).
CreateddatetimeUTC timestamp when the file was first uploaded to Slack.
TimestampdatetimeSame as Created; retained for compatibility with Slack's timestamp field.
NamestringOriginal filename including extension.
TitlestringUser‑friendly title shown in Slack UI.
MimeTypestringStandard MIME type of the file content (e.g., image/png, application/pdf).
FileTypestringSlack's short file type identifier (e.g., png, docx).
PrettyTypestringHuman‑readable version of FileType (e.g., PNG).
UserIDstringUser ID of the individual who uploaded the file.
Editablebit1 if the file supports in‑place editing via Slack or the connected service.
SizeintegerFile size in bytes.
ModestringHosting mode for the file (hosted, snippet, post, external, etc.).
IsExternalbitIndicates whether the file is stored outside Slack.
ExternalTypestringName of the external service when IsExternal = 1 (e.g., gdrive, dropbox).
IsPublicbitTrue if the file is shared in a public channel.
PublicUrlSharedbitTrue if a public URL has been generated and shared.
DisplayAsBotbitTrue when the message displaying the file is posted as a bot.
UsernamestringUsername
UrlPrivatestringAuthenticated URL to access the file within Slack.
UrlPrivateDownloadstringDirect authenticated download link.
ThumbUrlsJsonstringJSON object containing thumbnail URLs keyed by resolution.
OriginalWidthintegerWidth of the original image/video, in pixels (if applicable).
OriginalHeightintegerHeight of the original image/video, in pixels (if applicable).
CommentsCountintegerNumber of comments on the file at the time of sync.
BatchDatedatetimeTimestamp when the record was synchronized integero Compyl.

SlackGroups

Each group represents a user group within a team.

NameTypeDescription
AutoTypestringCan be admins for a Workspace Admins group, owners for a Workspace Owners group or null for a custom group.
BatchDatedatetimeThe date and time data was synced to our database.
ConfigIDintegerThe ID of the configuration within Compyl.
CreatedBystringUser ID of the member who created the user group.
CreatedDatedatetimeWhen the user group was created.
DeletedBystringUser ID of the member who deleted the user group.
DeletedDatedatetimeNon-zero value for disabled groups.
DescriptionstringExplains the purpose of the group (optional).
GroupIDstringThe ID of the usergroup.
HandlestringIndicates the value used to notify group members via a mention without a leading @ sign.
isExternalbooleanIndicates if the user group is external.
isUserGroupbooleanIndicates if the object is a user group.
NamestringIndicates the friendly name of the group.
TeamIDstringThe ID of the team.
UpdatedBystringUser ID of the member who updated the user group.
UpdatedDatedatetimeUser ID of the member who deleted the user group.
UserCountintegerIndicates the total number of users in a group.

SlackRemoteFiles

Stores metadata for remote file references (files hosted on external services)

NameTypeDescription
ConfigIDintegerIdentifier of the Compyl integration configuration that sourced the data.
FileIDstringUnique identifier of the file assigned by Slack (e.g., F123ABC456).
CreateddatetimeUTC timestamp when the file was first uploaded to Slack.
TimestampdatetimeSame as Created; retained for compatibility with Slack's timestamp field.
NamestringOriginal filename including extension.
TitlestringUser‑friendly title shown in Slack UI.
MimeTypestringStandard MIME type of the file content (e.g., image/png, application/pdf).
FileTypestringSlack's short file type identifier (e.g., png, docx).
PrettyTypestringHuman‑readable version of FileType (e.g., PNG).
UserIDstringUser ID of the individual who uploaded the file.
Editablebit1 if the file supports in‑place editing via Slack or the connected service.
SizebigintFile size in bytes.
ModestringHosting mode for the file (hosted, snippet, post, external, etc.).
IsExternalbitIndicates whether the file is stored outside Slack.
ExternalTypestringName of the external service when IsExternal = 1 (e.g., gdrive, dropbox).
IsPublicbitTrue if the file is shared in a public channel.
PublicUrlSharedbitTrue if a public URL has been generated and shared.
DisplayAsBotbitTrue when the message displaying the file is posted as a bot.
UsernamestringUsername
UrlPrivatestringAuthenticated URL to access the file within Slack.
UrlPrivateDownloadstringDirect authenticated download link.
ThumbUrlsJsonstringJSON object containing thumbnail URLs keyed by resolution.
OriginalWidthintegerWidth of the original image/video, in pixels (if applicable).
OriginalHeightintegerHeight of the original image/video, in pixels (if applicable).
CommentsCountintegerNumber of comments on the file at the time of sync.
BatchDatedatetimeTimestamp when the record was synchronized into Compyl.

SlackUsers

Each user represents users in a workspace. This includes both invited users and deleted/deactivated users.

NameTypeDescription
APIAppIDstringrefers to the unique identifier of the Slack app that is currently interacting with a user
BatchDatedatetimeThe date and time data was synced to our database.
BotIDstringIndicates whether the user is actually a bot user.
ConfigIDintegerThe ID of the configuration within Compyl.
DeletedbooleanThis user has been deactivated when the value of this field is true. Otherwise the value is false, or the field may not appear at all.
DisplayNamestringThe display name the user has chosen to identify themselves by in their workspace profile.
DisplayNameNormalizedstringThe display_name field, but with any non-Latin characters filtered out.
EmailstringA valid email address.
FirstNamestringThe user's first name.
Has2fabooleanDescribes whether two-factor authentication is enabled for this user.
IsAdminbooleanIndicates whether the user is an Admin of the current workspace.
IsAppUserbooleanIndicates whether the user is an authorized user of the calling app.
IsBotbooleanIndicates whether the user is actually a bot user.
IsInvitedUserbooleanOnly present (and always true) when a user has been invited but has not yet signed in.
IsOwnerbooleanIndicates whether the user is an Owner of the current workspace.
IsPrimaryOwnerbooleanIndicates whether the user is the Primary Owner of the current workspace.
IsRestrictedbooleanIndicates whether or not the user is a guest user.
IsUltraRestrictedbooleanIndicates whether or not the user is a single-channel guest.
JobTitlestringThe user's title.
LastNamestringThe user's last name.
LocalestringContains a IETF language code that represents this user's chosen display language for Slack clients.
PhonestringThe user's phone number, in any format.
RealNamestringThe user's first and last name.
RealNameNormalizedstringThe real_name field, but with any non-Latin characters filtered out.
SkypestringAlways an empty string. Skype is no longer with us.
TeamIDstringThe ID of the team the user is on.
TimezonestringDescribes the commonly used name of the timezone.
UpdateddatetimeA Unix timestamp indicating when the user object was last updated.
UserIDstringIdentifier for this workspace user.
UserNamestringIt indicated the preferred username for a user. However, please don't use, this has been phased out.


Did this page help you?