How would you integrate Salesforce Field Service with an external ERP for work orders, parts and billing?
Answer
Typical flows
- ERP → Salesforce: customers, assets, products, locations and sometimes work orders.
- Salesforce → ERP: completed work, parts consumed, time and expenses for billing and stock.
Patterns
- REST/Bulk API or MuleSoft for inbound data, with External IDs for upserts and idempotency.
- Platform Events, Change Data Capture or outbound Flow callouts to push status changes in near real time.
- Scheduled batch for large master data loads.
Good practice
- Make integrations asynchronous and retryable.
- Log failures and give admins a re-process option.
- Define the system of record for each object.
- Avoid calling the ERP synchronously from a trigger on Service Appointment, since it slows scheduling and breaks offline use.
IntegrationERPPlatform EventsMuleSoft