MySQL [Cloud & On-Prem] app-specific help | Zoho Flow

MySQL [Cloud & On-Prem]

What is MySQL?

MySQL is an open-source relational database management system (RDBMS) used to store, manage, and retrieve structured data efficiently.

How to connect your MySQL account to Zoho Flow

  1. Select the required trigger or action. If you select a trigger, click Next.
  2. If there are no existing MySQL connections in your account, click Connect. Otherwise, click New.



    Alternatively, you can create a new connection by navigating to Settings, then Connections. Click Create connection and choose MySQL.
  3. Enter a connection name.
  4. Check the App is installed on-premises box if you're using the on-prem version of MySQL. Leave it unchecked for the cloud version or if your account is hosted publicly.
    Note: For a cloud database, you need to allow-list Zoho Flow's IP addresses in your inbound rule.
  5. For an on-prem setup, choose an on-prem agent from the dropdown to create a Zoho Flow connection with your local machine. If you don't already have an agent installed, click New.
  6. Configure the following fields to create the connection:
    Host: The URL of your hosted server
    Port: The port number that your server is running on, typically 3306.
    Username: Your MySQL username
    Password: Your MySQL password
    Database: The name of the MySQL database that you want to access
    Enable SSL?: The option to use SSL (Secure Sockets Layer) for encrypted communication between the MySQL client and server
  7. Once configured, click Authorize.

Triggers and actions available in Zoho Flow

Triggers

Row added
Use this trigger to automate actions whenever a new record is added to a MySQL table. For example, you can send a notification or update another database when a new order is added in your ecommerce platform.

Row added or updated
This trigger can be used to keep data synchronized between different systems. For example, if a customer's contact information is added or updated in your MySQL database, you can automatically update their profile in your email marketing tool.
Note:
To use the Row added and the Row added or updated triggers, you need to configure the following fields:
  1. Trigger column: Select a unique column with incremental values — ideally timestamp columns such as created_at, updated_at, published_at, etc.  By default, the result is sorted in ascending order, and the limit is 100.
  2. Where condition: Use a Where condition to filter the rows. Zoho Flow will retrieve only rows added after the last execution of the flow, so you receive only the latest updates that satisfy the Where condition.
You can use Filter criteria when using these triggers to selectively pass information based on your custom criteria instead of passing the entire payload.

Actions

Fetch row
This action is useful for scenarios where you need to access specific data based on a primary or unique key. For example, if you have an order number and want to retrieve all details of that order, you can use this action to fetch the row and perform further actions like sending order confirmation emails.
Note: The maximum number of records that can be fetched in a single execution is 100.

To use the Fetch row action, you need to configure the following fields:
  1. Unique key: A primary key or a column with a unique constraint to deduplicate rows. An indexed column will give better results.
  2. Unique key - Value: The value of the unique key.
  3. Additional key: Apart from the unique key, you can also add another column as an additional key for deduplication.
  4. Additional key - Value: The value of the additional key.
Insert row
Use this action to add new data to your MySQL database. For example, when a user submits a form on your website, you can use this action to insert their information into your customer database.

Update row
This action allows you to update existing records in your MySQL table. For example, if a customer requests to change their email address, you can use this action to update the email field in your database.



        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              Create. Review. Publish.

                                              Write, edit, collaborate on, and publish documents to different content management platforms.

                                              Get Started Now




                                                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                    Manage your brands on social media


                                                                      • Desk Community Learning Series


                                                                      • Digest


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Glossary


                                                                      • Desk Marketplace


                                                                      • MVP Corner


                                                                      • Word of the Day


                                                                      • Ask the Experts


                                                                        Zoho Sheet Resources

                                                                         

                                                                            Zoho Forms Resources


                                                                              Secure your business
                                                                              communication with Zoho Mail


                                                                              Mail on the move with
                                                                              Zoho Mail mobile application

                                                                                Stay on top of your schedule
                                                                                at all times


                                                                                Carry your calendar with you
                                                                                Anytime, anywhere




                                                                                      Zoho Sign Resources

                                                                                        Sign, Paperless!

                                                                                        Sign and send business documents on the go!

                                                                                        Get Started Now




                                                                                                Zoho TeamInbox Resources





                                                                                                          Zoho DataPrep Demo

                                                                                                          Get a personalized demo or POC

                                                                                                          REGISTER NOW


                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now








                                                                                                                                • Related Articles

                                                                                                                                • MariaDB [Cloud & On-Prem]

                                                                                                                                  What is MariaDB? MariaDB is a commercially-supported fork of the MySQL RDBMS. It is used for data warehousing, e-commerce, logging features and more. How to connect your MariaDB account to Zoho Flow Select the required trigger or action. If you ...
                                                                                                                                • SQL Server [Cloud & On-Prem]

                                                                                                                                  What is SQL Server? SQL Server is a relational database management system (RDBMS) used for storing, managing, and retrieving data in various applications. How to connect your SQL Server account to Zoho Flow Select the required trigger or action. If ...
                                                                                                                                • PostgreSQL [Cloud & On-Prem]

                                                                                                                                  What is PostgreSQL? PostgreSQL is an open-source relational database management system (RDBMS) used to store, manage, retrieve, replace, and materialize structured data efficiently. How to connect your PostgreSQL account to Zoho Flow Select the ...
                                                                                                                                • Commands & Scripts [On-Prem]

                                                                                                                                  What are Commands & Scripts? Commands and Scripts are customizable sets of instructions that you can create to execute specific tasks on your machines. They can range from single commands to intricate scripts written in Python, Bash, PowerShell, and ...
                                                                                                                                • Oracle Database [On-Prem]

                                                                                                                                  What is Oracle Database? Oracle Database is an enterprise-grade relational database management system (RDBMS) used to store, manage, and securely retrieve structured data at scale, offering high performance, reliability, and advanced data management ...
                                                                                                                                  Wherever you are is as good as
                                                                                                                                  your workplace

                                                                                                                                    Resources

                                                                                                                                    Videos

                                                                                                                                    Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                    eBooks

                                                                                                                                    Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                    Webinars

                                                                                                                                    Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                    CRM Tips

                                                                                                                                    Make the most of Zoho CRM with these useful tips.



                                                                                                                                      Zoho Show Resources