Global logistics enterprise deal management
Multi-country tenders are managed as opportunities summarised by service line, with lanes priced in the rate management system. Origin and destination countries share revenue splits and specialists get overlay credit. Pipeline Management and forecasting agents keep a multi-currency forecast current.
Illustrative design parameters: a global freight-forwarding and contract-logistics provider with about 1,500 sellers and specialists in roughly 40 countries, multi-country tenders with thousands of lanes, many currencies, and a separate rate management system.
Tender summary from rate management
The rate system knows when a tender is priced, so it calls in to update Salesforce. Remote Call-In keeps Salesforce in sync without polling and without storing lanes.
- Protocol / API
- Rate system calls Salesforce REST API (Composite) to upsert the tender summary and service-line products on Tender_Id__c
- Middleware
- None
- Frequency / volume
- On each tender submission or revision
- Error handling and retry
- Rate system retries with backoff; the upsert is idempotent on Tender_Id__c and line keys; failures alert the tender desk.
- Security / auth
- OAuth 2.0 client credentials (connected app) for a dedicated integration user limited to Opportunity and line items
Customer credit check
The seller needs the current credit position before committing terms, so it's Request and Reply, gated at a specific stage rather than every save.
- Protocol / API
- Apex โ Named Credential โ finance credit API at the Proposal stage
- Middleware
- Integration platform
- Frequency / volume
- Per tender at stage change; on demand
- Error handling and retry
- Timeout shows 'credit check pending' and blocks only the move to Negotiation until a result arrives.
- Security / auth
- OAuth 2.0 client credentials; only limit and status returned
Daily exchange rates
Rates change daily and must match Finance. A daily batch is the simple, auditable choice.
- Protocol / API
- Daily file โ integration โ API inserts into DatedConversionRate
- Middleware
- Integration platform
- Frequency / volume
- Daily, active currencies
- Error handling and retry
- Missing rates alert Finance; previous day's rate remains in effect.
- Security / auth
- Integration user with permission to manage currencies
Shipped volumes
Account managers need trends, not shipments. Monthly batch aggregates keep Salesforce lean.
- Protocol / API
- Monthly aggregates โ Bulk API 2.0 upsert into Volume_Actual__c
- Middleware
- Integration platform
- Frequency / volume
- Monthly per customer group and service line
- Error handling and retry
- Unmatched customer groups to a steward queue; totals reconciled with Finance.
- Security / auth
- Write access to Volume_Actual__c only
Customer onboarding on closed-won
Onboarding is a long operational process. Fire and Forget with status callbacks starts it immediately without coupling deal closure to operations systems.
- Protocol / API
- Tender_Closed__e (Platform Event) โ integration subscriber โ onboarding workflow; status callback
- Middleware
- Integration platform
- Frequency / volume
- Tens a month
- Error handling and retry
- Idempotency key; failures alert the onboarding team; status visible on the opportunity.
- Security / auth
- Publish-only permission for the event; callback user limited to onboarding fields