---
schema_version: "1"
id: c6bf85a380df8221f485d4a29504d7fea07ad436f3424975cea7b5dfe4430e05
title: Media | Get Media Products
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_media_get_products.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_media_get_products.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1d0128d7fdd6c77327ba7dfc15d33bb8d8fb2beca936fd0d6a8e8a561f407e20
description: Gets a filtered list of media products that are part of a price book and match a search phrase. Users can provide various search phrase combinations that can include product name, SKU, code, and price range. If users aren't sure about the product they are looking for, the action can also get products based on price book name.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Media | Get Media Products

Gets a filtered list of media products that are part of a price book and match a search phrase. Users can provide various search phrase combinations that can include product name, SKU, code, and price range. If users aren't sure about the product they are looking for, the action can also get products based on price book name.

### 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>r Editions with the Agentforce for Media add-on or included in Agentforce 1 Media Edition. Requires each user to have the Agentforce for Media 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="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d160514e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d160514e70 ">To run flows:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d160514e70 ">Run Flows</td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d160514e70 ">To get media products:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d160514e70 ">Media Cloud Base User permission set</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d160514e70 ">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;">GetMediaProducts</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;">Reference Action</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Get Media Products (media_opp_flows__GetMediaProducts)</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>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p><a href="https://help.salesforce.com/s/articleView?id=ind.media_ad_sales_management_configure_ad_placement_products.htm&amp;language=en_US" target="_blank">Ad Products and Services in Advertising Sales
                  Management</a></p>
              <p style="margin-bottom:0;"><a href="https://help.salesforce.com/s/articleView?id=ind.media_ad_sales_management_configure_ad_placement_pricing_create.htm&amp;language=en_US" target="_blank">Configure Ad Product and Service
                  Prices</a></p>
            </td>

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

## Guidelines and Considerations

- If a user provides the name of price book that isn't available, the action can't find products.
- If a user provides a price range, the action retrieves a list of products whose prices fall within the range in the user's specified price book.
- If a user specifies any other product information apart from name, SKU, and code in the search phrase, the action doesn't consider those values when finding matching products.
- If a user specifies a search phrase that includes the product name, SKU, or code, the action only retrieves products with an exact match.

#### See Also

- [Agentforce for Media](https://help.salesforce.com/s/articleView?id=ind.media_agentforce.htm&language=en_US)