> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spidra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Easily connect your [Spidra](https://spidra.io) preset to [Slack](https://slack.com/) and start receiving automated scrape results.

This guide walks you through how to integrate your saved [Spidra](https://spidra.io) preset with [Slack](https://slack.com/), enabling you to automatically send scraped data into your Slack workspace in just a few clicks.

Spidra offers **two integration methods** for Slack:

* **Webhook** – Ideal for sending simple, plain text messages and it is quick to set up.
* **Bot Token** – Suitable for advanced workflows and sending file attachments.

***

Let’s explore the setup for both methods.

## Step 1: Access the Integrations Page

Navigate to the **Integrations** tab on your dashboard and click on the **Add Integration** button.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Add-button.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=33b882f581d917d122e72523028db42d" alt="Clicking Add Integration in Spidra dashboard" className="rounded-lg" width="2940" height="346" data-path="images/Spidra-Integrations-Add-button.png" />

## Step 2: Select Slack as Integration Type

From the preset dropdown, select the saved preset you'd like to connect to Slack. Choose **Slack** as your integration type.

Click **Next** to proceed.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Slack-select-slack.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=fe940c1a1cd8ada77b20c052e04e44c4" alt="Clicking Add Integration in Spidra dashboard" className="rounded-lg" width="2358" height="1126" data-path="images/Spidra-Integrations-Slack-select-slack.png" />

## Step 3: Configure Your Slack Integration

Spidra supports two ways to connect with Slack. We'll start with the Slack Wehbook:

***

### Method 1: Using a Slack Webhook (Simple, Text-Only)

This method is perfect for quickly getting text-based scrape results delivered to a specific channel, it dooesn't support file attachment.

#### Steps to Get Your Slack Webhook URL

1. Go to the [Slack Incoming Webhooks page](https://api.slack.com/messaging/webhooks).
2. Click **"Create your Slack app"** (if you don’t already have one).

<img className="block dark:hidden" src="https://mintcdn.com/spidra/-ILE4dclRrInL2rH/images/Spidra-Integrations-Slack-create-slack-app.png?fit=max&auto=format&n=-ILE4dclRrInL2rH&q=85&s=056155ed8967cd7c180105ddf8664d54" alt="Create Slack App" className="rounded-lg" width="2940" height="1598" data-path="images/Spidra-Integrations-Slack-create-slack-app.png" />

3. **Create your Slack App**:
   * Name it something like `"Spidra Notifications"`.
   * Choose the Slack workspace where you want to install it.
   * Click **Create App**.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-app-description.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=87fb32b8769499711b013811e5b6eeb1" alt="App description" className="rounded-lg" width="2940" height="1598" data-path="images/Spidra-Integrations-Slack-app-description.png" />

4. **Enable Incoming Webhooks**:
   * In the app dashboard, navigate to **Features → Incoming Webhooks**.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-toggle-webhooks.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=120985c56a73ca1203b360d9b5a6e897" alt="Enable Incoming Webhooks" className="rounded-lg" width="2934" height="1534" data-path="images/Spidra-Integrations-Slack-toggle-webhooks.png" />

* Toggle the switch to **activate webhooks**.

5. **Add the Webhook to a Channel**:
   * Scroll down and click **“Add New Webhook.”**

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-activate-webhooks.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=c7212b91ca0c5a273ba5243f08d2a478" alt="Enable Incoming Webhooks" className="rounded-lg" width="1879" height="848" data-path="images/Spidra-Integrations-Slack-activate-webhooks.png" />

* Select the channel you want messages sent to.
* Click **Allow** to grant access.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-grant-access.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=6a79aa4c8e20413652a64143abc198da" alt="Add the Webhook to a Channel" className="rounded-lg" width="2934" height="1574" data-path="images/Spidra-Integrations-Slack-grant-access.png" />

6. **Copy Your Webhook URL**:
   * You’ll be provided a URL like:

     ```
     https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
     ```

   * Paste this URL into the **Webhook URL field** in Spidra's Slack integration form.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Slack-%20Webhook-URL.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=14742f184d845f1a712b048edafc4175" alt="Copy Your Webhook URL" className="rounded-lg" width="2336" height="1126" data-path="images/Spidra-Integrations-Slack- Webhook-URL.png" />

<Note>**Note**: This method supports only plain text — for file attachments, use the Bot Token method.</Note>

***

### Method 2: Using a Slack Bot Token (Advanced, File Uploads)

If you need to send rich messages or file attachments (e.g., large data exports), we recommend using a Slack Bot Token integration. Since you’ve already created the **Spidra Notifications** Slack app, follow these steps to enable bot functionality.

#### Steps to Enable Bot Token in Your Existing Slack App

1. **Go to Your App Settings**: Visit api.slack.com/apps and click on your app: **Spidra Notifications**.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-App-Settings.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=8b0219e4894fb3f9edf05ffacf38fd0d" alt="Go to Your App Settings" className="rounded-lg" width="2284" height="494" data-path="images/Spidra-Integrations-Slack-App-Settings.png" />

2. **Navigate to OAuth & Permissions**: In the left sidebar, click **OAuth & Permissions**.

3. **Set Scopes for Your Bot Token**: Scroll to Bot Token Scopes and click **Add an OAuth Scope**. Add the following permissions:

* `chat:write` → to send messages as the bot.

* `files:write` → to upload and send files.

* `channels:read` → to access public channels.

* `groups:read` → to access private channels (if needed).

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-Bot-Token-Scopes.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=58d1ba05568377ca13c9429f8f00582c" alt="Set Scopes for Your Bot Token" className="rounded-lg" width="2576" height="1434" data-path="images/Spidra-Integrations-Slack-Bot-Token-Scopes.png" />

4. **Install or Reinstall the App**: At the top of the page, click **Install App to Workspace or Reinstall** if already installed. Proceed to authorize the permissions for your workspace.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-Bot-Token-Install-or-Reinstall-App.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=f742063a8776630cf94bb16feb1b8b88" alt="Install or Reinstall the App" className="rounded-lg" width="2930" height="1594" data-path="images/Spidra-Integrations-Slack-Bot-Token-Install-or-Reinstall-App.png" />

5. **Copy Your Bot User OAuth Token**: After installing, scroll up to the OAuth Tokens for Your Workspace section. Copy the token that starts with:

```bash theme={null}
xoxb-...
```

Paste this into the Bot Token field in Spidra's Slack integration form.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-Bot-Token-User-OAuth-Token.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=da9e0fafaf2a799247cfc4b55414955c" alt="User OAuth Token" className="rounded-lg" width="2358" height="470" data-path="images/Spidra-Integrations-Slack-Bot-Token-User-OAuth-Token.png" />

6. **Get Your Slack Channel ID**: Spidra also requires your Slack Channel ID to know where to send the data. Here’s how to get it:

* Open Slack and go to the desired channel.
* Right-click the channel name → Copy Link.

You’ll get a URL like:

```bash theme={null}
https://slack.com/app_redirect?channel=C1234567890
```

Copy the value after channel, this is your Channel ID, for example:

```bash theme={null}
C1234567890
```

Paste this ID into the Channel ID field in the integration form.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Slack-Bot-Token-Slack-Channel-ID.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=27a01a622ee36686bda9457200539ae8" alt="Slack Channel ID" className="rounded-lg" width="2336" height="1180" data-path="images/Spidra-Integrations-Slack-Bot-Token-Slack-Channel-ID.png" />

***

## Step 4: Set Up Your Schedule

Define how often and when you want the integration to trigger:

* **Frequency**: Daily, Weekly, and Monthly.

* **Time**: Select the exact time for the scrape job to run.

* **Timezone** (default is `UTC`): Use a valid [IANA timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) (e.g., `Africa/Lagos`, `America/New_York`).

Click **Next** when you're done.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Slack-Set-Up-Your-Schedule.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=9333f74dff08f41d3ceb843776083ecc" alt="Set Up Your Schedule" className="rounded-lg" width="2336" height="1180" data-path="images/Spidra-Integrations-Slack-Set-Up-Your-Schedule.png" />

## Step 5: Name Your Integration

Give your integration a name that reflects its purpose, this helps with managing multiple integrations. **Example**: `Jobs Alert III`, etc.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/5rJUFzEa-eraFvBt/images/Spidra-Integrations-Slack-Name-Your-Integration.png?fit=max&auto=format&n=5rJUFzEa-eraFvBt&q=85&s=b386d56535cff389bef1c14fe6cb2c2d" alt="Name Your Integration" className="rounded-lg" width="2336" height="1180" data-path="images/Spidra-Integrations-Slack-Name-Your-Integration.png" />

## Step 6: Receive Data in Slack

Once your scheduled time hits, Spidra will automatically send the scrape results to your selected Slack channel. If you used the Slack Bot Token, you will be able to see the results and also download it.

You’ll find the data posted directly in your workspace, exactly how you configured it.

<img className="block dark:hidden" src="https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/images/Spidra-Integrations-Slack-Receive-Data-in-Slack.png?fit=max&auto=format&n=47EJpglRIcFOVcnQ&q=85&s=579c50e9c5d6864dc41524eeebb2a325" alt="Receive Data in Slack" className="rounded-lg" width="2618" height="1542" data-path="images/Spidra-Integrations-Slack-Receive-Data-in-Slack.png" />

***
