# Connect Namely to Salesforce

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

**Canonical page:** https://tray.ai/connectors/namely-salesforce-integrations/
**Salesforce connector:** https://tray.ai/connectors/salesforce-integrations/
**Salesforce documentation:** https://tray.ai/documentation/connectors/service/salesforce

## Overview

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.

When Namely and Salesforce run in silos, revenue teams deal with stale account assignments, duplicated contacts, and broken approval chains every time someone joins, changes roles, or leaves. A departing rep can leave orphaned Salesforce accounts sitting unattended for days, quietly draining pipeline visibility. Meanwhile, HR teams often have no idea which CRM roles need provisioning when a new sales or customer success hire starts. Connecting Namely with Salesforce through tray.ai automates the full employee-to-CRM lifecycle — creating Salesforce users when new hires appear in Namely, reassigning accounts when employees transfer or leave, and keeping org-chart hierarchies consistent across both platforms. The result is less revenue risk, clearer accountability, and far less time spent chasing down stale records.

## Use cases

### 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.

- New sales hires get Salesforce access on their first day without manual IT intervention
- Profile and role assignments follow HR-defined job titles consistently
- Cuts onboarding time and the risk of misconfigured CRM permissions

### 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.

- Prevents unattended accounts after employee departures
- Customer relationships get handed off immediately, without manual CRM cleanup
- Managers are notified right away so handoffs happen within hours, not days

### 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.

- CRM permissions update in real time when employee roles change
- Reduces over-provisioned or under-provisioned Salesforce access
- Clears the RevOps backlog of manual profile adjustment requests

### 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.

- Salesforce becomes a single source of truth for both internal and external contacts
- Internal stakeholder lookup for deal collaboration stays current
- Cuts reliance on outdated org charts buried in spreadsheets or wikis

### 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.

- Automates commission validation by cross-referencing Salesforce closed-won data with Namely payroll records
- Reduces pay disputes and manual reconciliation at month-end close
- Gives finance teams real-time visibility into comp plan adherence

### 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.

- Forecast rollups stay accurate when managers change, without manual Salesforce updates
- Approval workflows route to the right manager immediately after org changes
- Sales leadership has reliable hierarchy data for territory and quota planning

### 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.

- Immediate Salesforce deactivation on termination eliminates security exposure
- A full offboarding audit trail is captured across Namely and Salesforce for compliance
- Handles multi-system offboarding steps without IT involvement

## Templates

### 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.

Connectors used: Namely, Salesforce

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

### 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.

Connectors used: Namely, Salesforce

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

### 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.

Connectors used: Namely, Salesforce

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

### 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.

Connectors used: Namely, Salesforce

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

### 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.

Connectors used: Namely, Salesforce

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

### 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.

Connectors used: Salesforce, Namely

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

## Challenges Tray.ai solves

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
