Amplitude + Salesforce
Connect Amplitude and Salesforce to Turn Product Behavior Into Revenue
Sync user analytics and product engagement data from Amplitude directly into Salesforce so sales, success, and marketing teams can act on real behavioral signals.

Why integrate Amplitude and Salesforce?
Amplitude and Salesforce are two of the most widely used platforms in the modern go-to-market stack, but they almost always operate in silos — one capturing how users engage with your product, the other managing customer relationships and revenue pipelines. Bridging them lets sales and customer success teams act on actual product behavior rather than guesswork. With tray.ai, you can automate the flow of engagement signals, feature adoption metrics, and churn risk indicators from Amplitude into Salesforce accounts, contacts, and opportunities in real time.
Automate & integrate Amplitude & Salesforce
Use case
Sync Product Qualified Leads (PQLs) from Amplitude to Salesforce
When a user in Amplitude reaches a predefined activation milestone — completing onboarding, triggering a key event, or hitting a usage threshold — automatically create or update a lead or contact record in Salesforce. Your sales team gets notified the moment a free or trial user demonstrates buying intent through product behavior, so they can follow up while engagement is highest.
Use case
Enrich Salesforce Accounts with Amplitude Engagement Scores
Periodically push aggregate engagement scores, active user counts, and feature adoption rates from Amplitude into custom fields on Salesforce Account records. Customer success managers and account executives get a live health snapshot directly inside the CRM they already use every day, without logging into Amplitude separately.
Use case
Trigger Salesforce Alerts for Churn Risk Signals
Monitor Amplitude for behavioral patterns associated with churn — declining login frequency, abandoned core workflows, or a drop below a usage threshold — and automatically create Salesforce tasks, cases, or alerts assigned to the relevant CSM or account owner. Proactive intervention becomes systematic rather than reactive.
Use case
Update Salesforce Opportunity Stage Based on Trial Usage
When a prospect in a free trial reaches specific Amplitude-tracked milestones — inviting teammates, connecting an integration, or completing a core workflow — automatically advance their Salesforce opportunity stage to reflect their demonstrated intent. Pipeline data stays accurate, and sales can prioritize the deals with real momentum.
Use case
Sync Amplitude Cohorts to Salesforce Campaigns
Export dynamic Amplitude cohorts — power users, churned users, or feature-specific adopters — and sync them as Salesforce campaign members for targeted outreach. Marketing and sales can run highly segmented email, SDR, or in-app messaging campaigns with behavioral data driving the audience definition.
Use case
Log Salesforce Events Back into Amplitude for Full-Funnel Analysis
Push Salesforce milestones — opportunity creation, deal closed-won, or contract renewal — back into Amplitude as user-level events. This closes the attribution loop, letting product and growth teams understand which in-product behaviors actually predict revenue outcomes.
Use case
Automate Onboarding Task Creation for New Salesforce Customers
When a Salesforce opportunity moves to Closed-Won, trigger an Amplitude-based onboarding workflow check and automatically create follow-up tasks or Salesforce flows tailored to the customer's product usage profile. New customers get personalized onboarding attention based on what they have and haven't yet explored in the product.
Get started with Amplitude & Salesforce integration today
Amplitude & Salesforce Challenges
What challenges are there when working with Amplitude & Salesforce and how will using Tray.ai help?
Challenge
Matching Users Across Amplitude and Salesforce Without a Shared ID
Amplitude typically identifies users by a product-generated user ID or anonymous ID, while Salesforce organizes records around Leads, Contacts, and Accounts with separate internal IDs. Without a reliable shared key — like email address or an external CRM ID — joining these two datasets is error-prone and can produce duplicate or mismatched records.
How Tray.ai Can Help:
tray.ai's workflow logic lets you build multi-step identity resolution into every integration. You can configure lookups that try to match on email first, then fall back to custom user properties, and include deduplication logic before any write operation hits Salesforce — clean, accurate record linkage without custom engineering.
Challenge
Handling High-Volume Amplitude Event Streams Without Overloading Salesforce
Amplitude can generate millions of events per day across a large user base. Pushing every event into Salesforce as an activity or task would rapidly exhaust API rate limits, inflate storage costs, and create noise that makes CRM data unusable for sales teams who need clean, actionable information.
How Tray.ai Can Help:
tray.ai lets you build filtering and aggregation logic into your workflows. Rather than pushing raw events, you can configure workflows to batch, aggregate, or threshold-filter before anything reaches Salesforce — for example, only syncing data when a user crosses a meaningful usage boundary. CRM data stays high-signal and API consumption stays within limits.
Challenge
Keeping Amplitude Cohorts and Salesforce Segments in Sync
Amplitude cohorts are dynamic — users enter and exit based on continuous behavioral evaluation. Salesforce campaign lists, however, are static snapshots. Keeping them aligned manually requires regular exports and imports that are time-consuming, error-prone, and always slightly out of date by the time they're processed.
How Tray.ai Can Help:
tray.ai supports scheduled and event-driven workflows that can run as frequently as needed to pull updated cohort membership from Amplitude and reconcile it against Salesforce Campaign Members — adding new members and removing lapsed ones automatically, so your revenue teams are always working from a current, behaviorally accurate audience.
Challenge
Mapping Amplitude Event Schemas to Salesforce Custom Field Structures
Amplitude event properties are defined by product and engineering teams and often use naming conventions or data types that don't map cleanly to Salesforce's custom field schema, which is maintained by Salesforce admins. Reconciling these two schemas requires ongoing coordination across teams and breaks easily when either system is updated.
How Tray.ai Can Help:
tray.ai's visual data mapping and transformation tools let you define explicit field mappings between Amplitude properties and Salesforce fields, apply type conversions, and normalize values — all without writing custom code. When schemas change, you update the mapping in one place and every affected workflow picks up the correction.
Challenge
Maintaining Data Governance and GDPR Compliance Across Both Platforms
When user-level behavioral data flows from Amplitude into Salesforce, it has to comply with GDPR and CCPA. That means only consented users get synced, data isn't retained longer than permitted, and deletion requests in one system propagate correctly to the other — a real operational burden to manage by hand.
How Tray.ai Can Help:
tray.ai lets you build consent checks and suppression list lookups into every sync workflow, so only eligible users are written to Salesforce. You can also build automated data deletion workflows that listen for a deletion event in either system and propagate the removal to the other, keeping your compliance posture intact across your entire integration layer.
Start using our pre-built Amplitude & Salesforce templates today
Start from scratch or use one of our pre-built Amplitude & Salesforce templates to quickly solve your most common use cases.
Amplitude & Salesforce Templates
Find pre-built Amplitude & Salesforce solutions for common use cases
Template
Amplitude PQL to Salesforce Lead Creator
Monitors Amplitude for users who reach a defined activation event or cohort membership threshold, then automatically creates or updates a Lead or Contact record in Salesforce, enriched with behavioral properties and a follow-up task for the assigned sales rep.
Steps:
- Trigger: Amplitude user enters a defined PQL cohort or fires a key activation event
- Lookup: Check whether the user already exists as a Lead or Contact in Salesforce by email
- Action: Create a new Lead or update an existing Contact with Amplitude event properties
- Action: Create a Salesforce Task assigned to the account owner with engagement context
Connectors Used: Amplitude, Salesforce
Template
Amplitude Engagement Score to Salesforce Account Sync
Runs on a schedule to pull aggregate engagement metrics and feature adoption scores from Amplitude for each account, then writes those values into custom fields on the corresponding Salesforce Account record, keeping health data fresh for CSMs and AEs.
Steps:
- Trigger: Scheduled workflow runs daily or weekly
- Fetch: Pull account-level engagement metrics from Amplitude's API for all tracked accounts
- Transform: Map Amplitude user properties and event counts to Salesforce Account field schema
- Action: Upsert engagement score and usage metrics to each matching Salesforce Account record
Connectors Used: Amplitude, Salesforce
Template
Churn Risk Alert Workflow: Amplitude to Salesforce Case
Detects when an Amplitude-tracked account drops below a usage threshold or enters a churn-risk behavioral cohort, then automatically opens a Salesforce Case or high-priority Task and notifies the assigned CSM via Salesforce Chatter or connected messaging tools.
Steps:
- Trigger: Amplitude user or account enters a churn-risk cohort based on behavioral rules
- Lookup: Identify the corresponding Salesforce Account and assigned CSM owner
- Action: Create a Salesforce Case or Task flagged as high priority with churn signal details
- Action: Post an internal Chatter notification to the CSM with usage trend context
Connectors Used: Amplitude, Salesforce
Template
Salesforce Closed-Won to Amplitude Revenue Event Logger
Listens for Salesforce Opportunity stage changes to Closed-Won and pushes a corresponding revenue event back into Amplitude for the associated user or account, so product and growth teams can run full-funnel behavioral analysis tied to actual revenue.
Steps:
- Trigger: Salesforce Opportunity moves to Closed-Won stage
- Lookup: Identify the Amplitude user ID associated with the Salesforce Contact or Account
- Transform: Build an Amplitude event payload including deal value, product tier, and close date
- Action: Send the revenue event to Amplitude via the HTTP API for the matched user
Connectors Used: Salesforce, Amplitude
Template
Amplitude Cohort to Salesforce Campaign Member Sync
Exports a specified Amplitude behavioral cohort on a recurring schedule and syncs members to a Salesforce Campaign, automatically adding or removing contacts as cohort membership changes so marketing and sales outreach always targets the most current audience.
Steps:
- Trigger: Scheduled workflow runs on a defined cadence (e.g., daily)
- Fetch: Pull current members of a target Amplitude cohort via the Cohorts API
- Lookup: Match each cohort member to a Salesforce Contact or Lead by email address
- Action: Add matched records as Campaign Members in the designated Salesforce Campaign
- Action: Remove Campaign Members whose Amplitude cohort membership has lapsed
Connectors Used: Amplitude, Salesforce
Template
Amplitude Trial Milestone to Salesforce Opportunity Stage Updater
Tracks prospect product usage during a free trial via Amplitude and automatically advances the associated Salesforce Opportunity stage whenever the prospect hits a predefined behavioral milestone, keeping pipeline data accurate without relying on manual rep updates.
Steps:
- Trigger: Amplitude user fires a trial milestone event (e.g., team invite, core feature used)
- Lookup: Find the associated open Salesforce Opportunity by matching contact email
- Condition: Evaluate which milestone was hit and determine the corresponding target stage
- Action: Update the Salesforce Opportunity stage and log a note with milestone details
Connectors Used: Amplitude, Salesforce