How to Use the Slack Search Export

Sophie
Sophie This badge shows you’re hearing straight from the source! Team members are here to share insider tips, answer questions, and guide you through PhantomBuster with expert knowledge. They’re dedicated to helping you succeed and making sure your automation journey feels easy and exciting. PhantomBuster Official
  • Updated

Slot usage

1 slot

Estimated execution time

~20 seconds per 100 results

What you'll need

  • A connected Slack account (use the PhantomBuster browser extension)
  • Your Slack workspace URL
  • A list of search terms
  • Access to the workspace where you want to search

    → See the full breakdown of all input fields in the detailed section below.

What you’ll get

  • The type of result (message or file)
  • The message content or the file name
  • The creation timestamp
  • A download link if a file is included

    → See the full breakdown of all output fields in the detailed section below.

Step 1: Connect your Slack account

To let the Phantom act on your behalf:

  1. Install the PhantomBuster browser extension and connect your Slack session in one click.
  2. If you’re not using Chrome or Firefox, you can retrieve your session cookie manually (see our cookie guide).
  3. You’ll also need to provide your Slack workspace URL
PhantomBuster Slack Search Export step 1 connecting your Slack account

Step 2: Provide your search terms

You can give your input in one of the following ways:

  1. A single search term:
    • Enter the single search term in the input field.
  2. A URL:
    • Paste the URL of a Google Sheet with your search terms, one per row (make sure it’s shared with “Anyone with the link”).
    • Or upload a CSV file with your search terms (make sure it’s publicly accessible, and note that CSV upload is only available on paid plans).

→ If you’re using a spreadsheet, the Phantom defaults to the first column (A). To use a different column, enter the column’s header name in the field “Column name where "search terms" are stored in the spreadsheet.”

PhantomBuster Slack Search Export step 2 providing your search terms

Step 3: Configure extraction options

  1. Type of content you want to search for (optional):
    Select one of the following:
    • All
    • Messages
    • Files
  2. Number of searches to process per launch, max. 10 (optional):
    • Default = 10.
    • If left empty, the Phantom will still attempt to process a maximum of 10.
  3. Number of results to extract per search (optional):
    • Default = empty, the Phantom will attempt to extract all of them.
PhantomBuster Slack Search Export step 3 configuring extraction options

Result file settings (dropdown in setup)

  1. Name your results file (optional)
    • You can customize the file name.

      If you rename the file between launches, the Phantom will create a new results file and start processing inputs from scratch.

  2. Fields to keep (optional)

Step 4: Select launch frequency

Choose how often the Phantom should run:

  1. Launch manually: Start the Phantom yourself whenever you need.
  2. Launch once at a specific time: schedule a one-time run at a set date and time.
  3. Launch repeatedly: schedule regular runs (e.g. once per day, several times during working hours).
  4. Launch after another Phantom: chain automations together so this Phantom starts right after another finishes.
  5. Advanced scheduling: customize the exact minutes, hours, days, or months when the Phantom should run.

→ For a complete walkthrough of scheduling options, see our guide to scheduling Phantoms automatically.

PhantomBuster Slack Search Export step 4 selecting launch frequency

Step 5 (Optional): Advanced settings

Advanced settings are available if you want to fine-tune how your Phantom runs, but by default they’re already optimized for most use cases.

We recommend leaving them as they are unless a guide specifically instructs you to change something.

→ For a detailed overview of all advanced options (like execution limits, retries, email notifications, proxies, webhooks, and file management), see our Advanced settings guide.

Launch and results

When you’re ready:

  1. Click Launch to start your Phantom.
  2. Once it finishes, open the Results tab in the Phantom console to see extracted search results (messages, files, or activity).
  3. Download your results as a CSV or JSON file.

To learn how to export your data to Google Sheets, integrate with other tools, or reuse it in more automations, check our Access and Export your Phantom Results guide.

Export and input limits on the Free plan
If you’re on the Free plan or Free trial, some features are limited:
- CSV exports include only the first 10 rows of results.
- CSV download links (for dynamic viewing in Google Sheets or integrations) are not available.
- JSON exports are not available.
- CSV upload as an input method is not supported.
To unlock all features, you’ll need to upgrade to a paid plan.

What you give (Input) and What you get (Output)

This section gives you a detailed breakdown of everything you need to provide to run this Phantom, and everything you’ll receive once it completes.

What you give (Input)

Type Description
Slack cookie Your Slack session cookie
Slack workspace Your Slack workspace URL

What you get (Output)

Type Description
resultType Can be either file or message
name File name
from Slack user display name
createdAt Created At
downloadUrl URL where the file can be downloaded
text Message content

Tips and troubleshooting

Common pitfalls

  • Using a private spreadsheet (make sure it’s set to “Anyone with the link”).
  • Search history limits → Slack only keeps a limited message history depending on your workspace plan. Older messages may not appear in search results.
  • Workspace visibility → The Phantom can only extract results that your Slack account has permission to view. Private channels or messages you don’t have access to will not appear.
  • No official rate limits: Slack hasn’t published strict limits for searches, but we recommend using this Phantom moderately to avoid triggering platform checks.

If you run into issues

Suggested automations

Pair this Phantom with:

Was this article helpful?

0 out of 0 found this helpful