Skip to main content
FieldKo stores all its data in Salesforce objects, so you integrate it the same way you integrate any Salesforce data: with Salesforce application programming interfaces (APIs) or a middleware tool that uses them. Use this page to plan the common retail execution integrations, set up a safe integration user, and avoid side effects on reps and FieldKo’s own automation.

User Permissions Needed

Common Integration Patterns

Hub-and-spoke diagram of FieldKo integrations through a dedicated integration user: master data flows in from the enterprise resource planning system, orders flow out to it, and visit and survey results flow out to a business intelligence tool, with your own flows bypassed but FieldKo's automation always running.Hub-and-spoke diagram of FieldKo integrations through a dedicated integration user: master data flows in from the enterprise resource planning system, orders flow out to it, and visit and survey results flow out to a business intelligence tool, with your own flows bypassed but FieldKo's automation always running.

Integration User Pattern

Most retail execution integrations follow these patterns. Use the object labels in this table to find each object in Setup > Object Manager and in your middleware. For the full list of objects and how they relate, see FieldKo Data Model and Export FieldKo Data and Photos.
Entity relationship diagram of FieldKo's core objects with their API names and key fields. A Visit looks up its Sales Representative (User), Account, Call Cycle and optional Visit Template, and links to Attendance. Tasks, Visit Notes, FieldKo Orders, Ranging, Incidents and Pack Outs belong to a Visit. Task Surveys and Task Survey Answers hang off Tasks, and line items belong to their orders and ranging. Master-detail links are solid lines and lookups are dashed.Entity relationship diagram of FieldKo's core objects with their API names and key fields. A Visit looks up its Sales Representative (User), Account, Call Cycle and optional Visit Template, and links to Attendance. Tasks, Visit Notes, FieldKo Orders, Ranging, Incidents and Pack Outs belong to a Visit. Task Surveys and Task Survey Answers hang off Tasks, and line items belong to their orders and ranging. Master-detail links are solid lines and lookups are dashed.

The Core Objects at a Glance

FieldKo uses its own product, price book, and order objects, not the standard Salesforce Product, Price Book, and Order objects. A connector that writes to the standard objects doesn’t change what reps see in the app. Map your integration to the FieldKo objects.

Orders to Your ERP

To send orders to your ERP, have your middleware pick up new FieldKo orders and their line items, and then record the result on the order:
  • Add your own fields for the handoff, such as ERP Order Number and ERP Status, instead of changing Status. Reps choose Status at check-out, and the app never offers Sent or Send Failed, which FieldKo reserves.
  • Orders arrive when reps sync, so line items can arrive in a later batch than their order. Process an order only when its line count is complete: the Is Total Order Line Items synced? field is true when the order’s line count matches its lines.

Master Data from Your ERP

Load master data in dependency order: accounts, then products, then price books and entries, then contracts and ranging. See Import and Update Data. Remember that FieldKo applies its own rules, for example:
  • When a FieldKo product becomes Inactive, FieldKo deactivates its price book entries and product set lines.
  • When an account’s owner changes, FieldKo can move future visits and share recent orders with the new owner, depending on Transfer Data On Change Of Account Owner. See Remove a Rep’s Access.
  • Reps get only the price books linked to their accounts through an active FieldKo contract, and that are active and valid today. See Set Up Products, Ordering, and Ranging.
Dependency graph for loading FieldKo data: accounts and contacts, then products, price books, entries and contracts, then product sets and ranging contracts, with call cycles created in FieldKo rather than imported, and visits last.Dependency graph for loading FieldKo data: accounts and contacts, then products, price books, entries and contracts, then product sets and ranging contracts, with call cycles created in FieldKo rather than imported, and visits last.

Load Data in Dependency Order

Use External IDs and Upsert

The FieldKo packages don’t include external ID fields on accounts, products, or price books. Create your own, so your integration can upsert records by the ERP’s key instead of storing Salesforce record IDs:
  1. On each object you load, create a text field, such as ERP Product Code, and select External ID and Unique.
  2. Upsert records on that field. Reference parent records by their external IDs too, for example a FieldKo Pricebook Entry’s FieldKo Product by ERP Product Code.
Every custom field on Account syncs to the app. Keep integration-only account fields few and short. See Which Fields Sync.

Set Up an Integration User

Run each integration as its own user, never as a rep or admin:
  1. Create a user with the Salesforce Integration user license, if your contract includes it, and an API-only profile. For license options, see User Licenses in Salesforce Help, or ask your Salesforce account executive. With Salesforce included, ask your FieldKo account manager.
  2. Create a permission set that grants only the object and field access the integration needs, such as read on FieldKo orders and edit on FieldKo products. Assign it to the integration user.
  3. Assign the integration user a license for each FieldKo package whose objects it uses. See Assign FieldKo Licenses.
  4. Assign your automation bypass permission set. See Avoid Triggering Rep-Facing Automation.
The integration user doesn’t need a FieldKo permission set, because it doesn’t use the FieldKo Atlas app. For access design, see Profiles, Permission Sets, and Permission Set Groups.

Choose an API or Tool

Which objects you can use with Change Data Capture, and how many events you can deliver, depends on your edition and add-ons. Check your Salesforce contract or ask your Salesforce account executive. Every API call counts toward your org’s API allocation, which the FieldKo Atlas app also uses when reps sync. See API and Platform Limits.

Avoid Triggering Rep-Facing Automation

Large loads can fire your own flows thousands of times, such as manager alerts on every order. Give integration users a custom permission, and check it in your flows. See Bypass Your Flows for Integration Users. FieldKo’s own triggers and flows always run, for integration users too. Records you load must follow FieldKo’s rules: for example, every visit needs an account, a sales representative, and a date inside an active call cycle for that rep. If a bulk load fails with time or central processing unit (CPU) limit errors, reduce the batch size in your tool.
Diagram of the checks Salesforce runs on every new or changed visit, from Salesforce, imports or the app: planned end after start, a sales representative, an account, a date inside an active call cycle, and actual times for in-progress or completed visits, each with its error message.Diagram of the checks Salesforce runs on every new or changed visit, from Salesforce, imports or the app: planned end after start, a sales representative, an account, a date inside an active call cycle, and actual times for in-progress or completed visits, each with its error message.

Checks Salesforce Runs When a Visit Is Saved

Best Practice

Validate Third-Party Image Recognition Before You Rely on It

FieldKo doesn’t include image recognition. Its AI-Guided Capture (AI is artificial intelligence) checks only a survey photo’s quality on the device, doesn’t recognize products, prices, or facings, and doesn’t save its result. Survey photos are stored in Salesforce, so a third-party image recognition tool reads them from there and writes any results back through your own integration, following the patterns on this page. See Export FieldKo Data and Photos and Take Photos with Smart Camera. Before reports or decisions use the tool’s results:
1

Pick a Narrow Task

Choose one task a person can check, such as “Is the promotional sign visible?” or “Is this known product on the shelf?”.
2

Build a Validation Set

Sample photos across store formats, lighting, devices, shelf density, packaging, and regions, and have a person record the correct answer for each.
3

Measure Precision and Recall

Precision is how often a positive result is right; recall is how many true positives the tool finds. Measure both by category, with the cost of each kind of error.
4

Match the Decision to the Confidence

Let the tool surface low-risk suggestions, send uncertain results to a reviewer, and require stronger proof before costly or customer-facing actions. A person stays accountable.
5

Pilot, Keep a Trail, and Revalidate

Compare against the human process, including setup and supervision costs. Keep the original photo, the tool’s version, and any correction. Revalidate after packaging, category, or model changes.
Fictional example. A made-up cereal brand tests a tool on “Is the in-store promotional sign visible?”. Reviewers label 200 photos from 4 store formats; the sign is visible in 100.
A 2 by 2 matrix of a third-party tool's answers against a reviewer's answers for 200 photos, giving precision of 90 percent and recall of 81 percent.A 2 by 2 matrix of a third-party tool's answers against a reviewer's answers for 200 photos, giving precision of 90 percent and recall of 81 percent.

Measuring an Image Recognition Tool

Precision is 81 / (81 + 9) = 90%; recall is 81 / 100 = 81%. Most misses come from one store format with strong glare, so the team lets the tool flag likely missing signs, but a person checks every “not visible” result before a store is marked noncompliant. These metrics need your own validation records. Common pitfalls: treating a photo-quality result as a compliance result; automating an unclear standard or out-of-date product list; trusting a vendor’s accuracy figure from another category or store format; and correction work that cancels the time saved.

See Also

Last modified on October 27, 2026