Microsoft SQL Server — query, insert, update, delete, and execute stored procedures.
| Property |
Value |
| Type |
database |
| Authentication |
basic |
| Category |
Generic |
| Field |
Type |
Required |
Description |
host |
string |
Yes |
Database server hostname |
port |
number |
No |
Port (default: 1433) |
database |
string |
Yes |
Database name |
username |
string |
Yes |
Username |
password |
string |
Yes |
Password |
encrypt |
boolean |
No |
Enable encryption |
connection_string |
string |
No |
Full connection string (overrides individual fields) |
Execute a SELECT query with optional WHERE filters.
|
|
| Endpoint |
GET {table} |
| Method |
GET |
Insert a new row into a table.
|
|
| Endpoint |
POST {table} |
| Method |
POST |
Update rows matching WHERE conditions.
|
|
| Endpoint |
PUT {table} |
| Method |
PUT |
Delete rows matching WHERE conditions.
|
|
| Endpoint |
DELETE {table} |
| Method |
DELETE |
Execute a parameterized SQL query directly (use @p1, @p2, … for named params).
|
|
| Endpoint |
POST raw |
| Method |
POST |
Execute a SQL Server stored procedure with named parameters.
|
|
| Endpoint |
POST proc:{procedureName} |
| Method |
POST |
flow: webhook-to-mssql-stored-proc
description: Receive a webhook, call a stored procedure in MSSQL, and insert results to PostgreSQL
connector: generic-webhook
- name: run-inventory-calc
action: call-stored-procedure
procedureName: sp_CalculateReorderPoint
"@WarehouseId": source.warehouse_id
"@ProductSKU": source.sku
"@CurrentStock": source.quantity_on_hand
- name: store-reorder-data
target: postgresql-analytics
when: reorder_result.needs_reorder == true
warehouse_id: source.warehouse_id
current_stock: source.quantity_on_hand
reorder_point: reorder_result.reorder_point
suggested_qty: reorder_result.suggested_order_qty
- name: notify-procurement
when: reorder_result.needs_reorder == true
channel: "#procurement-alerts"
text: "Reorder needed: {{ source.sku }} at warehouse {{ source.warehouse_id }} — stock {{ source.quantity_on_hand }}, reorder point {{ reorder_result.reorder_point }}"
retry: 3x exponential(30s)