---
schema_version: "1"
id: 74e52d914b2774bcfa46ddba778aa6b1ccdc68daed47c220b06539f4020878cb
title: Flow Elements
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_ref_elements.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 5a660efdbbbd841c38dc6df3b6c322ec80941fba19ca6d8d412591afb8de5851
description: An element represents an action that the flow can run. Examples include reading or writing Salesforce data, displaying information and collecting data from flow users, runnning business logic, or manipulating data.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Flow Elements

An element represents an action that the flow can run. Examples include reading or writing Salesforce data, displaying information and collecting data from flow users, runnning business logic, or manipulating data.

### 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;"><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>

Flow Builder gives you the option of building flows in free-form or in auto-layout. In free-form, the Elements tab shows the types of elements that you can add to the flow by dragging them onto the canvas. In auto-layout, click ![Add element](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/resources-global/_corporate/images/flow_plus_icon.png) to display the types of elements that you can add. For a list of all elements already added to the flow, see the Elements section of the Manager tab.

- **[Action Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_action.htm&release=264.0.0&type=5)**  
    Launch an action that's available in Salesforce by adding an Action element to your flow.
- **[Add Prompt Instructions Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_add_prompt.htm&release=264.0.0&type=5)**  
    Provide data in the form of prompt instructions that are merged into a prompt template in Prompt Builder. This element is available only in template-triggered prompt flows.
- **[Apex Action Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_apex_invocable.htm&release=264.0.0&type=5)**  
    Call an Apex class. An Apex class functions as an Apex action only if one of its methods includes the `@InvocableMethod` annotation.
- **[Apex Action (Legacy) Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_apex_plugin.htm&release=264.0.0&type=5)**  
    Call an Apex class that uses a legacy Apex interface. Apex classes are available as legacy Apex actions only if the `Process.Plugin` interface has been implemented.
- **[Assignment Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_assignment.htm&release=264.0.0&type=5)**  
    Set values in variables, including collection variables, record variables, record collection variables, and global variables.
- **[Collection Filter Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_filter.htm&release=264.0.0&type=5)**  
    Apply criteria to a collection, and then output a new collection that contains only the items that meet the criteria.
- **[Collection Sort Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_sort.htm&release=264.0.0&type=5)**  
    Reorder the items within a collection and optionally limit the number of items that remain in the collection after the sort.
- **[Create Records Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_data_create.htm&release=264.0.0&type=5)**  
    Create or update multiple Salesforce or Marketing Object records by using a record collection variable. Create or update exactly one Salesforce or Marketing Object record by using a record variable or other values from the flow.
- **[Custom Error Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_custom_error.htm&release=264.0.0&type=5)**  
    Create targeted error messages in record-triggered flows to display in a window on the overall record page or as an inline error on a specific field for your users. The change that triggered the flow is rolled back until the error is fixed.
- **[Decision Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_decision.htm&release=264.0.0&type=5)**  
    Evaluate a set of conditions, and route users through the flow based on the outcomes of those conditions. This element performs the equivalent of an if-then statement.
- **[Delete Records Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_data_delete.htm&release=264.0.0&type=5)**  
    Identify Salesforce or Marketing Object records to delete by using the IDs stored in a record variable or record collection variable, or by specifying conditions.
- **[Email Alert Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_emailalert.htm&release=264.0.0&type=5)**  
    Send an email using an Email Alert action where you specify an email template and a static list of recipients. You add an Action element to your flow and search for the name of your already configured Email Alert action.
- **[Get Records Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_data_get.htm&release=264.0.0&type=5)**  
    The Get Records element finds all Salesforce or Marketing Object records that meet the filter and sort conditions and stores values from the retrieved records in variables. You can retrieve Salesforce standard and custom object records, or Marketing Object records, by using the Get Records element.
- **[Group Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_group.htm&release=264.0.0&type=5)**  
    Organize related elements into a named, collapsible section of your flow. Groups are available only in auto-layout mode.
- **[Loop Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_loop.htm&release=264.0.0&type=5)**  
    Start a loop path for iterating over items in a collection variable. For each iteration, the flow temporarily stores the item in the loop variable. To run actions on each item’s field values, use other elements in the loop.
- **[Recommendation Assignment Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_recommendation_assignment.htm&release=264.0.0&type=5)**  
    Generate Einstein Next Best Action recommendations by combining data from records in the recommendation object, records in other objects, values in collections, and manually entered values.
- **[Run Agent Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_create_agent.htm&release=264.0.0&type=5)**  
    Use an Agentforce agent to handle tasks dynamically in your flow. Select an existing agent or create an agent with custom instructions and actions.
- **[Screen Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_screen.htm&release=264.0.0&type=5)**  
    Collect information from or display information to a user who runs the flow.
- **[Start Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_start.htm&release=264.0.0&type=5)**  
    Connect the Start element to the flow element that you want to run first at run time. In an autolaunched flow, you can open the Start element to add a trigger that launches the flow. Without a trigger, you must set up other things to invoke the autolaunched flow, such as custom buttons, processes, Apex classes, or Einstein Bots.
- **[Subflow Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_subflow.htm&release=264.0.0&type=5)**  
    Launch another active flow that’s available in your org. A flow launched by another flow is called the referenced flow.
- **[Transform Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_transform.htm&release=264.0.0&type=5)**  
    Select the flow resources for mapping and transforming source data to target data. You can use the Transform element in screen flows, autolaunched flows with no triggers, and record-triggered flows.
- **[Update Records Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_data_update.htm&release=264.0.0&type=5)**  
    Identify Salesforce or Marketing Object records to update, and set the values to change in those records. To do so, use the IDs and field values stored in a record variable or record collection variable, or use specify conditions to identify the records and set the field values individually.
- **[Wait for Amount of Time Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_for_amount_of_time.htm&release=264.0.0&type=5)**  
    Resume a flow interview after a specific amount of time.
- **[Wait for Conditions Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_for_conditions.htm&release=264.0.0&type=5)**  
    Resume a flow interview after specific conditions are met. Each wait configuration that you define in a flow has optional wait conditions. At run time, these conditions determine whether the flow waits for the associated resume event.
- **[Wait Until Date Element](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_wait_until_date.htm&release=264.0.0&type=5)**  
    Resume a flow at a specific date and time.
- **[Flow Builder Elements for Marketing Flows](https://help.salesforce.com/s/articleView?id=platform.flow_ref_elements_mktg.htm&release=264.0.0&type=5)**  
    A Flow Builder element represents an action that a flow can run. Examples include decisions based on criteria and creating and deleting Salesforce data. Some Flow Builder elements are available only in Marketing or Data 360, such as Send Email Message and Send SMS Message.

#### See Also

- [Flow Resources](https://help.salesforce.com/s/articleView?id=platform.flow_ref_resources.htm&release=264.0.0&type=5 "Each resource represents a value that you can reference throughout the flow.")
- [Flow Builder Tour](https://help.salesforce.com/s/articleView?id=platform.flow_builder.htm&release=264.0.0&type=5 "Get to know the Flow Builder user interface.")
- [Add and Edit Elements](https://help.salesforce.com/s/articleView?id=platform.flow_build_elements.htm&release=264.0.0&type=5 "Use elements to define actions that the flow can run. When they’re on the canvas, connect them to create the order in which they run.")