---
schema_version: "1"
id: 5fd1407525c1e45686b26c8f4ee567d9ad6ff6904ceadccfa3b24a1de056247e
title: Create Enterprise Quote Invocable Action
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_enterprise_quote_invocable_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_enterprise_quote_invocable_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2b60d8d6be4c7e9471246e2ef0750d76d7cf43b852a8ee01ebda8bea6e4f65d8
description: Use this action to create an enterprise quote based on specific inputs, such as account and oppportunity details. For example, build agents that auto-generate complex enterprise quotes when an opportunity reaches the proposal stage.
products:
  - Communications
release: "264"
---
# Create Enterprise Quote Invocable Action

Use this action to create an enterprise quote based on specific inputs, such as account and oppportunity details. For example, build agents that auto-generate complex enterprise quotes when an opportunity reaches the proposal stage.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></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>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

## Input Values

  
| Parameter | Description | Data Type |
| --- | --- | --- |
| objectType | The type of record to create. Valid values are Quote, Order. | String |
| Name | The name of a quote to create. | String |
| AccountId | The ID of the account record associated with the quote or order. | List of String |
| OpportunityId | The ID of the opportunity associated with the quote. | String |
| priceListName | The name of the price list to associate with the quote or order. | String |
| recordTypeName | The API name of the record type. | String |

## Output Values

  
| Parameter | Description | Data Type |
| --- | --- | --- |
| error | An error that was encountered during action execution. | QuoteGroup\_\_c |
| Id | The record ID of the quote or order that was created. | String |
| Name | The name of a quote or order that was created. | String |
| messages | The messages returned from the CPQ API response. | List of String |
| priceList | The price list associated with the order or quote. | List of String |

## Example

JSON Request

```json
{
  "inputs": [
    {
      "objectType": "Quote",
      "Name": "New Quote 9",
      "AccountId": "001XXXXXXXXXXXX",
      "OpportunityId": "006XXXXXXXXXXXX",
      "priceListName": "B2B PriceList",
      "recordTypeName": "EnterpriseQuote"
    }
  ]
}
```

JSON Response Body

```json
[
  {
    "actionName": "vlocity_navya__CpqCartCreateCartInvocable",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "Id": "0Q0Ij000000TUI4KAO",
      "Name": "New Quote 9",
      "error": null,
      "messages": [],
      "priceList": [List of PriceLists]
    },
    "sortOrder": 0,
    "version": 1
  }
]
```