Skip to content

feat: Add ServiceNow integration#3113

Open
ConeDjordjic wants to merge 1 commit intosuperplanehq:mainfrom
ConeDjordjic:servicenow
Open

feat: Add ServiceNow integration#3113
ConeDjordjic wants to merge 1 commit intosuperplanehq:mainfrom
ConeDjordjic:servicenow

Conversation

@ConeDjordjic
Copy link

Implements #3006

Summary

Adds the ServiceNow integration with:

  • On Incident trigger — receives incident events via webhook
  • Create Incident action — creates incidents via the Table API

Supports Basic Auth and OAuth. Categories, subcategories,
assignment groups, and users are loaded from the ServiceNow API. Selecting a
group filters the user list. Selecting a category filters the subcategory list.

The On Incident trigger requires a one-time Business Rule setup in ServiceNow.
The setup instructions and a ready-to-use script are shown in the trigger
configuration panel.

Note: Automatically creating Business Rules via the ServiceNow API is
possible but requires the admin role on the integration account. The
current implementation uses a manual setup approach to avoid requiring
elevated permissions.

Video Demo

https://www.youtube.com/watch?v=dJuxYJPXyUs

Implementation

Backend (pkg/integrations/servicenow/)

  • servicenow.go — integration config and auth
  • on_incident.go — webhook trigger with secret verification
  • create_incident.go — create incident action
  • client.go — ServiceNow Table API client
  • list_resources.go — loads categories, subcategories, groups, and users

Frontend (web_src/src/pages/workflowv2/mappers/servicenow/)

  • Trigger renderer with Business Rule setup UI
  • Action mapper for Create Incident

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Signed-off-by: ConeDjordjic <turbo.topcone@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edu pr:stage-1/3 Needs to pass basic review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants