Scripted REST handles inbound, spokes handle outbound, and the MID Server inside the customer's intranet determines whether you can go live.

Key takeaways
- Scripted REST APIs put the version number in the URI, so testing and releasing changes won't break integrations that are already running.
- In Integration Hub, steps that call systems on the customer's intranet run on the MID Server, while steps that process records run on the instance.
- LDAP, export sets, and JDBC data sources should use dedicated MID Servers that are not part of a cluster, to avoid duplicate data after failover.
On your third day at the customer site, you discover that the asset database the agent needs to read is behind the intranet, while the ServiceNow instance runs in the cloud. The demo that ran smoothly on your laptop won't help now. The real question is: how do you connect the two sides, and get the bank's security team to sign off.
ServiceNow says 85% of the Fortune 500 are its customers. If you serve large enterprises as a Forward Deployed Engineer (FDE), there's very likely a ServiceNow instance somewhere along the path your data flows through.
Whether an integration makes it to production depends on three tools: two correspond to the direction of data flow, and the third corresponds to where the target system lives.
Ask first: which direction does the data flow, and where does it live?
The simplest division of labor: if your system needs to call ServiceNow, write a Scripted REST API; if ServiceNow needs to call outward, use an Integration Hub spoke.
| Customer requirement | Tool | Key points |
|---|---|---|
| External systems calling ServiceNow | Scripted REST API | Version number in the URI; create a new version for breaking changes |
| ServiceNow calling other systems | Integration Hub spoke | Steps that process records run on the instance, steps that access the customer's network run on the MID |
| Target system on the customer's intranet | MID Server | Use a dedicated MID for JDBC, LDAP, and export set data sources |
MID Server: the gatekeeper inside the customer's intranet
ServiceNow's official documentation describes the MID Server as an intermediary between the customer network and the instance. When you sit down with the customer's security team, use this as a starting point to map out the data flow, then confirm with them one by one which connections need to be allowed.
In production, a single MID Server is a single point of failure: when it goes down, the entire workflow stops. A failover cluster solves this by determining, in a pre-configured order, which MID Server takes over when something goes wrong.
The cost of clustering is the risk of duplicate data. After a failover, tasks in the ECC queue are re-executed from the start, and half-read JDBC data may be written twice. Clusters also don't support ECC queue topics
Command
and
SystemCommand
。
Integration Hub: when do you need a spoke?
Integration Hub is a low-code tool on the Now Platform that extends Flow Designer for connecting to third-party APIs. On cost, Perspectium says pricing depends on transaction volume and the number of spokes, with the free Starter tier capped at 1,000,000 transactions per year. Before committing to any data volume, check this number against the customer's actual license.
Most of the time, you'll be working with spokes. Each spoke groups together the related actions, subflows, and supporting files for connecting to a specific system. Suppose the customer needs ServiceNow to query and update an internal asset inventory.
Rather than scattering individual REST steps across many flows, package "query asset by ID" and "update status" into an "asset inventory" spoke that all flows can share.
Since the asset inventory sits on the customer's intranet, the steps that call it run on the MID Server, while the steps that write results to records run on the instance. ServiceNow doesn't recommend switching back and forth between execution environments multiple times. In this example, have the MID Server finish all the asset-inventory-related work first, then return the results in one go.
Scripted REST: the entry point you leave for the agent
In the other direction, when an agent or service needs to create or read records, Scripted REST APIs let you build the web services you need. Its most valuable feature is that the version number lives in the URI, so testing and releasing changes won't affect integrations that are already running.
ServiceNow's rule is clear: when there's a breaking functional change, create a new version first. In large enterprises, an endpoint may be called by many teams, and you often don't know who they all are.
Four mistakes that break integrations in production
First, putting a JDBC-reading MID Server into a cluster "just to be safe." ServiceNow recommends dedicated, non-clustered MID Servers for LDAP, export sets, and JDBC data sources, precisely because of the risk of duplicate data after failover.
Second, releasing an endpoint without a version, then directly changing the behavior of the live version. Another team's client breaks, and you have no idea.
Third, having a flow jump back and forth between the instance and the MID Server multiple times, which ServiceNow explicitly advises against. Fourth, pushing large volumes of data through Integration Hub. Perspectium warns this significantly slows down the ServiceNow platform, and everyone else on the customer's instance pays the price.
Putting it into a concrete case
String the full flow together: the agent calls the v1 endpoint to create an incident, then a flow calls a spoke action to query assets in the internal database. That action runs on a MID Server dedicated to JDBC, does its work on the customer's intranet, and only then returns the results to the instance.
If you want to learn this stack, start by practicing Scripted REST on a personal developer instance—it's closest to the backend skills you already have. Then learn spokes, and finally MID Servers.
Don't just write "used ServiceNow" on your resume.
Write a specific line instead, for example: "Built versioned Scripted REST APIs (v1, v2) for agents that create incidents; queried an internal asset database via JDBC on a dedicated, non-clustered MID Server." When reading FDE job postings aimed at enterprise customers, watch for mentions of ServiceNow or internal systems, and if they appear, put this line at the top.
The people evaluating you on the customer side rarely ask how smart the agent is. They ask: can it get through the firewall without duplicating a single row of data.
Was this article helpful?
Thanks for your feedback!
9 sources
- Careers in Sales | ServiceNow Careers
- Exploring MID Server (Brazil release) · 2026-09-10
- Configure a MID Server cluster · 2026-09-10
- Scripted REST APIs (ServiceNow product documentation) · 2026-09-10
- Scripted REST APIs good practices · 2026-09-10
- Integration steps (Xanadu, Create Integrations with Applications) · 2024-08-01
- Integration Hub Spokes and How to Build Them · 2024-01-10
- ServiceNow Integration Hub Explained: A Guide [2025] · 2025-03-13
- Next-Gen Integration Solutions With ServiceNow IntegrationHub · 2019-11-07