Slack - Workspace Operations

Site: slack|https://slack.com/

Get plain text:

curl -H "Accept: text/plain" https://jugoya.ai/guides/slack/workspace-operations

Overview

Navigate Slack workspaces, access channels, download images, and export list data. Includes authentication handling.

URLs

PageURLPurpose
Workspacehttps://app.slack.com/client/\{WORKSPACE_ID\}Direct workspace access
Channelhttps://app.slack.com/client/\{WORKSPACE_ID\}/\{CHANNEL_ID\}Direct channel access
DMhttps://app.slack.com/client/\{WORKSPACE_ID\}/\{DM_ID\}Direct message access
Workspace Sign-inhttps://app.slack.com/workspace-signinAuthentication entry point

Critical Constraints

  • Authentication Required: Must be logged in - redirects to workspace-signin if session expired
  • Direct URLs Preferred: Use direct workspace/channel URLs when authenticated
  • reCAPTCHA: Email login may trigger reCAPTCHA requiring manual intervention
  • Channel ID Format: Public channels start with C, DMs start with D

Workflow: Login via Email Magic Code

When accessing workspace URL without active session, Slack redirects to workspace-signin.

1. Enter Workspace URL

At workspace-signin page:

  1. Find input field labeled "Enter your workspace's Slack URL"
  2. Enter workspace slug (e.g., example for example.slack.com)
  3. Click "Continue" button

2. Select Authentication Method

At workspace login page:

  • Google: OAuth with Google account
  • Apple: OAuth with Apple ID
  • Email: Magic code sent to email (detailed below)
  • Password: Traditional password login (via "sign in with a password instead" link)

3. Email Magic Code Flow

  1. Enter email address in input field
  2. Complete reCAPTCHA if prompted (requires manual interaction)
  3. Click "Sign In With Email" button
  4. Check email for 6-digit code
  5. Enter code in 6 digit input fields (digit 1-6)

4. Verify Login Success

After successful authentication:

  • URL changes to https://app.slack.com/client/\{WORKSPACE_ID\}/\{CHANNEL_ID\}
  • Channel sidebar visible on left
  • Message area displayed in center

Workflow: Access Workspace

1. Navigate to Workspace URL

Use direct URL: https://app.slack.com/client/\{WORKSPACE_ID\}

If authenticated, bypasses login and opens directly into workspace.

2. Handle Redirect to Login

If redirected to workspace-signin, follow "Login via Email Magic Code" workflow above.

3. Verify Workspace Loaded

Check for:

  • Channel sidebar visible
  • Message area displayed
  • Workspace name in header

Workflow: Navigate to Channel

1. Use Direct Channel URL

Navigate to https://app.slack.com/client/\{WORKSPACE_ID\}/\{CHANNEL_ID\}

2. Alternative: Use Sidebar

  1. Locate channel in left sidebar
  2. Click channel name
  3. Wait for messages to load

3. Find Channel IDs

Channel IDs can be found by:

  • Right-clicking channel → "Copy link" → extract ID from URL
  • Opening channel → ID appears in browser URL bar

Workflow: Search Messages

1. Open Search

Click search button in top navigation bar.

2. Enter Query

Type search terms in the query input field.

3. Apply Filters

Optional filters available:

  • "From": Filter by sender
  • "In": Filter by channel

4. View Results

Results show matching messages. Click to navigate to message context.

Workflow: Download High-Resolution Images

Slack thumbnails are low resolution. To get original quality images:

1. Open Image Modal

Click on the image in the message to open the full-size preview modal.

2. Locate Download Button

Find the download button or link (labeled "Download" or with the filename).

3. Click Download

Click the download link to save the file.

Workflow: Export List to CSV

Slack Lists can be exported for data extraction.

1. Navigate to List Channel

Open the channel containing the Slack List.

2. Open List Menu

Click the three-dot menu ("More list actions").

3. Select Export Option

Choose "Export to CSV" from the dropdown menu. The file will be downloaded.

Page Structure Reference

Workspace Sign-in Elements

ElementDescription
Workspace URL inputEnter workspace slug
Continue buttonProceed to workspace login
Find your workspaces linkLookup workspaces by email

Workspace Login Elements

ElementDescription
Google buttonOAuth with Google
Apple linkOAuth with Apple
Email inputEnter email for magic code
Sign In With Email buttonRequest magic code
reCAPTCHA checkbox"I'm not a robot" verification

Magic Code Entry Elements

ElementDescription
digit 1-6 inputs6-digit code entry fields
Open Gmail linkQuick access to email
Open Outlook linkQuick access to email
Request a new code buttonResend magic code

Sidebar Elements

ElementDescription
Workspace switcherSwitch between workspaces
Search buttonSearch messages and files
Channels sectionList of joined channels
Direct MessagesList of DM conversations
Apps sectionInstalled Slack apps

Message Area Elements

ElementDescription
Channel headerChannel name and member count
Message listConversation history
Message inputCompose new message
Attachment buttonAdd files/images
Emoji pickerAdd reactions

Image Modal Elements

ElementDescription
Full-size imageHigh-resolution preview
Download buttonSave original file
Share buttonShare to channel/DM
Close buttonExit modal

Troubleshooting

IssueCauseSolution
Redirected to workspace-signinSession expiredComplete login flow
reCAPTCHA appearsBot detectionComplete manually
Magic code not receivedEmail delay or spam filterCheck spam, request new code
"Please enter a workspace URL"Empty inputEnter workspace slug before Continue
Channel not foundInvalid channel IDVerify ID from channel URL
Low-res imageDownloaded thumbnailOpen modal, use download button
List export failsMenu not accessibleTry manual export via browser

Notes

  • Workspace IDs start with T
  • Channel IDs start with C (public) or G (private)
  • DM IDs start with D
  • Workspace slug is the subdomain (e.g., example from example.slack.com)
  • Magic codes expire after a few minutes
  • reCAPTCHA may not appear on trusted networks/devices
  • High-res image URLs contain /files-pri/, thumbnails use /files-tmb/
  • List exports include all visible columns in CSV format