Salesforce is one of the systems Boomi integrations touch most often, whether that is syncing accounts to an ERP, pushing orders across, or reporting on opportunities. Boomi ships a dedicated Salesforce connector, so you rarely need raw API calls.
The connector does a lot of the heavy lifting: it logs in, browses your org’s objects, builds SOQL queries for you and handles paging through large result sets. What it can’t do is make the design decisions for you — which user the integration runs as, which system owns which field, how to avoid duplicates, and how much data to pull on each run. Those decisions are what make a Salesforce integration either quietly reliable or a constant source of “why does this account exist twice?”. This guide covers both: the mechanics of the connection and operation, and the patterns I use on real projects.
Where Salesforce fits in a typical integration
In most businesses Salesforce is where customers and deals are born, and an ERP such as NetSuite is where money is recorded. The integration’s job is to carry each opportunity across that boundary at the right moment and bring the financial status back so the sales team can see it. In the Cable Bill Payment Automation project, for example, orders managed in Salesforce move to NetSuite when they are ready to be paid, and later changes to the order must correct what was already sent — otherwise finance pays the wrong amount.
Before connecting anything, agree on two things with the people who own the data:
- System of record for each field. Is the billing address mastered in Salesforce or NetSuite? Can sales edit it after the order is sent? Without a rule, two-way syncs overwrite each other.
- The trigger moment. “Closed won”, “ready to invoice”, a checkbox, a status change? The integration should key off a field the business actually uses.
What you need from Salesforce
- An integration user with API access and only the object permissions the integration needs.
- That user’s password and security token (for username + password login), or
- A connected app (or external client app) for OAuth 2.0.
Tip: Use a dedicated integration user rather than a person’s login. When that person leaves, your integration keeps working, and every change in Salesforce’s history is clearly attributed to the integration.
Give that user a permission set scoped to exactly the objects and fields the integration reads or writes. It is tempting to make it a System Administrator “to avoid permission errors”, but least privilege protects you twice: it limits the damage if credentials leak, and it makes the integration’s footprint obvious to anyone auditing the org.
Step 1: the connection

Option A: username + password + security token
| Field | Value |
|---|---|
| URL | https://login.salesforce.com/services/Soap/u/<API version> (production) |
| Sandbox URL | https://test.salesforce.com/services/Soap/u/<API version> |
| User Name | the integration user |
| Password | the password with the security token appended |

The connector expects the SOAP login URL (the Soap/u path). A REST URL here causes connection failures.
The security token is emailed to the user from Salesforce (Settings → Reset My Security Token). Resetting the token or the password changes what you must enter in Boomi.
Mark the user name, password and URL as environment extensions, so the sandbox credentials live in your Test environment and the production ones in Production — the process itself never changes. The reasoning is explained in Deploy and maintain Boomi processes.
Option B: OAuth 2.0 (client credentials)
For OAuth 2.0 the URL is your org’s own My Domain instance URL (for example https://yourcompany.my.salesforce.com/services/Soap/u/<API version>), and you supply the client ID and secret of a connected app along with the access token URL (.../services/oauth2/token).
Note: The Salesforce REST connector is a separate Boomi connector with its own REST-style URL. Do not mix the two configurations.
OAuth is increasingly the preferred option: there is no password that expires, no security token to reset, and access can be revoked from the connected app without touching a user. If your Salesforce administrators enforce stricter login policies (multi-factor authentication, IP restrictions), it is usually the path of least resistance as well.
Use Test Connection before moving on.
Step 2: the operation
Create an operation and click Import to browse your org’s objects. Pick the object (Account, Contact, Opportunity or a custom __c object), and Boomi builds the request and response profiles.
| Action | Use it to |
|---|---|
| Query | read records with fields and filters (SOQL is built for you) |
| Create | insert new records |
| Update | change records by Salesforce Id |
| Upsert | create or update using an external ID field |
| Delete | remove records |

Tip: Prefer Upsert on an external ID when syncing from another system. Store the other system’s key (for example the NetSuite internal ID) in a Salesforce external-ID field and re-runs never create duplicates.
Choosing fields
When you import an object, select only the fields you actually need. Every extra field makes the profile larger, the query slower and the map harder to read. It also means that when an administrator deletes or renames an unrelated field, your integration doesn’t break. If you need more fields later, re-import the operation — Boomi regenerates the profile.
Re-importing after changes in Salesforce
Profiles are a snapshot of the object at import time. When someone adds a required field or a validation rule in Salesforce, the integration may start failing even though nothing in Boomi changed. Re-import the operation, check the map, test, and package a new version. Asking the Salesforce admin team to flag changes to integrated objects saves a lot of detective work.
Example: incremental account sync
A classic pattern is “send accounts changed since the last run”:
- Start shape: Salesforce Query on Account.
- Add a filter on
LastModifiedDategreater than a parameter. - Feed the parameter from a persisted dynamic process property holding the last successful run time.
- Map the accounts to the target system and send them.
- At the end, update the property to the current run’s start time.
This keeps every run small and makes it easy to re-sync by simply moving the date back.
A few details make this pattern robust in production:
- Store the run’s start time, not its end time. Records modified while the run was in progress will then be picked up next time instead of being missed.
- Only update the property after success. If the run fails half way, the next run should retry the same window. Setting the property at the very end of the main path, after the Try/Catch, does exactly that.
- Watch for the integration’s own updates. If you write the NetSuite ID back to the Salesforce account, that update changes
LastModifiedDatetoo, and the account will be picked up again next run. Filter out changes made by the integration user, or compare the fields that matter before sending.
How to read and write that run-time property from a script is covered in Dynamic process and document properties in Groovy.
Polling vs real time
Scheduled queries are simple, robust and easy to re-run. Their weakness is latency: a change made at 10:01 waits for the next run. When timing matters, Salesforce can push changes instead — through outbound messages, Platform Events or Change Data Capture, or an Apex trigger calling an endpoint. In the Salesforce Realtime Flow to NetSuite project, an event-based design creates NetSuite purchase orders the moment the Salesforce record changes.
Real time adds moving parts — an endpoint that must be available, retries when it isn’t, and ordering of events — so I usually start with a well-designed incremental poll and move specific flows to events when the business genuinely needs it.
Limits worth knowing
Salesforce enforces daily API request limits per org and limits on concurrent long-running requests. A few habits keep integrations well inside them:
- Query in bulk and filter on the server (with SOQL filters) instead of fetching everything and filtering in Boomi.
- Batch creates and updates rather than one call per record where the connector allows it.
- Avoid schedules that run far more often than the data changes.
- For very large initial loads, consider the Bulk API options and run the load outside business hours.
Common errors
- INVALID_LOGIN: wrong password, missing or outdated security token, or the wrong URL (production vs sandbox).
- API not enabled / insufficient access: the user’s profile or permission set lacks API access or object permissions.
- Required field missing on create: check the object’s required fields and validation rules in Salesforce.
- DUPLICATE_VALUE on upsert: two records share the external ID you are matching on — clean up the data, then make the field unique.
- UNABLE_TO_LOCK_ROW: several updates hit the same record (often a parent account) at once; reduce parallelism or group updates by parent.
Further reading
Next steps
Next in the series: Connect NetSuite with Boomi (SOAP) — the other half of most Salesforce integrations. If you are planning a Salesforce–NetSuite integration, the Salesforce & NetSuite integration service page explains how those projects usually run, and the Salesforce CRM consultant page covers the wider picture, including HubSpot and MuleSoft options. Get in touch if you would like a second pair of eyes on your design.




Comments 0
No comments yet. Start the discussion.