Skip to main content

Overview

Hindsight connects to Salesforce via OAuth to sync your deals and analyze them for competitive win-loss insights. This guide will help you set up the integration and start using it effectively. Dashboard For support, please reach out via your Slack Connect channel or via email

How it Works

When you connect Hindsight to your Salesforce CRM, you’ll be able to import specific Opportunities into Hindsight. Hindsight will analyze these Opportunities to extract competitive insights based on your decision drivers.

You can set up automation rules in Hindsight that automatically import Opportunities based on custom criteria. You can use your Salesforce data to filter in the Win-Loss dashboard and analyze your Opportunities based on specific criteria, such as stage, amount, or close date.
integrations

Daily Sync

Opportunties are synced for the latest data every 12 hours. This means that any changes made to your Opportunities in Salesforce will be reflected in Hindsight automatically. Hindsight listens to opportunities via webhooks to make this seamless for users. Deal Import Automation only applies to deals that meet your criteria AND which have closed within 12 hours of the sync. If you make changes to your Deal Import Automation rules, these changes will be applied on the next Daily Sync. If you’d like to pull in deals immediately or from outside the 12 hour window, you can manually import them via the Deals page.

Supported Objects

Hindsight only syncs objects associated with the Opportunities that you import. This includes:
  • Opportunity
  • Account
  • Contacts
  • Custom Fields
  • Feed Items
  • Emails
  • Meetings
slack deal

Segments

You can configure segments in Hindsight to filter your Opportunities based on custom criteria. This allows you to analyze specific subsets of your Opportunities, such as those with a certain stage, amount, or close date. Segments are useful for analyzing your Opportunities based on specific criteria, such as:
  • Opportunities with a certain stage or pipeline (e.g. “Closed Won, New Business”)
  • Opportunities with a certain amount (e.g. ”> $10,000”)
  • Opportunities with a certain close date (e.g. “Next 30 days”)
  • Opportunities with a certain account type (e.g. “Enterprise”)
  • Opportunities with a certain product (e.g. “Product A”)
  • Opportunities with a certain region (e.g. “North America”)
slack deal

Connecting Salesforce

Authorization

Authorizing Salesforce requires admin access to your Salesforce account. Click “Connect” on the integrations page and follow the authorization steps. This will redirect you to the Salesforce authorization page. Click “Allow” to authorize Hindsight to access your Salesforce account. If you’re having issues, contact your Salesforce admin. slack deal

Import Rules

Setting up import rules allows you to automatically import Opportunities into Hindsight based on custom criteria. This is useful for keeping Hindsight’s insights up-to-date without manual intervention. We recommend filtering to Closed Won and Lost opportunities. You can also filter by custom fields, such as “Region” or “Product”, to analyze specific subsets of your Opportunities. slack deal

Customization

Opportunity Stages

To help Hindsight understand your custom opportunity stages, navigate to the CRM Settings and click the “Stages” tab. Mark your custom opportunity stages as “Closed Won” or “Closed Lost” to help Hindsight analyze your Opportunities correctly. This will allow Hindsight to tag your Opportunities with the correct status and provide accurate win-loss insights. slack deal

Custom Properties

You can customize the properties that Hindsight uses to analyze your opportunities in CRM Settings on the “Deals”, “Accounts”, and “Contacts”. Having more properties makes analysis and sync slower, so “turn off” You can map your custom properties to Hindsight’s default properties like “Region”, “Type”, and “Amount”. Properties that are “Synced” but not mapped to a Hindsight property will still be analyzed and available for filtering. slack deal

Push to CRM

After Hindsight analyzes a deal, it automatically writes structured win-loss data back to the corresponding Salesforce Opportunity. This lets your team access insights directly in Salesforce without leaving their workflow.

How It Works

Once analysis is complete, Hindsight patches the Opportunity record in Salesforce with a set of custom fields. These fields are created on your Salesforce Opportunity object under the WL_ namespace. You must run the field setup from the Integrations page before data will appear — Hindsight will not write to fields that don’t exist yet.

Default Fields

Hindsight populates the following fields on each analyzed Opportunity:

Core Metadata

Salesforce FieldLabelTypeDescription
WL_Date_Analyzed__cWin/Loss Analysis DateDateDate the win-loss analysis was completed.

Primary Win/Loss Reason

Salesforce FieldLabelTypeDescription
WL_Reason_Primary__cPrimary Win/Loss ReasonText (255)Short label of the main reason for win/loss (e.g. “Pricing”, “Ease of Use”).
WL_Reason_Primary_Category__cPrimary Reason CategoryPicklistHigher-level category. One of: product, sales_execution, relationship, pricing, competitor, implementation, buyer_behavior.
WL_Reason_Primary_Impact__cPrimary Reason ImpactNumber (0–1)Normalized impact score, where 1.0 = highest impact.
WL_Reason_Primary_Summary__cPrimary Reason SummaryLong Text1–2 sentence plain-language summary of the primary reason.

Secondary Win/Loss Reason

Salesforce FieldLabelTypeDescription
WL_Reason_Secondary__cSecondary ReasonText (255)Label for the second-most impactful reason.
WL_Reason_Secondary_Category__cSecondary Reason CategoryPicklistSame category options as primary reason.
WL_Reason_Secondary_Impact__cSecondary Reason ImpactNumber (0–1)Normalized impact score for the secondary reason.
WL_Reason_Secondary_Summary__cSecondary Reason SummaryLong TextSummary of the secondary reason’s impact.

Competitor Intelligence

Salesforce FieldLabelTypeDescription
WL_Competitor__cPrimary CompetitorText (255)Name of the primary competitor identified in the deal (if any).
WL_Competitor_Is_Incumbent__cCompetitor Is IncumbentPicklistWhether the competitor was the incumbent. Values: true (Yes) or false (No).
WL_Competitor_Outcome__cCompetitor OutcomePicklistHow the competitor featured in the deal: mentioned, evaluated, or selected.
WL_Competitor_Reason__cCompetitor ReasonLong TextPositioning summary and key differentiators for the competitor.

Quantitative Scores

All scores are on a 1–5 scale.
Salesforce FieldLabelTypeDescription
WL_Product_Fit_Score__cProduct Fit ScoreNumberHow well the product matched the buyer’s requirements.
WL_Sales_Execution_Score__cSales Execution ScoreNumberQuality of the sales team’s execution throughout the deal.
WL_Relationship_Score__cRelationship ScoreNumberStrength of the buyer relationship.
WL_Price_Sensitivity__cPrice SensitivityNumberHow price-sensitive the buyer was.
WL_Competitive_Intensity__cCompetitive IntensityNumberHow competitive the deal environment was.

Narrative

Salesforce FieldLabelTypeDescription
WL_Deal_Story__cDeal StoryLong Text (2000)Executive summary narrative of what happened in the deal — useful for coaching and enablement.

Custom Field Mappings

In addition to the default fields above, you can map custom questions and custom metrics configured in your Hindsight workspace to any Salesforce Opportunity field. To set this up, navigate to Settings → Questions and assign a Salesforce field API name to each question or metric. When Hindsight writes to Salesforce, any custom answer or metric with a field mapping will be included in the same update as the default fields.