Actions62
- SQL Actions
- Client Access Actions
- User Access Actions
- Tools Actions
- HTML to PDF
- Markdown to PDF
- Text to PDF
- Merge PDFs
- Split PDF
- Extract PDF Text
- Resize Image
- Convert Image
- Compress Image
- Add Image Watermark
- Create Thumbnail
- Generate Barcode
- Read Barcode
- Validate CPF/CNPJ
- Format CPF/CNPJ
- Generate UUID
- Transform JSON
- CSV to JSON
- JSON to CSV
- Normalize Text
- Extract Regex Fields
- Validate JSON Schema
- Generate Hash
- HMAC Sign
- Base64 Encode/Decode
- JWT Decode
- Encrypt Text
- Decrypt Text
- Format Date
- Parse Date
- Add Business Days
- Format Currency
- Number to Words
- Build Socket Event Payload
- Validate Client Token
- Validate Agent Context
- Build SQL Request
- Parse SQL Rows
- Generate Access Request Summary
- Publish Socket Event
- Wait for Socket Event
SQL → Bulk Insert SQL
AI-generatedSummary
Insert multiple rows into a SQL table using Plug’s sql.bulkInsert command. In Guided mode, provide the target table, column definitions, and row arrays; Advanced mode accepts a raw JSON-RPC command.
Inputs
- Channel — Choose REST (default) or Socket transport.
- Input Mode — Guided (default) builds the bulk insert command from the table, columns, and rows. Advanced sends a raw JSON-RPC command, which must use the operation’s expected method.
- Table (required) — Target table name, such as
dbo.MyTable(Guided mode). - Columns JSON (required) — JSON array of column definitions with
nameandtype, and optionalnullableandmax_lenfields (Guided mode). - Rows JSON (required) — JSON array of row arrays. Each row must have the same number of values as the columns array (Guided mode).
- Raw JSON-RPC Command (required) — A JSON-RPC command object to send in Advanced mode. The node validates the command for this operation and injects the resolved client token where supported.
- Agent ID — Override the target agent; otherwise uses the credential’s Default Agent ID.
- Client Token — Override the client token; otherwise uses the credential’s Default Client Token.
- Response Mode — Choose aggregated JSON (default), one item with
rowCountandrows[], chunk items where supported by a socket stream, or the normalized raw JSON-RPC envelope. - Include Plug Metadata — Include a
__plugobject with channel, agent, request, and socket metadata in the output; defaults to true. - Additional Options — Guided-mode options include timeout (default 15000 ms), API version (default
2.8), optional RPC metadata JSON, a server timings request, and maximum parallel input items (0 means sequential). - Socket Options — Socket transport options include local stream buffer limits, stream pull window size, relay fast path, and a server timings request.
Output shape
One or more n8n items containing the normalized SQL command response.
The selected response mode affects output formatting. Aggregated JSON emits SQL rows as items when possible and otherwise one JSON item; Aggregated Single Item emits one item with
rowCountandrows[]; Chunk Items applies to socket stream chunks and other combinations fall back to aggregated output; Raw JSON-RPC returns the normalized RPC envelope. The source pack’s method bodies are omitted, so the precise bulk-insert response fields are not established here.