Create a Salesforce Field Service ServiceAppointment from a Work Order and dispatch it to a technician.

domain: developer.salesforce.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Salesforce Bulk API 2.0 limits — the full failure-mode walkthrough related to developer.salesforce.com, checked against official docs, with linked verified routes.

Steps

  1. Create a Work Order (with a Work Type) first; Field Service can auto-generate the linked ServiceAppointment, or create one directly via the sObject/Connect REST API.
  2. Set ServiceAppointment fields for the service territory, earliest/due date-time window, and status.
  3. Use the Dispatcher Console's Schedule action, or the Scheduling API/Apex ScheduleService class, to assign a Service Resource (technician) and time slot.
  4. Update the appointment status through its lifecycle (Scheduled > Dispatched > In Progress > Completed) via standard sObject update calls.
  5. Confirm the assigned resource and route via the resulting AssignedResource record.

Known gotchas

Related routes

Trigger a 'technician on the way' SMS to a customer when a field service system emits a job/appointment status webhook.
developer.servicetitan.io · 5 steps · unrated
Create a Dynamics 365 Field Service work order and a technician resource booking through the Dataverse Web API.
learn.microsoft.com · 5 steps · unrated
Pull a technician's route/appointment schedule for a given service day from the FieldRoutes API
api.fieldroutes.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans