Skip to main content

Select

MySQL Plugin – Select Action

Summary (SEO Meta Description):
The Select Action of the MySQL Plugin allows workflows to query records from a MySQL database.
It supports table selection, column filtering, ordering, and schema mapping for flexible data retrieval.


Overview

The Select Action retrieves data from a specified MySQL table.
You can configure columns, conditions, ordering, and pagination (limit & offset).

This action is ideal for workflows that need dynamic queries, data lookups, or analytics.

Typical Use Cases:

  • Query customer or patient records from a database
  • Fetch filtered lists for reporting or dashboards
  • Paginate large datasets with limit and offset
  • Retrieve workflow-specific input data stored in MySQL

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create a MySQL database connectionDropdown
Table nameSelect the target tableDropdown
ColumnsDefine columns to retrieveString (multiple allowed)
ConditionWHERE clause condition for filteringString
OrderORDER BY clauseString
LimitNumber of rows to returnNumber (default = 0 = no limit)
OffsetStarting row position for paginationNumber (default = 0)
InputsManual mapping of input fields (optional)Name + Type
Schema (Inputs)Select or map input schemaSchema selector
OutputsDefine output fields (manual mapping optional)Name + Type
Schema (Outputs)Select or map output schemaSchema selector

FAQ

Q: Can I select all columns with this action?
A: Yes, if no columns are specified, it defaults to SELECT *.

Q: How can I apply filters dynamically?
A: Use the Condition field to specify WHERE clauses, e.g., status = 'active'.

Q: Does it support pagination?
A: Yes, use Limit and Offset for paging through results.


Keywords: WeHub MySQL Plugin, MySQL Select Action, Database Query Workflow, SQL Data Retrieval, MySQL Automation