---
schema_version: "1"
id: db84a9d836e187d992a7f0a65aca260fbfad4f7577d047ccb08bed1ca6427af2
title: Define a Flow Trigger
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_distribute_system_wf_define.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_distribute_system_wf_define.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b6e68e21af04cd11049453f58b0a522b4263589ff68530e2782f1bf58322a655
description: After you create an autolaunched flow, create a flow trigger to launch that flow as part of a workflow rule.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Define a Flow Trigger

After you create an autolaunched flow, create a flow trigger to launch that flow as part of a workflow rule.

### 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: Salesforce Classic</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>

<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="vertical-align:top;" id="d85031e68">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d85031e68 ">To view workflow rules and actions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d85031e68 ">View Setup and Configuration</td>

          </tr>
          <tr class="" id="flow_distribute_system_wf_define__workflow_perm_create">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d85031e68 ">To create or change workflow rules and actions:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d85031e68 ">Customize Application</td>

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

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

Important Starting in Winter ’23, you can’t create new workflow rules. You can still activate, deactivate, and edit any existing workflow rules. To migrate existing workflow rules, use the [Migrate to Flow tool](https://help.salesforce.com/s/articleView?id=platform.flow_migrate_to_flow.htm&release=264.0.0&type=5 "Use the Migrate to Flow tool to convert your Process Builder processes and workflow rules into Flow Builder, including scheduled actions. The tool also supports partial migration of processes for most actions."). For new automations, create flows in [Flow Builder](https://help.salesforce.com/s/articleView?id=platform.flow.htm&release=264.0.0&type=5 "Automation reduces repetitive work and helps your team complete tasks faster and more accurately. With Flow Builder, you can build simple or complex automations, forms, and guided experiences with no code. You can add forms to Salesforce pages and Experience sites, and launch flows using buttons, record triggers, or schedules.").

1. From Setup, enter Flow Triggers in the Quick Find box, then select **Flow Triggers**.
2. Click **New Flow Trigger**.
3. Select the same object as the workflow rule, and then click **Next**.
4. Configure the flow trigger.
    
     
    | Field | Description |
    | --- | --- |
    | Name | Name of the flow trigger. |
    | Unique Name | Enter a unique name to refer to this component in the API. The **Unique Name** field can contain only underscores and alphanumeric characters. It must be unique within the selected object type, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. |
    | Protected Component | Reserved for future use. |
    | Flow | Unique name of the autolaunched flow that this workflow action launches. |
    | Set Flow Variables | Whether to pass values into the flow’s variables. |
5. If you select Set Flow Variables, specify their names and values.
    
    Click **Set Another Value** to set up.
6. To put the flow trigger in test mode, select Administrators run the latest flow version.
    
    When selected and an admin triggers the workflow rule, the flow trigger launches the latest version of the flow. For all other users, the flow trigger always launches the active version of the flow. The same values are passed into the flow variables whether the flow trigger launches the active or latest flow version.
7. Click **Save**.

Don’t forget to [associate the flow trigger to a workflow rule](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_system_wf_associate.htm&release=264.0.0&type=5 "Add the flow trigger as an immediate action on your workflow rule.").