---
schema_version: "1"
id: 957bf36f3218d0e404e8d73f38a5bc61093a3845303761d893819406e0b13f19
title: Einstein RAG Flow Core Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/automate_flow_ref_elements_actions_rag_einstein.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.automate_flow_ref_elements_actions_rag_einstein.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d92a3a06577b7b4fb07e94c7a9a91e9d4daab15d57910b85d7954378db1c51c9
description: Improve large language model (LLM) responses in flows with actions related to Einstein retrieval augmented generation (RAG).
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Einstein RAG Flow Core Actions

Improve large language model (LLM) responses in flows with actions related to Einstein retrieval augmented generation (RAG).

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

- **[Transform Query for Email Action](https://help.salesforce.com/s/articleView?id=platform.automate_flow_ref_elements_actions_rag_transformqueryforemail.htm&release=264.0.0&type=5)**  
    This action generates a natural language query for retrieval based on the email details, language, and additional context. This action is available in flows running API version 62.0 and later.
- **[Transform Query for Conversation Action](https://help.salesforce.com/s/articleView?id=platform.automate_flow_ref_elements_actions_rag_transformqueryforconversation.htm&release=264.0.0&type=5)**  
    This action generates a natural language query for retrieval based on the conversation text, language, and additional context.
- **[Transform Query for Case Action](https://help.salesforce.com/s/articleView?id=platform.automate_flow_ref_elements_actions_rag_transformqueryforcase.htm&release=264.0.0&type=5)**  
    This action generates a natural language query for retrieval based on the case details, language, and additional context.