Thanksgiving Week Special – Get 50% OFF on FileTranz
Claim Your OfferExplore geolocation-based actions in Salesforce Field Service to track technicians in real time, automate appointment status updates, and improve efficiency.
In our previous blog, we discussed about the Field Service Technician's Geolocation tracking and automatically updating the status of Service appointments based on the current location of technician.
In this section, we will explore geolocation-based actions in Salesforce Field Service and understand the limitations of geolocation tracking. It enables organizations to use a technician’s real-time location to trigger specific actions based on their proximity to the customer.
This is an attempt to show how the actions based on geolocation can be applied to make the Field Service process more automatic and efficient.
It allows the organizations to create GPS-based automations and reminders for technicians.
Salesforce creates geolocation triggers around the Service Appointment location.
Upon entering or leaving the specified radius of the service appointment, the technician triggers an automated activity on Salesforce.
Platform Alert
Quick Action
View Record
Example Use Case
If a technician approaches the customer location but forgets to update the appointment to En Route, Salesforce can:
Send a reminder notification
Prompt the technician to update the status.
Open a quick action automatically
| Field | Example Value |
| Trigger Type | Enter |
| Radius | 150 meters |
| Action Type | Platform Alert |
Geolocation-Based Actions are triggered based on the below parameters:
Technician GPS location
Entering or exiting the configured radius
Mobile app location updates
Assigned Service Appointment
Active GPS tracking from the Field Service Mobile App.

There are two approaches for creating geolocation-based action records for Service Appointments:
Before creating the geolocation-based action records, first enable the Address Details on the Service Resource record.
Actions based on Geolocation can be set up using a Record-Triggered Flow for the Service Appointment object. The flow will automatically generate the geolocation action records whenever a new Service Appointment record is created or updated, and therefore no manual creation of geolocation actions will be needed.
Go to Setup → Process Automation → Flows.
Click New Flow.
Select Record-Triggered Flow.
Select Service Appointment as the object.
Configure the flow to run when a record is created or updated.
Select Actions and Related Records.

The flow retrieves the Assigned Resource associated with the Service Appointment.
The ServiceResourceId is retrieved to identify the technician assigned to the appointment.

The flow checks the geolocation-based action records associated with the Service Appointment.
If no existing actions are found, the flow proceeds to create the required actions.

The flow creates a geolocation-based action record.
Configure:
Action Type: Platform Alert / Quick Action / View Record
Name: Appropriate action name
Radius: For example, 150 meters
Trigger Type: Enter
Reference Record ID: Service Appointment ID
The action is therefore associated with the specific Service Appointment.
Similarly, the flow creates another geolocation-based action record.
Configure the Trigger Type as Exit.
The same Service Appointment is used as the Reference Record.
This action is triggered when the technician exits the configured geofence.
Share the Action with the Technician
The flow creates a geolocation-based action share record.
This associates the geolocation action with the assigned Service Resource and provides the required access to the technician.

Save and activate the flow.
The flow runs whenever a Service Appointment is created or updated.
The workflow will automatically generate both the Enter and Exit actions using the required radius, type, and service appointment as reference. The workflow does not require users to create the geolocation action record manually.
As part of this process, the action is created manually by the administrator or authorized user as opposed to the Flow creating the action automatically, based on the location-based services appointment requirement.
Go to the App Launcher.
Search for geolocation-based action.

Click geolocation-based action to open the tab
Click New to create a new geolocation-based action record.

Enter the required details:
Name: Enter a name for the geolocation action.
Example: SA-0018 Enter
Reference Record: Select the related Service Appointment.
Radius (in meters): Enter the geofence radius.
Example: 500 meters.
Action Type: Select the required action.
Example: Quick Action
Trigger Type: Select when the action should be triggered.
Enter—triggers when the technician enters the configured radius.
Exit—triggers when the technician leaves the configured radius.
Action Data: Enter the required action configuration.
Example: {"quickAction":"ServiceAppointment.Geo"}
Click Save.

Once the record has been created, the geolocation action will then be associated with the target Service Appointment through the Reference Record. In line with the configuration that will be set by the trigger type and radius, the action will be fired based on the technician’s location.
In this case, if the Trigger Type is "Enter" and Radius is 500 meters, the action will be triggered when the technician enters within the 500 meter radius of the Service Appointment.
Geo-location tracking can be applied in Salesforce Field Service either for automatic status change or geo-location based actions. Geo-location tracking assists in monitoring the location of the technician and performing actions on the basis of the proximity of the technician to the customer. Nevertheless, geo-location tracking depends on certain conditions.
The below are some limitations along with examples.
The location of the technician is based on the GPS features of the mobile phone used. The GPS may not give the exact physical location of the technician. The accuracy may be hampered by several factors such as the presence of buildings, indoor spaces, underground spaces, trees, weather, among others.
For example:
Suppose that the location of the customer is configured to be within 100 meters radius. A technician goes to the customer's building, but the GPS may give the location of the technician to be 120 meters because the technician is inside the building. This means that the system will take the technician as being out of the configured radius and hence the automatic On Site feature will not be activated.
The same case applies for actions based on geolocation when the technician is to be sent a notification within 100 meters.
However, it is possible that the technician's location is not updated on a constant basis. There might be a delay between the real location of the technician and the most recent location data known to Salesforce.
Thus, the technician might already be inside the defined radius of the location, yet Salesforce might think that the technician was at his previous location.
Example:
The technician is going towards the location of a customer. At 10:00 AM, the technician is 500 meters away. By 10:02 AM, he has reached the distance of 100 meters from the customer. Nevertheless, if the next update of the location is made by 10:05 AM, Salesforce will only recognize the presence of the technician within the radius at 10:05 AM.
Consequently, the automatic status change might take place after the physical process has happened.
The process of geolocation tracking can be influenced by the existence and quality of internet connectivity of the technician. While the mobile device would be able to identify the location of the technician, this data would have to be shared with the Salesforce environment.
In case the technician finds himself in the area without proper network connectivity, the location data would not be updated on time.
Example:
The technician reaches the customer, however, the area has bad network connectivity for the mobile device. As a result, the device is not able to upload the latest location data.
Consequently, the location of the technician would not be updated. The On Site status will not be reached, or the customer will not be notified about this.
Geographic tracking necessitates having the right location permission set for the technician's device. Should the technician choose to block location access or limit location access from the application, the location data required would fail to become available.
Example:
While installing the Field Service mobile app, a technician chooses "Don't Allow" after being prompted to give location permission.
This allows the technician to view the appointment and proceed to the customer site, but the Salesforce system might fail to get the technician's location, hence preventing a rule dependent on the entry of the customer radius from becoming successful.
Mobile operating systems have the ability to limit applications from being always on in order to save battery power. Battery saving feature and limitations for background activities may thus influence location tracking.
Example:
The technician begins work with little power in the device and turns on Battery Saver feature. The mobile device limits location background activities.
During movement from one appointment to another, the frequency of location updates may decrease. As a consequence, Salesforce gets an old location and performs the next geolocation action later.
The automation process based on geolocation makes use of the radius that is set for the customer’s location. Radius is what helps to determine whether the technician is in a certain distance from the customer.
When the radius selected is too small, the action will not succeed because of the GPS errors. When the radius is too big, the action can take place even before the technician reaches the customer.
Example:
In case an organization sets up a radius of 50 meters from the location of the customer.
The technician is physically present 45 meters from the customer but the GPS shows that the technician is 65 meters away from the customer. The system can still show that the technician is outside the radius.
On the other hand, if the radius is set up at 500 meters, the technician can initiate the task even when he is several minutes away from the location of the customer.
Hence, the radius should be set based on organizational needs and expectations regarding location accuracy.
The geolocation-based activities are dependent upon the address of the service along with the geolocation coordinates in Salesforce Field Service. In case, if there is any mistake in the address of the service, or if the latitude and longitude of the service address are incorrect, then this can affect the calculation of the distance of the technician from the customer.
Example:
There is a Service Appointment with the right customer address, but the geolocation (latitude and longitude) of the service address is incorrect. The technician arrives at the customer’s location physically, but the distance is calculated by Salesforce based upon the incorrect geolocation.
This means that the technician would seem to be outside the configured radius, when he is already at the customer’s location. Hence, the activity related to geolocation would not happen automatically.
In case when there are several appointments nearby for a technician, some extra conditions may be required for applying the rules of location-based logic.
Example: A technician has two Service Appointments that are located in the same building:
Appointment A - 10:00 AM
Appointment B - 11:00 AM
Since both appointments are located nearby within a geographic proximity, using geolocation alone without taking into account any of the other parameters may cause errors, as it might not select the proper appointment for the automation to apply to.
That is why geolocation usually requires some extra business conditions, like appointment status, scheduled time, appointment order, and others.
In the above blog, we learned about the Geolocation-Based Actions in Salesforce Field Service along with its trigger conditions, supported actions and configuration of Enter and Exit actions depending on the location of the technician.
Also, we learned two ways of configuring the Geolocation-Based Actions for Service Appointments – the automatic process that makes use of the Record-Triggered Flow and manual process depending on the Service Appointment requirements.
Further, we learned the limitations of geolocation tracking for automatic status changes and Geolocation-Based Actions such as GPS accuracy, geolocation update frequency, internet availability, mobile phone settings, device battery and background limitations, geofence or radius accuracy, wrong service address location and situations of multiple appointments in the same area. It is essential to know about these limitations in order to automate geolocation-based processes.
In the next blog, we will learn about yet another Salesforce Field Service feature and try to understand its real-life applications.
Stay tuned for the next blog!