Choose a ServiceNow integration method by data direction, network reachability, payload shape, and recovery needs. Use Integration Hub spokes for available reusable actions, the Table API for standard record operations, scripted REST APIs for custom inbound contracts, and outbound REST or SOAP for external calls. Use a MID Server when private endpoints require it.
Start with the direction of data flow
Inbound and outbound are defined from the platform’s side. Inbound means an outside system sends a request into ServiceNow, such as a monitoring tool opening an incident. Outbound means ServiceNow starts the call, such as a flow that posts an approved request to a finance system. Design reviews often get stuck here because the same external system appears in both directions, and each direction needs its own credentials, error handling and owner.
Match the method to the direction and the target
Match the exchange to one of these starting points, then check access and recovery requirements.
- Outside system writes simple records into a table: Table API, with a dedicated integration user and a narrow role.
- Outside system needs a custom payload or a shaped response: Scripted REST API.
- ServiceNow calls a common SaaS product with a prebuilt action: Integration Hub spoke.
- ServiceNow calls a system with no prebuilt action: Outbound REST message for a scripted call, or a custom Integration Hub action.
- Target requires access through your private network: Route the call through a MID Server.
- Partner only offers a WSDL-defined service: SOAP message.
Where Integration Hub fits in the wider platform
Integration Hub packages prebuilt actions, called spokes, and gives you Workflow Studio to wire them into a process. It supports shared connections and credentials, which helps when several flows use the same product. Read the licensing and cost factors for Integration Hub before you design around a spoke, because Integration Hub requires a separate subscription. For the wider picture of how these pieces fit, the Integration Hub guides are the place to start.
Choose between a spoke and a custom call
A spoke can save build time when the target is a common product and the action you need already exists. The trade-off is that you depend on the spoke’s inputs, its release cycle and what the vendor exposes. A custom REST message lets the team define the request and response handling. The team must decide how to handle authentication, pagination, and errors, including which work belongs to platform features and which requires code. For a one-off feed, compare that effort with adapting an existing action. When several flows call the same product, a shared action or script library can reduce duplicated maintenance. The outbound REST message walkthrough covers what a custom call involves before you commit to building one.
Separate API development access from caller access
The Table API supports creating, reading, updating, and deleting records in existing tables. Its caller needs sufficient roles for the requested table data; there is no single role that grants appropriate access to every integration. Test the intended operation with the integration account, including a request it should be denied.
Creating or changing scripted REST APIs and their resources requires web_service_admin. Calling an endpoint does not require that authoring role. Configure authentication and endpoint access controls separately. A custom payload should not become a reason to give the sending application API development permissions.
Pick an OAuth grant type before the first outbound call
If the external service expects OAuth tokens, decide the grant type before you build the call. The choice decides whether the instance holds a client secret, whether refresh tokens are issued, and who has to sign in once. Changing grant type later can mean rebuilding the credential set, so settle it at design time.
Client credentials use a client ID and a client secret, and that grant issues no refresh tokens, so the instance requests a new token when the current one expires. Authorization code needs the authorization server URL and a first sign-in by a user account. Workload identity federation lets outbound OAuth calls to Microsoft Azure and Google Cloud use a signed JWT instead of a stored client secret. The cloud provider validates the signature using the instance’s public key set, so include that validation path in the network review. Managing outbound OAuth requires the security_admin role, so name the holder before the build starts.
Plan for MID Server ownership before the first call
A MID Server runs on a host that can reach the systems being integrated. It carries requests between the instance and systems on your network, such as JDBC databases or LDAP directories. Give it its own patching, monitoring and named owner. If the host goes down, the integrations that depend on it stop, so a single MID Server with no failover is a risk to plan for rather than a detail to fix later. Setup and sizing questions are covered on the MID Server guides.
For an outbound REST HTTP method, choose an active server in the Use MID Server field on the HTTP Method form. Test connectivity from that host to the target, rather than treating a successful instance connection as proof of target access.
Some limits depend on release and on how a step is built. Test any flow that runs through a MID Server in a sandbox before you rely on it, and confirm how each step behaves on the release you run rather than assuming it matches an earlier one.
Group MID Servers into clusters for failover or load balancing
A cluster groups several MID Servers for failover protection or load balancing. Load-balancing clusters also handle failover; a Failover cluster uses a configured member order. Configuring a cluster requires admin. Open All > MID Server > Clusters, create or open a cluster, and choose Failover or Load Balance. Match member capabilities and confirm that each member can reach the instance and its intended targets.
When a member fails, the highest available member in the configured failover order takes over the work. All members need the same capabilities and must be added to any access control list in use. Keep LDAP, export set and JDBC data sources on dedicated, non-clustered servers, because a failover restarts processing from the beginning of the ECC queue task and can produce duplicate data. Use the mid_server.cluster.down event to notify an owner when no replacement with the right capabilities exists. The MID Server cluster guide covers load balancing, failover and their limits in more detail.
Keep SOAP for the partners that still need it
SOAP remains an option when a partner, a legacy finance system or a government interface requires a WSDL-defined service. Accept it when the other side will not change, and wrap the call so the rest of your flows do not depend on SOAP details. Write down the contract in plain language, and include sample requests, expected responses, and failure handling alongside the WSDL.
Decide who owns the integration after it goes live
Integration failures often come after the build rather than during it. They happen months later, when a credential expires, a payload changes or a MID Server is moved, and nobody knows whose job it is to respond. Before you choose a method, name the team that receives failure alerts, the person who can rotate credentials, and the route for changing a payload. For help planning this work, see ServiceNow implementation.
Test volume and recovery before accepting the pattern
Use a small record sample to prove field mapping, then run a representative batch. Record how many items were sent, accepted, rejected, and left unresolved. For file-based feeds, consider import sets when staging and transformation fit the exchange better than direct record writes. Choose this deliberately rather than turning a large file into thousands of unrelated requests without a recovery plan.
Test an interrupted exchange as well as a successful one. If the target accepted a request but the response was lost, a blind retry could repeat the business action. Agree on a stable external identifier and a way to check the target before resending. Separate rejected data that needs correction from a temporary connection failure that may warrant another attempt. Assign someone to reconcile partial batches.
Questions about maintaining integration contracts
How can a scripted endpoint change without disrupting an existing caller?
Scripted REST APIs support versions. Keep the existing contract available while testing the changed contract with the caller. Specify a version in the request when the caller needs a predictable contract, and decide deliberately which version an unversioned request will receive.
Does receiving a successful response prove the business process finished?
Define that in the contract. A response may represent receipt of a request rather than completion of downstream work. Agree on a business completion check, such as a resulting record and its expected state, before accepting the integration.
Can an endpoint reject a request in a consistent format?
Scripted REST APIs provide error objects for responding to incoming requests. Define the error message and detail that callers need, and test the HTTP status as well as the response body. Keep sensitive internal information out of those messages.
What should remain in the handover when the original developer leaves?
Keep the chosen pattern, field ownership, sample payloads, credential owner, recovery procedure, and acceptance evidence together. Record which downstream team must approve contract changes so that a later edit has an accountable reviewer.
When is a packaged Salesforce-ServiceNow connector worth evaluating against a platform spoke, and what must be checked before buying?
Evaluate a packaged connector when its supported workflow closely matches the one you need, such as case-to-incident escalation with comments and status returned to Salesforce. Before buying, confirm licensing on both platforms, identity and permissions, hosting and data routing, field coverage, and how the product recovers from failed or repeated requests.
Compare the workflow before the connector
A platform spoke gives you building blocks. The documented Salesforce spoke, last updated 6 March 2026, provides webhook-processing subflows for account, case, contract and opportunity records, but you still design the process, mappings and error handling. Write the steps first, then check each against what a packaged product claims.
When a packaged connector deserves a trial
Evaluate one when the match is close, for example:
- A Salesforce case must create a linked ServiceNow record, with comments and status returned to the service console.
- The object list is long, includes custom fields, and building and maintaining the mappings may cost your team more than the product.
- Two-way updates are required, and the product’s real-time or scheduled operation fits your service levels.
Checks to complete before you buy
- Map the objects, fields, directions, attachments and comments, then test them in a sandbox. A Salesforce case is not automatically a ServiceNow incident, so write that rule first.
- Confirm licensing on both platforms. Get exact ServiceNow subscription and consumption terms. Salesforce documents API access by default in Enterprise, Unlimited, Developer and Performance editions, and Professional needs an API-access add-on. As of November 2026, Salesforce also documents API-only Integration user licenses: five each in Enterprise, Unlimited and Performance orgs, and one in Developer.
- Test against your Salesforce release. The spoke version documented for Salesforce API v64.0 may be compatible with later versions, so do not assume forward compatibility.
- Review identity and access: the runtime account, certificate or secret rotation, and whether Salesforce users could retrieve ServiceNow records they should not see.
- Ask how the product behaves when a response is lost, a request is retried, or part of a batch is rejected, and whether it uses stable external identifiers.
- Get a scoped written quote. As of November 2026, no fixed end-to-end price was verified, so treat any listed figure as a starting point.
Run one representative case through both routes
Take one real case through both routes in a sandbox. Create the record, escalate it, return a status update, then force a failure and retry. Note who fixes a broken mapping and how long a change takes, since that shows the maintenance load you are buying. The packaged route earns its place only when it removes build and upkeep work your team would otherwise carry.