ServiceNow offers API capabilities. You can consume the ServiceNow API within a Databricks notebook to extract data from ServiceNow. Following is a suggested prompt to use with ChatGPT for example python code to connect to ServiceNow's api.
PROMPT: "As a Python and Databricks expert can you assist me in programming a connection to consume ServiceNow api's to get data like ticket information, and resolution time?"