Microsoft SQL Server Integration

No sections found for this integration
The integration documentation may not have the expected structure

Overview

The Microsoft SQL Server node in Lamatic connects to your SQL Server database and runs SQL statements from your flows. This integration supports Action mode only and does not support Trigger or Batch Trigger modes.

Features

Key Functionalities

  1. Action-only execution: Run SQL queries whenever the flow reaches this node.
  2. Credential-based connection: Reuse saved SQL Server credentials across nodes and flows.
  3. Configurable SSL mode: Choose the right encryption and certificate verification level for your environment.

Benefits

  1. Simple database operations in flows: Query data without leaving Lamatic.
  2. Reusable credentials: Configure once and reference credentials in multiple action nodes.
  3. Flexible security posture: Pick SSL mode based on internal, staging, or production requirements.

Prerequisites

Before using the Microsoft SQL Server node, ensure the following:

  • A reachable Microsoft SQL Server host.
  • A database user with permission to run the SQL queries you plan to execute.
  • Network/firewall settings that allow access from your Lamatic environment.
  • SSL certificates available if you plan to use certificate verification modes.

If the server is protected by IP-based network rules, review IP Allowlisting before connecting.

Setup

Step 1: Configure Microsoft SQL Server credentials in Lamatic

In the Integrate Microsoft SQL Server dialog, provide the following:

FieldDescriptionRequiredExample
Credential NameName to identify this SQL Server connection✅mssql-prod
HostSQL Server hostname or IP address✅sqlserver.example.com
PortSQL Server port✅1433
UsernameDatabase username✅lamatic_user
PasswordDatabase user password✅—
DatabaseDatabase name to connect to✅appdb
SSL ModeSSL connection mode (see SSL connection modes)✅require

SSL connection modes

ModeDescription
disableNo encryption.
requireAlways require encryption, but do not verify the server certificate (use for self-signed certs on internal servers).
verify-caAlways require encryption and verify the server certificate against an uploaded CA.
verify-fullThe most secure mode. Require encryption, verify the CA, and verify the hostname matches the certificate.

Configuration Reference

Action node configuration

Use the Microsoft SQL Server node as an Action with the following fields:

ParameterDescriptionRequiredExample
CredentialSaved Microsoft SQL Server credential✅mssql-prod
ActionOperation to run✅run query
QuerySQL query to execute✅SELECT TOP 10 * FROM users

How to use

  1. Add a Microsoft SQL Server node to your flow.
  2. Select your Credential.
  3. Set Action to run query.
  4. Enter your Query.
  5. Run the flow and inspect node output.

Output

  • Rows: Query result set for SELECT queries.
  • Execution result: Status or affected-row metadata for non-SELECT queries (depends on query type).

Troubleshooting

Common issues

ProblemSolution
Connection failedVerify host, port, database, and network/firewall access. See IP Allowlisting.
Login failed for userRecheck username/password and SQL Server user permissions.
SSL errorUse the correct SSL mode and ensure CA/certificate settings are valid for your environment.
Query execution errorValidate SQL syntax and confirm the user has required table/schema permissions.

Additional resources

Was this page useful?

Subscribe to updates