---
schema_version: "1"
id: cf687ab2b38cf7acc8d4770bf37d79ff5c4fcba3bb2e658105f2ffd72cc9c5ab
title: Draft a Flow with Agentforce (Beta)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_build_build_a_flow_with_einstein.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_build_build_a_flow_with_einstein.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6d21da88f3bc7ee1775f0870cb1e2bdb4b275868007ea3976393d175c6c747c1
description: Build your flow faster and easier by letting Agentforce help you get started.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Draft a Flow with Agentforce (Beta)

Build your flow faster and easier by letting Agentforce help you get started.

### 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><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">This feature requires the Foundations or Agentforce 1 editions. To purchase, contact your Salesforce account executive.</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Draft a Flow with Agentforce is a pilot or beta service that is subject to the Beta Services Terms at [Agreements - Salesforce.com](https://www.salesforce.com/company/legal/agreements/) or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the [Product Terms Directory](https://ptd.salesforce.com/). Use of this pilot or beta service is at the Customer's sole discretion.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d92528e91">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d92528e91 ">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:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d92528e91 ">Manage Flow</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note You don't need to be an admin to have the Manage Flow permission. Ask your admin to add it to your profile or permission set.

To enable Agentforce\-drafted flows and summaries, turn on [Generative AI](https://help.salesforce.com/s/articleView?language=en_US&id=ai.generative_ai_enable.htm&type=5) in Setup, and verify that [Data 360](https://help.salesforce.com/s/articleView?id=data.c360_a_setup_provision.htm&type=5&language=en_US) is provisioned and enabled in your org.

You can also use Setup with Agentforce to work with flows more efficiently. For more information, see [Setup with Agentforce](https://help.salesforce.com/s/articleView?id=xcloud.setup_agentforce_overview.htm&language=en_US) and [Flows in Setup with Agentforce](https://help.salesforce.com/s/articleView?id=xcloud.setup_agentforce_flows.htm&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Agentforce for Flow creates autolaunched, record-triggered, schedule-triggered, screen, 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](https://help.salesforce.com/s/articleView?id=platform.automate_flow_build_create_and_evolve_integration_flows_with_agentforce.htm&language=en_US&type=5).

1. To create a flow with Agentforce for the first time:
    1. From Setup, in the Quick Find box, enter Process Automation Settings, and then select **Process Automation Settings**.
    2. Select **Agentforce flow automation (Beta)**.
    3. Save the settings.
2. From the Flows section in Setup, click **New Flow**, or from the Automation app, click **New**.
3. In the Use Agentforce to Help You Build (Beta) section, click **Get Started (Beta)**.
4. 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 automatically appear in 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](https://help.salesforce.com/s/articleView?id=platform.automate_ala_connections_create_connection.htm&type=5&language=en_US) and then [create MuleSoft for Flow: Integration Flows with Agentforce](https://help.salesforce.com/s/articleView?id=platform.automate_flow_build_create_and_evolve_integration_flows_with_agentforce.htm&language=en_US&type=5).
5. Click **Draft with Agentforce (Beta)**.
6. Check the draft flow for accuracy and safety.
7. To provide feedback in the panel, click thumbs up or thumbs down.
8. 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
        
        Agentforce panel.
9. Save your work.
10. When the flow meets your needs:
    1. Debug and test the flow.
    2. Activate the flow.

#### See Also

- [Best Practices for Drafting Flows with Agentforce (Beta)](https://help.salesforce.com/s/articleView?id=platform.flow_build_best_practices_and_considerations_for_einstein_for_flow.htm&release=264.0.0&type=5 "Get the best results when using Agentforce to build draft flows.")
- [Example Instructions for Drafting Flows with Agentforce (Beta)](https://help.salesforce.com/s/articleView?id=platform.flow_build_example_einstein_for_flow_instructions.htm&release=264.0.0&type=5 "Use Agentforce for Flow to create accurate draft flows by providing clear, detailed instructions about your requirements. Base your instructions on example patterns that describe when the flow starts and what actions it should take.")
- [Considerations for Agentforce-Drafted Flows and Formulas (Beta)](https://help.salesforce.com/s/articleView?id=platform.automate_flow_build_einstein_considerations.htm&release=264.0.0&type=5 "Supported functionality, usage requirements, and important limitations when using Agentforce to draft flows and formulas.")
- [_Salesforce Help_: About Einstein Generative AI](https://help.salesforce.com/s/articleView?id=ai.generative_ai_about.htm&type=5&language=en_US)
- [_Video_: Get to Know Einstein for Flow](https://salesforce.vidyard.com/watch/Wfhwp7gReQTATYZwdEF8Gk)