MySQL
What is MySQL?
MySQL is a popular open-source relational database used to store and query application data with SQL. When you connect MySQL to Konnectify, you can safely run parameterized, read-only queries and use the results to power automated workflows and integrations across your stack.
This is especially useful for syncing data out of operational databases, triggering automations from new records, and generating reports without manual exports.
Set up a MySQL server or use a managed MySQL provider before connecting it to Konnectify.
Visit mysql.comCreate a free Konnectify account to build workflows with triggers, actions, and data mapping.
Sign up for KonnectifyAPI & Authentication
This connector uses MySQL database credentials (host, port, username, password, database). Konnectify stores your connection details securely and uses them only to run the configured queries for your workflows.
- Run custom SELECT queries to fetch data
- Use dynamic inputs via
{{placeholder}} - Poll for new rows using a cursor-friendly query pattern
- Prefer indexed cursor columns (e.g.,
updated_ator auto-increment IDs) - Limit result sets to keep polling fast
- Use read-only DB users where possible
MySQL itself does not impose API-style rate limits, but your database server and network may enforce connection limits, timeouts, or resource quotas. For production workloads, use a dedicated read replica or a least-privilege user and coordinate with your DBA/hosting provider.
Reference: MySQL documentation — https://dev.mysql.com/doc/
How to connect MySQL to Konnectify
- MySQL host and port (e.g.,
3306) reachable from Konnectify - A MySQL username and password (recommended: read-only user for SELECT queries)
- The target database name
- Firewall/VPC rules allowing connections (if your DB is private)
Add MySQL to a Workflow
- Open your Konnectify Workflow.
- Click Add step and choose MySQL.
- Select a Trigger or Action depending on your use case.
Authorize via database credentials
- Enter your Host, Port, User, Password, and Database.
- Save the connection.
- If you see connectivity errors, confirm firewall rules and network access.
Configure the Trigger or Action
- Write a SELECT statement that returns the fields you need.
- Use
{{placeholder}}tokens where you want dynamic values from earlier steps. - For triggers, ensure your query supports incremental polling (see the Triggers section below).
Only use read-only SELECT queries. Avoid long-running queries and ensure the queried columns are indexed to prevent workflow delays.
Test the Workflow
- Run a test to verify the connection and query output.
- Confirm the returned fields match what you plan to map downstream.
- If needed, add a LIMIT clause while iterating to speed up tests.
Activate the Workflow
- Turn on the workflow.
- Monitor the first few runs for query performance and expected results.
- Adjust polling/cursor logic if you see duplicates or missed rows.
Triggers 1
MySQL triggers in Konnectify are polling-based. Konnectify periodically runs your query and emits new events based on a cursor so you can process new rows reliably.
Actions 1
Use MySQL actions to fetch data on-demand during a workflow run. This is ideal for enrichment, validations, and pulling related records by ID.
Popular automations
Examples of how teams commonly use MySQL with Konnectify. You can add additional steps to send notifications, write to CRMs, or update internal tools.
Sync new signups to downstream systems
Poll your users table for newly created rows and then fetch the full record details for mapping into other apps.
Operational reporting on a schedule
Detect new rows that match business rules (e.g., failed payments, pending shipments), then pull related data to include in a report payload.
Enrich events with database lookups
When a new row is detected, query additional tables (e.g., accounts, plans, entitlements) using placeholders to enrich the dataset.
Data quality monitoring
Poll for rows that violate validation rules (e.g., missing emails, invalid statuses) and then fetch full details for remediation steps.
FAQ
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article