Execute Stored Procedure with MySQL API

Pipedream makes it easy to connect APIs for MySQL and 800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Execute Stored Procedure with the MySQL API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Execute Stored Procedure with the MySQL API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Execute Stored Procedure action
    1. Connect your MySQL account
    2. Select a Stored Procedure
    3. Optional- Configure Parameters
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger


This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Execute Stored Procedure on MySQL
Description:Execute Stored Procedure. [See the docs here](https://dev.mysql.com/doc/refman/8.0/en/stored-programs-defining.html)


import mysql from "../../mysql.app.mjs";

export default {
  key: "mysql-execute-stored-procedure",
  name: "Execute Stored Procedure",
  description: "Execute Stored Procedure. [See the docs here](https://dev.mysql.com/doc/refman/8.0/en/stored-programs-defining.html)",
  type: "action",
  version: "0.0.1",
  props: {
    storedProcedure: {
      propDefinition: [
    values: {
      propDefinition: [
  async run({ $ }) {
    const {
    } = this;

    const result = await this.mysql.executeStoredProcedure({

    $.export("$summary", `Successfully executed stored procedure ${storedProcedure}`);

    return result;


This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
MySQLmysqlappThis component uses the MySQL app.
Stored ProcedurestoredProcedurestringSelect a value from the drop down menu.

Parameters for the stored procedure


MySQL uses API keys for authentication. When you connect your MySQL account, Pipedream securely stores the keys so you can easily authenticate to MySQL APIs in both code and no-code steps.

These values correspond with your MySQL server:

  • host: IP address or domain to access your MySQL server
  • port: Default is 3306
  • username: The account username to log in
  • password: The account password to log in
  • database: The name of the database to open after logging in. Please note, MySQL must be connectable from Pipedream's IP address range. Otherwise, you'll receive a Connection Refused error.

About MySQL

Open-source relational database