---
title: "Send message from Pico LTE to Slack"
description: "Send a message from the Pico LTE to a Slack channel through an incoming webhook, over the cellular connection."
url: "https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/send-message-slack/"
last_updated: "2026-10-12"
---

# Send message from Pico LTE to Slack

Send a message from the Pico LTE to a Slack channel through an incoming webhook, over the cellular connection.

This example sends a message from the Pico LTE to a Slack channel through an incoming webhook, over the cellular connection. No extra hardware is needed.

## Before you begin

**Required**

**Hardware**

- **Sixfab Pico LTE or Pico LTE 2**: Registered and active in Sixfab Connect, connected to the computer with the micro USB cable.

**Software**

- **Thonny with MicroPython and the Pico LTE SDK**: Set up as in the [quickstart](https://docs.sixfab.com/cellular/pico-lte/quickstart/).
- **config.json**: In the root of the board: [Prepare the configuration file](https://docs.sixfab.com/cellular/pico-lte/micropython-sdk/configuration-file/).
- **Slack account**: With a workspace you can add an app to; the next section creates one if needed.

## Create workspace

If you have a workspace to use, skip this section. Sign in to [Slack](https://slack.com/) and click **Create a New Workspace**, then:

1. **Enter company or team name.**

   ![Slack workspace setup step 1 of 4 with the company or team name Sixfab entered and a Next button](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_1.webp)

2. **Add your name and profile photo.**

   ![Slack workspace setup step 2 of 4 asking for your name and optional profile photo](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_2.webp)

3. **Add coworkers by email, or skip.**

   ![Slack workspace setup step 3 of 4 to add coworkers by email, with a Skip this step link](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_3.webp)

4. **Enter project your team works on.**

   The workspace is created.

   ![Slack workspace setup step 4 of 4 with PicoLTE entered as what the team is working on](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_4.webp)

## Create app

1. **Create new app.**

   Open [api.slack.com](https://api.slack.com/), click **Your apps**, then **Create an app**.

   ![Slack API Your Apps page with the Create an App button highlighted](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_5.webp)

2. **Choose From scratch.**

   ![Slack Create an app dialog with the From scratch option highlighted](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_6.webp)

3. **Name app and choose workspace.**

   For example *PicoLTE*, in the workspace that will receive the messages.

   ![Slack Name app & choose workspace dialog with app name PicoLTE and workspace Sixfab](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_7.webp)

## Add incoming webhook

1. **Activate incoming webhooks.**

   In the app’s settings, open **Incoming Webhooks** under **Features** and turn the feature on.

   ![Slack Incoming Webhooks page: menu item, On toggle and Add New Webhook to Workspace button marked 1 to 3](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_8.webp)

2. **Add webhook to channel.**

   Click **Add New Webhook to Workspace** and select the channel that will receive the messages.

   ![Slack permission page asking where PicoLTE should post, with channel #picolte selected and Allow button](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_9.webp)

3. **Copy webhook URL.**

   The app appears in the channel, and Slack shows the webhook URL, specific to one user and one channel:

   ![Slack webhook table with a hooks.slack.com Webhook URL, Copy button and channel #picolte](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_10.png)

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

## Run example

1. **Set webhook URL in config.json.**

   ```json
   {
       "slack": {
           "webhook_url": "INCOMING_WEBHOOK_URL"
       }
   }
   ```

2. **Run script.**

   Open `examples/slack/send_message.py` from the [SDK repository](https://github.com/sixfab/pico_lte_micropython-sdk) in Thonny and click **Run**.

   ![Thonny running send_message.py on Pico LTE with shell output Result status 0, response ok](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_11.webp)

   ```text
   INFO: Sending message to slack channel...
   INFO: Result: {'status': 0, 'response': ['ok'], 'interval': 0}
   ```

3. **Check channel.**

   The message appears in the channel.

   ![Slack #picolte channel showing the message It is test message from PicoLTE! from the PicoLTE app](https://docs.sixfab.com/wp-content/uploads/sixfab-docs/Pico_LTE_Send_Message_to_Slack_Channel_12.webp)
