OBLYTECH Logo
OBLYTECH Logo

Webhook Integrations Setup

A webhook sends an event from an external tool into ServiceNow so the receiving application can use that change. For DevOps Change Velocity, setup means connecting the tool, choosing its receiving capability, supplying the required authentication, selecting events, and testing delivery before checking that the intended data appears.

Define the receiving workflow before configuring a webhook

Start with a specific event and the information it should contribute. A repository push, a pipeline job, and an issue update represent different activities. Sending them to the same capability without checking the mapping makes troubleshooting harder. Write down the source tool, project or repository, event family, and receiving capability before opening configuration screens.

DevOps Change Velocity receives notifications from connected development tools. Its webhook setup uses the tool connection details, including a Webhook URL and, for integrations that require it, a Secret token. Treat those values as belonging to the selected connection. Typically, copying values from another tool record produces a configuration that looks complete but sends events to the wrong destination. Use only the values from the record for this connection.

The steps below match the Brazil release. Labels and available actions can differ on your instance, so check them before you configure anything. If you are also deciding how broader integrations fit together, the Integration Hub overview provides context for that separate design decision.

Prepare access and choose the configuration method

To configure webhooks from a tool record, use sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity, together with the respective tool’s admin access. Navigate to All > Workspaces > DevOps Change Workspace > Tools, then open the intended tool. The Configure menu offers Auto configure with existing token, Auto configure with new token, and Configure manually.

You can also configure corresponding webhooks from a Project, Plan, or Repository record. Choose the record that matches the scope you intend to receive. A project-specific setup deserves a project-specific test; a successful notification from a different project does not establish that this connection is correct.

Before choosing an automatic option, decide whether the existing token should remain in use or whether the setup calls for a new one. Auto configure with existing token keeps the token the tool already has, while Auto configure with new token generates a fresh one, which is usually the better fit when the current token is shared more widely than it should be. For a manual configuration, keep the ServiceNow connection details available while working in the sending tool.

Map incoming events to the right receiving capability

The DevOps webhook endpoint distinguishes capabilities such as code, plan, artifact, orchestration, test, and softwarequality. The toolId identifies the connected tool. Select the capability that matches the activity being sent, then use the connection’s actual tool details. Avoid treating an endpoint copied for orchestration as a general receiver for unrelated events.

GitLab makes this separation explicit: coding, orchestration, and planning events have separate webhook configuration steps. For GitLab setup, the ServiceNow role is sn_devops.admin or sn_devops.tool_owner, and the GitLab project requires Maintainer or higher. Open Project > Settings > Webhooks in GitLab, and choose Configure manually for the connection in DevOps Change Velocity.

  1. Copy Webhook URL from the GitLab connection details and adjust its capability and toolId to match the connection.
  2. Paste the adjusted value into GitLab’s URL field.
  3. Copy Secret token from ServiceNow into GitLab’s Secret Token field.
  4. For coding events, select Push events, Tag push events, Comments, and Merge request events, then select Add webhook.
  5. Repeat for orchestration using Job events and Pipeline events, and for planning using Issues events and Confidential issues events.

Plan verification around those separate event families. A code push is evidence about the coding path; it does not exercise a pipeline event or an issue event. Give each receiving path its own expected outcome so a partial setup does not pass the whole integration review.

Apply the sender’s exact authentication and event settings

GitHub and Bitbucket repository notifications

GitHub configuration requires sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity and GitHub admin. In GitHub, open Settings > Webhooks and add a webhook. Choose Configure manually in ServiceNow, copy Webhook URL, adjust it for the tool capability and toolId, and put it in GitHub’s Payload URL field. Copy Secret token into GitHub’s Secret field.

Bitbucket configuration requires sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity and Bitbucket admin. Open Settings > Webhooks for the repository. After selecting Configure manually in ServiceNow, copy Webhook URL into the URL field under Repository settings > Webhooks > Edit webhook in Bitbucket.

Select Repository: Push and the required pull request triggers. The available configuration includes creation, updates, approval changes, merge and decline actions, and comment changes. Select Save. When planning the test, include the pull request activity that matters to your receiving workflow, rather than assuming a repository push covers that behavior.

Harness pipeline notifications

Harness configuration requires sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity and Harness admin. Choose Configure manually and copy the connection values. For the pipeline notification, select the tool capability that matches the activity. Orchestration is a sensible starting point for Harness, so confirm it fits your setup. Then enter the copied tool ID, the ni.nolog.token parameter for the secret token, and projectId for the account identifier copied from Harness Account Settings.

In Harness, select the pipeline and Notify, then +Notifications. Name the notification and select Continue. Choose Pipeline End, Stage Failed, Stage Success, Stage Start, and Step Failed, then continue. Set the channel type to Webhook, enter the prepared destination, and select Finish. Because this destination contains authentication material, keep it out of screenshots and general issue descriptions.

For help planning this work, see ServiceNow implementation.

Test Azure DevOps delivery and investigate failures

Manual Azure DevOps setup requires sn_devops.admin or sn_devops.tool_owner in DevOps Change Velocity and Azure DevOps admin. Open the project, then Settings > Service Hooks, and create a NEW SERVICE HOOKS SUBSCRIPTION. Choose Configure manually in ServiceNow and copy Webhook URL. Set the capability, toolId, and projectId for this connection.

For projectId, use the Azure DevOps project identifier held in the native_id column of sn_devops_project. Put the prepared destination into the subscription’s URL field. Supply the copied Secret token in the header format token followed by a colon and the token value. Keep this sender-specific mapping distinct from GitHub’s Secret field.

Testing requires Azure DevOps admin privileges. Open Project settings > Service hooks, select a webhook, and select Edit. Select Next to inspect the URL and authentication details, then Test. Succeeded indicates the configuration test passed; Failed means the webhook configuration needs attention.

  • Verify toolId and projectId against the tool record details in DevOps Change Velocity.
  • If using integration user credentials, inspect Basic authentication username and password.
  • If using the secret token, the token is masked in Basic authentication password and can be replaced there.
  • Consider Configure on the project record when reconfiguration is appropriate; this reconfigures the project’s existing webhooks.

When a test returns Failed, change one setting at a time and run the test again after each change. Start with toolId and projectId, because a mismatch there usually sends events to the wrong place. Next check the Basic authentication username and password, including the masked secret token in the password field, and confirm the token follows the header format described above. Hold off on the project-level Configure action until those checks pass, since it reconfigures the project’s existing webhooks.

Azure DevOps events include build completion, code pushes, releases, deployment completion, run stage state changes, and work item changes. Choose a test that represents the event you need. Use the integration troubleshooting guide when organizing the wider investigation around connection behavior and workflow outcomes.

Verify processing before handing over the integration

Test the sending side first. The Azure DevOps Test action shows Succeeded or Failed for the configuration. Then trigger one controlled event, such as a push to the chosen repository, and check that the receiving record carries the project and event type you wrote down before configuration. Keep a short note of the event, its source, and the result.

For example, a pipeline notification should be assessed against the pipeline activity you intended to track. Do not sign off a planning integration because an unrelated repository event reached the application. Keep a short test record with the event chosen, its source scope, the observed result, and any remaining gap.

When a workflow also reads external records, define that responsibility separately from incoming notifications. The ServiceNow remote tables guide helps frame that adjacent requirement. Handover should identify who owns the sending configuration, who checks receiving data, and who coordinates future token or project changes.