Contact Us

February 13, 2025

May 13, 2026 2:23 pm

Enabling File Uploads and Media Sharing in Salesforce Agent Experience

Share with

Understanding the Limitations

The Salesforce Agentforce platform has limitations when it comes to file uploads and media sharing. As of now, it is not supported yet, and there is no configuration system that allows agents to send or receive files. However, this does not mean that it is impossible to achieve this functionality.

The root cause of this limitation is the current architecture of the Salesforce Agentforce platform, which prioritizes text-based conversations. However, with the help of custom development and APIs, it is possible to extend the functionality of the platform.

Custom Development Solution

One possible solution is to use the Slack API to retrieve files and pass them to an off-platform image recognition system or a custom app. This can be achieved by using Apex to call the Slack API and retrieve the file. The file can then be passed to a Prompt Template or an image recognition system for further processing.

ApexCode.cls

public class ApexCode {
    public static void getFile(String messageId) {
        // Call Slack API to retrieve file
        // Pass file to Prompt Template or image recognition system
    }
}

This solution requires custom development and may be high effort, but it is possible to achieve the desired functionality. It is also important to note that this solution requires a custom app in Slack and the use of the Slack API.

Checklist for Implementation

Implementation Checklist

  • Create a custom app in Slack to get keys for the Slack API
  • Use Apex to call the Slack API and retrieve files
  • Pass files to a Prompt Template or an image recognition system
  • Configure the agent to request a photo from the user
  • Test the implementation to ensure it works as expected

Frequently Asked Questions

What is the current limitation of the Salesforce Agentforce platform?

The current limitation is that file uploads and media sharing are not natively supported in the agent experience.

Can the agent send photos or videos in Slack messages?

Yes, but it requires custom development using the Slack API and Apex.

Can the agent view and interpret photos and/or videos shared by the user?

Yes, but it requires custom development using the Slack API and Apex, as well as an off-platform image recognition system.

What is the recommended approach for implementing file uploads and media sharing?

The recommended approach is to use a custom app in Slack, the Slack API, and Apex to retrieve files and pass them to a Prompt Template or an image recognition system.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert