Setting Up Retropilot

Retropilot, part of the Autopilot Suite, allows you to trigger powerful AI extractions based on Salesforce events. Unlike the real-time Autopilot, Retropilot analyzes all call and email history within a specified timeframe to provide comprehensive insights right when a key moment occurs in your CRM.

How Retropilot Works

Retropilot operates on a simple but powerful flow: a Salesforce event triggers an AI analysis of historical data, which then results in an update to a Salesforce field.

Use Cases for Retropilot

  • New Opportunity Stage: When an opportunity moves to “Proposal,” automatically summarize all previous call notes related to budget and timeline.
  • Account Ownership Change: When a new account owner is assigned, generate a summary of the customer’s key pain points and historical issues.
  • Pre-Renewal Analysis: 90 days before a renewal date, compile a list of all mentioned competitors and feature requests from the past year.

Step-by-Step Configuration

Step 1: Access the Retropilot Section

  1. Log in to your Momentum admin dashboard.
  2. Navigate to the Autopilot section and select the Retropilot tab.
  3. Click “New Retropilot Extraction” to begin.

Step 2: Define the Salesforce Trigger Event

This is the core of Retropilot. You’ll define the specific Salesforce event that initiates the extraction.
In certain cases, you may instead need to configure an advanced self-managed Salesforce Flow.
  • Object: Select the Salesforce object (e.g., Opportunity, Account, Case).
  • Trigger Action:
    • On Create: Runs when a new record of the selected object is created.
    • On Update: Runs when a record is modified.
    • On Create & Update: Runs for both creation and modification.
Retropilot Configuration Interface To prevent the trigger from firing on every small change, you must specify field conditions when using On Update.
  • Field: Choose the field to monitor (e.g., StageName, OwnerId).
  • Condition:
    • Changes to: Triggers only when the field’s value changes to a specific value (e.g., StageName changes to “Closed Won”). This is the recommended and most precise way to control triggers.
    • Is: Triggers if the field has a certain value after the update. Use with caution as this can fire on unrelated record updates.
Example Trigger:
Object: Opportunity
Trigger Action: On Update
Field: StageName
Condition: Changes to "Negotiation"

Step 3: Set the Time Window

Define the period of historical data (calls and emails) that Retropilot should analyze. This can be anything from the last 7 days to the entire history of the record.

Step 4: Write Your AI Prompt

This prompt will guide the AI in its analysis of the historical data. Make sure your prompt is clear about what you want summarized or extracted. Example Prompts:
  • For a “Negotiation” Stage Trigger:
    "Review all calls and emails from the last 90 days for this opportunity. Summarize all discussions related to budget, key decision-makers, and final blockers. List the key contacts involved."
    
  • For a “New Owner” Trigger:
    "Analyze all historical call data for this account. Provide a summary of the top 3 pain points mentioned and any outstanding support tickets or unresolved issues."
    

Step 5: Configure Save Behavior

Choose how the extracted data is saved to Salesforce, just like a regular Autopilot extraction.
  • Confirm to Write: Requires manual approval in Slack.
  • Write if Empty: Only writes if the target field is blank.
  • Automatic Write: Always writes the new value.
Retropilot Configuration Interface

Step 6: Test and Activate

  • Preview: Test your Retropilot configuration against existing Salesforce records that meet your trigger criteria to see what the output would look like.
  • Activate: Once you’re confident, activate the Retropilot rule to have it run automatically based on your trigger.
Retropilot Configuration Interface