npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@pipedream/servicenow

v0.7.0

Published

Pipedream servicenow Components

Downloads

11

Readme

Overview

The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.

Getting Started

Before using the ServiceNow REST API from a workflow, configure two OAuth apps in your ServiceNow instance. These apps will grant access tokens to your users and authenticate requests to its REST API.

Create an External Client OAuth App

First, sign into your ServiceNow Developer Portal account to create or access an instance.

  1. Go to System OAuth > Application Registry.

    Find the OAuth Client option under the ServiceNow application registry

  2. Create a new app by selecting New in the top right corner.

    Create a new ServiceNow application under the OAuth Clients section in the Application Registry

  3. Choose Create an OAuth API endpoint for external clients:

    Create a new app, and make sure to choose the OAuth API endpoint for external clients option

  4. Name your app, such as Pipedream. Use the default settings but specify the Redirect URL: https://api.pipedream.com/connect/oauth/oa_g2oiqA/callback.

  5. Click Create. It will appear in the Application Registry once created.

    You should see the Pipedream app listed in the ServiceNow Registry after making those changes

Create the OAuth Validator app

  1. Copy the client ID and secret from the Pipedream app you created above.

  2. Go back to the System OAuth > Application Registry > New and select Connect to an OAuth Provider (simplified)

  3. Name this app Pipedream OAuth Validator and add the previously copied client ID and secret.

  4. Set the grant type to Authorization Code and the Token URL to oauth_token.do.

  5. Use the same Redirect URL as before.

  6. Visit Pipedream's account page, and click Click Here to Connect An App. Search for ServiceNow and select it. Enter the client ID, client secret, and your instance name (e.g., dev98042 from https://dev98042.service-now.com/).

  7. Press Connect. A new window will prompt you to login to your ServiceNow instance, authorizing Pipedream's access to the ServiceNow REST API.

ServiceNow Authorization Reference

This ServiceNow doc outlines the flow you should implement.

Additional Guidance For Hardened or Mature Instances

The standard instructions may not apply perfectly to customized or hardened ServiceNow instances. If you face a 504 Gateway Time-out error or similar, consider these tips:

  • Assign a dedicated role and service account for this integration.
  • Ensure the role has ACLs configured for the oauth_credential table and other necessary tables.

Example Use Cases

  • Incident Management Automation: Automatically create incidents in ServiceNow from alerts in Datadog or New Relic.
  • HR Onboarding Workflow: Trigger a Pipedream workflow to set up new employee accounts in ServiceNow from HR systems like Workday.
  • Customer Support Ticket Sync: Keep customer support tickets synced between ServiceNow and CRM platforms like Salesforce.

Troubleshooting

If you encounter a 504 Gateway Time-out error, refer to the 'Additional Guidance For Hardened or Mature Instances' section for solutions.