Tracecat
Book a demo

ServiceNow integration

Create, assign, and close incidents and cases, and manage CMDB records.

Ticketing
54 actions
tools.servicenow
Also available as an MCP server. Connect agents to the ServiceNow MCP server.

How it works

Each ServiceNow action is a YAML template or Python function in Tracecat's open-source registry, under tools.servicenow. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • OAuth connection servicenow_oauth

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Add configuration item relations

    Add inbound and/or outbound relations to a configuration item with the CMDB Instance API.

  • Add incident comment

    Add a customer-visible comment (additional comments) to an incident.

  • Add incident work note

    Add an internal work note to an incident.

  • Add item to cart

    Add a catalog item to the caller's cart.

  • Add record comment

    Add a customer-visible comment to any task-based record, such as a problem, change request, requested item, catalog task, or security incident.

  • Add record work note

    Add an internal work note to any task-based record, such as a problem, change request, requested item, catalog task, or security incident.

  • Assign incident

    Assign an incident to a group and/or user.

  • Close incident

    Close an incident by setting state to 7 (Closed) with a resolution code and notes.

  • Create case

    Create a Customer Service Management case with the Case API.

  • Create configuration item

    Create a configuration item in a CMDB class with the CMDB Instance API, applying identification and reconciliation rules.

  • Create incident

    Create an incident with the Table API.

  • Create ServiceNow record

    Create a record in a ServiceNow table.

  • Delete attachment

    Delete an attachment with the Attachment API.

  • Delete cart item

    Remove an item from the caller's cart.

  • Delete configuration item relation

    Delete a relation from a configuration item with the CMDB Instance API.

  • Delete ServiceNow record

    Delete a ServiceNow table record by sys_id.

  • Download attachment

    Download attachment content with the Attachment API. The file is returned base64-encoded in data.

  • Get attachment

    Get attachment metadata with the Attachment API.

  • Get cart

    Get the contents of the caller's cart.

  • Get case

    Get a Customer Service Management case by sys_id or case number with the Case API.

  • Get case field values

    List valid values for a case field, such as priority or a reference field, with the Case API.

  • Get catalog item

    Get a catalog item or record producer, including its form variables.

  • Get choice values

    List the active choice values for a choice field, such as incident state or close_code, from the sys_choice table.

  • Get configuration item

    Get a configuration item, including its attributes and relations, with the CMDB Instance API.

  • Get email

    Get an email record (sys_email) by sys_id with the Email API.

  • Get incident

    Get an incident by sys_id with the Table API.

  • Get record statistics

    Compute counts, averages, and grouped statistics over a table with the Aggregate API.

  • Get ServiceNow record

    Retrieve a record from a ServiceNow table by sys_id.

  • Get table columns

    List the field definitions (form fields) of a table from the sys_dictionary table. Fields inherited from a parent table, such as task for incident, are defined on the parent table.

  • Get user by email

    Look up users in the sys_user table by email address.

  • List attachments

    List attachment metadata with the Attachment API. Use sysparm_query table_sys_id=<sys_id> to list a record's attachments.

  • List case activities

    List the activity stream (comments, work notes, and field changes) of a case with the Case API.

  • List cases

    List Customer Service Management cases with the Case API.

  • List catalog items

    Search service catalog items and record producers (request forms).

  • List catalogs

    List service catalogs available to the caller.

  • List configuration items

    List configuration items in a CMDB class with the CMDB Instance API.

  • List group members

    List members of a user group from the sys_user_grmember table.

  • List groups

    List user groups, such as assignment groups, from the sys_user_group table.

  • List incidents

    List incidents matching an encoded query with the Table API. Use sysparm_query number=INC0010001 to look up an incident by number.

  • List journal entries

    List comments and work notes for a record from the sys_journal_field table, newest first.

  • List tables

    List tables defined on the instance from the sys_db_object table.

  • List users

    List users from the sys_user table.

  • Order catalog item

    Order a catalog item immediately, creating a request (REQ) and requested item (RITM).

  • Query ServiceNow records

    Query a ServiceNow table with optional filters.

  • Resolve incident

    Resolve an incident by setting state to 6 (Resolved) with a resolution code and notes.

  • Send email

    Send an email from the instance with the Email API, optionally associating it with a record.

  • Submit cart order

    Order all items in the caller's cart, creating a request.

  • Submit record producer

    Submit a record producer form, which creates the target record (e.g. an incident or case) from form variables.

  • Update cart item

    Update the quantity or variables of an item in the caller's cart.

  • Update case

    Update a Customer Service Management case with the Case API. Include comments or work_notes in fields to add journal entries.

  • Update configuration item

    Update attributes of a configuration item with the CMDB Instance API.

  • Update incident

    Update incident fields with the Table API.

  • Update ServiceNow record

    Update fields on a ServiceNow table record.

  • Upload attachment

    Attach a file to any record, such as an incident or case, with the Attachment API.

Automate ServiceNow with Tracecat

Open-source workflows and agents for security teams.