Add Databricks Data to an Agentic Workflow
Add Read Data and Write Data actions to your Agentic Workflow in Kizen to query or update your external Databricks SQL Warehouse in real time.
Audience: Admins, Developers, Solution Architects
Purpose: Explains how to read and write Databricks data from an Agentic Workflow to query or update your SQL Warehouse
Overview
Caution: This setup reflects Kizen's default configuration. Your administrator may have customized your layout, so columns or navigation may appear differently. Trial accounts may have limited features.
Once you configure your connection to Databricks, you can add Read Data and Write Data action steps to your Agentic Workflows in Kizen to query or update your Databricks SQL Warehouse in real time.
Before You Begin
To add Databricks data to an Agentic Workflow, you need an active Databricks connection. For details, see Set Up Databricks in Kizen.
Add Databricks Data to an Agentic Workflow
To add Databricks data to an Agentic Workflow:
Choose whether to read or write Databricks data
In the Actions Settings section of the Add Action modal, select the Action dropdown menu, and do one of the following:
To read Databricks data, select Read Data.
To write Databricks data, select Write Data.

Caution: The Write Data action can insert, update, or delete data in your Databricks data warehouse. Validate your query in a non-production environment before running it against production data.
Configure the sources for the script inputs
For each of the fields in the Script Inputs section of the modal, select the source of the field's value from the Input Source dropdown menu, and then configure the source with the additional controls that appear.

The fields are as follows:
Connection Secret Tag
String
The name of the Databricks environment from your integration secret to execute the query on. Configure this source when you have more than one environment in your secret.
Not in a single-environment configuration
Database
String
The name of the Utility Catalog to query in Databricks.
Yes
Query
String
The SELECT statement to execute.
Yes
Return Single Value
Boolean
Whether you expect to return a single value (yes) or multiple values (no).
Yes
Schema
String
The name of the target schema within the specified Databricks Utility Catalog.
Yes
Configure the destinations for the script outputs
For each of the fields in the Script Outputs section of the modal, select the destination of the field's value from the Output Destination dropdown menu, and then configure the destination with the additional controls that appear.

The fields are as follows:
Result
String
Read Data
The result of the query
No
Result Status
String
Read Data, Write Data
The status of the Write Data operation
No
What's Next
Continue to Troubleshoot Databricks to learn how to fix common technical issues with the Databricks integration.
Databricks and Unity Catalog are trademarks of Databricks, Inc. Delta Lake is a trademark of the Delta Lake project and its contributors. Kizen's Databricks integration is not affiliated with, sponsored by, or endorsed by Databricks, Inc. or the Delta Lake project.
Last updated
Was this helpful?


