Add MySQL Data to an Agentic Workflow
Overview
Once you set up the MySQL integration in Kizen, you can read and write MySQL data directly from Agentic Workflows with the Read Data and Write Data actions.
Before You Begin
To add MySQL data to an Agentic Workflow, you need:
A MySQL connection to Kizen. See Enable MySQL in Kizen for details.
A MySQL user account with the necessary read or write privileges on the target database tables.
Add MySQL data to an Agentic Workflow
To add MySQL data to an Agentic Workflow:
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:
Database
String
The name of the target MySQL database.
Yes
Return Single Value
Boolean
Whether you expect to return a single value (true) or multiple values (false).
Yes
Query
String
The SELECT statement to execute.
Yes
Connection Secret Tag
String
The name of the MySQL 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
Configure the destination for the result of the query
The result of the query comes back as a string. Find the Result field in the Script Outputs section of the modal, open its Output Destination dropdown menu, select where to store the result string, and then configure the destination with the additional controls that appear.

What's Next
Your Agentic Workflow can now read from or write to your MySQL database. For details on how to fix common technical issues, continue to Troubleshoot MySQL.
Oracle, Java, MySQL, and NetSuite are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Last updated
Was this helpful?




