AppsPricingBlogTry it
OpenAI (ChatGPT) logo
MySQL logo

Connect OpenAI (ChatGPT) to MySQL

Build an AI agent that works across OpenAI (ChatGPT) and MySQL, on a schedule or when you click Run.

24 source actions
10 target actions
Reverse direction supported

Why Connect OpenAI (ChatGPT) & MySQL?

Read what you need from OpenAI (ChatGPT)

Your agent uses OpenAI (ChatGPT)'s documented actions to pull the records it needs, each time it runs.

Run a MySQL action

Then it uses one of 10 documented actions, such as Execute SQL Query, Create Row, Delete Row.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

OpenAI (ChatGPT) logo

OpenAI (ChatGPT)

Triggers (4)

New Batch Completed

Emit new event when a new batch is completed in OpenAI. See the documentation

polling
New File Created

Emit new event when a new file is created in OpenAI. See the documentation

polling
New Fine Tuning Job Created

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

polling
New Run State Changed

Emit new event every time a run changes its status. See the documentation

polling

Actions (24)

Chat

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See the documentation

Chat using Web Search

Chat using the web search tool. See the documentation

Chat using Functions

Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. See the documentation

Chat using File Search

Chat with your files knowledge base (vector stores). See the documentation

Summarize Text

Summarizes text using the Chat API. See the documentation

Classify Items into Categories

Classify items into specific categories using the Chat API. See the documentation

Translate Text (Whisper)

Translate text from one language to another using the Chat API. See the documentation

Create Transcription

Transcribes audio into the input language. See the documentation

Create Image (Dall-E)

Creates an image given a prompt returning a URL to the image. See the documentation

Create Embeddings

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. See the documentation

Create Completion (Send Prompt)

OpenAI recommends using the **Chat** action for the latest gpt-3.5-turbo API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older /completions API. See the documentation

Analyze Image Content

Send a message or question about an image and receive a response. See the documentation

Cancel Run (Assistants)

Cancels a run that is in progress. See the documentation

Chat with Assistant

Sends a message and generates a response, storing the message history for a continuous conversation. See the documentation

Chat With Responses API

Send a chat via the Responses API, mixing built-in tools and MCP server tools. See the documentation.

Convert Text to Speech (TTS)

Generates audio from the input text. See the documentation

Create Assistant

Creates an assistant with a model and instructions. See the documentation

Create Batch

Creates and executes a batch from an uploaded file of requests. See the documentation

Create Fine Tuning Job

Creates a job that fine-tunes a specified model from a given dataset. See the documentation

Create Moderation

Classifies if text is potentially harmful. See the documentation

Create Thread (Assistants)

Creates a thread with optional messages and metadata, and optionally runs the thread using the specified assistant. See the documentation

Create Vector Store

Create a vector store. See the documentation

Create Vector Store File

Create a vector store file. See the documentation

Delete File

Deletes a specified file from OpenAI. See the documentation

MySQL logo

MySQL

Triggers (5)

New Column

Emit new event when you add a new column to a table. See the docs here

polling
New or Updated Row

Emit new event when you add or modify a new row in a table. See the docs here

polling
New Row

Emit new event when you add a new row to a table. See the docs here

polling
New Row (Custom Query)

Emit new event when new rows are returned from a custom query. See the docs here

polling
New Table

Emit new event when a new table is added to a database. See the docs here

polling

Actions (10)

Execute SQL Query

Execute a custom MySQL query. See our docs to learn more about working with SQL in Mazaal AI.

Create Row

Adds a new row. See the docs here

Delete Row

Delete an existing row. See the docs here

Execute Query

Find row(s) via a custom query. See the docs here

Execute Stored Procedure

Execute Stored Procedure. See the docs here

Find Row

Finds a row in a table via a lookup column. See the docs here

List Stored Procedure Options

Retrieves available options for the Stored Procedure field.

List Table Options

Retrieves available options for the Table field.

Query SQL Database

Execute a SQL Query. See our docs to learn more about working with SQL in Mazaal AI.

Update Row

Updates an existing row. See the docs here

Integration Features

24 documented OpenAI (ChatGPT) actions
10 documented MySQL actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported MySQL to OpenAI (ChatGPT) direction

Capability Examples

OpenAI (ChatGPT) trigger → MySQL action

Catalog example
OpenAI (ChatGPT)OpenAI (ChatGPT)

New Batch Completed

MySQLMySQL

Execute SQL Query

MySQL trigger → OpenAI (ChatGPT) action

Reverse direction
MySQLMySQL

New Column

OpenAI (ChatGPT)OpenAI (ChatGPT)

Chat

How It Works

1

Connect Apps

Authenticate your OpenAI (ChatGPT) and MySQL accounts

2

Describe the Job

Say what to read from OpenAI (ChatGPT) and what to do in MySQL

3

Choose an Action

Select the documented MySQL operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live OpenAI (ChatGPT) events yet.

Automated Actions

Use 10 documented MySQL actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theOpenAI (ChatGPT) and MySQL actions it needs.

Your Own Accounts

You connect your own OpenAI (ChatGPT) and MySQL accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

MySQL logoOpenAI (ChatGPT) logo

Reverse Integration Available

Also connect MySQL to OpenAI (ChatGPT) for bidirectional automation

View Integration
OpenAI (ChatGPT) logo

All OpenAI (ChatGPT) Integrations

Explore all available OpenAI (ChatGPT) connections

View All Integrations
MySQL logo

All MySQL Integrations

Explore all available MySQL connections

View All Integrations

Ready to Connect OpenAI (ChatGPT) & MySQL?

Build this agent in Mazaal AI and test it on your ownOpenAI (ChatGPT) and MySQL data.

Start building

Rather not build it yourself? We set up one OpenAI (ChatGPT) to MySQL agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod