You are here:
Considerations for AI-Drafted Flows and Formulas
Supported functionality, usage requirements, and important limitations when using AI to draft flows and formulas.
Required Editions
| Available in: Lightning Experience |
| View supported editions. |
| This feature requires the Foundations or Agentforce 1 editions. To purchase, contact your Salesforce account executive. |
AI-Drafted Flows and Formulas Language and Locale Support
Flow and formula drafting with AI supports English in this locale.
| Locale | Code |
|---|---|
| English (United States) | en_US |
AI-Drafted Flows and Formulas Large Language Model Support
Flow and formula drafting with AI supports the models on the Salesforce generative AI platform, as described in Large Language Model Support and the CodeGen model.
AI Trust Layer Service Support
Flows and formulas created by AI supports the Dynamic Grounding with Secure Data Retrieval Trust Layer service.
AI-Drafted Flows and Formulas Region Support
Flow and formula creation with AI doesn’t support geo-aware LLM request routing, as described in Geo-Aware LLM Request Routing on the Einstein Generative AI Platform.
Generative AI Usage and Billing
The use of generative AI capabilities, in a production or sandbox environment, can impact your credit consumption. See Agentforce and Generative AI Usage and Billing.
AI-Drafted Flows AI Limitations
- AI supports only autolaunched, record-triggered, schedule-triggered, external system change-triggered flows, and flows that use connectors as actions.
- When creating external system change-triggered flows or flows with MuleSoft for Flow: Integration connectors as actions, write detailed prompts that include field-level instructions and mapping information. Generative AI maps fields between source and target systems, including mandatory fields, however, adding these details to your prompts ensures deterministic and predictable results.
- AI can generate flows with up to about six elements. If you need a more complex flow, let AI create the first part and add elements after the draft flow opens in Flow Builder.
- Standard and custom objects are supported, but custom fields on standard objects aren’t supported.
- Advanced formulas, record variables, Apex actions, and invocable methods aren’t supported.

