---
schema_version: "1"
id: fca936d22377d4de3dbd935caacfa87bab60e074d9ae236e36683d1592711ab3
title: Automotive | Create Opportunity and Opportunity Product
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_auto_create_opp_and_opp_prodt.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_auto_create_opp_and_opp_prodt.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 29a627262b40428529dba46641bb566c89545e73ed543fc40db4f2cdd9878b35
description: Creates an opportunity and an associated opportunity product for a customer.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Automotive | Create Opportunity and Opportunity Product

Creates an opportunity and an associated opportunity product for a customer.

### 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;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with the Agentforce for Automotive add-on or included in Agentforce 1 Automotive Edition. Requires each user to have the Agentforce for Automotive add-on to access the action.</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="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d216311e70">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d216311e73">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d216311e70 d216311e73 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

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

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">CreateOppAndOppProduct</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Flow</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr></tbody></table>