---
title: "Files announced in Slack when Captain finishes indexing them | FlowRunner flow"
description: "When Captain reports an indexing job completed, the team hears in Slack which files are now searchable and in which collection, with the uploader and Box folder when the indexing flow tagged them."
url: https://flowrunner.ai/flows/captain-indexed-files-announced-in-slack
date_published: 2026-12-01
date_modified: 2026-12-02T08:59:36-08:00
---

# Files announced in Slack when Captain finishes indexing them

When Captain reports an indexing job completed, the team hears in Slack which files are now searchable and in which collection, with the uploader and Box folder when the indexing flow tagged them.

## The prompt

Whenever Captain finishes indexing a job, tell the team in Slack which files are now searchable and in which collection. If the job indexed nothing new because every file was unchanged, stay quiet.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

## The flow

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/captain-indexed-files-announced-in-slack.json)

-   [Captain](https://flowrunner.ai/integrations/captain)
-   [Slack](https://flowrunner.ai/integrations/slack)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  Indexing job completed Starts when Captain reports an indexing job finished with every file indexed or skipped. Captain signs the webhook and FlowRunner checks the signature.
2.  Any file newly indexed? A job where every file was skipped as unchanged ends here, so the channel only hears about new content.
3.  Get the job's files Reads the job's per-file results and its custom metadata, up to 200 files.
4.  Tell the team in Slack Posts the file name, or the count and the list when there were several, the collection, and the uploader and Box folder when the indexing flow tagged them. Skipped files are counted.

## Need it built for you? Our team does custom work.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=flows.aside&utm_term=captain-indexed-files-announced-in-slack)

## Before you turn it on

-   Enter your Captain API key from Captain Studio and connect your Slack account.
-   Pick the team's channel in Tell the team in Slack.
-   Leave the trigger's Collection filter empty to hear about every collection, or pick one. The trigger registers one webhook endpoint with Captain; an organization can hold 20.
-   Jobs started by Captain's own storage syncs fire this too. Set Started By to API in the trigger to hear only about files your flows indexed.

[Everything FlowRunner does with Captain](https://flowrunner.ai/integrations/captain)

---
Markdown version of https://flowrunner.ai/flows/captain-indexed-files-announced-in-slack. Site index: https://flowrunner.ai/llms.txt
