---
schema_version: "1"
id: 0b9b27da4ffd7a616084ba129fe7ca2d933d12c107ade6064648060719276325
title: Creating a Salesforce Record from a Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_build_data_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_build_data_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3ef81de2d7a5ef02449b1a2ee7a23a31ed02f47e0586e9b4a856113951f90e14
description: To create a Salesforce record, use the Create Records element. You can also use a Quick Action element of type Create, but it has limited functionality.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Creating a Salesforce Record from a Flow

To create a Salesforce record, use the Create Records element. You can also use a Quick Action element of type Create, but it has limited functionality.

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

The Create Records element gives you access to every field on the object, stores the created record's ID for use later in the flow, and supports fault paths for error management. Use it in most cases.

A Quick Action element of type Create is also available. Its main advantage is that it shows which fields the action layout requires, so you don't have to look up the object's required fields separately. However, it limits you to fields on the action layout and doesn't store the created record's ID.

The two elements differ in these ways.

- The fields that are available in the elements.
- Whether the element provides any required fields for the object.
- Whether the element can store the new record's ID.
    
    For example, if you create an account and then create a related contact, you need the account ID to link them.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:13.089005235602095%">
        <col style="width:30.759162303664922%">
        <col style="width:25.785340314136125%">
        <col style="width:30.36649214659685%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198452e88">&nbsp;</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198452e90">Field Availability</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198452e93">Required Fields</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198452e96">New Record ID</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e88 ">
            <strong class="uicontrol">Create Records</strong>
          </td>

          <td data-label="Field Availability" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e90 ">Every field on the object. You manually select the object and every field that
            you want to have a value.</td>

          <td data-label="Required Fields" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e93 ">
            <p>Not indicated.</p>
            <p style="margin-bottom:0;">Know which fields this object requires before you configure the
              element.</p>
          </td>

          <td data-label="New Record ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e96 ">Stores the ID of the created record to use later in your flow.</td>

        </tr>
        <tr class="">
          <td data-label="" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e88 ">
            <strong class="uicontrol">Quick Action (of type Create)</strong>
          </td>

          <td data-label="Field Availability" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e90 ">
            <p>Only fields that are on the Quick Action layout. </p>
            <p style="margin-bottom:0;">If you supplied default
              values for certain fields when you created the quick action, the flow uses those
              values when it creates the record. </p>
          </td>

          <td data-label="Required Fields" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e93 ">
            <p>Indicated </p>
            <p style="margin-bottom:0;">Requiredness is based on what's marked required in the action
              layout.</p>
          </td>

          <td data-label="New Record ID" class="slds-cell-wrap" style="vertical-align:top;" headers="d198452e96 ">Doesn't store the created record's ID for use later. </td>

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

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

Example

Here's how you create a case when a customer's satisfaction score is too low by using the Create Records element.

Create Records Element Configuration  
| Field | Value |
| --- | --- |
| ContactId | `{!varCase.ContactId}` |
| Description | `{!varCase.Description}` |
| Status | `{!varCase.Status}` |
| AccountId | `{!varCase.AccountId}` |

You can set any field on the record, but the Create Records element can't identify the required fields for this object.