# How would you integrate Salesforce Field Service with an external ERP for work orders, parts and billing?

**Topic:** Field Service · **Difficulty:** Hard · **Tags:** Integration, ERP, Platform Events, MuleSoft

Read it on the site: https://www.forcechallenges.com/interview-questions/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.

---
Source: ForceChallenges · last updated 2026-10-28
