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 → Discover RPC
AI-generatedSummary
Discovers the RPC methods available through Plug by sending an rpc.discover JSON-RPC command over REST or Socket. In Guided mode, optionally provide JSON parameters and command options; in Advanced mode, supply the full command object.
Inputs
- Channel — Choose REST or Socket; defaults to REST.
- Input Mode — Choose Guided or Advanced; defaults to Guided.
- Discover Params JSON — In Guided mode, an optional JSON object forwarded as the
rpc.discoverparams. - Raw JSON-RPC Command — Required in Advanced mode. Provide a single JSON-RPC command object; the node injects the resolved client token where supported.
- Agent ID — Optional target agent override; falls back to the credential's Default Agent ID.
- Client Token — Optional client token override; falls back to the credential's Default Client Token.
- Include Plug Metadata — Defaults to true; controls whether output includes a
__plugobject with channel, agent, request, and socket metadata. - Additional Options — In Guided mode, configure timeout (default 15000 ms), API version (default
2.8), optional RPC metadata JSON, server timings, and maximum parallel input items (default 0, sequential). - Socket Options — For Socket channel, configure stream buffer limits, pull window size, relay fast path, and server timings.
- Response Mode — Choose the output shape; defaults to Aggregated JSON. Other modes are Aggregated Single Item, Chunk Items, or Raw JSON-RPC.
Output shape
One or more n8n items containing the normalized RPC discovery response.
The selected response mode controls aggregation; Raw JSON-RPC returns the normalized RPC envelope. When enabled, each output can include
__plugmetadata.
Examples
Example 1: Discover available RPC methods
Select SQL → Discover RPC, use Guided mode, optionally set Discover Params JSON (for example {"include_methods":true}), and choose REST or Socket.
Example 2: Send a custom discovery command
Select Advanced mode and provide a complete JSON-RPC command object for discovery.