Salesforce Integration¶
Overview¶
The Salesforce connector bidirectionally syncs accounts, opportunities, and contacts with ValuePact. This enables automatic population of pipeline data, stakeholder lists, and realized value tracking.
Who this is for¶
- Admin
- Developer
- End User
Prerequisites¶
- Salesforce Enterprise, Unlimited, or Developer Edition.
- Admin access to Setup > App Manager in Salesforce.
- ValuePact Organization Admin role.
Step-by-step instructions¶
1. Install the connected app¶
- In ValuePact, go to Administration > Integrations > Salesforce.
- Click Connect.
- You are redirected to Salesforce OAuth. Log in with an admin account.
- Approve the requested scopes:
api,refresh_token. - Return to ValuePact. The status indicator turns green.
2. Configure sync scope¶
- Open the Salesforce connector settings in ValuePact.
- Select entities to sync: Accounts, Opportunities, Contacts.
- Choose sync direction: Inbound, Outbound, or Bidirectional.
- Set the sync schedule: every 15 minutes, hourly, or daily.
3. Map fields¶
- Click Field Mapping.
- Drag Salesforce fields to corresponding ValuePact attributes.
- Required mappings:
Account.Name→Stakeholder OrganizationOpportunity.Amount→Benefit ValueOpportunity.StageName→Initiative Status- Save the mapping. Run a test sync to validate.
4. Set sync rules¶
- Open Sync Rules.
- Add a filter:
Opportunity.StageName IN ('Closed Won', 'Closed Lost'). - Exclude records owned by integration users to prevent noise.
- Enable Conflict Resolution: Salesforce wins, ValuePact wins, or manual review.
5. Verify the first sync¶
- Trigger a manual sync.
- Open Data Explorer and compare record counts.
- Review the sync log for validation errors.
- Fix mapping issues and re-sync.
Permissions required¶
| Role | Permission | Scope |
|---|---|---|
| Admin | Configure integrations | Organization |
| Admin | Manage field mapping | Organization |
| User | View synced records | Assigned initiatives |
Limits and guardrails¶
- Limit Salesforce API calls: 100,000 per 24 hours per connected app.
- Limit Records per sync batch: 2,000.
- Limit Field mappings per entity: 50.
- Limit Sync frequency: minimum 15 minutes.
Troubleshooting¶
Issue: OAuth token expired and sync stopped
Cause: The Salesforce admin password changed, or the connected app was blocked. Resolution: 1. In ValuePact, click Reconnect. 2. Re-authenticate with Salesforce. 3. Verify the connected app is not in "Blocked" status in Salesforce Setup.
Issue: Opportunity amounts appear in wrong currency
Cause: The mapping pulled Amount without referencing CurrencyIsoCode. Resolution: 1. Add CurrencyIsoCode to the field map. 2. Enable multi-currency in Administration > Configuration > Currency. 3. Re-run the sync.
Issue: Sync shows 'INSUFFICIENT_ACCESS_OR_READONLY'
Cause: The connected app user lacks read permission on a mapped object or field. Resolution: 1. In Salesforce, open the profile for the integration user. 2. Grant read access to the object and field-level security for mapped fields. 3. Re-run the sync.
Related pages¶
Escalation path¶
| Severity | Condition | Contact |
|---|---|---|
| P3 | Field mapping or filter questions | #valuepact-support Slack |
| P2 | Sync failure affecting reporting | support@valuepact.ai |
| P1 | Complete Salesforce disconnect with data loss risk | On-call page with subject "P1 Salesforce Integration" |