Supported actions
Triggers
Prerequisites
- A Databricks workspace and a service principal or OAuth client credentials with permission for the jobs, SQL, and API operations you plan to use.
- A SQL warehouse for List SQL Warehouses and SQL statement actions.
- For Job Notification Webhook, a job that the authenticated principal can edit. If reusing a notification destination, its URL must already be the workflow trigger’s webhook URL.
Set up the integration
1
Prepare Databricks OAuth credentials
Prepare the OAuth client ID and client secret, workspace URL, and required scopes for the Databricks APIs your tools will call. The token URL is prefilled as
${connectionConfig.workspaceHost}/oidc/v1/token; verify it resolves to the workspace token endpoint. See Databricks OAuth machine-to-machine authentication.2
Create the auth profile
In Integrations, select Databricks > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Databricks > Continue. Select OAuth 2.0 Client Credentials, enter the profile details, workspace Host, token URL, scopes, Client ID, and Client Secret, then select Create Profile. The Host is the Databricks workspace URL without a trailing slash. Studio also provides an optional refresh token URL field.
3
Create the action tool
In Tools, select New Tool > Action > Databricks > Continue. Select the Action and Auth Profile, configure the inputs, and select Create Tool. Then assign the tool to an agent.
Action reference
The inputs below match the fields shown in Studio for each action.List Jobs
List Jobs
Get Job
Get Job
Run Job Now
Run Job Now
List Runs
List Runs
Get Run
Get Run
Cancel Run
Cancel Run
Get Run Output
Get Run Output
List SQL Warehouses
List SQL Warehouses
This action has no input parameters.
Execute SQL Statement
Execute SQL Statement
Get SQL Statement
Get SQL Statement
Cancel SQL Statement
Cancel SQL Statement
Custom API Call
Custom API Call
Trigger reference
Job Notification Webhook
Job Notification Webhook