OBLYTECH Logo
OBLYTECH Logo

ServiceNow Integration Hub Spokes: Build, Clone or Maintain

ServiceNow Integration Hub spokes are packaged sets of actions that connect the platform to one external system, so Flow Designer can call that system without a developer writing the connection from scratch. Teams often begin with a spoke that ships with the product, then either clone one of its actions or build a custom spoke when the vendor version does not cover the call the flow needs.

What a spoke contains and how it is packaged

Think of a spoke as a container. It holds the connection settings, the actions that do the work, and the supporting logic those actions use. Each action has defined inputs and outputs and appears to a flow as a single step. For the wider product picture, start with our ServiceNow Integration Hub overview.

Spokes are usually delivered as applications, each with its own scope and version. Plan for upgrades before you change anything inside a vendor spoke.

How spoke actions appear in Flow Designer

Once a spoke is active, its actions appear in the Flow Designer action list for users with access to it. Dragging one into a flow creates a step with input fields and output fields. Those names and data types form the spoke’s public interface, so renaming one later can break the flows that already reference it.

A step can look finished in the designer and still fail at run time because a credential, a connection alias or a field mapping was never set on the target instance. Connection settings are usually environment-specific, so check them in each instance. For where these flows sit in a larger design, see our note on how ServiceNow supports enterprise workflow automation.

Creating the connection and credential alias first

Create the connection and credential alias first, then test the actions against it. An alias is a label for a connection or credential record, and an admin creates it under Connections & Credentials, then Connection & Credential Aliases, then New.

Use letters, numbers and underscores in the name. The connection type defaults to HTTP, and Basic, JDBC, JMS and Kafka are also available. For an application that needs several connections, create child aliases, each of which inherits the parent's settings. Support Multiple Active Connections is not supported for Integration Hub integrations.

Creating an alias requires the admin role. The credential_admin and connection_admin roles get read access to the alias record. For role design, see our security and access design guide.

Choosing between a prebuilt action, a clone and a custom spoke

In this area the choice usually comes down to one question. Does the vendor action already do what the flow needs, with only input changes? If it does, use it as shipped. If it nearly does and the action can be copied, cloning is the usual next step. If the external system needs a call the spoke does not cover at all, a custom spoke is the honest answer.

Option Use it when Main cost to plan for
Use the prebuilt action The inputs and outputs cover the business step You are limited to what the vendor exposes
Clone a baseline action Much of the logic is right, but one mapping, check or payload has to change The clone needs its own retesting after each spoke upgrade
Build a custom spoke The external system needs calls, authentication or data shapes the vendor does not provide You own the design, the documentation and the upkeep

Cloning is usually preferred over editing a baseline action in place, because an in-place edit to a vendor action is typically harder to keep through an upgrade. A clone is yours from the start and changes only when you decide. The trade-off is that it stops picking up vendor fixes automatically, so you need a routine for checking upstream changes.

Copying a baseline action into your own scope

A copied action gives you a working starting point under your own name and scope. It keeps the properties, inputs, steps and outputs of the source action, so you change just what the flow needs. The copy needs the action_designer or admin role, plus write access to the source action.

Open Workflow Studio, select the action from the Actions list, then choose Copy action from its more actions icon. Enter a unique name in New action name, optionally pick the target application, and select Copy. Workflow Studio opens the new action when the copy finishes.

ServiceNow default actions cannot be copied, and neither can an action that sits under a protection policy, so check whether a vendor action is copyable before you plan around a clone. If the Copy action option is missing, check the protection policy first, then your role and developer permissions.

Building a custom spoke: requirements, definitions and step design

Start by gathering the external system’s authentication method, the endpoint for each operation, and a sample request and response for each. Choose the integration pattern before designing the spoke, using the guidance on integration patterns. The Spoke Generator is a ServiceNow Store app (sn_spoke_builder) for building custom spokes from an OpenAPI specification, a Postman collection or documentation snippets.

Design each action around one business step, not one endpoint. A step that creates a record in an outside system and returns its reference is easier to reuse than one that exposes all API fields. Keep inputs few and typed, validate them first, and return a clear status so the flow can tell a validation problem from a remote error or a timeout. If the API work is larger than your team can take on, see our API development and integration service.

Put reusable code, such as building a request body or reading a remote error, in a script include rather than repeating it in each action. Keep the action script short so the next person to open it can follow it quickly.

Importing an OpenAPI definition within its limits

An OpenAPI import can generate a full set of actions in one pass, provided the file fits the importer's limits. By default it accepts a specification up to 10 MB with no more than 500 operations, and request bodies must use JSON media types.

The route also needs the Spoke Generator app from the Store and an entitled Integration Hub Professional Pack. Both ceilings can be raised. The size limit is the glide.rest.openapi.max_request_size system property, which tops out at 100 MB. The operation count is set by glide.rest.openapi.max_operation_limit, which accepts values from 1 to 1000.

The importer does not support oneOf, anyOf or additionalProperties in schemas, nor several other OpenAPI 3.0 components, including the security scheme object. A schema with additionalProperties or with no properties comes through as a string output. Run the checks in our testing and acceptance checklist on each generated action before publishing.

Naming, scoping and keeping spokes working after upgrades

Agree a naming pattern on day one and write it down. A workable one puts the external system first, then the object, then the operation, with a prefix that marks your own custom work. Once a name is live, treat it as fixed, because flows bind to it.

Scope custom spokes in their own application, not the global scope. That keeps dependencies visible and the package easier to move. Whether you move it by update set or by a source-controlled application depends on your release and deployment process, so confirm the method with the team that runs your instances.

Retest on a schedule, not only when something breaks. After each spoke upgrade, run each cloned action against a test endpoint with the launch inputs and compare the outputs. Keep a short register of each clone, the baseline it came from and the date it was last tested, so the next upgrade is a planned check rather than a search through every flow.

How do Integration Hub spoke transactions affect what you pay?

As of November 2026, spoke entitlement and transaction consumption are separate. A subscription that includes spokes lets you download and run them in production, but the transactions they use can require an Integration Hub or Workflow Data Fabric subscription at an additional fee. Count expected runs per year before you choose a spoke.

Spoke entitlement is not the same as transaction allowance

Integration Hub transactions are not included in the subscription product. The usage counted against your package is the sum of the transactions in Integration Hub, External Content Connectors and Orchestration, so a spoke flow is only part of that total. Check the other two sources too.

Build the run count flow by flow

  1. List every flow that calls a spoke action, with the action name and the instance it runs on.
  2. Estimate runs per year from the trigger. A flow that fires on every incident update runs far more often than one that fires on a monthly import, so count triggers, not flows.
  3. Count the spoke actions each run calls. Confirm what one counted transaction looks like in your instance first.
  4. Keep test and retry runs in the estimate. Ask how runs made during testing or after a failed attempt are counted before you assume they are free.

The usage dashboard shows spoke use against your package

The Transaction reports in the Integration Hub Usage Dashboard compare the total use of Integration Hub transactions with the subscribed package over the last year. A new spoke has no history in those reports, so for its first year you estimate from the flow design.

Compare the three routes on the same run count

  • Prebuilt action: confirm the spoke is in your subscription product, then check the usage dashboard after go-live for the transactions it adds.
  • Cloned action: confirm the baseline spoke is covered, then estimate the clone’s runs from the flow design, since the copy has no usage history until it runs in production.
  • Custom spoke: confirm which Integration Hub package covers its calls before you build it, and estimate its runs from the flow design.

What to ask for before you sign

  • The spokes included in your subscription product, listed by name, in writing.
  • The annual transaction allowance in your package.
  • Whether spoke transactions draw from that allowance or need an add-on subscription.
  • What happens when usage passes the allowance. Get that answer in writing.
  • Whether Workflow Data Fabric Credits apply to any of the flows you plan to run.

Recount when a flow changes, not only at purchase

A count made at purchase goes stale when someone wraps a spoke call in a loop, or adds a trigger on a high-volume table. Repeat the count after each change to a flow that calls a spoke, then set the result against the transaction reports for the same period. A wide gap usually means a trigger was misjudged, not that the platform surprised you.

Frequently asked questions

Do I need a separate license to build a custom spoke?

It depends on your subscription and release, so confirm entitlements with your platform owner. The licensing and cost factors guide is a useful checklist before design work starts.

How do I tell whether a flow failure comes from the spoke or the flow?

Check the failing step’s input values first. A missing or wrongly mapped input points to the flow. If the inputs are correct and the step still returns a remote error, look at the connection, the credentials or the external system’s response.

What should a custom spoke’s documentation include?

Record the spoke’s purpose, its authentication method, and each action’s inputs and outputs. Add sample requests and responses with secrets removed, known limits, the owner, the current version and the last tested date.

How often should cloned actions be retested?

Retest after each spoke upgrade and after any change to the external system’s API, and again before a change moves to production, even a small one. Small mapping changes cause a lot of the surprises.