# Slack app for short-form research: alerts with buttons, /lulu commands and draft approvals

> The lulubanana Slack app brings short-form research into the channels your team already works in: install it once with a Slack sign-in, choose which channel gets which events, and alerts arrive as messages with buttons (save a video to your library, write a brief, approve, request changes on or reject a Creator Mirror draft, open Lulubanana), while /lulu answers with outliers, trends, your top ideas, a brief, your channel audit or Lulu's answer to a question. It is included: 0 credits.

lulubanana is a content research platform and API for short-form video (TikTok, YouTube Shorts and Instagram Reels). Base address: https://lulubanana.com/api/v3. Authentication: `Authorization: Bearer lb_...`. Reads are free; collection is priced like the app.

## 8 things you can do with the Slack app for short-form content research

1. Install the app in a Slack workspace with one sign-in (POST /connections/slack/start)
2. Create the Slack app from our manifest in one paste (GET /integrations/slack/manifest), with only the scopes it uses
3. Pick channels from the workspace (GET /integrations/slack/channels) and give each its own events (POST /integrations/slack/routes)
4. Save a breakout video to your library straight from the alert
5. Write a brief for an opportunity with one button
6. Approve, request changes on or reject a Creator Mirror draft from Slack, with exactly the same rules as in the app
7. /lulu outliers [agent or niche], /lulu trends, /lulu ideas, /lulu brief <id>, /lulu channel and /lulu ask <question>, answered in the channel only to you
8. Trust every request: Slack signatures are checked with a 5-minute window, and removing the app switches its channels off at once

## How it works

1. Install: POST /connections/slack/start (or Settings -> Integrations -> Slack), open authorize_url and pick the workspace; it is linked to your account.
2. GET /integrations/slack/channels, then POST /integrations/slack/routes with a channel_id and the events it should get; a test message arrives at once.
3. Use the buttons on alerts, or type /lulu help in any channel. Commands answer within 3 seconds and post the result a moment later; they act as the account that installed the app and cost nothing.

In the dashboard: Settings -> Integrations -> Slack (https://lulubanana.com/app/dashboard/#/settings/integrations)

## Route ideas and drafts to a Slack channel

After the app is installed (one Slack sign-in), pick a channel and the events it gets. Replace lb_YOUR_KEY with a key from Settings -> API.

### Install: start the Slack sign-in

```bash
curl -X POST https://lulubanana.com/api/v3/connections/slack/start -H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" -d '{}'
# -> {"data":{"authorize_url":"https://slack.com/oauth/v2/authorize?...", ...}}  (open it and pick the workspace)
```

### Pick a channel and give it its events

```bash
curl https://lulubanana.com/api/v3/integrations/slack/channels -H "Authorization: Bearer lb_YOUR_KEY"
curl -X POST https://lulubanana.com/api/v3/integrations/slack/routes -H "Authorization: Bearer lb_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"channel_id":"C07QW2ERT9A","events":["alert","mirror","fusion"]}'
# a test message arrives in #content-alerts at once
```

### /lulu in any channel (answers only you see)

```text
/lulu help
/lulu outliers [agent or niche]
/lulu trends
/lulu ideas
/lulu ask <question>
/lulu brief <fop_... or sop_... id>
/lulu channel
```

## Key terms

- **/lulu**: The app's slash command: help, outliers [agent or niche], trends, ideas, ask <question>, brief <fop_... or sop_... id>, channel. Answers are visible only to the person who asked.
- **Route**: One Slack channel that gets alerts, with its own list of events. A route is an integration of kind slack_app, listed with /webhooks like every connected app.
- **Buttons**: Save to library, Write a brief, Approve, Request changes (a short form opens in Slack), Reject and Open in Lulubanana. Each runs the same code as the app.
- **Request signature**: Every request from Slack carries X-Slack-Signature and X-Slack-Request-Timestamp; Lulubanana refuses any that is wrong, missing or more than 5 minutes old.

## Endpoints

### GET /api/v3/integrations/slack/manifest

A ready Slack app manifest with the /lulu command, the interactivity, events and sign-in addresses and only the scopes the app uses (commands, chat:write, chat:write.public, channels:read): paste it in api.slack.com/apps -> "From an app manifest". Free.

Cost: free.

```bash
curl "https://lulubanana.com/api/v3/integrations/slack/manifest" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply:

```json
{
  "data": {
    "manifest": {
      "_metadata": {
        "major_version": 1,
        "minor_version": 1
      },
      "display_information": {
        "name": "Lulubanana",
        "description": "Short-form research alerts, ideas and briefs in Slack.",
        "background_color": "#1a1a1a",
        "long_description": "Lulubanana finds short-form videos that outperform their creator and turns them into content ideas. In Slack you get alerts in the channels you pick, with buttons to save a video, write a brief or review a Creator Mirror draft, and the /lulu command for outliers, trends, ideas, briefs, questions to Lulu and your channel audit."
      },
      "features": {
        "bot_user": {
          "display_name": "Lulubanana",
          "always_online": true
        },
        "slash_commands": [
          {
            "command": "/lulu",
            "url": "https://lulubanana.com/api/slack/commands",
            "description": "Outliers, trends, ideas, briefs and your channel",
            "usage_hint": "help | outliers [agent or niche] | trends | ideas | ask <question> | brief <id> | channel",
            "should_escape": false
          }
        ]
      },
      "oauth_config": {
        "redirect_urls": [
          "https://lulubanana.com/api/connect/slack/callback"
        ],
        "scopes": {
          "bot": [
            "commands",
            "chat:write",
            "chat:write.public",
            "channels:read"
          ]
        }
      },
      "settings": {
        "event_subscriptions": {
          "request_url": "https://lulubanana.com/api/slack/events",
          "bot_events": [
            "app_uninstalled",
            "tokens_revoked"
          ]
        },
        "interactivity": {
          "is_enabled": true,
          "request_url": "https://lulubanana.com/api/slack/interactivity"
        },
        "org_deploy_enabled": false,
        "socket_mode_enabled": false,
        "token_rotation_enabled": false
      }
    },
    "scopes": [
      "commands",
      "chat:write",
      "chat:write.public",
      "channels:read"
    ],
    "command": "/lulu",
    "redirect_url": "https://lulubanana.com/api/connect/slack/callback",
    "command_url": "https://lulubanana.com/api/slack/commands",
    "interactivity_url": "https://lulubanana.com/api/slack/interactivity",
    "events_url": "https://lulubanana.com/api/slack/events",
    "how": [
      "api.slack.com/apps -> \"Create New App\" -> \"From an app manifest\" -> pick a workspace -> paste this manifest (JSON) -> Create."
    ]
  }
}
```

### GET /api/v3/integrations/slack/channels

The public channels of the workspace where the Slack app is installed (the channel picker), each with route_id when it already gets alerts. ?connection_id= picks the workspace when you installed it in more than one. Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `connection_id` | query | string | The Slack connection (con_...); default: the newest |

```bash
curl "https://lulubanana.com/api/v3/integrations/slack/channels" \
  -H "Authorization: Bearer $LULUBANANA_KEY"
```

Example reply:

```json
{
  "data": [
    {
      "id": "C07QW2ERT9A",
      "name": "content-alerts",
      "is_member": true,
      "members": 6,
      "route_id": 41
    },
    {
      "id": "C02HX8LMN3P",
      "name": "general",
      "is_member": true,
      "members": 24,
      "route_id": null
    }
  ],
  "connection_id": "con_Sl4Kq9Wm2LxT",
  "team": {
    "id": "T024BE7LD",
    "name": "Glow Studio"
  }
}
```

### POST /api/v3/integrations/slack/routes

Send alerts to one Slack channel through the Slack app, with their own events (any of alert, creator, trend, run, analysis, search, digest, mirror, fusion, channel, brief, handoff, calendar; all when left out): messages with buttons to save a video, write a brief, approve, request changes on or reject a Creator Mirror draft, and open Lulubanana. Sending the same channel again changes its events. A test message is sent at once. List, switch off or remove channels with /webhooks. Counts in the 10 integrations per account. Free.

Cost: free.

| Parameter | In | Type | Description |
| - | - | - | - |
| `channel_id` (required) | body | string | A public channel id (C...) from GET /integrations/slack/channels |
| `events` | body | array | Any of alert, creator, trend, run, analysis, search, digest, mirror, fusion, channel, brief, handoff, calendar (default all) |
| `connection_id` | body | string | The Slack connection (con_...) when the app is installed in more than one workspace |

```bash
curl -X POST "https://lulubanana.com/api/v3/integrations/slack/routes" \
  -H "Authorization: Bearer $LULUBANANA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channel_id":"C07QW2ERT9A","events":["alert","mirror","fusion"]}'
```

Example reply:

```json
{
  "data": {
    "id": 41,
    "kind": "slack_app",
    "label": "#content-alerts in Glow Studio",
    "url": "",
    "events": [
      "alert",
      "mirror",
      "fusion"
    ],
    "types": null,
    "active": true,
    "failures_in_a_row": 0,
    "source": "api",
    "pending": false,
    "disabled_reason": null,
    "slack": {
      "team_id": "T024BE7LD",
      "team_name": "Glow Studio",
      "channel_id": "C07QW2ERT9A",
      "channel_name": "content-alerts"
    },
    "last_status": null,
    "last_delivery_at": null,
    "created_at": "2026-11-24T09:30:00.000Z",
    "updated": false,
    "test_job_id": 1007
  }
}
```

## FAQ

**How do I add Lulubanana to Slack?**
Install the app with one Slack sign-in (Settings -> Integrations -> Slack, or POST /connections/slack/start), then pick a channel for each kind of alert. While the app is being set up by Lulubanana, Slack incoming-webhook alerts work too (POST /webhooks with kind slack).

**Which /lulu commands are there?**
/lulu help, /lulu outliers [agent or niche], /lulu trends, /lulu ideas (your top Fusion Engine opportunities), /lulu brief <fop_... or sop_... id>, /lulu channel (your channel audit in short) and /lulu ask <question> (the answer is posted when Lulu is done).

**Do Slack commands cost credits?**
No. Commands and buttons cost nothing beyond what the same action costs in the app (none of them is paid). There is a fair use of 300 commands and 300 buttons a day per account; asking Lulu and writing briefs keep their own daily limits.

**Can I approve a Creator Mirror draft from Slack?**
Yes. Draft alerts carry Approve, Request changes and Reject. Request changes opens a short form for what should change; the draft is rewritten and comes back for review, exactly as in the app.

**What happens when the app is removed from the workspace?**
Every channel of that workspace is switched off at once and you get a notice. Install the app again and they switch back on.

**Which Slack permissions does the app need?**
Only commands, chat:write, chat:write.public, channels:read: the command, posting alerts (also in public channels it has not joined) and listing channels for the picker. It cannot read your messages.

More: https://lulubanana.com/developers/ - all endpoints https://lulubanana.com/developers/endpoints/ - research guide https://lulubanana.com/ai-guide.txt
