How file uploads work in Slack
How your agent handles a file sent to it in Slack, and when it ignores one.
This guide explains what happens when someone sends your agent a file in Slack, including when the file is read and when it's ignored. Use it to understand file handling behavior for a Slack deployment.
Before you start
- If your agent isn't reading files sent in Slack, your Slack connection may predate file upload support and need an additional permission turned on. Refer to Connect your CustomGPT.ai account to Slack to check.
- Your agent needs Document Analyst or Smart Tasks' Read Files capability enabled. Refer to Enable Document Analyst or Smart Tasks - Overview.
How it works
- When someone sends a message with a file attached, your agent reads the file and answers based on its content, the same way it would for a file uploaded in the chat input.
- If your agent doesn't have Document Analyst or Smart Tasks' Read Files capability enabled, it ignores the file and responds only to the message text, if any.
- If the message is just a file with no text, your agent ignores it.
- If the file doesn't meet your agent's requirements - wrong format, too large, and so on - your agent replies in Slack with an error message explaining why.
- Any file size, file type, and file-count limits set on your agent apply the same way in Slack. Refer to Document Analyst limits for the exact numbers.
Related articles
Updated about 1 hour ago
Did this page help you?
