Box + Slack

Connect Box and Slack to Keep Your Team on the Same Page

Automate file notifications, approvals, and content collaboration between Box and Slack so nothing falls through the cracks.

Why integrate Box and Slack?

Box and Slack are two of the most widely used platforms in modern workplaces — one is the secure home for all your business content, while the other is where your teams communicate and make decisions in real time. When the two run independently, teams waste time hunting down the latest file versions, missing upload notifications, or manually chasing approvals. Connecting Box with Slack through tray.ai bridges your content and communication layers, so the right people always have the right information when they need it.

Automate & integrate Box & Slack

Use case

Instant File Upload Notifications in Slack

Whenever a new file lands in a specific Box folder, tray.ai sends a formatted notification to the relevant Slack channel, including the file name, uploader, and a direct link. No more checking Box constantly or relying on manual email alerts. Teams can react, comment, or kick off downstream workflows immediately from Slack.

Use case

Document Approval Workflows via Slack

When a file in Box reaches a certain stage — say, being moved to a 'Pending Approval' folder — tray.ai sends an interactive Slack message to the designated approver, letting them approve or reject directly from Slack. The decision is written back to Box as metadata or a folder move, creating a full audit trail. Review cycles speed up without forcing approvers to leave Slack.

Use case

Slack Alerts for Box File Comments and Annotations

When a collaborator adds a comment or annotation to a Box file, tray.ai routes that feedback as a Slack notification to the file owner or project channel. This closes the loop on async reviews and ensures feedback doesn't get buried in Box's native interface. Teams can respond faster and keep revision cycles moving without constant inbox monitoring.

Use case

Shared Link Delivery via Slack on Request

Team members can request a secure Box shared link directly from a Slack slash command or bot interaction, and tray.ai fetches and returns the link in seconds. No more navigating Box's folder hierarchy to locate and share files mid-conversation. Legal, sales, and HR teams can share sensitive documents securely without breaking their Slack flow.

Use case

New Slack Channel Creation Triggers Box Folder Setup

When a new Slack channel is created for a project, client, or team, tray.ai automatically provisions a corresponding Box folder with the correct permissions and metadata. Every project gets a dedicated, organized content repository from day one. Operations and IT teams skip the manual setup that usually leads to inconsistent folder naming and access control gaps.

Use case

Compliance and Expiry Alerts for Box Files Posted to Slack

When files in Box are approaching their retention policy expiry dates or have been flagged for compliance review, tray.ai sends proactive alerts to the appropriate Slack channel or compliance officer. Teams stay ahead of regulatory requirements without manual audits or easily missed Box email digests. Finance, legal, and compliance teams can act before documents fall out of policy.

Use case

Sales Asset Distribution from Box to Slack Channels

When marketing uploads new sales collateral, pitch decks, or case studies to designated Box folders, tray.ai automatically shares those assets in the relevant sales or revenue Slack channels with context and usage notes. Sales reps always have the latest approved materials without digging through shared drives or email threads. No more manual distribution from the marketing side, either.

Get started with Box & Slack integration today

Box & Slack Challenges

What challenges are there when working with Box & Slack and how will using Tray.ai help?

Challenge

Mapping Box User Identities to Slack Users

Box and Slack maintain separate user directories, so a file owner or commenter in Box may not map cleanly to their Slack counterpart. Mismatched email addresses, display names, or deprovisioned accounts can cause notifications to fail silently or reach the wrong person.

How Tray.ai Can Help:

tray.ai includes built-in data mapping and lookup capabilities that cross-reference Box user emails against Slack user profiles using the Slack users.lookupByEmail API, so every notification reaches the right person. Custom logic handles edge cases like deprovisioned accounts or mismatched domains.

Challenge

Handling Large File Volumes Without Slack Noise

In active Box environments with high upload frequency, posting every file event to Slack can quickly overwhelm channels and cause teams to tune out — which defeats the whole point of the integration.

How Tray.ai Can Help:

tray.ai's workflow logic lets you define granular filtering conditions — specific subfolders, file types, uploader roles, metadata tags — so only genuinely important events generate Slack messages. Batching and digest modes can also aggregate activity into periodic summaries rather than a constant stream.

Challenge

Maintaining Secure Box Link Sharing Through Slack

Automatically posting Box shared links to Slack channels can inadvertently expose sensitive files to a broader audience than intended, particularly in large workspaces where channels may include external guests.

How Tray.ai Can Help:

tray.ai workflows can enforce Box's permission model by generating password-protected or expiring shared links, restricting link creation to files in explicitly approved folders, and posting sensitive links only as Slack ephemeral messages visible to the requesting user rather than the entire channel.

Challenge

Keeping Box Folder Structures in Sync with Changing Slack Channels

Slack channels get renamed, archived, or repurposed as projects evolve. Without an automated sync, Box folder structures become orphaned, misnamed, or inaccessible — a governance headache nobody wants to untangle months later.

How Tray.ai Can Help:

tray.ai can listen for Slack channel update and archive events, then automatically rename or move corresponding Box folders to match, while preserving historical file access and updating metadata to reflect the folder's current status. Your content repository stays in sync with how your team actually works.

Challenge

Managing Approval State Across Both Platforms

When approval workflows span Box and Slack, tracking document review state gets fragmented fast. Approvers respond in Slack while the authoritative record lives in Box, and timeouts or non-responses need graceful handling before things stall.

How Tray.ai Can Help:

tray.ai's stateful workflow engine persists approval state across both systems, automatically sends Slack reminders if an approver hasn't responded within a defined window, escalates to a secondary approver if needed, and always writes the final outcome back to Box as structured metadata for a complete, auditable record.

Start using our pre-built Box & Slack templates today

Start from scratch or use one of our pre-built Box & Slack templates to quickly solve your most common use cases.

Box & Slack Templates

Find pre-built Box & Slack solutions for common use cases

Browse all templates

Template

Box New File → Slack Channel Notification

Automatically posts a Slack message to a designated channel whenever a new file is uploaded to a specified Box folder, including file details and a direct access link.

Steps:

  • Trigger: New file uploaded to a target Box folder
  • Transform: Extract file name, uploader, timestamp, and generate shared link
  • Action: Post formatted notification message to specified Slack channel

Connectors Used: Box, Slack

Template

Box File Approval Request → Slack Interactive Message

Sends an interactive approval request to a Slack user when a file is moved to a 'Pending Approval' Box folder, then writes the decision back to Box as metadata and moves the file to the appropriate outcome folder.

Steps:

  • Trigger: File moved into 'Pending Approval' folder in Box
  • Action: Send interactive Slack message with Approve/Reject buttons to designated reviewer
  • Action: Based on Slack response, update Box file metadata and move file to Approved or Rejected folder

Connectors Used: Box, Slack

Template

New Slack Channel → Provision Box Project Folder

When a new Slack channel is created matching a naming convention (e.g., proj-*), tray.ai automatically creates a corresponding Box folder with predefined subfolders and sets appropriate team permissions.

Steps:

  • Trigger: New Slack channel created matching defined naming pattern
  • Action: Create parent and subfolder structure in Box with matched project name
  • Action: Set folder permissions in Box based on Slack channel membership

Connectors Used: Slack, Box

Template

Box File Comment → Slack DM to File Owner

Routes new Box file comments directly to the file owner as a Slack direct message, including the comment text, commenter name, and a deep link back to the annotated file in Box.

Steps:

  • Trigger: New comment added to a file in Box
  • Transform: Look up file owner and map to their Slack user ID
  • Action: Send Slack DM to file owner with comment details and Box file link

Connectors Used: Box, Slack

Template

Slack Slash Command → Retrieve Box File Link

Lets team members type a slash command in Slack to search for and retrieve a secure Box shared link for any file, returned instantly as a Slack ephemeral message.

Steps:

  • Trigger: User invokes /boxfile slash command with file name or keyword in Slack
  • Action: Search Box for matching files and retrieve the top result
  • Action: Return file details and shared link as an ephemeral Slack message to the requesting user

Connectors Used: Slack, Box

Template

Box Compliance Expiry Scan → Slack Alert to Compliance Channel

Runs on a schedule to scan Box for files approaching retention expiry or flagged for review, then posts a consolidated alert digest to a designated compliance Slack channel.

Steps:

  • Trigger: Scheduled tray.ai workflow runs daily or weekly
  • Action: Query Box for files with retention dates within a defined threshold or compliance flags set
  • Action: Compile results and post a structured digest message to the compliance Slack channel

Connectors Used: Box, Slack