You are here:
Draft a Flow with AI
Build your flow faster and easier by letting AI help you get started.
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. |
| User Permissions Needed | |
|---|---|
| To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: | Manage Flow |
To enable AI-drafted flows and summaries, turn on Generative AI in Setup, and verify that Data 360 is provisioned and enabled in your org.
.
Note AI for Flow creates record-triggered,
schedule-triggered, external system change-triggered flows, and flows that use connectors as
actions. Creating external system change-triggered flows and flows that use connectors as
actions requires specific MuleSoft for Flow user permissions and licenses. See Create MuleSoft for Flow: Integration Flows with
Agentforce.
- From the Flows section in Setup, click New Flow, or from the Automation app, click New.
- In the Let AI Help You Build section, click Get Started.
-
Write instructions in one of these ways.
- To write instructions from scratch, describe what you want to automate in the Instructions field.
- To get started with sample instructions, expand Get Started with Sample Instructions and select a sample. The sample instructions are automatically entered into the Instructions field. Modify the instructions as needed.
- To build flows triggered by external system changes or flows that use connectors as actions, create a connection to the external system and then create MuleSoft for Flow: Integration Flows with Agentforce.
- Click Create Draft Flow.
- Click Draft with AI.
- Check the draft flow for accuracy and safety.
- To provide feedback in the panel, click thumbs up or thumbs down.
-
If the flow doesn’t meet your needs, take one of these actions.
- Modify the flow.
- Click Edit Instructions and modify your instructions. Then, click Create to create a flow with your updated instructions.
- Try again in a new window by clicking Start Over in the
AI panel.
- Save your work.
-
When the flow meets your needs:
- Debug and test the flow.
- Activate the flow.
Did this article solve your issue?
Let us know so we can improve!

