Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create spoke and build actions by importing an OpenAPI Specification

Automate an integration and generate reusable actions by importing an OpenAPI Specification.

Before you begin

  • Install the Spoke Generator app from the ServiceNow Store.
  • Confirm that ServiceNow Integration Hub Professional Pack Installer (com.glide.hub.integrations.professional) is installed and the license is entitled.
  • Role required: admin

Procedure

  1. Navigate to All > Process Automation > Workflow Studio.

  2. Click Create new > Spoke.

  3. On the Spoke Info screen, specify if you want to create the spoke in a new scope or an existing scope.

    1. If you choose to create the spoke in a new scope, select an image as the logo for your integration and fill in the fields.

      Here, we will go through an integration with Zoom as an example.

      FieldDescription
      Spoke nameName to identify the custom spoke.
      DescriptionDescription about the custom spoke.
      SystemSearch and select the external system to integrate.
      Connector typeSelect Spoke from the list.
Image omitted: spk-gen-new-scope.png
Create spoke in new scope.
    **Note:**

    The value of **App scope name** is the format: `x_<company-code>_<spoke-name>_<spoke>`. By default, the &lt;company-code&gt; is, `snc`. You can configure the company code by configuring **Value** of the system property, **glide.appcreator.company.code**.
Image omitted: spoke-gen-sys-property.png
Configuring Value of glide.appcreator.company.code.
    This configured value is used when the value **App scope name** is generated.
Image omitted: spoke-gen-app-scope.png
Configured value of App scope name.
2.  If you choose to create the spoke in an existing scope, select an image as the logo for your integration and fill in the fields.

    Here, we will go through an integration with AWS as an example.
FieldDescription
Application nameAn existing application name or scope.
Image omitted: spk-gen-existing-app-name.png
Select an existing application.
App scope nameScope name that is auto-populated based in the selected Application name.
DescriptionDescription about the custom spoke.
SystemSearch and select the external system to integrate.
Connector typeSelect Spoke from the list.
  1. Click Continue.

    Based on the provided name and description, if there are any matching spokes on Store, the spoke details are displayed.

Image omitted: spoke-gen-store-apps.png
Matching spokes found on Store.
1.  Click **View details on Store** to see the details of the matching spokes.

    Details of the matching spokes are displayed in a new browser tab.

2.  Install the spoke from the Store.

    For more details, see [Install a ServiceNow Store application](../../platform-administration/t_InstallApplications.md).

3.  After installing the spoke, navigate to the Workflow Studio tab.

    The system displays the message `Have you installed a spoke from the Store?`.

4.  Select one of these options and click **Continue**.

    |Option|Description|
    |------|-----------|
    |**Yes, view the installed spoke.**|Option to redirect to the **Spokes** dashboard under **Integrations**.|
    |**No, I will build custom spoke.**|Option to continue with spoke creation.|
    |**No, I want to exit spoke creation.**|Option to close the current tab.|
  1. Click Skip if you want to build the custom spoke.

    Note: These following steps are also applicable if you have selected the No, I will build custom spoke. option.

    The spoke is created and a confirmation message is displayed.

  2. On the Build Info screen, select the method using which you want to build your spoke.

    You can choose to build your spoke using OpenAPI specification or Postman collection.

  3. Select OpenAPI Specification and click Continue to import an OpenAPI specification.

Image omitted: spk-gen-open-api.png
Select the method by which you want to create your spoke.
  1. For OpenAPI source, click Import new.

  2. On the Import new OpenAPI source screen, perform one of these two steps.

    1. If you want to import using an URL, select Import from URL for Import method and specify the URL in OpenAPI URL.
Image omitted: create-spk-import-openapi-url.png
Import new OpenAPI source.
2.  If you want to import manually using JSON or YAML code, select **Import from JSON or YAML manually** for **Import method** and provide the code in **JSON or YAML**.
Image omitted: create-spk-import-openapi-json.png
Create spoke manually by importing JSON or YAML.
  1. Click Import.

    The OpenAPI source is imported.

  2. For Connection and credential alias, click Create new.

  3. On the Create new connection and credential alias screen, fill in the fields and provide the alias information.

FieldDescription
Connection & Credential nameName to identify the connection and credential alias record.
Configuration Template for authenticationRequired authentication mechanism for this integration. Ensure that the authentication mechanism is compatible with the OpenAPI source.Note: The configuration template is auto-populated based on the OpenAPI specification you had provided. You can continue with the default option or change it as per your requirement.
Image omitted: create-spk-conn-alias.png
Create connection alias for the spoke.
  1. Click Create alias and continue.

  2. On the same screen, fill in the fields to configure the alias.

    FieldDescription
    Connection Information
    Connection NameName to identify the connection record.
    Connection URLBase URL to connect to the third-party instance or server. This URL is auto-populated based on the OpenAPI specification you had provided.
    Credential Information
    Based on the configuration template you had selected, the relevant credential fields are displayed. Provide the required values to configure the credential record.
Image omitted: create-spk-conn-alias-2.png
Configure connection and credential records.
If you want configure the alias record later, click **Do it later**.
  1. Click Submit.

    The connection alias record is created.

  2. Click Generate operations.

Image omitted: create-spk-fin-buildinfo.png
Generate operations for the spoke.
All the operations that can be performed using the OpenAPI Specification are listed.
  1. Select the required operations.

    You can search for the required actions by entering the required term in the search bar. The actions that match the specified search term are displayed.

Image omitted: spoke-gen-search-act.png
Search for the required actions.
  1. Click Publish.

    Alternatively, you can also select Save actions as Draft to save the actions as draft, modify them as per your requirement, and publish them later.

Image omitted: create-spk-actions.png
Create spoke actions.
  1. Click Done: Go to spoke to go the Spokes page and view the publish status.

    • Actions with the OpenAPI step are created. For information about the OpenAPI step, see .
    • Action inputs and outputs are mapped.
    • Actions are published and listed in the spoke details page under Actions > Published. You can start using these published actions to create flows and subflows as per your requirement.

    • If you have saved actions as draft, you can access these draft actions in the spoke details page under Actions > Draft.

    • To view run-time information about the spoke activities, click Spoke activity log in the spoke details page. Every time a spoke activity is performed, the system generates its information as a spoke activity log. Click the required Number to view the activity log. Every operation in the spoke activity log has one of these status values:

      StatusDescription
      newAn event for the operation is created and this operation will be executed soon.
      errorThe operation has failed to execute.
      processingThe operation execution is in progress.
      successThe operation has been executed successfully.

    You can create flows and subflows in the spoke details page and use them in your integration. For more information, see Building flows and Building subflows.

    Along with Spoke activity log, you can also view details of the available flows, subflows, and actions in the spoke details page.