What it is for
Microsoft's relational database engine, on-premise or as Azure SQL
Microsoft SQL Server triggers check for new data periodically, every few minutes, so there may be a short delay.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Microsoft SQL Server and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Microsoft SQL Server step, click "Connect" and paste it into: Connection String, Host, Port, Database, Username, Password, Tenant ID, Client ID, Client Secret, Encrypt Connection, Trust Server Certificate, CA Certificate, Minimum TLS Version.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Connection String | Long text | No |
| Host | Text | No |
| Port | Number | No |
| Database | Text | No |
| Username | Text | No |
| Password | Secret key | No |
| Tenant ID | Text | No |
| Client ID | Text | No |
| Client Secret | Secret key | No |
| Encrypt Connection | Yes / No | Yes |
| Trust Server Certificate | Yes / No | Yes |
| CA Certificate | Long text | No |
| Minimum TLS Version | Fixed list | No |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Find Rows: fill in Table; use the data selector to map values from earlier steps.
- Insert Row: fill in Table, Values; use the data selector to map values from earlier steps.
- Insert Multiple Rows: fill in Table, Rows; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Triggers (1)
Events that can start a flow. Expand each one to see its fields.
New or Updated RowPeriodic check3 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Column to order by | List (from your account) | Yes |
| Order Direction | Fixed list | Yes |
Actions (7)
Operations available as flow steps. Expand each one to see its fields.
Find Rows7 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Columns | List of values | No |
| Condition | Text | No |
| Parameters | Key / value pairs | No |
| Order By | List (from your account) | No |
| Order Direction | Fixed list | No |
| Limit | Number | No |
Insert Row2 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Values | Key / value pairs | Yes |
Insert Multiple Rows4 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Rows | Dynamic fields | Yes |
| Keep Empty Strings | Yes / No | No |
| Return Inserted Rows | Yes / No | No |
Update Rows4 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Values | Key / value pairs | Yes |
| Search Column | List (from your account) | Yes |
| Search Value | Text | Yes |
Delete Rows3 fields
| Field | Type | Required |
|---|---|---|
| Table | List (from your account) | Yes |
| Search Column | List (from your account) | Yes |
| Search Value | Text | Yes |
Get Tables0 fields
No fields to configure.
Run Query3 fields
| Field | Type | Required |
|---|---|---|
| Query | Long text | Yes |
| Parameters | Key / value pairs | No |
| Query Timeout (ms) | Number | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
