---
schema_version: "1"
id: 0431ead79827d92a403e38018dc52329e3e84d2327711e83e88e52c4c4edb66d
title: Media | Media Opportunity Summary
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_media_opportunity_summary.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_media_opportunity_summary.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 787383272b2e8253b0d2f731cbabbd9e9e4c4ea2a49716138dbf4a23ed0eaa00
description: Summarizes media opportunities with actionable information such as closure risks, advertiser or agency sentiment, current stage, and next best steps.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Media | Media Opportunity Summary

Summarizes media opportunities with actionable information such as closure risks, advertiser or agency sentiment, current stage, and next best steps.

### 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="d79946e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d79946e70 ">To run prompt templates:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d79946e70 ">Execute Prompt Templates</td>

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

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

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d79946e70 ">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;">MediaOpportunitySummary</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;">Prompt Template</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;">Summarize Media Opportunity (einstein_gpt__summarizeOpportunityMedia)</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;">Yes</td></tr></tbody></table>

## Media Opportunity Summary and Prompt Template

This agent action calls the Summarize Media Opportunity prompt template of type Record Summary to generate summaries for media opportunities. The prompt template uses the Add Media Opportunity Summary to Prompt Template (Beta) flow to find the information to summarize. The prompt template uses information from the opportunity and its related ad opportunities, quotes, ad quotes, and tasks to summarize the opportunity. If the flow provides the prompt template with information from multiple related quotes, ad quotes, and tasks, the prompt template prioritizes summarizing information from the latest records.

## Guidelines and Considerations

- The summary that the action generates is dependent on the information that's available in the opportunity and its related records.
- The summary that's generated is restricted to 200 words.

#### See Also

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