---
schema_version: "1"
id: 55276f3c17ed30f80904dd87afed27c396fa9f58adbb22fd12007842d6e8c48c
title: Ground Prompt Templates with Microsoft Office, Text, and Email Files
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_einstein_prompt_builder_file_input.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_einstein_prompt_builder_file_input.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5bc7c32f0fabe1170f95f54c9f61c207f25a2ce26c75dc20ce722648820ed69a
description: Prompt templates in Prompt Builder can ground generative AI requests with Word documents, spreadsheets, presentations, text, CSV files, and email files, in addition to PDF and image files.
products:
  - Cross Cloud
release: "264"
---
# Ground Prompt Templates with Microsoft Office, Text, and Email Files

Prompt templates in Prompt Builder can ground generative AI requests with Word documents, spreadsheets, presentations, text, CSV files, and email files, in addition to PDF and image files.

**Where:** This change applies to Lightning Experience in Enterprise, Performance, and Unlimited editions with Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations.

**When:** This change is available in Salesforce orgs upgraded to Winter ’27 starting the week of October 12, 2026. Go to [trust.salesforce.com](http://trust.salesforce.com) for exact dates.

**Why:** Prompt templates already accepts PDF, JPEG, and PNG files. Many grounding sources are still in Word documents, spreadsheets, presentations, or email files. Add those Salesforce Files to the prompt template so the AI model can use them at run time, without converting the files yourself first.

**How:** From Setup, in the Quick Find box, enter Prompt Builder, and then select **Prompt Builder**. Open a prompt template, or click **New Prompt Template**. Add a file input and select a Salesforce File. These file types are supported: `.pdf`, `.jpg`, `.jpeg`, `.png`, `.doc`, `.docx`, `.ppt`, `.pptx`, `.xls`, `.xlsx`, `.xltx`, `.txt`, `.csv`, and `.eml`.

Not every AI model accepts file inputs. Open **Details** for the selected AI model to review file limits.

#### See Also

- [_Salesforce Help_: Grounding with File Inputs](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_ground_file.htm&type=5&language=en_US)
- [_Salesforce Help_: Prompt Builder Limits](https://help.salesforce.com/s/articleView?id=ai.prompt_builder_limits.htm&type=5&language=en_US)