---
schema_version: "1"
id: 9c7776ad37096c5b6b8d56f480ffcd19acbea452044a55f1fb4335b39ca65b8c
title: Extend Flows with Apex
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_build_extend_apex_container.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_build_extend_apex_container.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 21a0629c49a391d4279b20ead44d6c1a6deccc972455320c3f02f5edd793d6ec
description: With Apex, create custom functionality in flows.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Extend Flows with Apex

With Apex, create custom functionality in flows.

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

- **[Let Flows Execute Apex Actions](https://help.salesforce.com/s/articleView?id=platform.flow_build_extend_apex.htm&release=264.0.0&type=5)**  
    Flow Builder provides many capabilities, but sometimes your flow requires functionality beyond the default elements. In that case, call an Apex class from your flow by using an Apex action.
- **[Apex-Defined Data Type](https://help.salesforce.com/s/articleView?id=platform.flow_concepts_apex_type.htm&release=264.0.0&type=5)**  
    With the Apex-defined data type, flows can manipulate the kinds of complex data objects that are typically returned from calls to web services. Create Apex-defined variables in flows and directly process JSON returned from web calls.