Build Your First Data Capture Form
Learning Objectives
After completing this unit, you’ll be able to:
- Assign Data Capture permissions to mobile workers.
- Map out a Data Capture flow before building it.
- Create screen components to capture asset and work order details.
Turn Fieldwork into Data
When your mobile worker heads out into the field, the last thing they need is to juggle various apps and data entry formats. Data Capture streamlines this, giving your workers a single point of entry and a structured process to follow. As an admin, you decide what data workers enter, what Salesforce does with it, and which parts of the form workers see.
Think about a typical equipment installation. A technician arrives onsite to install new equipment. The flow starts by pulling up the right work order, so everyone knows which job is underway. Next, the technician enters details about the equipment just installed, then records the work done, including a photo and a signature. Finally, Salesforce saves all of it automatically: a new asset record for the equipment, and an updated work order showing the job is complete.
That's five flow elements working together, and it's exactly the kind of logic Flow Builder is designed to handle. Before you start building though, you need the right permissions in place.
Use a Custom Playground with Field Service
To complete this badge, you need a custom playground that contains the Scheduling Console and our sample data.
- Select Create Playground, and then select Yes, Create Playground.
- Your new org is automatically attached to your Trailhead account.
- Make note of your org's expiration date and complete this badge before then.
- Select Launch to open the playground.
Set Up Permissions for Mobile Workers
Mobile workers are already assigned to a mobile worker permission set. To use Data Capture, mobile workers need an additional permission set with Data Capture permissions.
- Select
, then select Setup.
- In the Quick Find box, enter
Users, and then select Permission Sets.
- Select New to create a new permission set for Data Capture.
- For Name, enter
Data Capture Permissions.
- Let the API name autopopulate, then select Save.
Now that you have a blank permission set ready, add the required permissions.
Allow Mobile Workers to Run Flows
- In the Data Capture Permissions set page, under Apps, select App Permissions. Select Edit.
- In the Flow and Flow Orchestration section, select the Run Flows permission.
-
Save your changes, then select Save in the pop-up window.
Allow Mobile Workers to Use Forms
- Navigate back to the Data Capture permission set overview page.
- From Apps, select Object Settings, then select Forms.
- Select Edit to select the following permissions.
- Under Object Permissions, select the checkboxes next to Read and Edit
- Under Field Permissions, select the following checkboxes:Parent Record Type: Read Access
-
Process Type: Read Access
-
Status: Read Access and Edit Access
- Under Field Permissions, select the following checkboxes:Parent Record Type: Read Access
-
Save your changes.
- To assign the permission set to your mobile workers, select Manage Assignments from the permission set page.
- Select Add Assignment, then select Orgfarm EPIC to assign yourself the permission set.
- Select Next, then select Assign.
With permissions in place, your mobile workers are ready to run the flow you're about to build.
Map a Data Capture Flow
With permissions sorted, you can now plan the flow and put the installation scenario to work. A technician arrives onsite to install a new piece of equipment for an existing client. The form retrieves the work order for the job. It collects details about the new asset and records the work done. Then it saves everything back to Salesforce and links the new asset to work order.
That job breaks down into five elements, each one picking up where the last left off.

Element |
What it does |
|---|---|
Get Records |
Retrieves the work order's existing details so the form opens with the right context |
Asset Info Screen |
Prompts the technician to collect required details of the installed asset |
Work Order Info Screen |
Prompts the technician for a status update, a description of the work completed, a photo, and a signature |
Create Records |
Creates the new asset record from the details entered on the asset details screen |
Update Records |
Updates the work order with the entered details and associates it with the newly created asset |
Start Your Flow in Flow Builder
Start by building the first three elements: the Get Records element that retrieves the work order, and the two screens that collect the asset and work order details. First, open Flow Builder.
- Select
, select Setup.
- In the Quick Find box, search for and select Flows.
- Select New Flow to open Flow Builder.
- In the New Automation screen, search for and select Data Capture Flow.
Flow Builder opens to a blank canvas. Add Get Records first so the technician never has to search for the work order. The flow retrieves the job’s details the moment the form loads.
- Use the Add element sign
to search for and select the Get Records element.
- For Label, enter
Get Work Order.
- In the Object lookup, search for and select Work Order.
- For the filter, enter the following values
- Field: Work Order ID
- Operator: Equals
- Value: parentRecordId
- Field: Work Order ID

Next, build the screens that mobile workers see in the Field Service mobile app. Start with the Asset Info screen, where the technician enters details about the installed asset.
- Select
to search for and select the Screen element.
- For Label, enter
Asset Info.
- In the Search Components lookup, search for and select Short Text.
- For API Name, enter
Asset.
- For Label, enter
Asset Name.
- Select the Short Text component again from the lookup.
- For API Name, enter
SerialNum.
- For Label, enter
Asset Serial Number.
- Select a Date component from the lookup.
- For API Name, enter
InstallDate.
- For Label, enter
Asset Installation Date.
- Select Done to save the screen.

The Asset Info screen gives the technician a place to log the installed equipment. The job isn’t finished until the work order reflects what happened onsite. Build a second screen to capture that.
- Select
to search for and select the Screen element.
- For Label, enter
Work Order Info.
- In the Search Components lookup, search for and select Picklist.
- For Label, enter
Work Order Status.
- In the Choice lookup, select New Choice Resource.
- For Resource Type, select Picklist Choice Set.
- For API Name, enter
WorkOrderStatus.
- For Object, select Work Order.
- For Data Type, select Picklist.
- For Field, select Status.
- Select Done to save your changes.
- Select the Long Text component from the lookup.
- For API Name, enter
Description.
- For Label, enter
Work Order Description.
- For Value, select Work Order from Get Work Order, then select Description.
- Select an Upload Image component from the lookup.
- For API Name, enter
Image.
- For Label, enter
Upload Image of Completed Job.
- Select a Signature component from the lookup.
- For API Name, enter
TechSign.
- For Label, enter
Mobile Worker Signature.
- For Parent Record ID, select parentRecordId, so the signature is saved to the work order record.
- Select Done to save the screen.

- Select Save in the Flow Builder Canvas.
- For Flow Label, enter
Asset Installation Checklist.
-
Save your changes.
With both screens in place, the flow now has everything it needs from the technician—the particulars of the newly installed asset, and the details of the work completed onsite. In the next unit, you add the last two components to the flow, Create Records and Update Records, to turn these details into Salesforce records.