Namely + Salesforce

Connect Namely and Salesforce to Unify Your People and Revenue Data

Automate HR and CRM workflows so your teams always work with accurate, synchronized employee and customer data.

Why integrate Namely and Salesforce?

Namely is an HR platform that centralizes employee records, payroll, benefits, and performance data. Salesforce is the CRM most companies use to manage customer relationships, sales pipelines, and revenue operations. Together, these two platforms hold data that has to stay in sync — from employee onboarding to account ownership. Integrating Namely with Salesforce on tray.ai cuts out the manual work of reconciling HR and CRM records, so your sales and people operations always reflect what's actually happening.

Automate & integrate Namely & Salesforce

Use case

Automated Salesforce User Provisioning on New Hire Onboarding

When a new employee is added to Namely in a sales, customer success, or account management role, tray.ai automatically creates a Salesforce user with the right profile, role hierarchy, and permissions. No IT tickets, no delays — new reps get CRM access on day one. The workflow can also drop the new user into the correct territory or team queue based on their Namely department and location.

Use case

Account and Opportunity Reassignment on Employee Departure

When an employee is marked terminated in Namely, tray.ai triggers a Salesforce workflow that finds all open accounts, opportunities, and contacts owned by that user and reassigns them to a designated manager or queue. No more orphaned pipeline records going unworked. A Slack or email notification can simultaneously alert the departing employee's manager to review and confirm the reassignments.

Use case

Employee Role Change Triggers Salesforce Profile Update

When an employee gets a promotion or internal transfer in Namely — say, moving from Sales Development Representative to Account Executive — tray.ai detects the job title or department change and updates the corresponding Salesforce user's profile, role, and hierarchy automatically. CRM permissions stay aligned with actual org roles without RevOps or IT manually adjusting settings. Audit logs are maintained on both sides for compliance.

Use case

Sync Employee Directory Data to Salesforce Internal Contacts

Many organizations maintain an internal employee directory inside Salesforce alongside their external contact database. tray.ai can continuously sync Namely employee records — name, title, department, manager, phone, and location — into a designated Salesforce object or custom internal contact record. Sales leaders and ops teams get a single CRM view of both customers and their own workforce. Changes in Namely flow to Salesforce automatically on a scheduled or event-driven basis.

Use case

Payroll and Compensation Insights for Sales Commission Tracking

Sales compensation sits at one of the messiest intersections of HR and CRM data. By connecting Namely payroll and compensation data with Salesforce opportunity and quota data through tray.ai, finance and RevOps teams can automate commission calculations and validate earned incentives against closed-won revenue. Discrepancies between CRM-recorded deals and HR-tracked comp plans get flagged automatically, cutting disputes and speeding up commission payouts.

Use case

Manager Hierarchy Sync for Salesforce Forecasting and Approvals

Salesforce's forecasting and approval processes depend on accurate manager hierarchies, which tend to drift from reality whenever org changes happen in Namely. tray.ai monitors manager relationship changes in Namely and updates the corresponding Salesforce role hierarchy and user manager fields automatically. Forecast rollups, approval routing, and territory management always reflect the current org structure, so sales leaders aren't flying blind.

Use case

Automated Offboarding Checklist Enforcement Across Both Platforms

When a termination is recorded in Namely, tray.ai can orchestrate a full offboarding checklist across both systems — deactivating the Salesforce user account, stripping API tokens, archiving owned records, and logging completion back into Namely as a compliance record. Terminated employees lose CRM access immediately, and no step gets missed. The workflow can also trigger downstream actions in connected systems like DocuSign, Slack, or an identity provider.

Get started with Namely & Salesforce integration today

Namely & Salesforce Challenges

What challenges are there when working with Namely & Salesforce and how will using Tray.ai help?

Challenge

Matching Employee Records Across Namely and Salesforce Without a Shared ID

Namely and Salesforce use different internal identifiers, so reliably matching an HR employee record to a Salesforce user gets tricky fast — especially when name or email discrepancies exist. Without a common key, you risk duplicate users or silent update failures.

How Tray.ai Can Help:

tray.ai lets teams define a custom matching strategy — using email address, an employee ID stored in a custom Salesforce field, or a combination of first name, last name, and department — with fuzzy matching logic and error handling that flags ambiguous records for human review instead of silently failing.

Challenge

Handling Partial Employee Data During Onboarding Workflows

New employee records in Namely are often incomplete at creation. A Salesforce user can't be created without an email address, role assignment, or manager, and those fields may be added to Namely across the first few onboarding days.

How Tray.ai Can Help:

tray.ai workflows can be configured with conditional logic to wait until all required fields are populated in Namely before triggering Salesforce user creation. The platform supports polling loops and retry mechanisms that check for field completeness before proceeding, so you don't end up with broken or incomplete Salesforce users.

Challenge

Managing Bulk Org Changes Without Overloading Salesforce API Limits

Large reorganizations can push dozens or hundreds of simultaneous employee updates through Namely, triggering an equivalent volume of Salesforce API calls and risking daily API limit breaches that disrupt production operations.

How Tray.ai Can Help:

tray.ai handles API rate limiting and bulk operations natively, batching Salesforce updates into bulk API calls where possible and queuing requests with configurable throttling to stay within limits. Large org changes get processed reliably without disrupting other Salesforce integrations running in parallel.

Challenge

Ensuring GDPR and Data Privacy Compliance When Syncing HR Data to Salesforce

Employee HR data from Namely — compensation, personal details, employment status — is sensitive. Syncing it into Salesforce without proper controls can expose organizations to GDPR violations or internal data governance problems.

How Tray.ai Can Help:

tray.ai supports field-level filtering so only necessary, approved employee attributes get transmitted to Salesforce. Sensitive fields like salary or health benefit data can be explicitly excluded from sync payloads. The platform also provides a full audit log of all data movement between systems, which is useful during compliance reviews and data access governance checks.

Challenge

Keeping Workflows Current as Namely and Salesforce APIs Evolve

Both Namely and Salesforce release regular API and schema updates — Salesforce ships three major releases per year — which can break field mappings, deprecate endpoints, or introduce new authentication requirements that make existing integrations unreliable.

How Tray.ai Can Help:

tray.ai maintains its Namely and Salesforce connectors to stay compatible with the latest API versions, so customers aren't caught off guard by breaking changes. The visual workflow builder makes it straightforward for operations teams to update field mappings or adjust logic when either system changes its schema, without pulling in engineering.

Start using our pre-built Namely & Salesforce templates today

Start from scratch or use one of our pre-built Namely & Salesforce templates to quickly solve your most common use cases.

Namely & Salesforce Templates

Find pre-built Namely & Salesforce solutions for common use cases

Browse all templates

Template

New Namely Employee → Create Salesforce User

Automatically creates a new Salesforce user with the correct profile, role, and permissions when a new employee record is created in Namely with a sales or CRM-relevant job function.

Steps:

  • Trigger: New employee created in Namely with a qualifying department or job title
  • Map Namely employee fields (name, email, title, department, manager) to Salesforce user object fields
  • Create Salesforce user with assigned profile, role hierarchy, and default territory based on Namely attributes

Connectors Used: Namely, Salesforce

Template

Namely Employee Termination → Reassign and Deactivate Salesforce User

When an employee is terminated in Namely, this template deactivates their Salesforce user account and bulk-reassigns all owned accounts, opportunities, and cases to their manager or a designated queue.

Steps:

  • Trigger: Employee status set to terminated in Namely
  • Query Salesforce for all records owned by the terminated user's email or user ID
  • Reassign open accounts, opportunities, and cases to the manager retrieved from Namely, then deactivate the Salesforce user

Connectors Used: Namely, Salesforce

Template

Namely Job Title Change → Update Salesforce Profile and Role

Detects job title or department changes in Namely and automatically updates the corresponding Salesforce user's profile, role, and manager field to keep CRM permissions aligned with HR records.

Steps:

  • Trigger: Employee job title or department updated in Namely
  • Look up the corresponding Salesforce user by email address
  • Update Salesforce user profile, role, and manager field based on the new Namely values

Connectors Used: Namely, Salesforce

Template

Sync Namely Employee Directory to Salesforce Internal Contacts

Runs on a daily schedule to sync all active Namely employee records into a custom Salesforce object or contact record type, keeping internal directory data current for sales collaboration and stakeholder lookup.

Steps:

  • Schedule: Trigger daily sync of all active employees from Namely
  • Upsert Salesforce records based on employee email, updating name, title, department, phone, and manager fields
  • Log sync results and flag any records where upsert failed for manual review

Connectors Used: Namely, Salesforce

Template

Namely Manager Change → Update Salesforce Hierarchy and Approval Routing

Monitors manager relationship changes in Namely and updates the Salesforce role hierarchy, user manager field, and any active approval processes to reflect the new reporting structure.

Steps:

  • Trigger: Manager field updated on an employee record in Namely
  • Resolve new manager's Salesforce user ID by matching on email
  • Update Salesforce user's manager field and role assignment to reflect the new hierarchy

Connectors Used: Namely, Salesforce

Template

Salesforce Closed-Won Opportunity → Log Commission Data Back to Namely

When an opportunity is marked closed-won in Salesforce, this template extracts deal value and rep attribution data and logs a compensation event or note back into Namely to support payroll and commission reconciliation.

Steps:

  • Trigger: Opportunity stage updated to Closed-Won in Salesforce
  • Extract opportunity owner, amount, close date, and commission rate from Salesforce
  • Create or update a compensation record or custom note in Namely linked to the employee's profile

Connectors Used: Salesforce, Namely