---
schema_version: "1"
id: f932d1189a6a8e1f775f51a955277af72f6a0f4a5c29977908616e29303e3231
title: Marketing | Generate Campaign Insights
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_generate_campaign_insights.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_generate_campaign_insights.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 91e78a75199a03749ed4adb58bc68d5a1a2b6e98e30ee38fef90af84d1d3917e
description: Retrieves engagement metrics, such as open rates, clicks, or unsubscribes for a specific campaign. It then generates key content insights about the message activities from the campaign's first flow. For example, identify which channel had better engagement or lower engagement over time.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Marketing | Generate Campaign Insights

Retrieves engagement metrics, such as open rates, clicks, or unsubscribes for a specific campaign. It then generates key content insights about the message activities from the campaign's first flow. For example, identify which channel had better engagement or lower engagement over time.

### 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> and <strong>Unlimited</strong> Editions with Foundations and Marketing Cloud Next.</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="d174962e64">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d174962e67">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d174962e64 d174962e67 ">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;">GenerateCampaignInsights</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;">Standard Action</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;">Marketing Cloud: Generate Campaign Insights</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><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=mktg.mktg_admin_setup_einstein.htm&amp;type=5&amp;language=en_US" target="_blank"><u>Enable AI Features in Marketing Cloud</u></a></td></tr></tbody></table>

## Generate Campaign Insights and Prompt Templates

The action is flow-based and calls the invocable action, Get Campaign Engagement Data, to retrieve campaign performance data. It then launches the Generate Campaign Insights prompt to analyze that data and create insights.

## Guidelines and Considerations

- This action is intended for use only in Marketing Cloud campaigns.
- This action outputs insights, or suggestions, for improving future campaigns based on the metrics that it finds.
- Insights are based on the first flow in a campaign. Additional flows in the campaign aren’t evaluated.
- This action invokes the Marketing Cloud: Summarize Campaign action.