Yext + Salesforce
Connect Yext and Salesforce to Unify Your Location Data and CRM Intelligence
Automate the flow of business listing data, customer insights, and location intelligence between Yext and Salesforce. No more silos, no more manual reconciliation.

Why integrate Yext and Salesforce?
Yext and Salesforce are two of the most widely used platforms in enterprise tech. Yext manages authoritative business listings, location data, and digital knowledge; Salesforce drives sales pipelines, customer relationships, and revenue operations. When they run in isolation, teams end up with inconsistent location data, missed customer signals, and manual reconciliation work that slows everything down. Integrating Yext with Salesforce via tray.ai keeps location records, review signals, and customer data in sync so your go-to-market teams always work from a single source of truth.
Automate & integrate Yext & Salesforce
Use case
Automatic Salesforce Account to Yext Location Sync
When a new account representing a physical business location is created or updated in Salesforce, tray.ai instantly pushes that record's address, phone number, business hours, and custom attributes to Yext to create or update the corresponding listing. Every location in Yext reflects the authoritative data your sales and operations teams maintain in Salesforce. No more stale listings or mismatched addresses from dual data entry.
Use case
Yext Review Signals Enriching Salesforce Account Health
Customer reviews and star ratings in Yext carry real signals about location-level satisfaction and brand perception. With tray.ai, those review metrics are automatically pushed into custom fields on the corresponding Salesforce account record, giving account managers, CSMs, and sales reps a live view of how each location is performing in public search. Teams can set up Salesforce alerts or workflow rules triggered by low review scores to get ahead of at-risk accounts.
Use case
New Store Opening Workflow Triggering Yext Listing Creation
When a new store opening opportunity reaches a specific stage in a Salesforce pipeline — say, 'Grand Opening Confirmed' — tray.ai can automatically create a new Yext location listing pre-populated with all relevant details from the Salesforce record. New locations go live and show up in search the moment they open, without manual handoffs between sales operations and marketing.
Use case
Yext Search Analytics Enriching Salesforce Opportunity Records
Yext tracks how often each location appears in search, how many clicks and calls it receives, and how it performs against local competitors. tray.ai can route that search performance data into Salesforce opportunity or account records on a schedule, giving revenue teams visibility into which locations are gaining or losing digital traction. Sales and marketing teams can use it to prioritize ad spend, upsell digital services, or flag underperforming markets.
Use case
Closed-Lost or Churned Account Deactivating Yext Listings
When a Salesforce account reaches a closed-lost stage or a customer relationship ends, the corresponding Yext listing needs to be updated or deactivated quickly — otherwise customers may navigate to a location that no longer operates. tray.ai monitors Salesforce for account status changes and automatically triggers the right Yext listing update, suppressing, closing, or flagging the location so your digital presence stays accurate without manual intervention.
Use case
Yext Duplicate Listing Alerts Creating Salesforce Cases or Tasks
Yext detects when duplicate or conflicting listings appear across the web for a given location. With tray.ai, those alerts automatically create a Salesforce case or task assigned to the appropriate account manager or operations team member, so listing integrity issues are tracked and resolved inside existing CRM workflows rather than a separate Yext dashboard.
Use case
Salesforce Contact Updates Refreshing Yext Knowledge Manager Records
For professional services firms, healthcare providers, or franchise networks that manage individual practitioner or agent listings in Yext, changes to contact records in Salesforce — updated phone numbers, new certifications, changed office locations — need to show up in Yext Knowledge Manager promptly. tray.ai automates this sync so provider and agent listings in Yext stay consistent with the contact data in Salesforce.
Get started with Yext & Salesforce integration today
Yext & Salesforce Challenges
What challenges are there when working with Yext & Salesforce and how will using Tray.ai help?
Challenge
Matching Yext Locations to Salesforce Accounts Without a Shared Key
Yext uses its own internal location IDs while Salesforce identifies accounts by Salesforce IDs. Without a shared identifier stored in both systems, automations can't reliably match a Yext location record to the correct Salesforce account — especially at scale across hundreds or thousands of locations.
How Tray.ai Can Help:
tray.ai lets you build a lookup and mapping layer within your workflows that stores Yext location IDs as custom fields on Salesforce accounts during the initial sync. Later automations query that field to resolve the relationship on the fly. tray.ai's built-in data transformation tools also handle edge cases like missing matches or newly created records that haven't been linked yet.
Challenge
Handling High-Volume Location Updates Without Hitting API Rate Limits
Enterprise customers with thousands of locations may need to sync large batches of Salesforce account updates to Yext simultaneously. That can exhaust Yext's API rate limits quickly and cause partial sync failures that are hard to detect and recover from.
How Tray.ai Can Help:
tray.ai has built-in rate limit handling, request throttling, and retry logic that automatically paces API calls to stay within Yext and Salesforce limits. Workflows can process updates in controlled batches with delays between requests, and failed calls are automatically retried with exponential backoff so no records are silently dropped.
Challenge
Keeping Field Mappings Aligned as Both Platforms Evolve
Yext and Salesforce both allow extensive customization of their data models — custom fields, new entity types, and schema changes are common. When either platform's data model changes, hard-coded integrations break and need developer intervention, leading to data gaps and operational disruption.
How Tray.ai Can Help:
tray.ai's low-code workflow builder makes it easy for operations teams to update field mappings without writing code, so adapting to schema changes in either Yext or Salesforce takes minutes of configuration rather than days of engineering work. tray.ai also provides schema discovery tools that let you inspect available fields from both APIs directly within the workflow editor.
Challenge
Ensuring Data Flows in the Right Direction to Avoid Overwrites
In a bidirectional integration between Yext and Salesforce, updates originating in one system can overwrite newer data in the other if the direction of data flow isn't carefully controlled. A Salesforce account update could overwrite a phone number that was manually corrected in Yext, or vice versa.
How Tray.ai Can Help:
tray.ai lets you build conditional logic directly into your workflows that determines the authoritative source for each field before writing data. You can compare timestamps, check which system was last updated, or designate specific fields as read-only in one direction — giving you precise control over data governance without touching either connected platform.
Challenge
Authenticating and Maintaining Secure API Connections at Scale
Both Yext and Salesforce use OAuth-based authentication with access tokens that expire and need periodic refresh. In enterprise environments managing integrations across multiple Salesforce orgs or Yext accounts, keeping credentials current and securely stored is a real operational burden.
How Tray.ai Can Help:
tray.ai's authentication management handles OAuth token refresh automatically for both Yext and Salesforce connections, storing credentials in an encrypted vault and refreshing tokens before they expire. Multi-account configurations are supported natively, so teams managing multiple Salesforce orgs or Yext sub-accounts can maintain separate authenticated connections within a single tray.ai workspace.
Start using our pre-built Yext & Salesforce templates today
Start from scratch or use one of our pre-built Yext & Salesforce templates to quickly solve your most common use cases.
Yext & Salesforce Templates
Find pre-built Yext & Salesforce solutions for common use cases
Template
Salesforce Account Created → Create Yext Location Listing
Automatically creates a new Yext location listing whenever a new account with a physical address is added to Salesforce, populating the listing with name, address, phone, hours, and custom attributes pulled directly from the Salesforce record.
Steps:
- Trigger on new Account creation in Salesforce matching a specific record type or field criteria
- Map Salesforce account fields (name, address, phone, hours, custom attributes) to Yext location schema
- Call Yext API to create a new location entity in Knowledge Manager with mapped data
Connectors Used: Salesforce, Yext
Template
Yext Review Published → Update Salesforce Account Review Fields
When a new customer review is published and captured in Yext, this template updates the associated Salesforce account with the latest average rating, review count, and most recent review text, so account managers can monitor reputation without leaving Salesforce.
Steps:
- Poll Yext Reviews API on a scheduled interval to detect newly published reviews
- Match Yext location ID to the corresponding Salesforce account using a stored mapping
- Update custom fields on the Salesforce account record with rating, review count, and latest review snippet
Connectors Used: Yext, Salesforce
Template
Salesforce Opportunity Stage Change → Trigger Yext Listing Action
Monitors a Salesforce opportunity for stage changes and triggers a corresponding action in Yext — creating a listing when a new location is confirmed, updating hours when a remodel is complete, or suppressing a listing when a closure is finalized.
Steps:
- Trigger on Salesforce opportunity stage field update via scheduled polling or outbound messaging
- Evaluate the new stage value and determine the corresponding Yext action (create, update, or suppress)
- Execute the appropriate Yext Knowledge Manager API call with data sourced from the opportunity and related account
Connectors Used: Salesforce, Yext
Template
Scheduled Yext Search Analytics Sync to Salesforce
On a weekly or monthly schedule, this template pulls search impression, click, and call data from the Yext Analytics API for each location and writes the aggregated metrics into corresponding Salesforce account records for use in reports, dashboards, and scoring models.
Steps:
- Run on a scheduled trigger (weekly or monthly) to call Yext Analytics API for all active locations
- Aggregate metrics per location including impressions, clicks, direction requests, and phone calls
- Upsert metrics into custom fields on the matching Salesforce account record using the Yext location ID as the key
Connectors Used: Yext, Salesforce
Template
Salesforce Account Status Change → Deactivate or Update Yext Listing
Detects when a Salesforce account is marked as inactive, closed, or lost and automatically updates the corresponding Yext listing — suppressing it, marking it as closed, or updating its status — to keep public-facing location data accurate.
Steps:
- Trigger on Salesforce account field update where status changes to Inactive, Closed, or a custom closed value
- Look up the associated Yext location ID from a stored field or mapping table
- Call Yext API to suppress the listing, update the closed date, or set the appropriate closed status
Connectors Used: Salesforce, Yext
Template
Yext Duplicate Alert → Create Salesforce Task
Automatically creates a Salesforce task assigned to the relevant account owner whenever Yext detects a duplicate or conflicting listing for a managed location, so the issue gets tracked and resolved through existing CRM workflows.
Steps:
- Poll Yext for new duplicate listing alerts or publisher suggestion warnings on a scheduled basis
- Match the affected Yext location to its corresponding Salesforce account record
- Create a Salesforce task assigned to the account owner with details about the duplicate listing and recommended resolution steps
Connectors Used: Yext, Salesforce