About Databricks
Databricks is the lakehouse company, helping data teams solve the world's toughest problems with unified analytics platform for big data and AI.
Say what should happen in Databricks, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Databricks is the lakehouse company, helping data teams solve the world's toughest problems with unified analytics platform for big data and AI.
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Databricks workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverIn most companies Databricks holds the numbers other tools want: product usage, revenue models, churn scores. Automating it is mostly about getting a finished result out of the lakehouse and into the place someone acts on it, or starting a job when something upstream is ready. Two parts of the Databricks REST API cover this. The SQL Statement Execution API runs a SQL query on a SQL warehouse and returns rows, and the Jobs API triggers an existing job and reports how each run went.
The catalogue template runs a usage query against Databricks each weekday morning, picks accounts whose weekly active usage crossed a threshold, adds a note to the matching HubSpot company, and posts the list to a Slack channel, flagging each account at most once a week. The query and threshold are supplied at setup, so the logic lives in SQL your data team already maintains rather than in a copied export.
Statement execution has a wait timeout of up to fifty seconds; a slower query keeps running and its status has to be checked until it finishes. Large results come back in chunks or as external links instead of inline rows. A serverless or auto-stopping warehouse may also need time to start, so the first run of the morning can be slower. For anything heavy, schedule a Databricks job to build a small summary table and have the workflow read that table.
Authenticate with a service principal using OAuth machine-to-machine credentials, or with a personal access token if your workspace allows them, and grant it only the catalogs, schemas and warehouse it needs through Unity Catalog. A workspace locked to private connectivity with no public access can't be reached from the hosted runtime.
Starter briefs to set up with your accounts, not finished workflows.
The catalogue template: a supplied SQL query selects accounts, HubSpot gets a note and Slack gets the list.
An event-driven trigger for an existing job, with the run result reported back.
Reads the Jobs API run history so failures are noticed before stakeholders ask.
Real briefs for this app. Pick one; Whenever writes it for your accounts.
Flags accounts whose product usage crossed your threshold so reps know who to call.
The SQL Statement Execution API. It runs a statement on a SQL warehouse you specify and returns the result inline, in chunks or as links, depending on the size and disposition you request.
The statement keeps running and the API returns its id; the workflow then checks the statement status until it succeeds or fails. For long work, precompute a summary table in a scheduled job.
Databricks recommends OAuth with a service principal for automation, so access isn't tied to one person's account. Grant it only the Unity Catalog objects and warehouse the workflow uses.
Yes. The Jobs API run-now call starts a job by id with optional parameters, and the runs endpoints report its state and result.
Submitting a statement to a stopped warehouse starts it, which adds startup time and compute cost. Factor that into how often the schedule runs.
One workflow free. No card. Weekly AI-building limits.