Skip to main content

Insert

MSSQL Plugin – Insert Action

Summary (SEO Meta Description):
The Insert Action in the MSSQL Plugin allows workflows to insert new records into a Microsoft SQL Server database table.
It supports schema validation, manual input mapping, and dynamic field mapping for flexible data handling.


Overview

The Insert Action enables workflows to add new rows into a specified MSSQL table.
It is commonly used to store processed workflow data, logs, or results directly in a database.

Typical Use Cases:

  • Insert workflow results into an MSSQL table
  • Store user activity logs or application events
  • Add new business records (e.g., patients, orders, invoices)
  • Save transformed data after processing

⚙️ Configuration

FieldDescriptionType / Options
LabelCustom name for the actionString
Select connectionChoose or create an MSSQL connectionConnection
Table nameSelect the target database tableDropdown
ColumnsDefine columns for data insertionAdd column(s)
MapMap workflow data fields to table columnsMapping section
Inputs (Manual)Manually define input fields (optional)NUMBER, STRING, BYTE, DATE, DATETIME, BOOLEAN, OBJECT, ARRAY, ANY
Truncate FieldsShorten input values if necessaryBoolean
SchemaValidate structure of inserted dataSchema selector

FAQ

Q: Can I insert multiple rows at once?
A: Currently, each action inserts one row per execution. For batch inserts, consider looping within workflows.

Q: What happens if required columns are missing?
A: The action will fail unless all mandatory columns for the target table are provided.

Q: Can I use dynamic workflow data in the insert?
A: Yes. Columns can be mapped to values from workflow inputs or previous actions.


Keywords: WeHub MSSQL Plugin, MSSQL Insert Action, SQL Server Workflow Integration, Insert Data MSSQL