Send matching Box files to Slack on request

BotsArtificial IntelligenceSales EnablementRecipe ToolsDocument/FileMarketing

What it does

When someone runs the Box show file command in Slack, this automation searches Box for that file name. It replies with up to three partial matches, or says so when nothing matches.

Who it's for

Operations teams who need to find a Box file from Slack without browsing folders.

How teams use this

Find a file without opening Box

Search by name from Slack and get up to three matches back in the thread, instead of clicking through folders. Nothing else has to change for the team to use it.

Let legal find a signed document

Invite the bot to the legal channel so a file name in the thread returns the matching Box documents. The flow stays the same and only the channel changes.

Help sales pull a proposal by name

Add the command to a deal channel so the team can surface a proposal from Box while the conversation is still going. The flow stays the same and only the channel changes.

Include the folder name in each match

Add the parent folder name to each result so the channel can tell similar file names apart. That is the only extra piece this setup needs.

How it works

  1. Ask for a file name. Type the Box show file command with part of the file name in a Slack channel or direct message.
  2. Search Box for that name. Search Box for files whose names match the text given in the command, so close names still surface.
  3. Reply when nothing matches. If Box returns no file, reply in Slack to say nothing matched, so the name can be adjusted and tried again.
  4. Reply with the matching files. Post up to three matching files in the same Slack conversation, each with a link back to the file in Box.