---
schema_version: "1"
id: 528447e113060329c3c6f5a7251e9826c86840486150bb1ed78c40b61aa9e6ed
title: Use Custom Opportunity Fields in Automations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/pardot_opportunities_custom_field_automation.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.pardot_opportunities_custom_field_automation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: eafc5dffa2efe4ce471939f1e8f6c09c7288c320d7290131be63018d5ffe52a0
description: You can use custom opportunity fields in automation and segmentation rules. The prospect opportunity rule criteria uses relation group functionality that lets users define multiple rules. When used with the Match All rule type, the opportunity must match all criteria for that prospect to be considered a match.
products:
  - Marketing
  - Marketing Cloud Account Engagement
release: "264"
---
# Use Custom Opportunity Fields in Automations

You can use custom opportunity fields in automation and segmentation rules. The prospect opportunity rule criteria uses relation group functionality that lets users define multiple rules. When used with the Match All rule type, the opportunity must match all criteria for that prospect to be considered a match.

### 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: <span>All Account Engagement Editions</span></td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-pardot-264-0-0-production-enus/5fef4d4f-9a34-45c6-8cd3-e3200b9eeba8/images/icon_note.png)

Note The prospect opportunity criteria is available only for new rules. The criteria isn’t available for new rule groups.

1. Create a segmentation or automation rule.
2. Select **Prospect opportunity** as a criteria.
3. From the Match Prospects dropdown, select **related with properties**.
4. In the section that appears, select **Prospect opportunity custom field** from the first dropdown.
5. From the second dropdown, select your custom field.
6. Choose an operator. For checkbox fields, select **is empty** for unchecked and **is** | **1** for checked.
7. Enter or select the value you want to match.
8. Finish creating your rule.