Introduction
Tappet is a workflow automation engine distributed as a single binary. You connect triggers (webhooks, schedules, incoming email, queue messages, chat) to steps that transform data, call APIs, query databases and run language models, and Tappet executes the result reliably.
Tappet runs workflows exported from n8n natively. You can take the JSON of an existing workflow, import it, read a report of exactly what was mapped and what was not, link your credentials, and activate it. No Node.js runtime is involved: the engine, the JavaScript runtime used for expressions and Code nodes, the database layer, the web UI and the connector catalog are compiled into one Rust executable.
Who it is for
- Self-hosters who want automation on a small VM or a Raspberry Pi with a low memory footprint and one file to upgrade.
- Teams running n8n workflows who want an alternative runtime for the same workflow files, with crash-safe execution and a horizontal mode that only needs Postgres.
- Platform and security teams who need outbound network controls, envelope-encrypted secrets, audit logs, RBAC and SSO without a separate enterprise build.
- Integration authors who would rather describe an API in a reviewed YAML file with recorded HTTP tests than write and maintain a plugin.
Design principles
One binary, no required services. tappet serve starts the API, the webhook gateway, the
scheduler, the workers and the UI with an embedded SQLite database. Postgres is needed only when you
run several processes.
Behavior you can verify. Compatibility with n8n workflows is not a claim made per feature. A parity harness runs fixture workflows in a pinned n8n container (as a black box) and in Tappet, then compares the node execution order, every node’s output, and every outbound HTTP request. Mapping rules carry the fixture IDs that justify them, and the import report tells you which parts of your workflow are verified and which are not.
Durable by default. Every completed node is checkpointed before its successors run. If the process is killed, executions resume from the last checkpoint after restart. Wait nodes survive restarts and upgrades.
Secure defaults that scale up. Outbound connections are checked after DNS resolution and on every redirect. Shell, SSH and local-file nodes are off until you turn them on. Credentials are encrypted with per-credential keys. Multi-tenant mode tightens all of this further.
Open. Apache-2.0. Every feature, including SSO, RBAC and HA, is in the same binary.
How it fits together
+------------------------------- tappet ---------------------------------+
webhooks --> | gateway --> queue --> workers --> engine --> nodes / connectors / AI | --> APIs,
schedules -> | scheduler ----^ | | databases,
UI / API --> | REST + SSE ---^ +--> checkpoints, run data | models
| (SQLite or Postgres, blobs) |
+------------------------------------------------------------------------+
- The gateway accepts webhook requests, applies body limits and backpressure, and enqueues executions durably.
- Workers claim executions from the queue and run them with the engine, which follows the workflow’s execution order rules and evaluates expressions.
- Nodes do the work: built-in nodes (IF, Merge, Code, HTTP Request, …), declarative connectors for SaaS APIs, native protocol connectors (Postgres, Redis, SMTP, …) and AI nodes (agents, chat models, vector stores).
- The vault resolves credentials for each node, refreshing OAuth2 tokens with single-flight coordination across processes.
- The store holds workflows, versions, executions, the queue and large payloads, in SQLite for a single node or Postgres for HA.
Where to go next
- Quickstart: install Tappet and run a first workflow in a few minutes.
- Migrating from n8n: import existing workflows and credentials.
- Concepts: items, expressions, execution order, errors and waits.
- Operations: deploy for production.
Quickstart
This page gets Tappet running on your machine, builds a small webhook workflow, and runs it. It takes about five minutes. For production deployments, read Deployment afterwards.
1. Install
Choose one of the three options. All of them give you the same tappet binary.
Binary
Release archives are published for x86_64-unknown-linux-musl, aarch64-unknown-linux-musl
(both fully static) and aarch64-apple-darwin.
# Download the archive for your platform from
# https://github.com/tappet-dev/tappet/releases
# and its .sha256 file, then verify and install:
shasum -a 256 -c tappet-*.tar.gz.sha256
tar -xzf tappet-*.tar.gz
sudo install -m 0755 tappet /usr/local/bin/tappet
tappet --version
On Linux the binary has no runtime dependencies, so the same file works on any distribution, including Alpine and minimal container images.
Homebrew (macOS and Linux)
brew install tappet-dev/tap/tappet
tappet --version
To run Tappet as a background service that starts at login:
brew services start tappet
Docker
docker volume create tappet-data
docker run -d --name tappet \
-p 5678:5678 \
-e TAPPET_HOST=0.0.0.0 \
-v tappet-data:/var/lib/tappet \
ghcr.io/tappet-dev/tappet:latest
The image is built on a distroless base and runs as a non-root user. TAPPET_HOST=0.0.0.0 is
needed because Tappet listens on 127.0.0.1 by default. For a Compose setup with a reverse proxy,
see deploy/docker-compose.
2. Start the server
tappet serve
On first start Tappet:
- creates its data directory (
~/.tappetfor a user account,/var/lib/tappetfor a system service; override withTAPPET_DATA), - creates the SQLite database and runs migrations,
- in development mode, generates an encryption key at
~/.tappet/encryption.keywith mode0600. Back this file up: without it, stored credentials cannot be decrypted. In production mode (TAPPET_ENV=production) Tappet refuses to start withoutTAPPET_ENCRYPTION_KEY.
Check that it is up:
curl -s http://127.0.0.1:5678/healthz
Open http://127.0.0.1:5678 in a browser and create the owner account.
3. Build a workflow
In the editor:
- Add a Webhook trigger. Set the path to
helloand the HTTP method toPOST. Set “Respond” to “When last node finishes”. - Add an Edit Fields (Set) node after it. Add a string field
greetingwith the value=Hello {{ $json.body.name }}. - Save the workflow.
Click Listen for test event, then send a request to the test URL:
curl -s -X POST http://127.0.0.1:5678/webhook-test/hello \
-H 'content-type: application/json' \
-d '{"name": "Ada"}'
The response contains {"greeting": "Hello Ada", ...} and the canvas shows the item counts on
each connection. Click a node to see its input and output data.
Activate the workflow with the toggle in the top bar. The production URL is now live:
curl -s -X POST http://127.0.0.1:5678/webhook/hello \
-H 'content-type: application/json' -d '{"name": "Grace"}'
Production executions appear under Executions, where you can inspect each node’s data and retry failures.
4. Use the command line
Every workflow can also be run without the server. Export the workflow from the editor (Download), then:
tappet run hello.json --input '{"body": {"name": "Linus"}}'
tappet run prints the final result as JSON on stdout and exits with 0 on success, 1 if the
workflow failed and 2 for usage or import errors, so it fits in scripts and CI jobs.
5. Import a workflow from n8n
If you have workflows exported from n8n, import one:
tappet import my-workflow.json --report text
The report lists every node with its status (NATIVE_EXACT, NATIVE_PARTIAL or
UNSUPPORTED_NODE) and the credentials you need to link. The import dialog in the UI shows the
same report. Continue with Migrating from n8n.
6. Make it reachable from the internet
Webhooks from external services and OAuth2 sign-in need a public HTTPS URL. Set it with
TAPPET_PUBLIC_URL:
TAPPET_PUBLIC_URL=https://automation.example.com tappet serve
For local development, Tappet can start a Cloudflare quick tunnel if cloudflared is installed:
tappet serve --tunnel cloudflared
The tunnel URL is printed at startup and used as the public URL for that session only.
Next steps
- Concepts: how items flow and how expressions are evaluated.
- Configuration: every environment variable.
- Security model: what is allowed by default and how to tighten it.
- Deployment: Docker Compose, Kubernetes, systemd and PaaS examples.
Migrating from n8n
Tappet imports the workflow JSON that n8n exports and runs it natively. This page explains how to move workflows over, how to read the import diagnostics, how to reconnect credentials, and which behaviors differ.
Tappet is an independent implementation. It reproduces the behavior observed from exported workflows and black-box runs of a pinned n8n version; it does not share code with n8n.
Before you start
- Install Tappet and create the owner account (Quickstart).
- Set
TAPPET_PUBLIC_URLto the HTTPS address Tappet will be reachable at. Webhook URLs and OAuth redirect URIs are derived from it. - Decide on a project layout. Every workflow, credential and execution in Tappet belongs to a
project; imports go to your default project unless you pass
--project.
1. Export workflows
Export each workflow as JSON from the n8n editor (the download action in the workflow menu), or export all of them with your n8n instance’s command-line export into one file per workflow.
What the export contains and what it does not:
| Included | Not included |
|---|---|
| Nodes, parameters, positions, type versions | Credential secrets (only {id, name} references) |
| Connections, including AI sub-node connections | Execution history |
| Workflow settings (execution order, timezone, error workflow, …) | Users, projects, sharing |
| Pinned data, static data, tags | Environment variables and instance variables |
You can also paste a selection of nodes copied from the n8n canvas straight into the Tappet editor. Clipboard fragments go through the same importer.
2. Import
From the UI
Workflows > Import > From n8n JSON, then choose a file or paste the JSON. The import dialog shows the diagnostics report before anything is saved.
From the command line
tappet import order-sync.json --report text
tappet import order-sync.json --project finance --report json > order-sync.report.json
Import a whole directory and keep the reports:
mkdir -p reports
for f in exports/*.json; do
tappet import "$f" --project ops --report json > "reports/$(basename "$f" .json).report.json"
done
--activate activates the workflow right after import. It is refused when the workflow has
unsupported nodes or unlinked credentials.
From the API
curl -s -X POST "$BASE_URL/api/v1/workflows/import/n8n" \
-H "authorization: Bearer $API_KEY" \
-H 'content-type: application/json' \
--data-binary @order-sync.json
3. Read the diagnostics report
{
"workflow_id": "0193f1c2-6a8e-7c4b-9d0e-2f61a0b4c9d1",
"summary": { "exact": 12, "partial": 2, "unsupported": 1 },
"nodes": [
{
"name": "Send to Slack",
"n8n_type": "n8n-nodes-base.slack",
"type_version": 2.2,
"status": "NATIVE_PARTIAL",
"target": "slack/message.post",
"issues": [ { "code": "PARAM_UNSUPPORTED", "path": "otherOptions.sendAsUser" } ]
}
],
"credentials_to_link": [
{ "n8n_type": "slackApi", "name": "Slack account", "tappet_auth": "slack/bot_token" }
]
}
Node statuses
| Status | Meaning | What to do |
|---|---|---|
NATIVE_EXACT | The mapping for this node type and version is verified by parity fixtures, and so is every parameter the node uses. | Nothing. |
NATIVE_PARTIAL | The node imported and runs, with the issues listed. | Read each issue. Most need a test run, some need a parameter change. |
UNSUPPORTED_NODE | No mapping exists for this type, or for a version this old. | The node stays on the canvas as a disabled passthrough with its original JSON. Replace it (often with HTTP Request or a connector) or bypass it. The workflow cannot be activated until you do. |
Issue codes
| Code | Meaning | Typical action |
|---|---|---|
PARAM_UNSUPPORTED | A parameter is set that Tappet does not implement for this node. It is ignored. | Check whether the workflow depends on it. |
PARAM_UNVERIFIED | The parameter is mapped, but the mapping has not been confirmed by a parity fixture yet. | Run the workflow with test data and compare results. |
TYPEVERSION_UNVERIFIED | The node’s typeVersion is newer than any verified range. The nearest lower version’s mapping is used. | Test the node. Report it so a fixture can be added. |
EXPR_EXTENSION_UNSUPPORTED | An expression calls an extension method Tappet does not implement yet (for example a rarely used string helper). | Rewrite that expression with plain JavaScript. |
CREDENTIAL_UNMAPPED | The node references a credential type with no Tappet equivalent. | Use a generic credential (header, bearer, OAuth2) with HTTP Request. |
CONNECTION_TYPE_UNSUPPORTED | A connection uses a type Tappet does not know (usually from a community AI node). | Replace the sub-node. |
EXEC_CAPABILITY_DISABLED | The node runs shell commands, SSH, local file access or MCP over stdio, and exec-class nodes are disabled. | See Exec capability. |
The report is stored with the workflow version, so you can reopen it later from the workflow’s Versions panel.
4. Link credentials
Exports never contain secrets, so the importer creates a placeholder binding for each credential
reference. The report lists them in credentials_to_link, grouped by credential so a credential
used by twenty nodes is linked once.
In the UI, Credentials shows placeholders as Needs linking. For each one, either pick an existing Tappet credential of the matching kind or create a new one. OAuth2 credentials show a Connect button.
From the command line:
tappet credentials list # shows placeholders and their state
tappet credentials link # links placeholders to credentials, interactively
tappet credentials test <id> # runs the connector's test request
OAuth2 apps need a new redirect URI
Tappet uses its own OAuth2 callback path:
https://<your TAPPET_PUBLIC_URL>/api/v1/oauth2/callback
For every OAuth2 app you used with n8n (Google, Microsoft, Slack, …), add this URI to the app’s allowed redirect URIs in the vendor console before connecting. The credential page shows the exact value to paste. You keep using your own client ID and secret.
Importing a decrypted credentials export
Importing a decrypted credentials export file directly into the vault is planned (milestone M6). Until then, re-enter secrets once per credential.
5. Test, then activate
- Open the workflow and run it manually with pinned or sample data. Pinned data from the export is preserved, so nodes with pinned output do not call external services during tests.
- Compare the outputs with what the workflow produced before. Pay attention to nodes marked
NATIVE_PARTIAL. - Activate. Webhook nodes register at the same relative paths (
/webhook/<path>and/webhook-test/<path>), so you only need to change the host in the services that call them.
Run Tappet next to your existing instance while you migrate. Move each workflow’s inbound webhooks and schedules only after it is active in Tappet, and deactivate the original at the same time to avoid duplicate side effects.
Differences to know about
Tappet aims to produce the same results as the original for the same workflow. The following differences are deliberate or known.
Code node
- JavaScript only. Python Code nodes import as
UNSUPPORTED_NODEuntil the isolated Python runner ships (milestone M6). - No
requireexcept bundled pure-JavaScript libraries (currentlyluxon). No file system, network or process access from code. Use HTTP Request or a connector for network calls. - Memory is capped at 64 MB per runtime and each run has a 5 second time budget by default. An infinite loop is stopped and reported as a node error instead of blocking a worker.
console.logoutput is captured into the execution log, not the server’s stdout.
Expressions
- The globals behave the same way (
$json,$input,$('Node'),$now, …). Error messages are worded differently; the category of error (for example, an unresolvable paired item) is the same. $envcan be disabled (TAPPET_EXPR_ALLOW_ENV=false) and is disabled by default in multi-tenant mode. When disabled,$envis an empty object.
Execution
- Workflow settings
executionOrderv0andv1are both supported, and the absence of the setting meansv0, as in exported legacy workflows. - Branches run sequentially. Tappet has an opt-in parallel branch setting for new workflows, and it is never enabled for imported ones.
- A node can run at most 10,000 times per execution by default (
TAPPET_MAX_NODE_RUNS), which stops runaway loops. - Executions are checkpointed after every node. After a crash a workflow resumes from the last completed node; the node that was running is re-run once. Design side effects to be idempotent where possible.
Webhooks and waits
- Resume URLs for Wait nodes (
$execution.resumeUrl) use the path/webhook-waiting/<token>. If a workflow sent resume URLs to an external system before migration, executions waiting in the old instance must finish there. - Webhook request bodies are capped at 16 MB by default (
TAPPET_WEBHOOK_BODY_MAX). When the durable queue is full, Tappet answers503withRetry-Afterrather than dropping the request.
Nodes and integrations
- Shell, SSH, local file and MCP stdio nodes are disabled by default. See Exec capability.
- Outbound connections pass through the egress policy. With
TAPPET_EGRESS_POLICY=strict, requests to private and loopback addresses fail unless the address is allowlisted. - Community nodes are not supported. Most of them wrap an HTTP API and can be written as a declarative connector in an afternoon.
- The Merge node’s SQL query mode is not supported.
- Polling triggers keep their own cursor in workflow static data. After import, the first poll behaves like a first activation: it records the current state and emits nothing.
Data and retention
- Execution data is pruned after 14 days by default (
TAPPET_EXECUTIONS_TTL). See Retention. - Workflow edits create immutable versions. Rolling back creates a new version that copies an old one.
Exporting back
Every workflow can be exported in n8n format at any time, with the original node types, versions and parameters and with credential references only:
tappet export <workflow-id> --format n8n > workflow.json
or GET /api/v1/workflows/{id}/export/n8n. Unknown top-level keys from the original export are
preserved, so a round trip does not lose data.
Concepts
These pages explain how Tappet executes a workflow. They are worth reading once even if you have built workflows elsewhere, because the details (how items pair up, when a node runs, what happens after a crash) decide whether a workflow is correct.
| Page | Covers |
|---|---|
| Workflows and nodes | Triggers, connections, settings, activation, versions, projects |
| Items | The data model: JSON items, binary data, ports, paired items |
| Expressions | {{ }} syntax, globals, dates, extension methods, limits |
| Execution order | Which node runs next, branches, merges, loops, partial runs |
| Error handling | Node error settings, retries, error outputs, error workflows |
| Waits and durability | Wait nodes, resume URLs, checkpoints, crash recovery |
A one-paragraph version: a workflow is a graph of nodes. A trigger node starts an execution with a list of items. Each node receives the items on its input, does its work once per item or once for all of them, and emits items on one or more output ports. Parameters can be expressions that read the current item and the output of earlier nodes. The engine decides the order nodes run in, records every node’s output as run data, and persists a checkpoint after each node so the execution can resume after a restart.
Workflows and nodes
Nodes
A node is one step. Every node has:
- a name, unique within the workflow. Expressions refer to other nodes by name
(
$('Fetch orders')), so renaming a node in the editor rewrites those references. - a type (for example
core.if,core.http_request,connector.slack) and a type version. The version selects the parameter layout and behavior, so a workflow keeps working when a newer version of the node is released. See Node type mapping. - parameters, which may contain expressions.
- optional credentials, referenced by ID and resolved by the vault at run time.
- settings: disabled, error handling, retries, always-output-data, execute-once and notes. See Error handling.
Node groups:
| Group | Examples |
|---|---|
| Triggers | Manual, Webhook, Schedule, Execute Workflow Trigger, Error Trigger, Chat Trigger, connector triggers |
| Flow | IF, Switch, Merge, Loop Over Items, Wait, Execute Workflow, Stop and Error, No Op |
| Transform | Edit Fields (Set), Filter, Sort, Limit, Aggregate, Split Out, Summarize, Remove Duplicates, Date & Time, Crypto, XML, HTML, Markdown |
| Actions | HTTP Request, Code, connectors (Slack, Google Sheets, …), protocol nodes (Postgres, Redis, SMTP, …) |
| AI | AI Agent, LLM chains, Information Extractor, Text Classifier, and their sub-nodes |
Sticky notes are canvas annotations. They are kept in the workflow but never execute.
Connections
Connections go from an output port of one node to an input port of another.
mainconnections carry items. They define the data flow and the execution order.- AI connections (
ai_languageModel,ai_tool,ai_memory,ai_outputParser,ai_embedding,ai_vectorStore,ai_document,ai_textSplitter,ai_retriever) attach sub-nodes to a root node. They are not data flow: the root node (for example an AI Agent) uses the attached chat model, tools and memory while it runs. Sub-nodes do not appear in the execution order on their own.
Workflows may contain cycles, for example a loop that sends items back to Loop Over Items until
all batches are done. The validator accepts a cycle only when it passes through a node that can end
it (Loop Over Items, or an IF or Switch with a reachable exit), and each node has a run limit
(TAPPET_MAX_NODE_RUNS, default 10,000 per execution) as a guard against mistakes.
Triggers and activation
A workflow starts from a trigger node:
| Trigger | Starts an execution when |
|---|---|
| Manual | You click Execute workflow in the editor or call the run API |
| Webhook | An HTTP request arrives at /webhook/<path> (production) or /webhook-test/<path> (editor test) |
| Schedule | A cron expression or interval fires, in the workflow’s timezone |
| Connector poll trigger | A periodic poll finds new records (new rows, new emails, …) |
| Connector webhook trigger | The vendor calls Tappet with an event; Tappet registers the webhook with the vendor on activation |
| Execute Workflow Trigger | Another workflow calls this one as a sub-workflow |
| Error Trigger | Another workflow that names this one as its error workflow fails |
| Chat / MCP trigger | A chat message arrives, or an MCP client calls the workflow as a tool |
| Queue triggers | A message arrives on Kafka, RabbitMQ, MQTT, Redis or Postgres LISTEN |
Activating a workflow registers its webhooks, starts its schedules and polls, and registers vendor webhooks. Manual and test runs do not need activation. A workflow with unsupported nodes or unlinked credentials cannot be activated.
Workflow settings
| Setting | Effect |
|---|---|
executionOrder | v1 (default for new workflows) or v0 (legacy; assumed when absent). See Execution order. |
timezone | Timezone for schedules and for $now / $today. |
errorWorkflow | Workflow started with error details when an execution fails. |
saveDataSuccessExecution, saveDataErrorExecution, saveManualExecutions | Whether run data is kept for successful, failed and manual executions. |
saveExecutionProgress | Kept for compatibility; Tappet always checkpoints production executions (see Waits and durability). |
executionTimeout | Maximum duration of one execution. |
callerPolicy | Which workflows may call this one as a sub-workflow. |
Workflow static data is a small JSON document persisted with the workflow. Poll triggers keep their cursors there.
Pinned data
Pinned data replaces a node’s output with a fixed list of items. A pinned node does not execute during manual runs: it emits the pinned items instead. Pinning trigger and API nodes lets you iterate on the rest of a workflow without calling external services. Pinned data is part of the workflow and is preserved on import and export. It is ignored for production executions.
Versions
Every saved change creates an immutable workflow version. Executions record the version they ran, so the execution view always shows the workflow as it was. Rolling back creates a new version that copies an old one; history is never rewritten.
Projects
Workflows, credentials, executions and variables belong to a project. Users are members of
projects with a role (admin, editor, operator, viewer). A credential can only be used by
workflows in its project. See Users, roles and SSO.
Items
Data moves between nodes as lists of items. Understanding the item model explains most of how nodes and expressions behave.
Shape of an item
{
"json": { "id": 42, "email": "[email protected]", "tags": ["vip"] },
"binary": {
"invoice": {
"mimeType": "application/pdf",
"fileName": "invoice-42.pdf",
"fileExtension": "pdf",
"fileSize": 48213
}
},
"pairedItem": { "item": 0 }
}
jsonis always an object. A node that produces a bare value (a string, a number, an array) wraps it, for example as{ "data": ... }. Expressions read it as$json.binarymaps property names to files. The file content is stored outside the item (see below); the item carries the metadata and a content reference. Expressions read it as$binary.pairedItemrecords which input item this item was derived from. See Paired items.erroris set on items routed to the regular output when a node fails withonError: continueRegularOutput. See Error handling.
Ports and runs
A node receives one list of items per input port and returns one list per output port.
Most nodes have one input and one output. IF has two outputs (true, false), Switch has one per
rule plus an optional fallback, Merge has two or more inputs, and a node with
onError: continueErrorOutput gains an error output.
The node receives the whole list at once, not item by item. Most nodes then process each item independently and emit one output item per input item. Others work on the whole list: Aggregate combines all items into one, Split Out turns one item into many, Limit keeps the first N, Sort reorders.
A node can run more than once in one execution, for example inside a loop. Each run is recorded
separately with a run index, available in expressions as $runIndex.
Nodes that emit nothing
If a node outputs zero items on a port, the nodes connected to that port do not run for that branch. For example, an IF node whose condition is false for every item emits nothing on its true output, so the true branch is skipped.
Set Always output data on a node to emit a single empty item ({ "json": {} }) instead of
nothing, which keeps the branch running.
Execute once
With Execute once enabled, a node processes only the first input item and ignores the rest. Use it for a step that should happen once per execution regardless of how many items arrive, such as sending one summary message.
Paired items
Every output item records the input item (or items) it came from. Tappet uses this lineage to answer the question “which item of node X corresponds to the item I am processing now?”:
Fetch orders (3 items) -> Filter (2 items) -> Send email
o0, o1, o2 f0<-o0, f1<-o2 for f1: $('Fetch orders').item is o2
- Nodes that map one input item to one output item set the pairing automatically.
- Nodes that combine items (Aggregate, Merge by fields) record several parents.
- Code nodes can set
pairedItemon the items they return. If they do not, Tappet infers it when the output has the same length as the input; otherwise the lineage is missing.
$('Node').item follows this lineage. When it is ambiguous (several possible ancestors) or missing,
the expression fails with a paired-item error. Use $('Node').first(), .last(), .all() or an
explicit index in that case.
Binary data
Files (downloads, uploads, attachments, webhook uploads) are stored as content-addressed blobs:
- Files up to 64 KB (
TAPPET_BINARY_INLINE_MAX) are kept inline with the item. - Larger files are written to the blob store (
${TAPPET_DATA}/blobsor S3) and streamed when a node reads or uploads them, so a 2 GB file never has to fit in memory. - Identical content is stored once. Blobs are reference-counted and removed when the executions that use them are pruned.
Nodes refer to a file by its binary property name (often data). Nodes that read files take a
parameter naming the property; nodes that produce files let you choose the property name.
Large outputs
A node output larger than 2 MB of JSON (TAPPET_JSON_SPILL_THRESHOLD) is moved to the blob store
and loaded back when a later node or the UI needs it. A single node output is limited to 1,000,000
items (TAPPET_MAX_ITEMS_PER_OUTPUT).
Expressions
Any node parameter can be computed from data with an expression. Expressions are JavaScript, evaluated by the embedded QuickJS runtime.
Syntax
A parameter value that starts with = is an expression. Inside it, {{ ... }} blocks are
evaluated and everything else is literal text:
=Hello {{ $json.firstName }} {{ $json.lastName }}
Typing rules:
- A value that is exactly one
{{ }}block keeps the JavaScript type of its result:={{ $json.total * 1.2 }}is a number,={{ $json.tags }}is an array. - A value that mixes text and blocks is always a string:
=Total: {{ $json.total }}. - A value without a leading
=is a literal, even if it contains{{ }}.
Each block is a JavaScript expression, so anything that fits in one expression works:
={{ $json.items.filter(i => i.qty > 0).map(i => i.sku).join(', ') }}
={{ $json.email ? $json.email.toLowerCase() : 'unknown' }}
={{ (() => { const d = $json.discount ?? 0; return $json.price * (1 - d); })() }}
Expressions are evaluated once per input item, with that item as $json.
Globals
Current item and input
| Global | Value |
|---|---|
$json | JSON of the current item |
$binary | Binary metadata of the current item |
$input.item | The current item ({ json, binary }) |
$input.all(), $input.first(), $input.last() | All items on the input, the first, the last |
$input.params | Parameters of the current node |
$itemIndex | Index of the current item |
$runIndex | How many times this node has run before in this execution |
$parameter | Parameters of the current node (resolved) |
Other nodes
| Global | Value |
|---|---|
$('Node name').item | The item of that node paired with the current item (see Paired items) |
$('Node name').all(branch?, runIndex?) | All output items of that node |
$('Node name').first(), .last() | First or last output item |
$('Node name').params | That node’s parameters |
$('Node name').isExecuted | Whether the node has run in this execution |
$node["Node name"].json | Legacy form, equivalent to the paired item’s JSON |
$prevNode | { name, outputIndex, runIndex } of the node that fed this one |
Execution and environment
| Global | Value |
|---|---|
$execution.id | Execution ID |
$execution.mode | manual, trigger, webhook, retry or sub |
$execution.resumeUrl | URL that resumes this execution at the next Wait node |
$workflow.id, $workflow.name, $workflow.active | Workflow metadata |
$vars | Project variables |
$env | Process environment variables, when allowed (see below) |
$now, $today | Current date-time and start of today as Luxon DateTime in the workflow timezone |
Helpers
| Helper | Example |
|---|---|
$if(cond, a, b) | {{ $if($json.vip, 'priority', 'normal') }} |
$ifEmpty(value, fallback) | {{ $ifEmpty($json.nickname, $json.name) }} |
$max(...), $min(...) | {{ $max($json.a, $json.b) }} |
$jmespath(obj, query) | {{ $jmespath($json, 'orders[*].id') }} |
Dates
$now and $today are Luxon DateTime objects, and the
DateTime, Duration and Interval classes are available:
={{ $now.minus({ days: 7 }).toISO() }}
={{ DateTime.fromISO($json.createdAt).setZone('Europe/Berlin').toFormat('yyyy-LL-dd HH:mm') }}
={{ $today.startOf('month').toISODate() }}
The workflow’s timezone setting is the default zone. If it is unset, TAPPET_TIMEZONE is used,
then UTC.
Extension methods
Values have convenience methods in addition to standard JavaScript ones, for example:
={{ $json.email.isEmail() }}
={{ $json.notes.isEmpty() }}
={{ $json.created.toDateTime().toFormat('DDD') }}
={{ $json.body.extractEmail() }}
={{ $json.prices.sum() }}
Each method is implemented and tested against a recorded fixture. The list of supported methods is
part of the generated node reference. An imported workflow that uses an
unsupported method gets an EXPR_EXTENSION_UNSUPPORTED issue in its diagnostics report, naming the
method and the parameter.
Limits and isolation
- Each worker thread has its own QuickJS runtime with a memory cap (64 MB by default,
TAPPET_JS_MEMORY_LIMIT). Each execution gets a fresh context, so no state leaks between executions. - Each evaluation has a time budget (
TAPPET_EXPR_TIMEOUT). A runaway expression is interrupted and the node fails with a timeout error. - Expressions cannot access the network, the file system or processes.
- Compiled expressions are cached by source text, so the same expression over many items is compiled once.
$env
$env exposes process environment variables to workflows. It is controlled by
TAPPET_EXPR_ALLOW_ENV:
- Single-user deployments: allowed by default.
- Multi-tenant mode: denied by default, because any editor could read the server’s environment.
TAPPET_EXPR_ENV_ALLOWLISTrestricts$envto listed names.
Prefer project variables ($vars) for configuration that workflows need. They are scoped to a
project and visible in the UI.
Code node
The Code node runs a whole JavaScript function body instead of a single expression, with the same globals. It has two modes:
- Run once for all items:
$input.all()returns every item; return an array of items. - Run once for each item:
$jsonis the current item; return one item.
// Run once for all items
const out = [];
for (const item of $input.all()) {
out.push({ json: { id: item.json.id, total: item.json.qty * item.json.price } });
}
return out;
require is limited to bundled libraries (luxon). There is no network, file or process access;
use HTTP Request or a connector for I/O. The default time budget is 5 seconds per run
(TAPPET_CODE_TIMEOUT), and the workflow’s own maximum cannot exceed the instance setting.
Execution order
When a node finishes, the engine decides which node runs next. For a straight line of nodes the
answer is obvious; for branches, merges and loops it depends on the workflow’s
executionOrder setting. Tappet implements both orders so that imported workflows behave as they
did before.
Sequential and deterministic
Within one execution, nodes run one at a time and in a deterministic order. The same workflow with
the same input always runs its nodes in the same sequence, which matters for side effects (the
order messages are sent, rows are written) and for which nodes $('Node') can see.
Executions themselves run concurrently: a worker runs many executions at once, each sequentially.
New workflows can opt into parallel branch execution with the tappet.parallelBranches setting.
It is never enabled for imported workflows, because it changes the order of side effects and the
visibility of other nodes’ data.
The two orders
| Setting | Used for | Summary |
|---|---|---|
v1 | New workflows (default) | Branch by branch. When a node has several outgoing branches, one branch runs to completion before the next starts. Branches are taken in canvas order: higher on the canvas first, and left before right at the same height. |
v0 | Imported workflows without the setting | Breadth first. Successors are queued in connection order, so the first nodes of different branches can interleave. |
The exact rules, including the edge cases below, are pinned by golden traces recorded from
black-box runs and described in parity/notes/execution-order.md. Every parity fixture records the
node sequence, and Tappet must reproduce it exactly. If you see a different order for an imported
workflow, that is a bug: please report it with the workflow.
Example: a webhook feeds an IF node; the true branch posts to Slack then writes to a sheet; the false branch sends an email.
Webhook -> IF -+-> (true) Slack -> Sheets
+-> (false) Email
With v1 and the true branch higher on the canvas, the sequence is
Webhook, IF, Slack, Sheets, Email: the true branch finishes before the false branch starts.
With v0, the first node of each branch is queued as soon as IF finishes, so Email can run
before Sheets. If your workflow relies on one branch finishing first, use v1, or join the
branches explicitly with a Merge node.
Nodes with several inputs
A node with more than one input (Merge, Compare Datasets) waits until each of its inputs has either received data or can no longer receive any in this execution. If one input branch never runs (for example an IF sent every item the other way), the node runs with what it has, following the observed rule for its mode: some Merge modes pass the available input through, others emit nothing.
Loops
Loop Over Items (Split in Batches) emits one batch at a time on its loop output. The nodes in the loop body run, and the last one connects back to Loop Over Items, which emits the next batch. When all batches are done it emits the combined results on its done output.
Fetch -> Loop Over Items -+-> (loop) Enrich -> Wait 1s --+
^ | |
+------------+------------------------------+
+-> (done) Report
Each pass through the loop body is a new run of those nodes, with an increasing $runIndex.
TAPPET_MAX_NODE_RUNS (default 10,000) limits how often one node can run per execution.
Disabled nodes
A disabled node does not execute. Its input items pass through unchanged on output 0, so the rest of the workflow keeps running.
Partial executions
In the editor you can run a workflow from a selected node. Tappet then:
- reuses the most recent run data (or pinned data) of the node’s ancestors,
- executes the selected node and everything downstream of it.
Triggers, webhooks and LLM calls in reused nodes are not run again. If an ancestor has no run data and no pinned data, it is executed as part of the partial run.
Sub-workflows
The Execute Workflow node starts another workflow, either synchronously (wait for its result and
continue with the items it returns) or fire-and-forget. The called workflow starts at its Execute
Workflow Trigger. Calls can nest up to 10 levels by default (TAPPET_MAX_SUB_WORKFLOW_DEPTH).
The called workflow’s callerPolicy setting decides which workflows may call it.
Error handling
Things fail: an API returns 500, a record is missing, an expression reads a field that is not there. Tappet gives you four levels of control, from a single node to the whole instance.
Node errors
When a node fails, the error records:
- a message written for humans,
- the kind of failure (configuration, expression, authentication, remote service, timeout, …),
- for HTTP-based nodes, the HTTP status, the vendor’s error code when there is one, and a redacted summary of the request (method and URL, never credentials).
The execution view shows the error on the failing node, with the input items it received.
Per-node settings
On error
| Setting | Behavior |
|---|---|
stopWorkflow (default) | The execution stops and is marked as failed. The error workflow runs, if configured. |
continueRegularOutput | The failing items are passed to the regular output with an error field describing the failure, and the workflow continues. |
continueErrorOutput | The node gets an extra error output. Items that succeeded go to the regular output; items that failed go to the error output, where you can connect recovery steps. |
Legacy workflows may use continueOnFail: true instead; it behaves like continueRegularOutput.
A typical pattern with an error output:
HTTP Request -+-> (success) Update CRM
+-> (error) Slack: "Order sync failed for {{ $json.id }}" -> Add to retry sheet
Retry on fail
| Setting | Default | Effect |
|---|---|---|
retryOnFail | off | Retry the node when it fails. |
maxTries | 3 | Total attempts, including the first. |
waitBetweenTries | 1000 ms | Pause between attempts. |
Retries apply to the whole node run. Independently of this setting, HTTP Request and connectors
already retry individual requests on 429, 5xx and connection errors with exponential backoff
and jitter, honoring Retry-After. Use retryOnFail for failures the request layer does not
retry, such as a validation error that clears up after a delay.
Always output data
When enabled, a node that produces no items emits one empty item instead, so downstream nodes still run. This is useful after lookups that can legitimately find nothing.
Stop and Error
The Stop and Error node fails the execution on purpose with your own message or error object. Use it after validation steps:
IF ($json.amount > 10000) -> (true) Stop and Error: "Amount {{ $json.amount }} needs manual approval"
Error workflows
A workflow’s errorWorkflow setting names another workflow to run whenever an execution fails
(after any node-level handling). The error workflow starts at its Error Trigger node, which
receives one item describing the failure:
- the execution: ID, URL in the UI, mode, retry-of reference,
- the failed workflow: ID and name,
- the error: message, failing node name, and stack when available,
- the last node that executed.
Use an error workflow to notify a channel, open a ticket, or record failures centrally. Several workflows can share one error workflow.
Execution timeout
executionTimeout (workflow setting) bounds the total duration of an execution. When it expires,
the running node is cancelled and the execution fails with a timeout error.
Retrying executions
Failed executions can be retried from the execution list or with
POST /api/v1/executions/{id}/retry. The retry reuses the stored output of the nodes that succeeded
and runs again from the failed node, so completed side effects are not repeated. The new execution
has mode retry and links to the original.
Limits that produce errors
These guards stop runaway workflows and fail the execution with a clear error:
| Limit | Default | Variable |
|---|---|---|
| Runs of one node per execution | 10,000 | TAPPET_MAX_NODE_RUNS |
| Items in one node output | 1,000,000 | TAPPET_MAX_ITEMS_PER_OUTPUT |
| Sub-workflow nesting | 10 | TAPPET_MAX_SUB_WORKFLOW_DEPTH |
| Code node run time | 5 s | TAPPET_CODE_TIMEOUT |
| JavaScript memory per runtime | 64 MB | TAPPET_JS_MEMORY_LIMIT |
Secrets in errors
Error messages, execution data and logs are redacted: every credential value resolved during the
execution is masked in its raw, base64, base64url, URL-encoded and Bearer-prefixed forms, and
headers such as Authorization and Cookie are always masked. See the
security model.
Waits and durability
Tappet persists execution state as it goes. This page covers pausing an execution on purpose with a Wait node, and what happens when the process stops unexpectedly.
Wait node
The Wait node pauses an execution and resumes it later. Modes:
| Mode | Resumes when |
|---|---|
| After a time interval | The interval has elapsed (for example 2 hours). |
| At a specified time | The given date-time is reached, in the workflow timezone. |
| On webhook call | An HTTP request arrives at the execution’s resume URL. |
| On form submission | A person submits the form shown at the resume URL. |
While waiting, the execution has status waiting and holds no worker, memory or connection. A
workflow can have thousands of executions waiting at once.
Resume URLs
In webhook and form modes, the resume URL is available as $execution.resumeUrl in nodes before
the Wait node. Send it to whoever needs to continue the process:
Webhook (new expense) -> Slack: "Approve: {{ $execution.resumeUrl }}?approved=true"
-> Wait (on webhook call, limit 3 days)
-> IF ($json.query.approved == 'true') -> ...
Resume URLs have the form <TAPPET_PUBLIC_URL>/webhook-waiting/<token>. The token is random and
unguessable, so treat the URL as a secret. Once the execution has resumed, the URL no longer
resumes anything.
The request that resumes the execution (method, headers, query, body) becomes the Wait node’s
output. You can set a time limit after which the execution resumes (or fails) without a call.
Durability
Waits are stored in the database, not in memory:
- The resume time or resume token is persisted before the execution is released.
- A timer service wakes executions when their time comes. In HA mode one leader process runs the timers, elected with a Postgres advisory lock; if it stops, another process takes over.
- Restarts, upgrades and failovers do not lose waiting executions. An execution whose resume time passed while Tappet was down resumes shortly after startup.
Checkpoints
By default every production execution is checkpointed after each node: the node’s output (item counts and references to stored data) is persisted before its successors are scheduled.
| Policy | Persists | Use when |
|---|---|---|
every_node (default) | After every completed node | You want resumable executions and full run data. |
wait_only | At Wait nodes and at the end | Very high throughput workloads where a crash may re-run whole executions. |
Set the instance default with TAPPET_CHECKPOINT.
Crash recovery
Each running execution is held by a worker under a lease that the worker renews while it runs.
If the process dies (crash, kill -9, node failure), the lease expires and another worker (or the
same one after restart) reclaims the execution:
- The execution resumes from its last checkpoint.
- Nodes that had completed are not run again; their stored output is reused.
- The node that was running when the process died runs again.
This is an at-least-once per node guarantee. In the worst case a node with side effects runs twice. To make that harmless:
- Connectors for APIs that support idempotency keys (Stripe, for example) send a key derived from the execution ID, node name, run index and item index, so the vendor discards the duplicate.
- For your own APIs, pass
{{ $execution.id }}and{{ $runIndex }}in a header or field and deduplicate on the receiving side. - Write to databases with upserts rather than plain inserts where possible.
The lease duration is set with TAPPET_LEASE_TTL (default 60 s): shorter leases recover faster,
longer leases tolerate longer pauses (for example stop-the-world snapshots of a VM).
Webhook ingest and backpressure
Production webhooks in “respond immediately” mode are durable before they are acknowledged:
- The request body is streamed to the blob store when it is larger than 64 KB.
- An execution is enqueued in the database.
- Only then does the caller get its response.
If the process dies after step 3, the execution still runs. If the queue is deeper than
TAPPET_QUEUE_MAX_DEPTH (default 100,000) or the spill budget is exhausted, Tappet answers
503 Service Unavailable with a Retry-After header instead of accepting work it cannot hold.
Most webhook senders retry on 503.
Webhooks that respond with the workflow’s result (“when last node finishes” or a Respond to
Webhook node) hold the connection until the result is ready, up to
TAPPET_SYNC_WEBHOOK_TIMEOUT (default 300 s).
Graceful shutdown
On SIGTERM, Tappet stops accepting new work, lets running executions finish or checkpoint, and
releases their leases, within TAPPET_SHUTDOWN_TIMEOUT. Container orchestrators should allow at
least that long before sending SIGKILL (the Helm chart sets terminationGracePeriodSeconds
accordingly).
Node reference
This section documents every built-in node type Tappet ships: core nodes, protocol nodes and AI nodes, with their parameters, credentials, ports and import coverage. Declarative connectors have their own connector reference.
The per-node pages are generated from the node registry (built exactly as tappet serve builds
it), the connector catalog and the mapping files by cargo run -p tappet-docgen, so they match
the binary they were built from. The node type mapping is the hand-maintained
contract that lists every node kind, including the ones still being implemented.
How to read a node page
Each page has the same sections:
| Section | Contents |
|---|---|
| Summary | Display name, type ID (for example core.if), current version, group, trigger kind, capability class |
| Ports | Inputs and outputs, including AI sub-node inputs and their limits |
| Credentials | Accepted credential kinds, for example slack/oauth2 or http.bearer |
| Parameters | Name, type, default, whether required, when it is shown, description |
| Actions | Connectors only: resources and operations, with their own parameters and cassette test counts |
| Lookups | Connectors only: dropdowns and resource locators backed by API calls |
| Triggers | Trigger nodes: poll or webhook behavior, deduplication, signature verification |
| Import | Exported source node types and version ranges that import to this node, and whether each range is verified by parity fixtures |
| Provenance | Connectors only: the vendor documentation the connector was written from |
| Authentication | Connectors only: each credential method, its fields (secret ones marked) and whether it has a test request |
Capability exec marks nodes that need the exec capability. An import range
is “verified” when every mapping rule in it carries evidence from a recorded parity fixture;
“unverified” ranges import with a parameter warning (see
Migrating from n8n).
Index
Trigger
| Node | Type | Version | Import |
|---|---|---|---|
| Chat Trigger | ai.chat_trigger | 1.1 | unverified 1 |
| Cron (legacy) | core.cron | 1 | unverified 1 |
| Email Trigger (IMAP) | proto.imap_trigger | 2 | unverified 1, 2 |
| Error Trigger | core.error_trigger | 1 | unverified 1 |
| Form Trigger | core.form_trigger | 2.2 | unverified 1, >=2 <3 |
| Interval (legacy) | core.interval | 1 | unverified 1 |
| Manual Trigger | core.manual_trigger | 1 | unverified 1 |
| Postgres Trigger | proto.postgres_trigger | 1 | unverified 1 |
| Redis Trigger | proto.redis_trigger | 1 | unverified 1 |
| Schedule Trigger | core.schedule_trigger | 1.2 | unverified 1 |
| Webhook | core.webhook | 2.1 | unverified 1, >=2 <3 |
| When Called by Another Workflow | core.execute_workflow_trigger | 1.1 | unverified 1 |
Flow
| Node | Type | Version | Import |
|---|---|---|---|
| Execute Workflow | core.execute_workflow | 1.2 | unverified 1 |
| Filter | core.filter | 2.2 | unverified 1, >=2 <3 |
| If | core.if | 2.2 | unverified 1, >=2 <3 |
| Loop Over Items | core.split_in_batches | 3 | unverified 1, 2, 3 |
| Merge | core.merge | 3.2 | unverified 1, 2, >=3 <4 |
| No Operation | core.no_op | 1 | unverified 1 |
| Respond to Webhook | core.respond_to_webhook | 1.1 | unverified 1 |
| Stop and Error | core.stop_and_error | 1 | unverified 1 |
| Switch | core.switch | 3.2 | unverified 1, 2, >=3 <4 |
| Wait | core.wait | 1.1 | unverified 1 |
Transform
| Node | Type | Version | Import |
|---|---|---|---|
| Aggregate | core.aggregate | 1 | unverified 1 |
| Code | core.code | 2 | unverified 1, 2 |
| Compare Datasets | core.compare_datasets | 2.3 | unverified 1, >=2 <3 |
| Convert to File | core.convert_to_file | 1.1 | unverified 1 |
| Crypto | core.crypto | 2 | unverified 1 |
| Date & Time | core.date_time | 2 | unverified 1, 2 |
| Edit Fields | core.set | 3.4 | unverified 1, 2, >=3 <4 |
| Extract from File | core.extract_from_file | 1 | unverified 1 |
| Function (legacy) | core.function | 1 | unverified 1 |
| Function Item (legacy) | core.function_item | 1 | unverified 1 |
| HTML | core.html | 1.2 | unverified 1 |
| Item Lists (legacy) | core.item_lists | 3.1 | unverified 1, 2, >=3 <4 |
| Limit | core.limit | 1 | unverified 1 |
| Markdown | core.markdown | 1 | unverified 1 |
| Remove Duplicates | core.remove_duplicates | 2 | unverified 1, 2 |
| Rename Keys | core.rename_keys | 1 | unverified 1 |
| Sort | core.sort | 1 | unverified 1 |
| Split Out | core.split_out | 1 | unverified 1 |
| Spreadsheet File (legacy) | core.spreadsheet_file | 2 | unverified 1, 2 |
| Summarize | core.summarize | 1 | unverified 1 |
| XML | core.xml | 1 | unverified 1 |
Action
| Node | Type | Version | Import |
|---|---|---|---|
| ClickHouse | proto.clickhouse | 1 | none |
| FTP / SFTP | proto.ftp | 1 | unverified 1 |
| HTTP Request | core.http_request | 4.2 | unverified 1, 2, 3, >=4 <5 |
| MySQL | proto.mysql | 2.6 | unverified 1, >=2 <3 |
| Postgres | proto.postgres | 2.6 | unverified 1, >=2 <3 |
| Redis | proto.redis | 1 | unverified 1 |
| S3 | proto.s3 | 2 | unverified 1, 2 |
| SSH | proto.ssh | 1 | unverified 1 |
| Send Email (SMTP) | proto.smtp_send | 2.1 | unverified 1, >=2 <3 |
AI
| Node | Type | Version | Import |
|---|---|---|---|
| AI Agent | ai.agent | 2 | unverified 1, >=2 <3 |
| Basic LLM Chain | ai.chain_llm | 1.7 | unverified 1 |
| In-Memory Vector Store | ai.vector_store_memory | 1.3 | unverified 1 |
| Information Extractor | ai.information_extractor | 1.2 | unverified 1 |
| Postgres PGVector Store | ai.vector_store_pgvector | 1 | unverified 1 |
| Qdrant Vector Store | ai.vector_store_qdrant | 1.3 | unverified 1 |
| Question and Answer Chain | ai.chain_retrieval_qa | 1.5 | unverified 1 |
| Sentiment Analysis | ai.sentiment_analysis | 1.1 | unverified 1 |
| Summarization Chain | ai.chain_summarization | 2 | unverified 1, >=2 <3 |
| Text Classifier | ai.text_classifier | 1.1 | unverified 1 |
AI sub-node
| Node | Type | Version | Import |
|---|---|---|---|
| Anthropic Chat Model | ai.lm_chat_anthropic | 1 | unverified 1 |
| Auto-fixing Output Parser | ai.output_parser_autofixing | 1 | unverified 1 |
| Calculator | ai.tool_calculator | 1 | unverified 1 |
| Character Text Splitter | ai.text_splitter_character | 1 | unverified 1 |
| Code Tool | ai.tool_code | 1.1 | unverified 1 |
| DeepSeek Chat Model | ai.lm_chat_deepseek | 1 | unverified 1 |
| Default Data Loader | ai.document_default_loader | 1 | unverified 1 |
| Google Gemini Chat Model | ai.lm_chat_gemini | 1 | unverified 1 |
| Google Gemini Embeddings | ai.embeddings_gemini | 1 | unverified 1 |
| Groq Chat Model | ai.lm_chat_groq | 1 | unverified 1 |
| HTTP Request Tool | ai.tool_http_request | 1.1 | unverified 1 |
| Item List Output Parser | ai.output_parser_item_list | 1 | unverified 1 |
| MCP Client Tool | ai.mcp_client_tool | 1 | unverified 1 |
| Mistral Chat Model | ai.lm_chat_mistral | 1 | unverified 1 |
| Mistral Embeddings | ai.embeddings_mistral | 1 | unverified 1 |
| Ollama Chat Model | ai.lm_chat_ollama | 1 | unverified 1 |
| Ollama Embeddings | ai.embeddings_ollama | 1 | unverified 1 |
| OpenAI Chat Model | ai.lm_chat_openai | 1 | unverified 1 |
| OpenAI Embeddings | ai.embeddings_openai | 1 | unverified 1 |
| OpenAI-Compatible Chat Model | ai.lm_chat_openai_compatible | 1 | none |
| OpenAI-Compatible Embeddings | ai.embeddings_openai_compatible | 1 | none |
| OpenRouter Chat Model | ai.lm_chat_openrouter | 1 | unverified 1 |
| Postgres Chat Memory | ai.memory_postgres | 1.3 | unverified 1 |
| Recursive Character Text Splitter | ai.text_splitter_recursive | 1 | unverified 1 |
| Redis Chat Memory | ai.memory_redis | 1.4 | unverified 1 |
| Structured Output Parser | ai.output_parser_structured | 1.3 | unverified 1 |
| Think | ai.tool_think | 1 | unverified 1 |
| Token Text Splitter | ai.text_splitter_token | 1 | unverified 1 |
| Vector Store Question Answer Tool | ai.tool_vector_store | 1 | unverified 1 |
| Vector Store Retriever | ai.retriever_vector_store | 1 | unverified 1 |
| Window Buffer Memory | ai.memory_buffer_window | 1.3 | unverified 1 |
| Workflow Tool | ai.tool_workflow | 2 | unverified 1, >=2 <3 |
Chat Trigger
ai.chat_trigger · version 1.1 · Trigger · chat trigger
Starts the workflow when a chat message arrives.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_memory | 1 | ||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpBasicAuth | http.basic |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
public | boolean | false | Make Chat Publicly Available. | ||
mode | options | "hostedChat" | public = true | One of hostedChat, webhook. | |
authentication | options | "none" | One of none, basicAuth. | ||
initialMessages | string | Initial Messages. Messages shown when the chat page opens, one per line. | |||
options | collection | ||||
options.allowedOrigins | string | "*" | Allowed Origins (CORS). Comma-separated origins, or * for any. | ||
options.title | string | "Chat" | Page Title. | ||
options.subtitle | string | ||||
options.inputPlaceholder | string | "Type your message..." | Input Placeholder. | ||
options.loadPreviousSession | options | "notSupported" | Load Previous Session. One of notSupported, memory. | ||
options.responseMode | options | "lastNode" | Response Mode. One of lastNode, responseNode. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.chatTrigger | 1 | unverified |
Cron (legacy)
core.cron · version 1 · Trigger · schedule trigger
Starts the workflow at fixed times; superseded by Schedule Trigger.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
triggerTimes | fixed_collection | Trigger times. | |||
triggerTimes.item | collection | ||||
triggerTimes.item.mode | options | "everyDay" | One of everyMinute, everyHour, everyDay, everyWeek, everyMonth, everyX, custom. | ||
triggerTimes.item.hour | number | 14 | |||
triggerTimes.item.minute | number | 0 | |||
triggerTimes.item.dayOfMonth | number | 1 | Day of month. | ||
triggerTimes.item.weekday | options | "1" | One of 1, 2, 3, 4, 5, 6, 0. | ||
triggerTimes.item.value | number | 2 | |||
triggerTimes.item.unit | options | "hours" | One of minutes, hours. | ||
triggerTimes.item.cronExpression | string | "* * * * * *" | Cron expression. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.cron | 1 | unverified |
Email Trigger (IMAP)
proto.imap_trigger · version 2 · Trigger · poll trigger
Start a workflow for each new email in an IMAP mailbox.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
imap | proto.imap | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mailbox | string | "INBOX" | |||
postProcessAction | options | "read" | After Reading. One of read, nothing. | ||
format | options | "simple" | Output Format. One of simple, resolved, raw. | ||
downloadAttachments | boolean | false | format = simple | Download Attachments. | |
dataPropertyAttachmentsPrefixName | string | "attachment_" | format = simple, resolved | Attachment Field Prefix. | |
options | collection | ||||
options.customEmailConfig | json | "[\"UNSEEN\"]" | Search Rules. JSON list of IMAP search rules, for example [“UNSEEN”, [“SINCE”, “2024-05-01”]]. | ||
options.allowUnauthorizedCerts | boolean | false | Accept Invalid Certificates. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.emailReadImap | 1 | unverified | |
n8n-nodes-base.emailReadImap | 2 | unverified |
Error Trigger
core.error_trigger · version 1 · Trigger · error trigger
Starts this workflow when another workflow that names it as error workflow fails.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
This node has no parameters.
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.errorTrigger | 1 | unverified |
Form Trigger
core.form_trigger · version 2.2 · Trigger · webhook trigger
Serves a web form and starts the workflow with each submission.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpBasicAuth | http.basic |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
formTitle | string | "" | yes | Form title. Shown at the top of the page. | |
formDescription | string | "" | Form description. | ||
formFields | fixed_collection | Fields. | |||
formFields.values | collection | Field. | |||
formFields.values.fieldLabel | string | "" | Label. Also the key of the value in the output. | ||
formFields.values.fieldType | options | "text" | Type. One of text, textarea, number, email, password, date, dropdown, checkbox, radio, file, hiddenField, html. | ||
formFields.values.requiredField | boolean | false | Required. | ||
formFields.values.placeholder | string | "" | |||
formFields.values.fieldOptions | fixed_collection | Choices. | |||
formFields.values.multiselect | boolean | false | Allow several choices. | ||
formFields.values.multipleFiles | boolean | true | Allow several files. | ||
formFields.values.acceptFileTypes | string | "" | Accepted file types. For example .pdf,.png. | ||
formFields.values.fieldName | string | "" | Field name. Output key of a hidden value. | ||
formFields.values.fieldValue | string | "" | Value. Default of a hidden value. | ||
authentication | options | "none" | One of none, basicAuth. | ||
responseMode | options | "onReceived" | Respond. One of onReceived, lastNode, responseNode. | ||
options | collection | {} | |||
options.path | string | "" | URL path after /form/. | ||
options.buttonLabel | string | "Submit" | Button label. | ||
options.respondWithOptions | fixed_collection | After submission. | |||
options.ignoreBots | boolean | false | Ignore bots. | ||
options.useWorkflowTimezone | boolean | false | Use workflow timezone. Timestamp submissions in the workflow timezone instead of UTC. | ||
options.customCss | string | "" | Custom CSS. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.formTrigger | 1 | unverified | |
n8n-nodes-base.formTrigger | >=2 <3 | unverified |
Interval (legacy)
core.interval · version 1 · Trigger · schedule trigger
Starts the workflow repeatedly at a fixed interval after activation.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
interval | number | 1 | Time between runs. | ||
unit | options | "seconds" | One of seconds, minutes, hours. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.interval | 1 | unverified |
Manual Trigger
core.manual_trigger · version 1 · Trigger · manual trigger
Starts the workflow when you run it by hand.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
This node has no parameters.
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.manualTrigger | 1 | unverified | |
n8n-nodes-base.start | 1 | unverified |
Postgres Trigger
proto.postgres_trigger · version 1 · Trigger · listener trigger
Start a workflow when rows change or a notification arrives in PostgreSQL.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
postgres | proto.postgres | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
triggerMode | options | "createTrigger" | Listen For. One of createTrigger, listenTrigger. | ||
schema | resource_locator | {"__rl":true,"mode":"list","value":"public"} | triggerMode = createTrigger | Values from lookup postgres.schemas. | |
tableName | resource_locator | yes | triggerMode = createTrigger | Table. Values from lookup postgres.tables. | |
firesOn | options | "INSERT" | triggerMode = createTrigger | Event. One of INSERT, UPDATE, DELETE. | |
channelName | string | yes | triggerMode = listenTrigger | Channel. | |
additionalFields | collection | triggerMode = createTrigger | Advanced. | ||
additionalFields.channelName | string | Channel Name. | |||
additionalFields.functionName | string | Function Name. | |||
additionalFields.triggerName | string | Trigger Name. | |||
additionalFields.replaceIfExists | boolean | false | Replace an Existing Trigger. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.postgresTrigger | 1 | unverified |
Redis Trigger
proto.redis_trigger · version 1 · Trigger · listener trigger
Start a workflow for each message published to Redis channels.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
redis | proto.redis | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channels | string | yes | Comma-separated channel names; glob patterns such as news.* are allowed. | ||
options | collection | ||||
options.jsonParseBody | boolean | false | Parse JSON Messages. | ||
options.onlyMessage | boolean | false | Message Only. Emit only the message instead of channel and message. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.redisTrigger | 1 | unverified |
Schedule Trigger
core.schedule_trigger · version 1.2 · Trigger · schedule trigger
Starts the workflow on a recurring schedule.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
rule | fixed_collection | Rules. One or more recurring rules; the workflow runs whenever any rule fires. | |||
rule.interval | collection | ||||
rule.interval.field | options | "days" | Trigger interval. How often the workflow runs. One of seconds, minutes, hours, days, weeks, months, cronExpression. | ||
rule.interval.secondsInterval | number | 30 | field = seconds | Seconds between runs. | |
rule.interval.minutesInterval | number | 5 | field = minutes | Minutes between runs. | |
rule.interval.hoursInterval | number | 1 | field = hours | Hours between runs. | |
rule.interval.daysInterval | number | 1 | field = days | Days between runs. | |
rule.interval.weeksInterval | number | 1 | field = weeks | Weeks between runs. | |
rule.interval.monthsInterval | number | 1 | field = months | Months between runs. | |
rule.interval.triggerAtDayOfMonth | number | 1 | field = months | Day of month. | |
rule.interval.triggerAtDay | multi_options | [0] | field = weeks | Weekdays. One of 1, 2, 3, 4, 5, 6, 0. | |
rule.interval.triggerAtHour | number | 0 | field = days, weeks, months | Hour. Hour of the day (0-23). | |
rule.interval.triggerAtMinute | number | 0 | field = hours, days, weeks, months | Minute. Minute of the hour (0-59). | |
rule.interval.expression | string | "" | field = cronExpression | Cron expression. Five or six fields; the optional first field is seconds. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.scheduleTrigger | 1 | unverified |
Webhook
core.webhook · version 2.1 · Trigger · webhook trigger
Starts the workflow when an HTTP request arrives.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpBasicAuth | http.basic | |
httpHeaderAuth | http.header | |
jwtAuth | http.jwt |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
multipleMethods | boolean | false | Accept several methods. | ||
httpMethod | options | "GET" | HTTP method. Method the webhook listens for. One of GET, POST, PUT, PATCH, DELETE, HEAD. | ||
path | string | "" | URL path after /webhook/; segments starting with ‘:’ become parameters. | ||
authentication | options | "none" | One of none, basicAuth, headerAuth, jwtAuth. | ||
responseMode | options | "onReceived" | Respond. When and how the caller gets a reply. One of onReceived, lastNode, responseNode. | ||
responseCode | number | 200 | Response code. | ||
responseData | options | "firstEntryJson" | responseMode = lastNode | Response data. One of allEntries, firstEntryJson, firstEntryBinary, noData. | |
responseBinaryPropertyName | string | "data" | responseData = firstEntryBinary | Binary property to return. | |
options | collection | {} | |||
options.binaryPropertyName | string | "data" | Binary property. Where uploaded files are stored; several files get an index suffix. | ||
options.rawBody | boolean | false | Keep raw body. Also store the unparsed body as binary data. | ||
options.ignoreBots | boolean | false | Ignore bots. Drop requests from crawlers and link previews. | ||
options.allowedOrigins | string | "*" | Allowed origins (CORS). Comma separated list, or * for any. | ||
options.ipWhitelist | string | "" | Allowed IP addresses. Comma separated IPs or CIDR ranges; empty allows all. | ||
options.noResponseBody | boolean | false | No response body. | ||
options.responseData | string | "" | Custom response body. Body sent when responding immediately. | ||
options.responseContentType | string | "" | Response content type. | ||
options.responsePropertyName | string | "" | Property to return. Return only this property of the first item. | ||
options.responseHeaders | fixed_collection | Response headers. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.webhook | 1 | unverified | |
n8n-nodes-base.webhook | >=2 <3 | unverified |
When Called by Another Workflow
core.execute_workflow_trigger · version 1.1 · Trigger · sub-workflow trigger
Starts the workflow when another workflow runs it.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
inputSource | options | "passthrough" | Input data. How the caller’s data is accepted. One of workflowInputs, jsonExample, passthrough. | ||
workflowInputs | fixed_collection | inputSource = workflowInputs | Fields. | ||
workflowInputs.values | collection | Field. | |||
workflowInputs.values.name | string | "" | |||
workflowInputs.values.type | options | "any" | One of any, string, number, boolean, array, object. | ||
jsonExample | json | "{}" | inputSource = jsonExample | JSON example. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.executeWorkflowTrigger | 1 | unverified |
Execute Workflow
core.execute_workflow · version 1.2 · Flow
Run another workflow with these items and continue with its result.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
source | options | "database" | Workflow source. One of database, parameter, localFile, url. | ||
workflowId | resource_locator | yes | source = database | Workflow. Values from lookup workflows. | |
workflowJson | json | source = parameter | Workflow JSON. | ||
workflowPath | string | source = localFile | File path. Requires exec-class nodes to be enabled. | ||
workflowUrl | string | source = url | URL. | ||
workflowInputs | resource_mapper | Inputs. | |||
mode | options | "once" | One of once, each. | ||
options | collection | ||||
options.waitForSubWorkflow | boolean | true | Wait for the workflow to finish. When off, the items continue immediately and the workflow runs in the background. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.executeWorkflow | 1 | unverified |
Filter
core.filter · version 2.2 · Flow
Keep only the items that satisfy the conditions.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main | Kept |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
conditions | filter | Items that satisfy these checks are kept. | |||
looseTypeValidation | boolean | false | Convert types where required. | ||
options | collection | ||||
options.ignoreCase | boolean | false | Ignore case. | ||
options.discardedOutput | boolean | false | Output discarded items. Add a second output that receives the items that did not match. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.filter | 1 | unverified | |
n8n-nodes-base.filter | >=2 <3 | unverified |
If
core.if · version 2.2 · Flow
Send each item down the true or the false branch depending on conditions.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main | true | ||
| output 1 | main | false |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
conditions | filter | Checks applied to every item. | |||
looseTypeValidation | boolean | false | Convert types where required. Convert values to the operator’s type instead of failing on a mismatch. | ||
options | collection | ||||
options.ignoreCase | boolean | false | Ignore case. Compare text without regard to letter case. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.if | 1 | unverified | |
n8n-nodes-base.if | >=2 <3 | unverified |
Loop Over Items
core.split_in_batches · version 3 · Flow
Process the input items in batches, one batch per pass through a loop.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main | done | ||
| output 1 | main | loop |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
batchSize | number | 1 | Batch size. How many items each pass through the loop receives. | ||
options | collection | ||||
options.reset | boolean | false | Treat the incoming items as a new set and start over. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.splitInBatches | 1 | unverified | |
n8n-nodes-base.splitInBatches | 2 | unverified | |
n8n-nodes-base.splitInBatches | 3 | unverified |
Merge
core.merge · version 3.2 · Flow
Join the items arriving on several inputs into one list.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | Input 1 | ||
| input 1 | main | Input 2 | ||
| output 0 | main |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "append" | One of append, combine, combineBySql, chooseBranch. | ||
numberInputs | number | 2 | Number of inputs. | ||
combineBy | options | "combineByFields" | mode = combine | Combine by. One of combineByFields, combineByPosition, combineAll. | |
fieldsToMatchString | string | advanced = false; combineBy = combineByFields | Fields to match. Comma-separated field names present in both inputs. | ||
advanced | boolean | false | combineBy = combineByFields | Fields have different names. | |
mergeByFields | fixed_collection | advanced = true; combineBy = combineByFields | Field pairs. | ||
mergeByFields.values | fixed_collection | Pair. | |||
mergeByFields.values.field1 | string | Input 1 field. | |||
mergeByFields.values.field2 | string | Input 2 field. | |||
joinMode | options | "keepMatches" | combineBy = combineByFields | Output. One of keepMatches, keepNonMatches, keepEverything, enrichInput1, enrichInput2. | |
outputDataFrom | options | "both" | joinMode = keepMatches, keepNonMatches | Take data from. One of both, input1, input2. | |
output | options | "specifiedInput" | mode = chooseBranch | One of specifiedInput, empty. | |
useDataOfInput | number | 1 | mode = chooseBranch; output = specifiedInput | Input to pass through. | |
options | collection | ||||
options.clashHandling | fixed_collection | When fields clash. | |||
options.clashHandling.values | collection | Rule. | |||
options.clashHandling.values.resolveClash | options | "preferLast" | Keep the value from. One of preferLast, preferInput1, preferInput2, addSuffix. | ||
options.clashHandling.values.mergeMode | options | "deepMerge" | Nested fields. One of deepMerge, shallowMerge. | ||
options.clashHandling.values.overrideEmpty | boolean | false | Keep non-empty values. Do not let an empty value from the preferred input replace a filled one. | ||
options.fuzzyCompare | boolean | false | Fuzzy compare. Treat values as equal when their text forms match (e.g. 3 and “3”). | ||
options.disableDotNotation | boolean | false | Literal field names. Do not treat dots in field names as nested paths. | ||
options.includeUnpaired | boolean | false | Keep unpaired items. | ||
options.multipleMatches | options | "all" | Multiple matches. One of all, first. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.merge | 1 | unverified | |
n8n-nodes-base.merge | 2 | unverified | |
n8n-nodes-base.merge | >=3 <4 | unverified |
No Operation
core.no_op · version 1 · Flow
Pass items through unchanged; useful as a visual junction.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
This node has no parameters.
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.noOp | 1 | unverified |
Respond to Webhook
core.respond_to_webhook · version 1.1 · Flow
Sends the reply to the request that started the workflow.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
jwtAuth | http.jwt |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
respondWith | options | "firstIncomingItem" | Respond with. What the caller receives. One of allIncomingItems, binary, firstIncomingItem, json, jwt, noData, redirect, text. | ||
redirectURL | string | "" | respondWith = redirect | Redirect URL. | |
responseBody | json | "" | respondWith = json, text | Response body. | |
payload | json | "{}" | respondWith = jwt | Token payload. | |
responseDataSource | options | "automatically" | respondWith = binary | Binary source. One of automatically, set. | |
inputFieldName | string | "data" | responseDataSource = set | Binary property. | |
options | collection | {} | |||
options.responseCode | number | 200 | Response code. | ||
options.responseHeaders | fixed_collection | Response headers. | |||
options.responseKey | string | "" | Wrap in key. Put the returned data under this key. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.respondToWebhook | 1 | unverified |
Stop and Error
core.stop_and_error · version 1 · Flow
Fail the execution with a custom message or error object.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
errorType | options | "errorMessage" | Error type. One of errorMessage, errorObject. | ||
message | string | errorType = errorMessage | Text of the error raised. | ||
errorObject | json | errorType = errorObject | Error object. JSON object describing the error; ‘message’ and ‘description’ are used when present. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.stopAndError | 1 | unverified |
Switch
core.switch · version 3.2 · Flow
Send each item to the output whose rule it matches.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main | 0 |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "rules" | One of rules, expression. | ||
rules | fixed_collection | mode = rules | Routing rules. | ||
rules.values | fixed_collection | Rule. | |||
rules.values.conditions | filter | ||||
rules.values.renameOutput | boolean | false | Name the output. | ||
rules.values.outputKey | string | renameOutput = true | Output name. | ||
numberOutputs | number | 4 | mode = expression | Number of outputs. | |
output | number | mode = expression | Output index. Expression that returns the zero-based output for the item. | ||
looseTypeValidation | boolean | false | Convert types where required. | ||
options | collection | ||||
options.fallbackOutput | options | "none" | Unmatched items. Or the index of an existing output. One of none, extra. | ||
options.renameFallbackOutput | string | Extra output name. | |||
options.ignoreCase | boolean | false | Ignore case. | ||
options.allMatchingOutputs | boolean | false | Send to every matching output. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.switch | 1 | unverified | |
n8n-nodes-base.switch | 2 | unverified | |
n8n-nodes-base.switch | >=3 <4 | unverified |
Wait
core.wait · version 1.1 · Flow
Pauses the execution for a time, until a moment, or until a webhook or form resumes it.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpBasicAuth | http.basic | |
httpHeaderAuth | http.header | |
jwtAuth | http.jwt |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
resume | options | "timeInterval" | What continues the execution. One of timeInterval, specificTime, webhook, form. | ||
amount | number | 1 | resume = timeInterval | ||
unit | options | "hours" | resume = timeInterval | One of seconds, minutes, hours, days. | |
dateTime | date_time | "" | resume = specificTime | Date and time. | |
httpMethod | options | "GET" | resume = webhook | HTTP method. One of GET, POST, PUT, PATCH, DELETE, HEAD. | |
authentication | options | "none" | resume = webhook, form | One of none, basicAuth, headerAuth, jwtAuth. | |
responseMode | options | "onReceived" | resume = webhook, form | Respond. One of onReceived, lastNode, responseNode. | |
responseCode | number | 200 | resume = webhook | Response code. | |
limitWaitTime | boolean | false | resume = webhook, form | Limit wait time. Continue anyway after a deadline. | |
limitType | options | "afterTimeInterval" | limitWaitTime = true | Limit type. One of afterTimeInterval, atSpecifiedTime. | |
resumeAmount | number | 1 | limitType = afterTimeInterval | Amount. | |
resumeUnit | options | "hours" | limitType = afterTimeInterval | Unit. One of seconds, minutes, hours, days. | |
maxDateTime | date_time | "" | limitType = atSpecifiedTime | Deadline. | |
options | collection | {} | |||
options.webhookSuffix | string | "" | Webhook suffix. Appended to the resume URL. | ||
options.binaryPropertyName | string | "data" | Binary property. | ||
options.rawBody | boolean | false | Keep raw body. | ||
options.ignoreBots | boolean | false | Ignore bots. | ||
options.ipWhitelist | string | "" | Allowed IP addresses. | ||
formTitle | string | "" | yes | resume = form | Form title. Shown at the top of the page. |
formDescription | string | "" | resume = form | Form description. | |
formFields | fixed_collection | resume = form | Fields. | ||
formFields.values | collection | Field. | |||
formFields.values.fieldLabel | string | "" | Label. Also the key of the value in the output. | ||
formFields.values.fieldType | options | "text" | Type. One of text, textarea, number, email, password, date, dropdown, checkbox, radio, file, hiddenField, html. | ||
formFields.values.requiredField | boolean | false | Required. | ||
formFields.values.placeholder | string | "" | |||
formFields.values.fieldOptions | fixed_collection | Choices. | |||
formFields.values.multiselect | boolean | false | Allow several choices. | ||
formFields.values.multipleFiles | boolean | true | Allow several files. | ||
formFields.values.acceptFileTypes | string | "" | Accepted file types. For example .pdf,.png. | ||
formFields.values.fieldName | string | "" | Field name. Output key of a hidden value. | ||
formFields.values.fieldValue | string | "" | Value. Default of a hidden value. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.wait | 1 | unverified |
Aggregate
core.aggregate · version 1 · Transform
Collect field values from all items into lists on a single item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
aggregate | options | "aggregateIndividualFields" | One of aggregateIndividualFields, aggregateAllItemData. | ||
fieldsToAggregate | fixed_collection | aggregate = aggregateIndividualFields | Fields. | ||
fieldsToAggregate.fieldToAggregate | string | yes | Input Field. | ||
fieldsToAggregate.renameField | boolean | false | Rename Output. | ||
fieldsToAggregate.outputFieldName | string | renameField = true | Output Field. | ||
destinationFieldName | string | "data" | aggregate = aggregateAllItemData | Put Items In Field. | |
include | options | "allFields" | aggregate = aggregateAllItemData | One of allFields, specifiedFields, allFieldsExcept. | |
fieldsToInclude | string | include = specifiedFields | Fields to Include. | ||
fieldsToExclude | string | include = allFieldsExcept | Fields to Exclude. | ||
options | collection | ||||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.mergeLists | boolean | false | Flatten Lists. When a value is itself a list, add its elements instead of the list. | ||
options.keepMissing | boolean | false | Keep Missing Values. Add null for items that lack the field. | ||
options.includeBinaries | boolean | false | Include Binaries. | ||
options.keepOnlyUnique | boolean | false | includeBinaries = true | Unique Binaries Only. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.aggregate | 1 | unverified |
Code
core.code · version 2 · Transform
Run custom JavaScript over items.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "runOnceForAllItems" | One of runOnceForAllItems, runOnceForEachItem. | ||
language | options | "javaScript" | One of javaScript, python. | ||
jsCode | code | "return $input.all();" | language = javaScript | JavaScript. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.code | 1 | unverified | |
n8n-nodes-base.code | 2 | unverified |
Compare Datasets
core.compare_datasets · version 2.3 · Transform
Match items from two inputs and route them by whether they differ.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | Input A | ||
| input 1 | main | Input B | ||
| output 0 | main | In A only | ||
| output 1 | main | Same | ||
| output 2 | main | Different | ||
| output 3 | main | In B only |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mergeByFields | fixed_collection | yes | Match On. | ||
mergeByFields.field1 | string | yes | Input A Field. | ||
mergeByFields.field2 | string | yes | Input B Field. | ||
resolve | options | "preferInput2" | For Different Items. One of preferInput1, preferInput2, mix, includeBoth. | ||
preferWhenMix | options | "input1" | resolve = mix | Base Version. One of input1, input2. | |
exceptWhenMix | string | resolve = mix | Take From The Other Input. Comma-separated fields copied from the other version. | ||
fuzzyCompare | boolean | false | Loose Type Comparison. Treat 1 and “1”, or null and an empty string, as equal. | ||
options | collection | ||||
options.skipFields | string | Fields to Ignore. Comma-separated fields left out of the comparison. | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.multipleMatches | options | "first" | Several Matches. One of first, all. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.compareDatasets | 1 | unverified | |
n8n-nodes-base.compareDatasets | >=2 <3 | unverified |
Convert to File
core.convert_to_file · version 1.1 · Transform
Turn items into a CSV, spreadsheet, JSON, text or calendar file.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "csv" | Convert to. One of csv, xlsx, ods, html, toJson, toText, toBinary, iCal. | ||
binaryPropertyName | string | "data" | Output binary property. | ||
mode | options | "once" | JSON mode. One of once, each. | ||
sourceProperty | string | "data" | Source field. | ||
options | collection | {} | |||
options.fileName | string | File name. | |||
options.headerRow | boolean | true | Header row. | ||
options.sheetName | string | "Sheet" | Sheet name. | ||
options.delimiter | string | "," | |||
options.encoding | string | "utf8" | |||
options.addBOM | boolean | false | Add byte order mark. | ||
options.format | boolean | false | Pretty-print JSON. | ||
options.mimeType | string | MIME type. | |||
options.dataIsBase64 | boolean | true | Source is Base64. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.convertToFile | 1 | unverified |
Crypto
core.crypto · version 2 · Transform
Hash, sign and generate values.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
action | options | "hash" | One of hash, hmac, sign, generate. | ||
type | options | "MD5" | action = hash, hmac | Algorithm. One of MD5, SHA1, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, SHA3-512. | |
binaryData | boolean | false | action = hash, hmac | Use binary data. | |
binaryPropertyName | string | "data" | Binary property. | ||
value | string | "" | |||
secret | string | "" | action = hmac | ||
algorithm | string | "RSA-SHA256" | action = sign | Signing algorithm. | |
privateKey | string | "" | action = sign | Private key (PEM). | |
encoding | options | "hex" | Output encoding. One of hex, base64. | ||
encodingType | options | "uuid" | action = generate | Generate. One of ascii, base64, hex, uuid. | |
stringLength | number | 32 | action = generate | Length. | |
dataPropertyName | string | "data" | Output field. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.crypto | 1 | unverified |
Date & Time
core.date_time · version 2 · Transform
Parse, format, shift, round and compare dates.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "getCurrentDate" | One of getCurrentDate, addToDate, subtractFromDate, formatDate, roundDate, getTimeBetweenDates, extractDate. | ||
includeTime | boolean | true | operation = getCurrentDate | Include current time. | |
magnitude | string | operation = addToDate, subtractFromDate | Date to change. | ||
timeUnit | options | "days" | operation = addToDate, subtractFromDate | Time unit. One of years, quarters, months, weeks, days, hours, minutes, seconds, milliseconds. | |
duration | number | 0 | operation = addToDate, subtractFromDate | Amount. | |
date | string | operation = formatDate, roundDate, extractDate | |||
format | string | "MM/dd/yyyy" | operation = formatDate | ||
customFormat | string | operation = formatDate | Custom format (Luxon tokens). | ||
mode | options | "roundDown" | operation = roundDate | One of roundDown, roundUp. | |
startDate | string | operation = getTimeBetweenDates | Start date. | ||
endDate | string | operation = getTimeBetweenDates | End date. | ||
units | multi_options | ["day"] | operation = getTimeBetweenDates | ||
part | string | "month" | operation = extractDate | ||
outputFieldName | string | Output field name. | |||
options | collection | {} | |||
options.includeInputFields | boolean | false | Keep input fields. | ||
options.timezone | string | ||||
options.fromFormat | string | Input format (Luxon tokens). | |||
options.isoString | boolean | false | Output as ISO duration. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.dateTime | 1 | unverified | |
n8n-nodes-base.dateTime | 2 | unverified |
Edit Fields
core.set · version 3.4 · Transform
Add, change or remove fields on every item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "manual" | One of manual, raw. | ||
assignments | fixed_collection | mode = manual | Fields to Set. Each entry writes one field; the value is converted to the chosen type. | ||
assignments.name | string | yes | |||
assignments.type | options | "string" | One of string, number, boolean, array, object. | ||
assignments.value | string | ||||
jsonOutput | json | "{}" | mode = raw | JSON. Object whose fields are written to each item. | |
includeOtherFields | boolean | false | Keep Other Fields. Keep the input fields that are not being set. | ||
include | options | "all" | includeOtherFields = true | Which Other Fields. One of all, selected, except. | |
includeFields | string | include = selected | Fields to Keep. Comma-separated field names. | ||
excludeFields | string | include = except | Fields to Drop. Comma-separated field names. | ||
options | collection | ||||
options.dotNotation | boolean | true | Use Dot Notation. Names like a.b create nested objects. | ||
options.ignoreConversionErrors | boolean | false | Ignore Type Errors. Keep the original value when it cannot be converted. | ||
options.stripBinary | boolean | true | Drop Binary Data. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.set | 1 | unverified | |
n8n-nodes-base.set | 2 | unverified | |
n8n-nodes-base.set | >=3 <4 | unverified |
Extract from File
core.extract_from_file · version 1 · Transform
Read rows, text or data out of a binary file.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "csv" | Extract from. One of csv, xlsx, xls, ods, html, fromJson, text, xml, pdf, fromIcs, binaryToPropery. | ||
binaryPropertyName | string | "data" | Input binary property. | ||
destinationKey | string | "data" | Output field. | ||
options | collection | {} | |||
options.delimiter | string | "," | |||
options.encoding | string | "utf8" | |||
options.fromLine | number | 0 | First line. | ||
options.maxRowCount | number | -1 | Max rows (-1 = all). | ||
options.headerRow | boolean | true | Header row. | ||
options.includeEmptyCells | boolean | false | Include empty cells. | ||
options.rawData | boolean | false | Raw cell values. | ||
options.readAsString | boolean | false | Read values as text. | ||
options.range | string | ||||
options.sheetName | string | Sheet name. | |||
options.joinPages | boolean | true | Join PDF pages. | ||
options.maxPages | number | 0 | Max PDF pages (0 = all). | ||
options.password | string | PDF password. | |||
options.keepSource | options | "json" | Keep source. One of json, binary, both. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.extractFromFile | 1 | unverified |
Function (legacy)
core.function · version 1 · Transform
Run legacy JavaScript over all items.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
functionCode | code | "return items;" | JavaScript. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.function | 1 | unverified |
Function Item (legacy)
core.function_item · version 1 · Transform
Run legacy JavaScript once per item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
functionCode | code | "return item;" | JavaScript. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.functionItem | 1 | unverified |
HTML
core.html · version 1.2 · Transform
Render templates, extract content and build tables.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "generateHtmlTemplate" | One of generateHtmlTemplate, extractHtmlContent, convertToHtmlTable. | ||
html | string | "" | operation = generateHtmlTemplate | HTML template. | |
sourceData | options | "json" | operation = extractHtmlContent | Source. One of json, binary. | |
dataPropertyName | string | "data" | Field holding the HTML. | ||
binaryPropertyName | string | "data" | Binary property. | ||
extractionValues | fixed_collection | operation = extractHtmlContent | Values to extract. | ||
options | collection | {} | |||
options.trimValues | boolean | true | Trim values. | ||
options.cleanUpText | boolean | true | Collapse whitespace in text. | ||
options.capitalize | boolean | false | Capitalize headers. | ||
options.caption | string | ||||
options.tableAttributes | string | Table attributes. | |||
options.headerAttributes | string | Header cell attributes. | |||
options.rowAttributes | string | Row attributes. | |||
options.cellAttributes | string | Cell attributes. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.html | 1 | unverified |
Item Lists (legacy)
core.item_lists · version 3.1 · Transform
Older all-in-one list node: split, aggregate, deduplicate, sort, limit or summarize.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "splitOutItems" | One of splitOutItems, aggregateItems, removeDuplicates, sort, limit, summarize. | ||
fieldToSplitOut | string | yes | operation = splitOutItems | Field to Split Out. List field to split; separate several with commas to split them side by side. | |
include | options | "noOtherFields" | operation = splitOutItems | One of noOtherFields, allOtherFields, selectedOtherFields. | |
fieldsToInclude | string | include = selectedOtherFields; operation = splitOutItems | Fields to Include. Comma-separated fields copied onto every new item. | ||
options | collection | operation = splitOutItems | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.destinationFieldName | string | Destination Field Name. Where each element is written; one name per split field. | |||
options.includeBinary | boolean | false | Include Binary. Copy the item’s binary data onto every new item. | ||
aggregate | options | "aggregateIndividualFields" | operation = aggregateItems | One of aggregateIndividualFields, aggregateAllItemData. | |
fieldsToAggregate | fixed_collection | aggregate = aggregateIndividualFields; operation = aggregateItems | Fields. | ||
fieldsToAggregate.fieldToAggregate | string | yes | Input Field. | ||
fieldsToAggregate.renameField | boolean | false | Rename Output. | ||
fieldsToAggregate.outputFieldName | string | renameField = true | Output Field. | ||
destinationFieldName | string | "data" | aggregate = aggregateAllItemData; operation = aggregateItems | Put Items In Field. | |
include | options | "allFields" | aggregate = aggregateAllItemData; operation = aggregateItems | One of allFields, specifiedFields, allFieldsExcept. | |
fieldsToInclude | string | include = specifiedFields; operation = aggregateItems | Fields to Include. | ||
fieldsToExclude | string | include = allFieldsExcept; operation = aggregateItems | Fields to Exclude. | ||
options | collection | operation = aggregateItems | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.mergeLists | boolean | false | Flatten Lists. When a value is itself a list, add its elements instead of the list. | ||
options.keepMissing | boolean | false | Keep Missing Values. Add null for items that lack the field. | ||
options.includeBinaries | boolean | false | Include Binaries. | ||
options.keepOnlyUnique | boolean | false | includeBinaries = true | Unique Binaries Only. | |
compare | options | "allFields" | operation = removeDuplicates | One of allFields, allFieldsExcept, selectedFields. | |
fieldsToExclude | string | compare = allFieldsExcept; operation = removeDuplicates | Fields to Ignore. | ||
fieldsToCompare | string | compare = selectedFields; operation = removeDuplicates | Fields to Compare. | ||
options | collection | operation = removeDuplicates | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.removeOtherFields | boolean | false | compare = selectedFields | Keep Only Compared Fields. | |
type | options | "simple" | operation = sort | One of simple, random, code. | |
sortFieldsUi | fixed_collection | operation = sort; type = simple | Sort Fields. | ||
sortFieldsUi.fieldName | string | yes | Field. | ||
sortFieldsUi.order | options | "ascending" | One of ascending, descending. | ||
code | code | operation = sort; type = code | Comparison Code. JavaScript body comparing items a and b; return a negative number to put a first. | ||
options | collection | operation = sort | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
maxItems | number | 1 | operation = limit | Max Items. Items beyond this count are dropped. | |
keep | options | "firstItems" | operation = limit | One of firstItems, lastItems. | |
fieldsToSummarize | fixed_collection | operation = summarize | Summaries. | ||
fieldsToSummarize.aggregation | options | "count" | Function. One of count, countUnique, sum, average, min, max, concatenate, append. | ||
fieldsToSummarize.field | string | yes | |||
fieldsToSummarize.includeEmpty | boolean | false | Include Empty Values. | ||
fieldsToSummarize.separateBy | options | "," | aggregation = concatenate | Separator. One of ,, , , , ``, , other. | |
fieldsToSummarize.customSeparator | string | separateBy = other | Custom Separator. | ||
fieldsToSplitBy | string | operation = summarize | Group By. Comma-separated fields; one result per distinct combination. | ||
options | collection | operation = summarize | |||
options.continueIfFieldNotFound | boolean | false | Ignore Missing Fields. | ||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.outputFormat | options | "separateItems" | Output. One of separateItems, singleItem. | ||
options.skipEmptySplitFields | boolean | false | Skip Empty Group Values. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.itemLists | 1 | unverified | |
n8n-nodes-base.itemLists | 2 | unverified | |
n8n-nodes-base.itemLists | >=3 <4 | unverified |
Limit
core.limit · version 1 · Transform
Pass on at most a given number of items.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
maxItems | number | 1 | Max Items. Items beyond this count are dropped. | ||
keep | options | "firstItems" | One of firstItems, lastItems. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.limit | 1 | unverified |
Markdown
core.markdown · version 1 · Transform
Convert between Markdown and HTML.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "htmlToMarkdown" | One of markdownToHtml, htmlToMarkdown. | ||
markdown | string | "" | mode = markdownToHtml | ||
html | string | "" | mode = htmlToMarkdown | HTML. | |
destinationKey | string | "data" | Output field. | ||
options | collection | {} | |||
options.tables | boolean | false | |||
options.strikethrough | boolean | false | |||
options.tasklists | boolean | false | Task lists. | ||
options.noHeaderId | boolean | false | No heading ids. | ||
options.ghCompatibleHeaderId | boolean | false | GitHub-style heading ids. | ||
options.prefixHeaderId | string | "" | Heading id prefix. | ||
options.headerLevelStart | number | 1 | First heading level. | ||
options.openLinksInNewWindow | boolean | false | Open links in a new window. | ||
options.simpleLineBreaks | boolean | false | Line breaks as <br>. | ||
options.simplifiedAutoLink | boolean | false | Link bare URLs. | ||
options.completeHTMLDocument | boolean | false | Full HTML document. | ||
options.bulletMarker | string | "*" | Bullet marker. | ||
options.codeFence | string | "```" | Code fence. | ||
options.emDelimiter | string | "_" | Emphasis delimiter. | ||
options.strongDelimiter | string | "**" | Strong delimiter. | ||
options.ignore | string | "" | Elements to skip. | ||
options.keepDataImages | boolean | false | Keep data: images. | ||
options.maxConsecutiveNewlines | number | 3 | Max consecutive newlines. | ||
options.useInlineLinks | boolean | true | Inline links. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.markdown | 1 | unverified |
Remove Duplicates
core.remove_duplicates · version 2 · Transform
Drop items that repeat, in this input or across runs.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "removeDuplicateInputItems" | One of removeDuplicateInputItems, removeItemsSeenInPreviousExecutions, clearDeduplicationHistory. | ||
compare | options | "allFields" | One of allFields, allFieldsExcept, selectedFields. | ||
fieldsToExclude | string | compare = allFieldsExcept | Fields to Ignore. | ||
fieldsToCompare | string | compare = selectedFields | Fields to Compare. | ||
options | collection | ||||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.removeOtherFields | boolean | false | compare = selectedFields | Keep Only Compared Fields. | |
logic | options | "removeItemsWithAlreadySeenKeyValues" | operation = removeItemsSeenInPreviousExecutions | Keep Items When. One of removeItemsWithAlreadySeenKeyValues, removeItemsUpToStoredIncrementalKey, removeItemsUpToStoredDate. | |
dedupeValue | string | logic = removeItemsWithAlreadySeenKeyValues | Key. Usually an expression such as the record id. | ||
incrementalDedupeValue | number | logic = removeItemsUpToStoredIncrementalKey | Number. | ||
dateDedupeValue | datetime | logic = removeItemsUpToStoredDate | Date. | ||
mode | options | "cleanDatabase" | operation = clearDeduplicationHistory | Clear. One of cleanDatabase. | |
options | collection | operation = removeItemsSeenInPreviousExecutions | History Options. | ||
options.scope | options | "node" | Shared By. One of node, workflow. | ||
options.historySize | number | 10000 | History Size. How many keys to remember. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.removeDuplicates | 1 | unverified | |
n8n-nodes-base.removeDuplicates | 2 | unverified |
Rename Keys
core.rename_keys · version 1 · Transform
Rename fields on every item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
keys | fixed_collection | ||||
keys.currentKey | string | yes | Current Name. Field to rename; a.b addresses nested fields. | ||
keys.newKey | string | yes | New Name. | ||
additionalOptions | collection | Options. | |||
additionalOptions.regexReplacement | fixed_collection | Pattern Rename. | |||
additionalOptions.regexReplacement.searchRegex | string | Pattern. Regular expression matched against each key. | |||
additionalOptions.regexReplacement.replaceRegex | string | Replace With. Replacement; $1 inserts the first captured group. | |||
additionalOptions.regexReplacement.options | collection | ||||
additionalOptions.regexReplacement.options.caseInsensitive | boolean | false | Ignore Case. | ||
additionalOptions.regexReplacement.options.depth | number | -1 | -1 renames at every level, 0 only top-level keys. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.renameKeys | 1 | unverified |
Sort
core.sort · version 1 · Transform
Reorder items by field values, randomly, or with a custom comparison.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
type | options | "simple" | One of simple, random, code. | ||
sortFieldsUi | fixed_collection | type = simple | Sort Fields. | ||
sortFieldsUi.fieldName | string | yes | Field. | ||
sortFieldsUi.order | options | "ascending" | One of ascending, descending. | ||
code | code | type = code | Comparison Code. JavaScript body comparing items a and b; return a negative number to put a first. | ||
options | collection | ||||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.sort | 1 | unverified |
Split Out
core.split_out · version 1 · Transform
Turn a list inside each item into one item per element.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
fieldToSplitOut | string | yes | Field to Split Out. List field to split; separate several with commas to split them side by side. | ||
include | options | "noOtherFields" | One of noOtherFields, allOtherFields, selectedOtherFields. | ||
fieldsToInclude | string | include = selectedOtherFields | Fields to Include. Comma-separated fields copied onto every new item. | ||
options | collection | ||||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.destinationFieldName | string | Destination Field Name. Where each element is written; one name per split field. | |||
options.includeBinary | boolean | false | Include Binary. Copy the item’s binary data onto every new item. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.splitOut | 1 | unverified |
Spreadsheet File (legacy)
core.spreadsheet_file · version 2 · Transform
Read or write CSV and spreadsheet files.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "fromFile" | One of fromFile, toFile. | ||
fileFormat | options | "autodetect" | Format. One of autodetect, csv, html, ods, xls, xlsx. | ||
binaryPropertyName | string | "data" | Binary property. | ||
options | collection | {} | |||
options.fileName | string | File name. | |||
options.sheetName | string | "Sheet" | Sheet name. | ||
options.headerRow | boolean | true | Header row. | ||
options.includeEmptyCells | boolean | false | Include empty cells. | ||
options.rawData | boolean | false | Raw cell values. | ||
options.readAsString | boolean | false | Read values as text. | ||
options.range | string | ||||
options.delimiter | string | "," | CSV delimiter. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.spreadsheetFile | 1 | unverified | |
n8n-nodes-base.spreadsheetFile | 2 | unverified |
Summarize
core.summarize · version 1 · Transform
Count, total or collect field values, optionally grouped by other fields.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
fieldsToSummarize | fixed_collection | Summaries. | |||
fieldsToSummarize.aggregation | options | "count" | Function. One of count, countUnique, sum, average, min, max, concatenate, append. | ||
fieldsToSummarize.field | string | yes | |||
fieldsToSummarize.includeEmpty | boolean | false | Include Empty Values. | ||
fieldsToSummarize.separateBy | options | "," | aggregation = concatenate | Separator. One of ,, , , , ``, , other. | |
fieldsToSummarize.customSeparator | string | separateBy = other | Custom Separator. | ||
fieldsToSplitBy | string | Group By. Comma-separated fields; one result per distinct combination. | |||
options | collection | ||||
options.continueIfFieldNotFound | boolean | false | Ignore Missing Fields. | ||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.outputFormat | options | "separateItems" | Output. One of separateItems, singleItem. | ||
options.skipEmptySplitFields | boolean | false | Skip Empty Group Values. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.summarize | 1 | unverified |
XML
core.xml · version 1 · Transform
Convert between JSON and XML.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "jsonToxml" | One of jsonToxml, xmlToJson. | ||
dataPropertyName | string | "data" | Property. | ||
options | collection | {} | |||
options.attrkey | string | "$" | Attribute key. | ||
options.charkey | string | "_" | Text key. | ||
options.explicitArray | boolean | false | Always use arrays for children. | ||
options.explicitRoot | boolean | true | Keep root element. | ||
options.ignoreAttrs | boolean | false | Ignore attributes. | ||
options.mergeAttrs | boolean | true | Merge attributes into the element. | ||
options.normalize | boolean | false | Collapse whitespace. | ||
options.normalizeTags | boolean | false | Lowercase tag names. | ||
options.trim | boolean | false | Trim text. | ||
options.rootName | string | "root" | Root element name. | ||
options.headless | boolean | false | Omit XML declaration. | ||
options.cdata | boolean | false | Wrap special text in CDATA. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.xml | 1 | unverified |
ClickHouse
proto.clickhouse · version 1 · Action
Run queries against ClickHouse and insert rows over its HTTP interface.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
clickhouse | proto.clickhouse | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "executeQuery" | One of executeQuery, insert. | ||
query | code | yes | operation = executeQuery | SQL to run. Reference parameters as {name:Type}. | |
table | resource_locator | yes | operation = insert | ||
columns | fixed_collection | operation = insert | |||
columns.mappingMode | options | "autoMapInputData" | Mapping. One of autoMapInputData, defineBelow. | ||
columns.value | json | Values. | |||
options | collection | ||||
options.queryParameters | fixed_collection | Query Parameters. | |||
options.queryParameters.name | string | ||||
options.queryParameters.value | string | ||||
options.timeout | number | 300 | Timeout (Seconds). | ||
options.largeNumbersOutput | options | "text" | Large Numbers. One of text, numbers. |
Import
No exported node type imports to this node.
FTP / SFTP
proto.ftp · version 1 · Action
Transfer and manage files on FTP and SFTP servers.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
ftp | proto.ftp | |
sftp | proto.sftp |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
protocol | options | "ftp" | One of ftp, sftp. | ||
operation | options | "download" | One of download, upload, list, delete, rename. | ||
path | string | yes | operation = download, upload, list, delete | ||
recursive | boolean | false | operation = list | ||
binaryData | boolean | true | operation = upload | Upload Binary Data. | |
binaryPropertyName | string | "data" | operation = upload, download | Binary Field. | |
fileContent | string | operation = upload | Text Content. | ||
oldPath | string | yes | operation = rename | Current Path. | |
newPath | string | yes | operation = rename | New Path. | |
options | collection | ||||
options.folder | boolean | false | Is Folder. | ||
options.recursive | boolean | false | Delete Contents. | ||
options.createDirectories | boolean | false | Create Missing Folders. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.ftp | 1 | unverified |
HTTP Request
core.http_request · version 4.2 · Action
Call any HTTP API and use the response in the workflow.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpAuth | http.basic, http.bearer, http.header, http.query, http.custom, http.digest, http.oauth2, http.oauth1 |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
method | options | "GET" | HTTP method to use. One of GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. | ||
url | string | "" | yes | URL. Address to call, including the scheme. | |
authentication | options | "none" | How to authenticate the request. One of none, genericCredentialType, predefinedCredentialType. | ||
genericAuthType | options | authentication = genericCredentialType | Generic auth type. Kind of generic credential. One of httpBasicAuth, httpDigestAuth, httpHeaderAuth, httpQueryAuth, httpCustomAuth, httpBearerAuth, oAuth1Api, oAuth2Api. | ||
nodeCredentialType | string | authentication = predefinedCredentialType | Credential type. Integration credential type to reuse for this request. | ||
sendQuery | boolean | false | Send query parameters. Add query parameters to the URL. | ||
queryParameters | fixed_collection | sendQuery = true | Query parameters. Name/value pairs. | ||
queryParameters.parameters | collection | Parameter. One name/value pair. | |||
queryParameters.parameters.name | string | "" | Parameter name. | ||
queryParameters.parameters.value | string | "" | Parameter value. | ||
sendHeaders | boolean | false | Send headers. Add request headers. | ||
headerParameters | fixed_collection | sendHeaders = true | Headers. Name/value pairs. | ||
headerParameters.parameters | collection | Parameter. One name/value pair. | |||
headerParameters.parameters.name | string | "" | Parameter name. | ||
headerParameters.parameters.value | string | "" | Parameter value. | ||
sendBody | boolean | false | Send body. Send a request body. | ||
contentType | options | "json" | sendBody = true | Body content type. How the body is encoded. One of json, form-urlencoded, multipart-form-data, raw, binaryData. | |
specifyBody | options | "keypair" | sendBody = true | Specify body. Enter fields one by one or as JSON. One of keypair, json, string. | |
bodyParameters | fixed_collection | specifyBody = keypair | Body fields. Name/value pairs. | ||
bodyParameters.parameters | collection | Parameter. One name/value pair. | |||
bodyParameters.parameters.name | string | "" | Parameter name. | ||
bodyParameters.parameters.value | string | "" | Parameter value. | ||
jsonBody | json | "" | specifyBody = json | JSON body. Body as JSON. | |
rawContentType | string | "" | contentType = raw | Raw content type. Content-Type sent with a raw body. | |
body | string | "" | contentType = raw | Raw body text. | |
inputDataFieldName | binary_property | "data" | contentType = binaryData | Binary property. Binary property of the input item to send. | |
options | collection | Additional request options. | |||
options.timeout | number | 300000 | Timeout (ms). Abort the request after this many milliseconds. | ||
options.allowUnauthorizedCerts | boolean | false | Ignore TLS certificate errors. Accept invalid or self-signed certificates. | ||
options.proxy | string | "" | HTTP proxy URL, for example http://proxy:8080. | ||
options.queryParameterArrays | options | "brackets" | Array format in query. How array values are written in the query string. | ||
options.batching | fixed_collection | Send items in batches: batchSize items, then wait batchInterval ms. | |||
options.redirect | fixed_collection | Redirects. followRedirects and maxRedirects. | |||
options.response | fixed_collection | responseFormat (autodetect, json, text, file), fullResponse, neverError, outputPropertyName. | |||
options.pagination | fixed_collection | Repeat the request for further pages using $response and $pageCount. | |||
options.retry | collection | Retry (Tappet). maxRetries, initialDelayMs, maxDelayMs: retry 429/5xx responses, honouring Retry-After. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.httpRequest | 1 | unverified | |
n8n-nodes-base.httpRequest | 2 | unverified | |
n8n-nodes-base.httpRequest | 3 | unverified | |
n8n-nodes-base.httpRequest | >=4 <5 | unverified |
MySQL
proto.mysql · version 2.6 · Action
Query, insert, update and delete rows in a MySQL or MariaDB database.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
mySql | proto.mysql | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "insert" | One of executeQuery, insert, update, upsert, select, deleteTable. | ||
table | resource_locator | yes | operation = insert, update, upsert, select, deleteTable | Values from lookup mysql.tables. | |
query | code | yes | operation = executeQuery | SQL to run. Use $1, $2, … for values listed under Query Parameters. | |
columns | fixed_collection | operation = insert, update, upsert | How item fields map to table columns: map automatically by name, or set each column. Values from lookup mysql.columns. | ||
columns.mappingMode | options | "defineBelow" | Mapping. One of autoMapInputData, defineBelow. | ||
columns.value | json | Values. | |||
columns.matchingColumns | multi_options | Columns to Match On. Values from lookup mysql.columns. | |||
returnAll | boolean | false | operation = select | Return All Rows. | |
limit | number | 50 | operation = select | ||
deleteCommand | options | "truncate" | operation = deleteTable | Command. One of truncate, delete, drop. | |
where | fixed_collection | operation = select, deleteTable | Conditions. | ||
where.column | options | Values from lookup mysql.columns. | |||
where.condition | options | Operator. One of equal, !=, LIKE, >, <, >=, <=, IS NULL, IS NOT NULL. | |||
where.value | string | ||||
combineConditions | options | "AND" | operation = select, deleteTable | Combine Conditions. One of AND, OR. | |
sort | fixed_collection | operation = select | |||
sort.column | options | Values from lookup mysql.columns. | |||
sort.direction | options | One of ASC, DESC. | |||
options | collection | ||||
options.queryBatching | options | "single" | Query Batching. One of single, independently, transaction. | ||
options.queryReplacement | string | Query Parameters. Comma-separated values, or an expression returning an array, used for $1, $2, … | |||
options.outputColumns | multi_options | Output Columns. Values from lookup mysql.columns. | |||
options.connectionTimeout | number | 30 | Connection Timeout (Seconds). | ||
options.largeNumbersOutput | options | "text" | Large Numbers. One of text, numbers. | ||
options.replaceEmptyStrings | boolean | false | Write Empty Strings as NULL. | ||
options.skipOnConflict | boolean | false | Skip Rows That Conflict. | ||
options.treatQueryParametersInSingleQuotesAsText | boolean | false | Replace Parameters Inside Quotes. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.mySql | 1 | unverified | |
n8n-nodes-base.mySql | >=2 <3 | unverified |
Postgres
proto.postgres · version 2.6 · Action
Query, insert, update and delete rows in a PostgreSQL database.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
postgres | proto.postgres | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "insert" | One of executeQuery, insert, update, upsert, select, deleteTable. | ||
schema | resource_locator | {"__rl":true,"mode":"list","value":"public"} | operation = insert, update, upsert, select, deleteTable | Values from lookup postgres.schemas. | |
table | resource_locator | yes | operation = insert, update, upsert, select, deleteTable | Values from lookup postgres.tables. | |
query | code | yes | operation = executeQuery | SQL to run. Use $1, $2, … for values listed under Query Parameters. | |
columns | fixed_collection | operation = insert, update, upsert | How item fields map to table columns: map automatically by name, or set each column. Values from lookup postgres.columns. | ||
columns.mappingMode | options | "defineBelow" | Mapping. One of autoMapInputData, defineBelow. | ||
columns.value | json | Values. | |||
columns.matchingColumns | multi_options | Columns to Match On. Values from lookup postgres.columns. | |||
returnAll | boolean | false | operation = select | Return All Rows. | |
limit | number | 50 | operation = select | ||
deleteCommand | options | "truncate" | operation = deleteTable | Command. One of truncate, delete, drop. | |
where | fixed_collection | operation = select, deleteTable | Conditions. | ||
where.column | options | Values from lookup postgres.columns. | |||
where.condition | options | Operator. One of equal, !=, LIKE, >, <, >=, <=, IS NULL, IS NOT NULL. | |||
where.value | string | ||||
combineConditions | options | "AND" | operation = select, deleteTable | Combine Conditions. One of AND, OR. | |
sort | fixed_collection | operation = select | |||
sort.column | options | Values from lookup postgres.columns. | |||
sort.direction | options | One of ASC, DESC. | |||
options | collection | ||||
options.queryBatching | options | "single" | Query Batching. One of single, independently, transaction. | ||
options.queryReplacement | string | Query Parameters. Comma-separated values, or an expression returning an array, used for $1, $2, … | |||
options.outputColumns | multi_options | Output Columns. Values from lookup postgres.columns. | |||
options.connectionTimeout | number | 30 | Connection Timeout (Seconds). | ||
options.largeNumbersOutput | options | "text" | Large Numbers. One of text, numbers. | ||
options.replaceEmptyStrings | boolean | false | Write Empty Strings as NULL. | ||
options.skipOnConflict | boolean | false | Skip Rows That Conflict. | ||
options.treatQueryParametersInSingleQuotesAsText | boolean | false | Replace Parameters Inside Quotes. | ||
options.cascade | boolean | false |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.postgres | 1 | unverified | |
n8n-nodes-base.postgres | >=2 <3 | unverified |
Redis
proto.redis · version 1 · Action
Read, write and publish data in a Redis server.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
redis | proto.redis | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operation | options | "info" | One of delete, get, incr, info, keys, pop, publish, push, set. | ||
propertyName | string | "propertyName" | operation = get, pop | Output Field. Field of the output item that receives the value; dots create nested fields. | |
key | string | yes | operation = get, set, delete, incr | ||
keyType | options | "automatic" | operation = get, set | Key Type. One of automatic, hash, list, sets, string. | |
value | string | operation = set | |||
valueIsJSON | boolean | true | operation = set | Value Is JSON. Parse the value as JSON for hash, list and set keys. | |
expire | boolean | false | operation = set, incr | Set Expiry. | |
ttl | number | 60 | operation = set, incr | TTL (seconds). | |
keyPattern | string | yes | operation = keys | Key Pattern. Glob-style pattern such as user:*. | |
getValues | boolean | true | operation = keys | Include Values. | |
channel | string | yes | operation = publish | ||
list | string | yes | operation = push, pop | ||
messageData | string | operation = publish, push | Data. | ||
tail | boolean | false | operation = push, pop | From/To Tail. Use the end of the list instead of the start. | |
options | collection | ||||
options.dotNotation | boolean | true | Dot Notation. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.redis | 1 | unverified |
S3
proto.s3 · version 2 · Action
Manage buckets and objects on AWS S3 or any S3-compatible storage.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
s3 | proto.s3, proto.aws | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
resource | options | "file" | One of bucket, file, folder. | ||
operation | options | "download" | One of create, delete, getAll, search, upload, download, copy. | ||
name | string | yes | operation = create, delete; resource = bucket | Bucket Name. | |
bucketName | string | yes | operation = search, upload, download, delete, getAll, create; resource = file, folder, bucket | Bucket Name. | |
fileKey | string | yes | operation = download, delete; resource = file | File Key. | |
fileName | string | yes | operation = upload; resource = file | File Name. | |
binaryData | boolean | true | operation = upload | Upload Binary Data. | |
binaryPropertyName | string | "data" | operation = upload, download | Binary Field. Binary field of the item to upload, or to write the download to. | |
fileContent | string | operation = upload | Text Content. | ||
sourcePath | string | yes | operation = copy | Source Path. /bucket/key of the object to copy. | |
destinationPath | string | yes | operation = copy | Destination Path. /bucket/key of the new object. | |
folderName | string | yes | operation = create; resource = folder | Folder Name. | |
folderKey | string | yes | operation = delete; resource = folder | Folder Key. | |
returnAll | boolean | false | operation = getAll, search | Return All. | |
limit | number | 100 | operation = getAll, search | ||
tagsUi | fixed_collection | operation = upload | Tags. | ||
tagsUi.tagsValues | collection | Tag. | |||
tagsUi.tagsValues.key | string | ||||
tagsUi.tagsValues.value | string | ||||
additionalFields | collection | Additional Fields. | |||
additionalFields.acl | options | Access Control. One of private, publicRead, publicReadWrite, authenticatedRead, awsExecRead, bucketOwnerRead, bucketOwnerFullControl. | |||
additionalFields.parentFolderKey | string | Parent Folder Key. | |||
additionalFields.region | string | ||||
additionalFields.storageClass | options | Storage Class. One of standard, standardIA, onezoneIA, intelligentTiering, glacier, deepArchive, reducedRedundancy. | |||
additionalFields.serverSideEncryption | options | Server-Side Encryption. One of AES256, aws:kms. | |||
additionalFields.requesterPays | boolean | Requester Pays. | |||
additionalFields.prefix | string | ||||
additionalFields.delimiter | string | ||||
additionalFields.startAfter | string | Start After. | |||
additionalFields.fetchOwner | boolean | Fetch Owner. | |||
options | collection | ||||
options.folderKey | string | Folder Key. | |||
options.fetchOwner | boolean | Fetch Owner. | |||
options.versionId | string | Version ID. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.awsS3 | 1 | unverified | |
n8n-nodes-base.awsS3 | 2 | unverified | |
n8n-nodes-base.s3 | 1 | unverified |
SSH
proto.ssh · version 1 · Action · exec capability
Run commands and transfer files on a remote host over SSH.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
sshPassword | proto.ssh_password | |
sshPrivateKey | proto.ssh_private_key |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
authentication | options | "password" | One of password, privateKey. | ||
resource | options | "command" | One of command, file. | ||
operation | options | "execute" | One of execute, upload, download. | ||
command | string | yes | operation = execute | ||
cwd | string | "/" | operation = execute | Working Directory. | |
path | string | yes | resource = file | Remote Path. Target directory for uploads, file path for downloads. | |
binaryPropertyName | string | "data" | resource = file | Binary Field. | |
options | collection | ||||
options.fileName | string | File Name. Name of the uploaded file; defaults to the binary file name. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.ssh | 1 | unverified |
Send Email (SMTP)
proto.smtp_send · version 2.1 · Action
Send an email through any SMTP server.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
smtp | proto.smtp | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
fromEmail | string | yes | From. Sender address, optionally with a name: Jane <[email protected]>. | ||
toEmail | string | yes | To. Comma-separated recipient addresses. | ||
subject | string | ||||
emailFormat | options | "html" | Format. One of text, html, both. | ||
text | string | emailFormat = text, both | Text Body. | ||
html | string | emailFormat = html, both | HTML Body. | ||
options | collection | ||||
options.attachments | string | Comma-separated binary fields of the item to attach. | |||
options.ccEmail | string | CC. | |||
options.bccEmail | string | BCC. | |||
options.replyTo | string | Reply To. | |||
options.allowUnauthorizedCerts | boolean | false | Accept Invalid Certificates. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.emailSend | 1 | unverified | |
n8n-nodes-base.emailSend | >=2 <3 | unverified |
AI Agent
ai.agent · version 2 · AI
Answers a prompt with a chat model that can call connected tools in a loop.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 | |
| input 2 | ai_memory | 1 | ||
| input 3 | ai_tool | |||
| input 4 | ai_outputParser | 1 | ||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
promptType | options | "auto" | Prompt Source. One of auto, define. | ||
text | string | promptType = define | Prompt. | ||
hasOutputParser | boolean | false | Require Specific Output Format. | ||
options | collection | ||||
options.systemMessage | string | "You are a helpful assistant." | System Message. | ||
options.maxIterations | number | 10 | Max Iterations. Maximum number of model calls per item. | ||
options.returnIntermediateSteps | boolean | false | Return Intermediate Steps. | ||
options.passthroughBinaryImages | boolean | true | Send Binary Images. Attach image binaries of the input item to the prompt. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.agent | 1 | unverified | |
@n8n/n8n-nodes-langchain.agent | >=2 <3 | unverified |
Basic LLM Chain
ai.chain_llm · version 1.7 · AI
Sends a prompt to a chat model and returns its answer.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 | |
| input 2 | ai_outputParser | 1 | ||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
promptType | options | "auto" | Prompt Source. One of auto, define. | ||
text | string | promptType = define | Prompt. | ||
hasOutputParser | boolean | false | Require Specific Output Format. | ||
messages | fixed_collection | Chat Messages. | |||
messages.messageValues | collection | Message. | |||
messages.messageValues.type | options | "SystemMessagePromptTemplate" | Role. One of SystemMessagePromptTemplate, HumanMessagePromptTemplate, AIMessagePromptTemplate. | ||
messages.messageValues.messageType | options | "text" | Content Type. One of text, imageBinary, imageUrl. | ||
messages.messageValues.message | string | ||||
messages.messageValues.binaryImageDataKey | string | "data" | Binary Field. | ||
messages.messageValues.imageUrl | string | Image URL. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.chainLlm | 1 | unverified |
In-Memory Vector Store
ai.vector_store_memory · version 1.3 · AI
Keep document embeddings in this server’s memory; good for testing and small datasets.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_embedding | Embedding | yes | 1 |
| output 0 | ai_vectorStore |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "retrieve" | Operation Mode. One of insert, load, retrieve, retrieve-as-tool. | ||
toolName | string | mode = retrieve-as-tool | Tool Name. Name the agent sees for this tool. | ||
toolDescription | string | mode = retrieve-as-tool | Tool Description. Tell the agent what this knowledge base contains and when to search it. | ||
prompt | string | mode = load | Query. Text to search for. | ||
topK | number | 4 | mode = load, retrieve-as-tool | Limit. How many matching documents to return. | |
includeDocumentMetadata | boolean | true | mode = load, retrieve-as-tool | Include Metadata. | |
memoryKey | string | "vector_store_key" | Store Key. Nodes using the same key share the same documents (within a project). | ||
clearStore | boolean | false | mode = insert | Clear Store First. Remove existing documents under this key before inserting. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.vectorStoreInMemory | 1 | unverified |
Information Extractor
ai.information_extractor · version 1.2 · AI
Extracts structured fields from text.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 | |
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
text | string | yes | The text to extract information from. | ||
schemaType | options | "fromAttributes" | Schema Source. One of fromAttributes, fromJson, manual. | ||
attributes | fixed_collection | schemaType = fromAttributes | |||
attributes.attributes | collection | Attribute. | |||
attributes.attributes.name | string | ||||
attributes.attributes.type | options | "string" | One of string, number, boolean, date. | ||
attributes.attributes.description | string | ||||
attributes.attributes.required | boolean | false | |||
jsonSchemaExample | json | schemaType = fromJson | JSON Example. | ||
inputSchema | json | schemaType = manual | JSON Schema. | ||
options | collection | ||||
options.systemPromptTemplate | string | "You extract information from text. Fill in each requested attribute using only what the text states. If an attribute is not mentioned, leave it out, or use null when it is required. Do not invent values." | System Prompt. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.informationExtractor | 1 | unverified |
Postgres PGVector Store
ai.vector_store_pgvector · version 1 · AI
Not available: this build was compiled without the ‘pgvector’ feature.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_embedding | Embedding | yes | 1 |
| output 0 | ai_vectorStore |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
This node has no parameters.
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.vectorStorePGVector | 1 | unverified |
Qdrant Vector Store
ai.vector_store_qdrant · version 1.3 · AI
Store and search document embeddings in a Qdrant collection.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_embedding | Embedding | yes | 1 |
| output 0 | ai_vectorStore |
The number of ports depends on the parameters; the table shows the default set.
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
qdrantApi | qdrant/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mode | options | "retrieve" | Operation Mode. One of insert, load, retrieve, retrieve-as-tool. | ||
toolName | string | mode = retrieve-as-tool | Tool Name. Name the agent sees for this tool. | ||
toolDescription | string | mode = retrieve-as-tool | Tool Description. Tell the agent what this knowledge base contains and when to search it. | ||
prompt | string | mode = load | Query. Text to search for. | ||
topK | number | 4 | mode = load, retrieve-as-tool | Limit. How many matching documents to return. | |
includeDocumentMetadata | boolean | true | mode = load, retrieve-as-tool | Include Metadata. | |
qdrantCollection | resource_locator | yes | Collection. Collection to use; created with cosine distance on first insert if missing. | ||
options | collection | {} | |||
options.searchFilterJson | json | Search Filter. Qdrant filter object applied to searches, e.g. {“must”: […]}. | |||
options.collectionConfig | json | Collection Settings. Body used when the collection has to be created. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.vectorStoreQdrant | 1 | unverified |
Question and Answer Chain
ai.chain_retrieval_qa · version 1.5 · AI
Answers questions from documents found by a retriever.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 | |
| input 2 | ai_retriever | yes | 1 | |
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
promptType | options | "auto" | Prompt Source. One of auto, define. | ||
text | string | promptType = define | Question. | ||
options | collection | ||||
options.systemPromptTemplate | string | "Answer the user's question using only the context below. If the context does not contain the answer, say that you don't know instead of guessing.\n\nContext:\n{context}" | System Prompt. {context} is replaced with the retrieved documents. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.chainRetrievalQa | 1 | unverified |
Sentiment Analysis
ai.sentiment_analysis · version 1.1 · AI
Routes items by the sentiment of a text.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
inputText | string | yes | Text to Analyze. | ||
options | collection | ||||
options.categories | string | "Positive, Neutral, Negative" | Sentiment Categories. Comma-separated; each gets its own output. | ||
options.includeDetailedResults | boolean | false | Include Strength and Confidence. | ||
options.systemPromptTemplate | string | "Determine the sentiment the author expresses in the user's text." | System Prompt. | ||
options.enableAutoFixing | boolean | true | Retry Invalid Answers. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.sentimentAnalysis | 1 | unverified |
Summarization Chain
ai.chain_summarization · version 2 · AI
Summarizes text, splitting long inputs into chunks.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 | |
| input 2 | ai_document | 1 | ||
| input 3 | ai_textSplitter | 1 | ||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
operationMode | options | "nodeInputJson" | Data to Summarize. One of nodeInputJson, nodeInputBinary, documentLoader. | ||
chunkingMode | options | "simple" | Chunking. One of simple, advanced. | ||
chunkSize | number | 1000 | chunkingMode = simple | Chunk Size. | |
chunkOverlap | number | 200 | chunkingMode = simple | Chunk Overlap. | |
options | collection | ||||
options.summarizationMethodAndPrompts | fixed_collection | Method and Prompts. | |||
options.summarizationMethodAndPrompts.values | collection | ||||
options.summarizationMethodAndPrompts.values.summarizationMethod | options | "map_reduce" | Method. One of map_reduce, refine, stuff. | ||
options.summarizationMethodAndPrompts.values.prompt | string | "Write a concise summary of the text below, keeping its key facts and conclusions.\n\nText:\n{text}\n\nSummary:" | Summary Prompt. | ||
options.summarizationMethodAndPrompts.values.combineMapPrompt | string | "The texts below are summaries of consecutive parts of one document. Merge them into a single concise summary.\n\nSummaries:\n{text}\n\nSummary:" | Combine Prompt. | ||
options.summarizationMethodAndPrompts.values.refinePrompt | string | "You are improving an existing summary.\n\nCurrent summary:\n{existing_answer}\n\nMore of the original text:\n{text}\n\nUpdate the summary with any important new information from this text. If it adds nothing important, return the current summary unchanged.\n\nSummary:" | Refine Prompt. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.chainSummarization | 1 | unverified | |
@n8n/n8n-nodes-langchain.chainSummarization | >=2 <3 | unverified |
Text Classifier
ai.text_classifier · version 1.1 · AI
Sorts items into categories with a chat model.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| input 1 | ai_languageModel | yes | 1 |
The number of ports depends on the parameters; the table shows the default set.
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
inputText | string | yes | Text to Classify. | ||
categories | fixed_collection | ||||
categories.categories | collection | Category. | |||
categories.categories.category | string | Name. | |||
categories.categories.description | string | ||||
options | collection | ||||
options.allowMultipleClassesMatch | boolean | false | Allow Multiple Categories. | ||
options.fallback | options | "discard" | When Nothing Matches. One of discard, other. | ||
options.systemPromptTemplate | string | "Decide which of the categories below the user's text belongs to. Judge only by the text and the category descriptions." | System Prompt. | ||
options.enableAutoFixing | boolean | true | Retry Invalid Answers. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.textClassifier | 1 | unverified |
Anthropic Chat Model
ai.lm_chat_anthropic · version 1 · AI sub-node
Claude models through the Anthropic Messages API.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
anthropicApi | anthropic/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "claude-sonnet-4-6" | Identifier of the model to call, as listed by the provider. Values from lookup anthropic.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.topK | number | Top K. Only sample from this many most likely tokens. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatAnthropic | 1 | unverified |
Auto-fixing Output Parser
ai.output_parser_autofixing · version 1 · AI sub-node
Repairs model output that another parser rejects by asking a model to correct it.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_languageModel | yes | 1 | |
| input 1 | ai_outputParser | yes | 1 | |
| output 0 | ai_outputParser |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
options | collection | ||||
options.prompt | string | "The output below was supposed to follow these formatting instructions:\n---\n{instructions}\n---\n\nOutput that failed:\n---\n{completion}\n---\n\nProblem found:\n---\n{error}\n---\n\nRewrite the output so that it follows the instructions exactly. Reply with the corrected output only." | Repair Prompt. Use {instructions}, {completion} and {error} as placeholders. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.outputParserAutofixing | 1 | unverified |
Calculator
ai.tool_calculator · version 1 · AI sub-node
Lets the model evaluate arithmetic expressions.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
This node uses no credentials.
Parameters
This node has no parameters.
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolCalculator | 1 | unverified |
Character Text Splitter
ai.text_splitter_character · version 1 · AI sub-node
Split text on a fixed separator and pack the pieces into chunks.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_textSplitter |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
separator | string | "\n\n" | Text to split on; leave empty to split between every character. | ||
chunkSize | number | 1000 | Chunk Size. Largest chunk to produce, measured in the splitter’s unit. | ||
chunkOverlap | number | 0 | Chunk Overlap. How much of the end of one chunk is repeated at the start of the next. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter | 1 | unverified |
Code Tool
ai.tool_code · version 1.1 · AI sub-node
Lets the model run a JavaScript function you write.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | Tool Name. Name the model uses to call the tool. | |||
description | string | yes | Tells the model what the tool does and when to use it. | ||
language | options | "javaScript" | One of javaScript. | ||
jsCode | code | "// The model's input is in `query`.\nreturn String(query).toUpperCase();" | JavaScript. | ||
specifyInputSchema | boolean | false | Define Argument Schema. | ||
schemaType | options | "fromJson" | specifyInputSchema = true | Schema Source. One of fromJson, manual. | |
jsonSchemaExample | json | schemaType = fromJson; specifyInputSchema = true | JSON Example. | ||
inputSchema | json | schemaType = manual; specifyInputSchema = true | JSON Schema. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolCode | 1 | unverified |
DeepSeek Chat Model
ai.lm_chat_deepseek · version 1 · AI sub-node
DeepSeek chat and reasoning models.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
deepSeekApi | deepseek/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "deepseek-chat" | Identifier of the model to call, as listed by the provider. Values from lookup deepseek.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatDeepSeek | 1 | unverified |
Default Data Loader
ai.document_default_loader · version 1 · AI sub-node
Turn item JSON or binary files (text, CSV, JSON, PDF) into documents.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_textSplitter | Text Splitter | 1 | |
| output 0 | ai_document |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
dataType | options | "json" | Type of Data. One of json, binary. | ||
jsonMode | options | "allInputData" | dataType = json | Mode. One of allInputData, expressionData. | |
jsonData | string | jsonMode = expressionData | Data. Value to turn into a document, usually an expression. | ||
binaryMode | options | "allInputData" | dataType = binary | Mode. One of allInputData, specificField. | |
binaryDataKey | string | "data" | binaryMode = specificField | Binary Property. | |
loader | options | "auto" | dataType = binary | Data Format. One of auto, csvLoader, jsonLoader, pdfLoader, textLoader. | |
textSplittingMode | options | "simple" | Text Splitting. One of simple, custom. | ||
options | collection | {} | |||
options.metadata | fixed_collection | Extra metadata fields to attach to every document. | |||
options.splitPages | boolean | true | Split Pages. For PDF files, create one document per page. | ||
options.separator | string | "," | CSV Separator. | ||
options.column | string | CSV Column. Only use the values of this CSV column. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.documentDefaultDataLoader | 1 | unverified |
Google Gemini Chat Model
ai.lm_chat_gemini · version 1 · AI sub-node
Gemini models through the Google Generative Language API.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
googlePalmApi | google_gemini/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
modelName | string | "models/gemini-2.5-flash" | Model. Identifier of the model to call, as listed by the provider. Values from lookup gemini.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.topK | number | Top K. Only sample from this many most likely tokens. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatGoogleGemini | 1 | unverified |
Google Gemini Embeddings
ai.embeddings_gemini · version 1 · AI sub-node
Text embeddings from the Google Generative Language API.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_embedding |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
googlePalmApi | google_gemini/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
modelName | string | "models/gemini-embedding-001" | Model. Identifier of the model to call, as listed by the provider. Values from lookup gemini.models. | ||
options | collection | {} | Optional settings. | ||
options.dimensions | number | Shorten vectors to this many dimensions when the model supports it. | |||
options.batchSize | number | 512 | Batch Size. How many texts to send per request. | ||
options.stripNewLines | boolean | true | Strip New Lines. Replace line breaks with spaces before embedding. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini | 1 | unverified |
Groq Chat Model
ai.lm_chat_groq · version 1 · AI sub-node
Open-weight models served on Groq hardware.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
groqApi | groq/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "llama-3.3-70b-versatile" | Identifier of the model to call, as listed by the provider. Values from lookup groq.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatGroq | 1 | unverified |
HTTP Request Tool
ai.tool_http_request · version 1.1 · AI sub-node
Lets the model call an HTTP API.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpHeaderAuth | http.header | |
httpQueryAuth | http.query | |
httpBasicAuth | http.basic | |
httpBearerAuth | http.bearer |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
toolDescription | string | yes | Description. Tells the model what the API does and when to call it. | ||
method | options | "GET" | One of GET, POST, PUT, PATCH, DELETE, HEAD. | ||
url | string | yes | URL. Use {name} for values the model fills in. | ||
authentication | options | "none" | One of none, genericCredentialType. | ||
genericAuthType | options | authentication = genericCredentialType | Credential Type. One of httpHeaderAuth, httpQueryAuth, httpBasicAuth, httpBearerAuth. | ||
sendQuery | boolean | false | Send Query. | ||
specifyQuery | options | "keypair" | sendQuery = true | Query Format. One of keypair, json, model. | |
parametersQuery | fixed_collection | sendQuery = true; specifyQuery = keypair | Query Parameters. | ||
parametersQuery.values | collection | ||||
parametersQuery.values.name | string | ||||
parametersQuery.values.valueProvider | options | "modelRequired" | Value Source. One of modelRequired, modelOptional, fieldValue. | ||
parametersQuery.values.value | string | ||||
jsonQuery | json | sendQuery = true; specifyQuery = json | Query JSON. | ||
sendHeaders | boolean | false | Send Headers. | ||
specifyHeaders | options | "keypair" | sendHeaders = true | Headers Format. One of keypair, json, model. | |
parametersHeaders | fixed_collection | sendHeaders = true; specifyHeaders = keypair | Headers Parameters. | ||
parametersHeaders.values | collection | ||||
parametersHeaders.values.name | string | ||||
parametersHeaders.values.valueProvider | options | "modelRequired" | Value Source. One of modelRequired, modelOptional, fieldValue. | ||
parametersHeaders.values.value | string | ||||
jsonHeaders | json | sendHeaders = true; specifyHeaders = json | Headers JSON. | ||
sendBody | boolean | false | Send Body. | ||
specifyBody | options | "keypair" | sendBody = true | Body Format. One of keypair, json, model. | |
parametersBody | fixed_collection | sendBody = true; specifyBody = keypair | Body Parameters. | ||
parametersBody.values | collection | ||||
parametersBody.values.name | string | ||||
parametersBody.values.valueProvider | options | "modelRequired" | Value Source. One of modelRequired, modelOptional, fieldValue. | ||
parametersBody.values.value | string | ||||
jsonBody | json | sendBody = true; specifyBody = json | Body JSON. | ||
placeholderDefinitions | fixed_collection | Placeholder Definitions. | |||
placeholderDefinitions.values | collection | Placeholder. | |||
placeholderDefinitions.values.name | string | ||||
placeholderDefinitions.values.description | string | ||||
placeholderDefinitions.values.type | options | "string" | One of string, number, boolean, json. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolHttpRequest | 1 | unverified |
Item List Output Parser
ai.output_parser_item_list · version 1 · AI sub-node
Makes the model answer with a list of items.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_outputParser |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
options | collection | ||||
options.numberOfItems | number | -1 | Number of Items. Maximum number of items to return; -1 for no limit. | ||
options.separator | string | "\\n" | Text that separates the items. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.outputParserItemList | 1 | unverified |
MCP Client Tool
ai.mcp_client_tool · version 1 · AI sub-node
Give an agent the tools of a Model Context Protocol server.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
httpBearerAuth | http.bearer | |
httpHeaderAuth | http.header | |
mcpOAuth2Api | mcp/oauth2 |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
serverTransport | options | "httpStreamable" | Transport. One of httpStreamable, sse, stdio. | ||
endpointUrl | string | serverTransport = httpStreamable, sse | Endpoint. URL of the MCP server endpoint. | ||
command | string | serverTransport = stdio | Program that starts the MCP server; requires exec permission. | ||
args | string | serverTransport = stdio | Arguments. Arguments for the command, separated by spaces (quotes allowed). | ||
env | string | serverTransport = stdio | Environment. Extra environment variables for the process, one NAME=value per line. | ||
authentication | options | "none" | serverTransport = httpStreamable, sse | One of none, bearerAuth, headerAuth, mcpOAuth2Api. | |
include | options | "all" | Tools to Include. One of all, selected, except. | ||
includeTools | multi_options | include = selected | Tools to Include. | ||
excludeTools | multi_options | include = except | Tools to Exclude. | ||
options | collection | {} | |||
options.timeout | number | 60000 | Timeout (ms). How long to wait for each answer from the server. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.mcpClientTool | 1 | unverified |
Mistral Chat Model
ai.lm_chat_mistral · version 1 · AI sub-node
Chat models hosted by Mistral AI.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
mistralCloudApi | mistral/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "mistral-small-latest" | Identifier of the model to call, as listed by the provider. Values from lookup mistral.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.safeMode | boolean | false | Safe Mode. Prepend the provider’s safety prompt. | ||
options.randomSeed | number | Random Seed. Seed for reproducible sampling. | |||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatMistralCloud | 1 | unverified |
Mistral Embeddings
ai.embeddings_mistral · version 1 · AI sub-node
Text embeddings from Mistral AI.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_embedding |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
mistralCloudApi | mistral/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "mistral-embed" | Identifier of the model to call, as listed by the provider. Values from lookup mistral.models. | ||
options | collection | {} | Optional settings. | ||
options.dimensions | number | Shorten vectors to this many dimensions when the model supports it. | |||
options.batchSize | number | 512 | Batch Size. How many texts to send per request. | ||
options.stripNewLines | boolean | true | Strip New Lines. Replace line breaks with spaces before embedding. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.embeddingsMistralCloud | 1 | unverified |
Ollama Chat Model
ai.lm_chat_ollama · version 1 · AI sub-node
Local models served by an Ollama instance.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
ollamaApi | ollama/api |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "llama3.2" | Identifier of the model to call, as listed by the provider. Values from lookup ollama.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.topK | number | Top K. Only sample from this many most likely tokens. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.numCtx | number | Context Length. Context window size in tokens. | |||
options.keepAlive | string | Keep Alive. How long the model stays loaded after the request (for example 5m). | |||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatOllama | 1 | unverified |
Ollama Embeddings
ai.embeddings_ollama · version 1 · AI sub-node
Text embeddings from a local Ollama instance.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_embedding |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
ollamaApi | ollama/api |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "nomic-embed-text" | Identifier of the model to call, as listed by the provider. Values from lookup ollama.models. | ||
options | collection | {} | Optional settings. | ||
options.dimensions | number | Shorten vectors to this many dimensions when the model supports it. | |||
options.batchSize | number | 512 | Batch Size. How many texts to send per request. | ||
options.stripNewLines | boolean | true | Strip New Lines. Replace line breaks with spaces before embedding. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.embeddingsOllama | 1 | unverified |
OpenAI Chat Model
ai.lm_chat_openai · version 1 · AI sub-node
Chat completions from OpenAI models (Chat Completions or Responses API).
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
openAiApi | openai/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "gpt-4o-mini" | Identifier of the model to call, as listed by the provider. Values from lookup openai.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.reasoningEffort | string | Reasoning Effort. For reasoning models: how much effort to spend thinking (low, medium, high). | |||
options.responsesApiEnabled | boolean | false | Use Responses API. Call the Responses endpoint instead of Chat Completions. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatOpenAi | 1 | unverified |
OpenAI Embeddings
ai.embeddings_openai · version 1 · AI sub-node
Text embeddings from OpenAI.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_embedding |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
openAiApi | openai/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "text-embedding-3-small" | Identifier of the model to call, as listed by the provider. Values from lookup openai.models. | ||
options | collection | {} | Optional settings. | ||
options.dimensions | number | Shorten vectors to this many dimensions when the model supports it. | |||
options.batchSize | number | 512 | Batch Size. How many texts to send per request. | ||
options.stripNewLines | boolean | true | Strip New Lines. Replace line breaks with spaces before embedding. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.embeddingsOpenAi | 1 | unverified |
OpenAI-Compatible Chat Model
ai.lm_chat_openai_compatible · version 1 · AI sub-node
Any server that speaks the OpenAI Chat Completions protocol (vLLM, LM Studio, LocalAI, …).
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
openAiCompatibleApi | openai_compatible/api |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | yes | Identifier of the model to call, as listed by the provider. Values from lookup openai_compatible.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
No exported node type imports to this node.
OpenAI-Compatible Embeddings
ai.embeddings_openai_compatible · version 1 · AI sub-node
Embeddings from any server implementing the OpenAI /embeddings endpoint.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_embedding |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
openAiCompatibleApi | openai_compatible/api |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | yes | Identifier of the model to call, as listed by the provider. Values from lookup openai_compatible.models. | ||
options | collection | {} | Optional settings. | ||
options.dimensions | number | Shorten vectors to this many dimensions when the model supports it. | |||
options.batchSize | number | 512 | Batch Size. How many texts to send per request. | ||
options.stripNewLines | boolean | true | Strip New Lines. Replace line breaks with spaces before embedding. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
No exported node type imports to this node.
OpenRouter Chat Model
ai.lm_chat_openrouter · version 1 · AI sub-node
Any model available through the OpenRouter gateway.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_languageModel |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
openRouterApi | openrouter/api_key | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | "openai/gpt-4o-mini" | Identifier of the model to call, as listed by the provider. Values from lookup openrouter.models. | ||
options | collection | {} | Optional settings. | ||
options.temperature | number | Sampling Temperature. Higher values make answers more varied; lower values more deterministic. | |||
options.maxTokens | number | Maximum Tokens. Upper bound on the number of tokens the model may generate. | |||
options.topP | number | Top P. Nucleus sampling: only consider tokens within this cumulative probability. | |||
options.frequencyPenalty | number | Frequency Penalty. Discourage repeating the same tokens. | |||
options.presencePenalty | number | Presence Penalty. Encourage the model to introduce new topics. | |||
options.responseFormat | options | "text" | Response Format. Ask the model for free text or for a JSON object. One of text, json_object. | ||
options.baseURL | string | Base URL. Send requests to this API root instead of the provider default. | |||
options.timeout | number | 600000 | Timeout (ms). Give up on a single request after this many milliseconds. | ||
options.maxRetries | number | 2 | Max Retries. How many times to retry after rate limiting or a server error. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.lmChatOpenRouter | 1 | unverified |
Postgres Chat Memory
ai.memory_postgres · version 1.3 · AI sub-node
Stores chat history in a Postgres table.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_memory |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
postgres | proto.postgres, postgres | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
sessionIdType | options | "fromInput" | Session ID. One of fromInput, customKey. | ||
sessionKey | string | "={{ $json.sessionId }}" | sessionIdType = customKey | Session Key. | |
contextWindowLength | number | 5 | Context Window Length. How many past exchanges are given to the model. | ||
tableName | string | "n8n_chat_histories" | Table Name. Created automatically when it does not exist. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.memoryPostgresChat | 1 | unverified |
Recursive Character Text Splitter
ai.text_splitter_recursive · version 1 · AI sub-node
Split text on paragraphs, then lines, then words until chunks fit.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_textSplitter |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chunkSize | number | 1000 | Chunk Size. Largest chunk to produce, measured in the splitter’s unit. | ||
chunkOverlap | number | 0 | Chunk Overlap. How much of the end of one chunk is repeated at the start of the next. | ||
options | collection | {} | |||
options.splitCode | options | Split Code. Use separators that follow the structure of this language. 16 values, listed below. |
Values of options.splitCode
| Value | Label |
|---|---|
cpp | C++ |
go | Go |
java | Java |
js | JavaScript |
php | PHP |
proto | Protocol Buffers |
python | Python |
rst | reStructuredText |
ruby | Ruby |
rust | Rust |
scala | Scala |
swift | Swift |
markdown | Markdown |
latex | LaTeX |
html | HTML |
sol | Solidity |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter | 1 | unverified |
Redis Chat Memory
ai.memory_redis · version 1.4 · AI sub-node
Stores chat history in Redis.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_memory |
Credentials
| Slot | Accepted kinds | Required |
|---|---|---|
redis | proto.redis, redis | yes |
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
sessionIdType | options | "fromInput" | Session ID. One of fromInput, customKey. | ||
sessionKey | string | "={{ $json.sessionId }}" | sessionIdType = customKey | Session Key. | |
contextWindowLength | number | 5 | Context Window Length. How many past exchanges are given to the model. | ||
sessionTTL | number | 0 | Session Time To Live. Seconds until an idle session expires; 0 keeps it forever. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.memoryRedisChat | 1 | unverified |
Structured Output Parser
ai.output_parser_structured · version 1.3 · AI sub-node
Makes the model answer with JSON matching a schema.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_languageModel | 1 | ||
| output 0 | ai_outputParser |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
schemaType | options | "fromJson" | Schema Source. One of fromJson, manual. | ||
jsonSchemaExample | json | "{\n \"answer\": \"text\"\n}" | schemaType = fromJson | JSON Example. | |
inputSchema | json | schemaType = manual | JSON Schema. | ||
autoFix | boolean | false | Repair Invalid Output. Ask the connected model to repair output that does not match the schema. | ||
prompt | string | autoFix = true | Repair Prompt. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.outputParserStructured | 1 | unverified |
Think
ai.tool_think · version 1 · AI sub-node
Gives the model a scratchpad to reason before it acts.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
description | string | "Use this tool to think through a problem step by step before acting. It does not fetch information or change anything; it records your reasoning." |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolThink | 1 | unverified |
Token Text Splitter
ai.text_splitter_token · version 1 · AI sub-node
Split text into windows of model tokens (cl100k_base encoding).
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_textSplitter |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chunkSize | number | 1000 | Chunk Size. Largest chunk to produce, measured in the splitter’s unit. | ||
chunkOverlap | number | 0 | Chunk Overlap. How much of the end of one chunk is repeated at the start of the next. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter | 1 | unverified |
Vector Store Question Answer Tool
ai.tool_vector_store · version 1 · AI sub-node
Let an agent ask questions that are answered from documents in a vector store.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_vectorStore | Vector Store | yes | 1 |
| input 1 | ai_languageModel | Model | yes | 1 |
| output 0 | ai_tool |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | Data Name. Short name of the data, used as the tool name. | |||
description | string | Description of Data. Tell the agent what the documents contain and when to ask about them. | |||
topK | number | 4 | Limit. How many documents to consider per question. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolVectorStore | 1 | unverified |
Vector Store Retriever
ai.retriever_vector_store · version 1 · AI sub-node
Fetch the documents most similar to a query from a connected vector store.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | ai_vectorStore | Vector Store | yes | 1 |
| output 0 | ai_retriever |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
topK | number | 4 | Limit. How many documents to return per query. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.retrieverVectorStore | 1 | unverified |
Window Buffer Memory
ai.memory_buffer_window · version 1.3 · AI sub-node
Keeps recent chat history in process memory.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_memory |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
sessionIdType | options | "fromInput" | Session ID. One of fromInput, customKey. | ||
sessionKey | string | "={{ $json.sessionId }}" | sessionIdType = customKey | Session Key. | |
contextWindowLength | number | 5 | Context Window Length. How many past exchanges are given to the model. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.memoryBufferWindow | 1 | unverified |
Workflow Tool
ai.tool_workflow · version 2 · AI sub-node
Lets the model run another workflow.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| output 0 | ai_tool |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | Tool Name. | |||
description | string | yes | Tells the model what the workflow does and when to use it. | ||
source | options | "database" | One of database, parameter. | ||
workflowId | resource_locator | source = database | Workflow. | ||
workflowJson | json | source = parameter | Workflow JSON. | ||
workflowInputs | resource_mapper | Workflow Inputs. Values passed to the workflow; use $fromAI() for values the model decides. | |||
responsePropertyName | string | "response" | Field to Return. | ||
fields | fixed_collection | Extra Fields. | |||
fields.values | collection | Field. | |||
fields.values.name | string | ||||
fields.values.type | options | "stringValue" | One of stringValue, numberValue, booleanValue, arrayValue, objectValue. | ||
fields.values.stringValue | string | Value. | |||
specifyInputSchema | boolean | false | Define Argument Schema. | ||
schemaType | options | "fromJson" | specifyInputSchema = true | Schema Source. One of fromJson, manual. | |
jsonSchemaExample | json | schemaType = fromJson; specifyInputSchema = true | JSON Example. | ||
inputSchema | json | schemaType = manual; specifyInputSchema = true | JSON Schema. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
@n8n/n8n-nodes-langchain.toolWorkflow | 1 | unverified | |
@n8n/n8n-nodes-langchain.toolWorkflow | >=2 <3 | unverified |
Node type contract
Canonical mapping from n8n node types to Tappet node kinds. The importer (tappet-n8n),
node crates and connector authors MUST use exactly these kind strings.
Rules:
- Core, protocol and AI nodes accept the n8n parameter shape unchanged (identity parameter mapping)
and branch on
NodeDef.type_versioninternally. Their mapping files only declare target kind + version ranges. - SaaS integrations are declarative connectors: kind
connector.<id>(actions) andconnector.<id>_trigger(triggers). Their parameters are{resource, operation, ...connector params}; mapping files inmappings/n8n/translate n8n parameter names (SPEC §9.9). - Prefixes:
n8n-nodes-base.=base.,@n8n/n8n-nodes-langchain.=lc.below.
Core (crate tappet-nodes unless noted)
| n8n | tappet |
|---|---|
| base.manualTrigger | core.manual_trigger |
| base.webhook | core.webhook |
| base.respondToWebhook | core.respond_to_webhook |
| base.scheduleTrigger | core.schedule_trigger |
| base.cron | core.cron |
| base.interval | core.interval |
| base.executeWorkflowTrigger | core.execute_workflow_trigger |
| base.errorTrigger | core.error_trigger |
| base.formTrigger | core.form_trigger |
| base.wait | core.wait |
| base.if | core.if |
| base.switch | core.switch |
| base.merge | core.merge |
| base.filter | core.filter |
| base.splitInBatches | core.split_in_batches |
| base.noOp | core.no_op |
| base.stopAndError | core.stop_and_error |
| base.executeWorkflow | core.execute_workflow |
| base.set | core.set |
| base.renameKeys | core.rename_keys |
| base.splitOut | core.split_out |
| base.aggregate | core.aggregate |
| base.summarize | core.summarize |
| base.sort | core.sort |
| base.limit | core.limit |
| base.removeDuplicates | core.remove_duplicates |
| base.compareDatasets | core.compare_datasets |
| base.itemLists | core.item_lists |
| base.dateTime | core.date_time |
| base.crypto | core.crypto |
| base.xml | core.xml |
| base.html | core.html |
| base.markdown | core.markdown |
| base.convertToFile | core.convert_to_file |
| base.extractFromFile | core.extract_from_file |
| base.spreadsheetFile | core.spreadsheet_file |
| base.code | core.code |
| base.function | core.function |
| base.functionItem | core.function_item |
| base.stickyNote | core.sticky_note |
| base.executeCommand | core.execute_command (exec class) |
| base.readWriteFile | core.read_write_file (exec class) |
| base.httpRequest | core.http_request (crate tappet-http) |
Protocol (crate tappet-proto)
| n8n | tappet |
|---|---|
| base.postgres | proto.postgres |
| base.postgresTrigger | proto.postgres_trigger |
| base.mySql | proto.mysql |
| base.microsoftSql | proto.mssql |
| base.mongoDb | proto.mongodb |
| base.redis | proto.redis |
| base.redisTrigger | proto.redis_trigger |
| base.awsS3 / base.s3 | proto.s3 |
| base.emailSend | proto.smtp_send |
| base.emailReadImap | proto.imap_trigger |
| base.ftp | proto.ftp |
| base.ssh | proto.ssh (exec class) |
| base.kafka / base.kafkaTrigger | proto.kafka / proto.kafka_trigger |
| base.rabbitmq / base.rabbitmqTrigger | proto.rabbitmq / proto.rabbitmq_trigger |
| base.mqtt / base.mqttTrigger | proto.mqtt / proto.mqtt_trigger |
| (none) | proto.clickhouse |
AI (crate tappet-ai)
| n8n | tappet |
|---|---|
| lc.agent | ai.agent |
| lc.chainLlm | ai.chain_llm |
| lc.chainRetrievalQa | ai.chain_retrieval_qa |
| lc.chainSummarization | ai.chain_summarization |
| lc.informationExtractor | ai.information_extractor |
| lc.textClassifier | ai.text_classifier |
| lc.sentimentAnalysis | ai.sentiment_analysis |
| lc.chatTrigger | ai.chat_trigger |
| lc.mcpTrigger | ai.mcp_trigger |
| lc.lmChatOpenAi | ai.lm_chat_openai |
| lc.lmChatAnthropic | ai.lm_chat_anthropic |
| lc.lmChatGoogleGemini | ai.lm_chat_gemini |
| lc.lmChatMistralCloud | ai.lm_chat_mistral |
| lc.lmChatGroq | ai.lm_chat_groq |
| lc.lmChatOllama | ai.lm_chat_ollama |
| lc.lmChatOpenRouter | ai.lm_chat_openrouter |
| lc.lmChatDeepSeek | ai.lm_chat_deepseek |
| lc.embeddingsOpenAi | ai.embeddings_openai |
| lc.embeddingsGoogleGemini | ai.embeddings_gemini |
| lc.embeddingsMistralCloud | ai.embeddings_mistral |
| lc.embeddingsOllama | ai.embeddings_ollama |
| lc.memoryBufferWindow | ai.memory_buffer_window |
| lc.memoryPostgresChat | ai.memory_postgres |
| lc.memoryRedisChat | ai.memory_redis |
| lc.outputParserStructured | ai.output_parser_structured |
| lc.outputParserAutofixing | ai.output_parser_autofixing |
| lc.outputParserItemList | ai.output_parser_item_list |
| lc.toolWorkflow | ai.tool_workflow |
| lc.toolHttpRequest | ai.tool_http_request |
| lc.toolCode | ai.tool_code |
| lc.toolCalculator | ai.tool_calculator |
| lc.toolThink | ai.tool_think |
| lc.toolVectorStore | ai.tool_vector_store |
| lc.mcpClientTool | ai.mcp_client_tool |
| lc.vectorStoreQdrant | ai.vector_store_qdrant |
| lc.vectorStorePGVector | ai.vector_store_pgvector |
| lc.vectorStoreInMemory | ai.vector_store_memory |
| lc.retrieverVectorStore | ai.retriever_vector_store |
| lc.documentDefaultDataLoader | ai.document_default_loader |
| lc.textSplitterRecursiveCharacterTextSplitter | ai.text_splitter_recursive |
| lc.textSplitterCharacterTextSplitter | ai.text_splitter_character |
| lc.textSplitterTokenSplitter | ai.text_splitter_token |
Connectors (crate tappet-connect, files in connectors/)
base.<name> -> connector.<id>, base.<name>Trigger -> connector.<id>_trigger, mapping files
mappings/n8n/n8n-nodes-base.<name>.yaml. Connector ids are lowercase snake_case vendor names
(slack, google_sheets, microsoft_outlook, monday).
Connector test cassette format (connectors/<id>/tests/*.cassette.yaml)
name: send message to channel
operation: message.post # resource.operation, or lookup:<name>, or trigger:<name>
auth: bot_token # auth id from connector.yaml
credential: { token: "xoxb-test" }
params: { channel: "C123", text: "hello" }
input: [ { json: {} } ] # optional input items
exchanges: # in order; every request must match
- request:
method: POST
url: https://slack.com/api/chat.postMessage # exact, or url_prefix:
headers: { authorization: "Bearer xoxb-test" } # subset, case-insensitive names
body_json: { channel: "C123", text: "hello" } # or body_form / body_contains / body_multipart_fields
response:
status: 200
headers: { content-type: application/json }
body_json: { ok: true, message: { ts: "1.2", text: "hello" } }
expect:
output: [ { ts: "1.2", text: "hello" } ] # json of output items (port 0); or error: { contains: "..." }
Connector reference
Connectors are declarative YAML files compiled into the binary. Each one provides an action node connector.<id> and, when it defines triggers, a trigger node connector.<id>_trigger. To write your own, see Writing connectors.
This page and the pages under it are generated from the connector catalog by cargo run -p tappet-docgen; do not edit them by hand.
24 connectors, 434 operations, 36 triggers.
66 connectors in the repository did not load in the build this page was generated from and are not listed: activecampaign, acuity_scheduling, affinity, attio, aws_comprehend, aws_dynamodb, aws_lambda, aws_ses, aws_sns, aws_sqs, aws_textract, bamboohr, better_stack, bluesky, cal_com, chargebee, clockify, close, coda, confluence, contentful, copper, customer_io, datadog, docker_hub, eventbrite, facebook_pages, freshsales, front, ghost, google_forms, gotify, grafana, harvest, help_scout, instagram, jotform, kit, klaviyo, lemlist, lemon_squeezy, linkedin, mastodon, mautic, netlify, ntfy, opsgenie, paddle, paypal, quickbooks, reddit, rocketchat, sanity, smartsheet, statuspage, storyblok, strapi, tally, toggl, uptime_kuma, vercel, webex, x, xero, zoom, zulip.
| Connector | ID | Categories | Operations | Triggers | Import |
|---|---|---|---|---|---|
| AssemblyAI | assemblyai | ai | 13 | 2 | none |
| Cohere | cohere | ai | 8 | 0 | none |
| Deepgram | deepgram | ai | 11 | 2 | none |
| Discord | discord | communication | 36 | 1 | unverified 1, >=2 <3 |
| Gmail | gmail | communication, email | 29 | 1 | unverified >=2 <3, >=1 <2 |
| Google BigQuery | google_bigquery | data, database | 12 | 0 | unverified >=1 <2, >=2 <3 |
| Google Calendar | google_calendar | productivity, calendar | 16 | 5 | unverified >=1 <1.3, >=1.3 <2, >=1 <2 |
| Google Docs | google_docs | productivity, documents | 4 | 0 | unverified >=1 <3 |
| Google Drive | google_drive | storage, productivity | 19 | 3 | unverified >=3 <4, >=1 <2 |
| Google Sheets | google_sheets | productivity, data | 15 | 2 | unverified >=4 <5, >=1 <2 |
| Google Tasks | google_tasks | productivity, tasks | 13 | 2 | unverified >=1 <2 |
| HTTPBin Example | httpbin_example | developer_tools | 14 | 2 | none |
| Hacker News | hacker_news | news, social | 4 | 1 | none |
| Hugging Face | hugging_face | ai | 8 | 1 | none |
| Matrix | matrix | communication | 27 | 1 | unverified 1 |
| Mattermost | mattermost | communication | 40 | 2 | unverified 1 |
| Mistral AI | mistral | ai | 17 | 1 | unverified >=1 <2 |
| OpenWeatherMap | openweathermap | weather, data | 3 | 0 | none |
| Perplexity | perplexity | ai | 5 | 0 | unverified >=1 <2 |
| Pinecone | pinecone | ai, database | 16 | 0 | none |
| Replicate | replicate | ai | 24 | 2 | none |
| Slack | slack | communication | 47 | 4 | unverified 1, >=2 <3 |
| Telegram | telegram | communication | 30 | 2 | unverified >=1 <2 |
| YouTube | youtube | social, video | 23 | 2 | unverified >=1 <2 |
AssemblyAI
connector.assemblyai · connector.assemblyai_trigger · ai
Transcribe and analyze audio with AssemblyAI, and run LLM prompts over transcripts.
Vendor API documentation: https://www.assemblyai.com/docs/api-reference/overview
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | assemblyai/api_key | api_key | api_key (secret), region | yes |
Actions
Node type connector.assemblyai. Choose a resource and an operation; each operation has its own parameters.
Transcript
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Submit audio from a URL | transcript.create | writes | 3 | |
| Submit an audio file | transcript.create_from_file | writes | 1 | |
| Transcribe and wait | transcript.transcribe | writes | 2 | |
| Get a transcript | transcript.get | reads | 1 | |
| List transcripts | transcript.list | reads | yes | 1 |
| Delete a transcript | transcript.delete | writes | 1 | |
| Get sentences | transcript.get_sentences | reads | 1 | |
| Get paragraphs | transcript.get_paragraphs | reads | 1 | |
| Get subtitles | transcript.get_subtitles | reads | 1 | |
| Search words | transcript.word_search | reads | 1 | |
| Get redacted audio URL | transcript.get_redacted_audio | reads | 1 |
Submit audio from a URL
Operation transcript.create. Queues a transcription and returns at once with status queued. Use a webhook, the trigger, or Get to collect the result.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
audio_url | string | yes | Audio URL. | ||
options | collection | ||||
options.speech_models | string | Comma-separated, in order of preference (for example assemblyai-stt-3-7). | |||
options.language_code | string | ||||
options.language_detection | boolean | false | Detect language. | ||
options.speaker_labels | boolean | false | |||
options.speakers_expected | number | Expected speakers. | |||
options.multichannel | boolean | false | |||
options.punctuate | boolean | true | |||
options.format_text | boolean | true | |||
options.keyterms_prompt | string | Key terms. Comma-separated domain terms. | |||
options.prompt | string | Context prompt. Context for the speech model (assemblyai-stt-3-7 only). | |||
options.audio_start_from | number | Start at (ms). | |||
options.audio_end_at | number | End at (ms). | |||
options.sentiment_analysis | boolean | false | |||
options.entity_detection | boolean | false | |||
options.iab_categories | boolean | false | Topic detection. | ||
options.content_safety | boolean | false | Content moderation. | ||
options.auto_highlights | boolean | false | Key phrases. | ||
options.redact_pii | boolean | false | Redact PII. | ||
options.redact_pii_policies | multi_options | PII policies. 14 values, listed below. | |||
options.redact_pii_sub | options | PII substitution. One of entity_name, hash. | |||
options.redact_pii_audio | boolean | false | Create redacted audio. | ||
options.webhook_url | string | Webhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL). | |||
options.webhook_auth_header_name | string | "X-Webhook-Token" | Webhook auth header. | ||
options.webhook_auth_header_value | string | Webhook auth value. |
Values of options.redact_pii_policies
| Value | Label |
|---|---|
person_name | |
email_address | |
phone_number | |
location | |
date_of_birth | |
credit_card_number | |
credit_card_cvv | |
banking_information | |
us_social_security_number | |
medical_condition | |
organization | |
account_number | |
password | |
ip_address |
Submit an audio file
Operation transcript.create_from_file. Uploads a binary file to AssemblyAI storage, then queues its transcription.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. | |
options | collection | ||||
options.speech_models | string | Comma-separated, in order of preference (for example assemblyai-stt-3-7). | |||
options.language_code | string | ||||
options.language_detection | boolean | false | Detect language. | ||
options.speaker_labels | boolean | false | |||
options.speakers_expected | number | Expected speakers. | |||
options.multichannel | boolean | false | |||
options.punctuate | boolean | true | |||
options.format_text | boolean | true | |||
options.keyterms_prompt | string | Key terms. Comma-separated domain terms. | |||
options.prompt | string | Context prompt. Context for the speech model (assemblyai-stt-3-7 only). | |||
options.audio_start_from | number | Start at (ms). | |||
options.audio_end_at | number | End at (ms). | |||
options.sentiment_analysis | boolean | false | |||
options.entity_detection | boolean | false | |||
options.iab_categories | boolean | false | Topic detection. | ||
options.content_safety | boolean | false | Content moderation. | ||
options.auto_highlights | boolean | false | Key phrases. | ||
options.redact_pii | boolean | false | Redact PII. | ||
options.redact_pii_policies | multi_options | PII policies. 14 values, listed below. | |||
options.redact_pii_sub | options | PII substitution. One of entity_name, hash. | |||
options.redact_pii_audio | boolean | false | Create redacted audio. | ||
options.webhook_url | string | Webhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL). | |||
options.webhook_auth_header_name | string | "X-Webhook-Token" | Webhook auth header. | ||
options.webhook_auth_header_value | string | Webhook auth value. |
Values of options.redact_pii_policies
| Value | Label |
|---|---|
person_name | |
email_address | |
phone_number | |
location | |
date_of_birth | |
credit_card_number | |
credit_card_cvv | |
banking_information | |
us_social_security_number | |
medical_condition | |
organization | |
account_number | |
password | |
ip_address |
Transcribe and wait
Operation transcript.transcribe. Uploads (for files), submits and polls until the transcript is completed or fails, then returns it.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
source | options | "url" | Audio from. One of url, binary. | ||
audio_url | string | yes | source = url | Audio URL. | |
binary_property | binary_property | "data" | yes | source = binary | Input binary field. |
options | collection | ||||
options.speech_models | string | Comma-separated, in order of preference (for example assemblyai-stt-3-7). | |||
options.language_code | string | ||||
options.language_detection | boolean | false | Detect language. | ||
options.speaker_labels | boolean | false | |||
options.speakers_expected | number | Expected speakers. | |||
options.multichannel | boolean | false | |||
options.punctuate | boolean | true | |||
options.format_text | boolean | true | |||
options.keyterms_prompt | string | Key terms. Comma-separated domain terms. | |||
options.prompt | string | Context prompt. Context for the speech model (assemblyai-stt-3-7 only). | |||
options.audio_start_from | number | Start at (ms). | |||
options.audio_end_at | number | End at (ms). | |||
options.sentiment_analysis | boolean | false | |||
options.entity_detection | boolean | false | |||
options.iab_categories | boolean | false | Topic detection. | ||
options.content_safety | boolean | false | Content moderation. | ||
options.auto_highlights | boolean | false | Key phrases. | ||
options.redact_pii | boolean | false | Redact PII. | ||
options.redact_pii_policies | multi_options | PII policies. 14 values, listed below. | |||
options.redact_pii_sub | options | PII substitution. One of entity_name, hash. | |||
options.redact_pii_audio | boolean | false | Create redacted audio. | ||
options.webhook_url | string | Webhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL). | |||
options.webhook_auth_header_name | string | "X-Webhook-Token" | Webhook auth header. | ||
options.webhook_auth_header_value | string | Webhook auth value. | |||
poll_interval_seconds | number | 3 | Poll every (seconds). | ||
timeout_seconds | number | 1800 | Give up after (seconds). | ||
simplify | boolean | false | Simplify output. Return id, status, text, utterances, language and duration only. |
Values of options.redact_pii_policies
| Value | Label |
|---|---|
person_name | |
email_address | |
phone_number | |
location | |
date_of_birth | |
credit_card_number | |
credit_card_cvv | |
banking_information | |
us_social_security_number | |
medical_condition | |
organization | |
account_number | |
password | |
ip_address |
Get a transcript
Operation transcript.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. | ||
simplify | boolean | false | Simplify output. Return id, status, text, utterances, language and duration only. |
List transcripts
Operation transcript.list. Newest first; covers the last 30 days.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
status | options | One of queued, processing, completed, error. | |||
created_on | string | Created on (YYYY-MM-DD). |
Delete a transcript
Operation transcript.delete. Removes the transcript text and audio from AssemblyAI; the id remains with status deleted.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. |
Get sentences
Operation transcript.get_sentences.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. |
Get paragraphs
Operation transcript.get_paragraphs.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. |
Get subtitles
Operation transcript.get_subtitles.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. | ||
format | options | "srt" | One of srt, vtt. | ||
chars_per_caption | number | Characters per caption. |
Search words
Operation transcript.word_search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. | ||
words | string | yes | Comma-separated words or phrases. |
Get redacted audio URL
Operation transcript.get_redacted_audio.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
transcript_id | resource_locator | yes | Transcript. Values from lookup transcripts. |
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 1 |
Upload a file
Operation file.upload. Uploads audio to AssemblyAI storage and returns a private upload_url usable as audio_url.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. |
LLM Gateway
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Prompt a model | llm.chat | writes | 1 |
Prompt a model
Operation llm.chat. Chat completion through the LLM Gateway, optionally with a transcript’s text as context.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | string | yes | |||
transcript_id | resource_locator | Transcript as context. Its text is added as a system message before your messages. Values from lookup transcripts. | |||
messages | fixed_collection | yes | |||
messages.role | options | "user" | One of system, user, assistant. | ||
messages.content | string | yes | |||
max_tokens | number | 1000 | |||
temperature | number | ||||
simplify | boolean | true | Simplify output. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
transcripts | client-side | {{ item.audio_url }} |
Triggers
Node type connector.assemblyai_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On transcript webhook | transcript_webhook | webhook | token | manual | 0 | |
| On transcript finished | transcript_completed | poll | {{ item.id }} | 0 |
Trigger: On transcript webhook
Receives AssemblyAI’s completion notice ({transcript_id, status}). Use this trigger’s URL as the Webhook URL of a transcript, with auth header X-Webhook-Token and the same token value.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
token | string | yes | Webhook token. Must equal the Webhook auth value sent with the transcript. | ||
statuses | multi_options | ["completed","error"] | One of completed, error. |
Trigger: On transcript finished
Polls recent transcripts and emits each one once it completes (or fails).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
status | options | "completed" | One of completed, error. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://www.assemblyai.com/docs/api-reference/overview
- https://www.assemblyai.com/docs/api-reference/files/upload
- https://www.assemblyai.com/docs/api-reference/transcripts/submit
- https://www.assemblyai.com/docs/api-reference/transcripts/get
- https://www.assemblyai.com/docs/api-reference/transcripts/list
- https://www.assemblyai.com/docs/api-reference/transcripts/delete
- https://www.assemblyai.com/docs/api-reference/transcripts/get-sentences
- https://www.assemblyai.com/docs/api-reference/transcripts/get-paragraphs
- https://www.assemblyai.com/docs/api-reference/transcripts/get-subtitles
- https://www.assemblyai.com/docs/api-reference/transcripts/word-search
- https://www.assemblyai.com/docs/api-reference/transcripts/get-redacted-audio
- https://www.assemblyai.com/docs/deployment/webhooks
- https://www.assemblyai.com/docs/llm-gateway/overview
Cohere
connector.cohere · ai
Chat with Command models, create embeddings, rerank documents and classify text.
Vendor API documentation: https://docs.cohere.com/reference/about
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | cohere/api_key | bearer | token (secret) | yes |
Actions
Node type connector.cohere. Choose a resource and an operation; each operation has its own parameters.
Chat
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send chat messages | chat.complete | writes | 3 |
Send chat messages
Operation chat.complete. Generates a reply with a Command model, optionally grounded on documents with citations.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "command-a-03-2025" | yes | Values from lookup chat_models. | |
messages | fixed_collection | yes | |||
messages.role | options | "user" | One of system, user, assistant. | ||
messages.content | string | yes | |||
documents | json | Grounding documents. JSON array of strings or {id, data} objects the reply may cite. | |||
options | collection | ||||
options.temperature | number | ||||
options.max_tokens | number | ||||
options.p | number | Top P. | |||
options.k | number | Top K. | |||
options.seed | number | ||||
options.stop_sequences | string | Comma-separated (up to 5). | |||
options.frequency_penalty | number | ||||
options.presence_penalty | number | ||||
options.safety_mode | options | One of CONTEXTUAL, STRICT, OFF. | |||
options.citation_mode | options | One of FAST, ACCURATE, OFF. | |||
options.json_output | boolean | false | JSON output. | ||
options.json_schema | json | JSON schema. Schema the JSON output must follow (requires JSON output). | |||
options.thinking | options | Reasoning. One of enabled, disabled. | |||
options.thinking_budget | number | Reasoning token budget. | |||
simplify | boolean | true | Simplify output. Return reply text, citations and usage only. |
Embedding
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create embeddings | embedding.create | reads | 2 |
Create embeddings
Operation embedding.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "embed-v4.0" | yes | Values from lookup embed_models. | |
input_type | options | "search_document" | yes | One of search_document, search_query, classification, clustering. | |
input_mode | options | "single" | Input. One of single, batch. | ||
text | string | yes | input_mode = single | ||
texts | json | yes | input_mode = batch | JSON array of up to 96 strings. | |
embedding_type | options | "float" | One of float, int8, uint8, binary, ubinary, base64. | ||
output_dimension | options | embed-v4.0 and newer only. One of 256, 512, 1024, 1536. | |||
truncate | options | "END" | One of NONE, START, END. |
Rerank
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Rerank documents | rerank.run | reads | 1 |
Rerank documents
Operation rerank.run. Orders documents by relevance to a query. One output item per returned document.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "rerank-v3.5" | yes | Values from lookup rerank_models. | |
query | string | yes | |||
documents | json | yes | JSON array of strings (structured documents should be serialized to YAML or text first). | ||
top_n | number | Top N. Return only the best N documents. | |||
max_tokens_per_doc | number | 4096 | Max tokens per document. |
Classification
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Classify text | classification.classify | reads | 1 |
Classify text
Operation classification.classify. Labels text using a fine-tuned classifier or few-shot examples.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup classify_models. | ||
inputs | json | yes | Texts. JSON array of strings to classify (up to 96). | ||
examples | fixed_collection | Labeled examples, needed when the model is not a fine-tuned classifier. | |||
examples.text | string | yes | |||
examples.label | string | yes | |||
truncate | options | "END" | One of NONE, START, END. |
Tokenizer
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Tokenize text | tokenizer.tokenize | reads | 1 | |
| Detokenize tokens | tokenizer.detokenize | reads | 1 |
Tokenize text
Operation tokenizer.tokenize.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup chat_models. | ||
text | string | yes |
Detokenize tokens
Operation tokenizer.detokenize.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup chat_models. | ||
tokens | json | yes | JSON array of token ids. |
Model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List models | model.list | reads | yes | 1 |
| Get a model | model.get | reads | 1 |
List models
Operation model.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
endpoint | options | Compatible with. One of chat, embed, classify, rerank, generate, summarize. |
Get a model
Operation model.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup chat_models. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
chat_models | client-side | ||
embed_models | client-side | ||
rerank_models | client-side | ||
classify_models | client-side |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://docs.cohere.com/reference/about
- https://docs.cohere.com/reference/chat
- https://docs.cohere.com/reference/embed
- https://docs.cohere.com/reference/rerank
- https://docs.cohere.com/reference/classify
- https://docs.cohere.com/reference/tokenize
- https://docs.cohere.com/reference/detokenize
- https://docs.cohere.com/reference/list-models
- https://docs.cohere.com/reference/get-model
- https://docs.cohere.com/reference/errors
Deepgram
connector.deepgram · connector.deepgram_trigger · ai
Transcribe audio, synthesize speech, analyze text and inspect usage with Deepgram.
Vendor API documentation: https://developers.deepgram.com/reference/deepgram-api-overview
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | deepgram/api_key | api_key | api_key (secret) | yes |
| Temporary access token (JWT) | deepgram/access_token | bearer | token (secret) |
Actions
Node type connector.deepgram. Choose a resource and an operation; each operation has its own parameters.
Transcription
Speech to text for pre-recorded audio.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Transcribe audio from a URL | transcription.transcribe_url | writes | 3 | |
| Transcribe an audio file | transcription.transcribe_binary | writes | 1 |
Transcribe audio from a URL
Operation transcription.transcribe_url.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
url | string | yes | Audio URL. | ||
model | resource_locator | "nova-3" | Values from lookup stt_models. | ||
options | collection | ||||
options.language | string | Language (BCP-47). | |||
options.detect_language | boolean | false | |||
options.smart_format | boolean | true | Smart formatting. | ||
options.punctuate | boolean | false | Punctuation. | ||
options.paragraphs | boolean | false | |||
options.utterances | boolean | false | |||
options.utt_split | number | Utterance split (seconds). | |||
options.diarize | boolean | false | Speaker diarization. | ||
options.multichannel | boolean | false | |||
options.numerals | boolean | false | |||
options.profanity_filter | boolean | false | |||
options.filler_words | boolean | false | |||
options.measurements | boolean | false | |||
options.dictation | boolean | false | Dictation commands. | ||
options.redact | multi_options | One of pci, pii, numbers. | |||
options.keyterm | string | Key terms (Nova-3). Comma-separated terms to boost. | |||
options.keywords | string | Keywords (older models). Comma-separated, optionally with intensifiers such as word:2. | |||
options.search | string | Search terms. Comma-separated. | |||
options.replace | string | Replacements. Comma-separated find:replace pairs. | |||
options.summarize | boolean | false | |||
options.topics | boolean | false | |||
options.intents | boolean | false | |||
options.sentiment | boolean | false | |||
options.detect_entities | boolean | false | Entities. | ||
options.tag | string | Usage tag. | |||
options.callback | string | Callback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL). | |||
options.callback_secret | string | Echoed back in metadata.extra.callback_secret so the receiver can check it. | |||
options.mip_opt_out | boolean | false | Opt out of model improvement. | ||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. |
Transcribe an audio file
Operation transcription.transcribe_binary.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. | |
model | resource_locator | "nova-3" | Values from lookup stt_models. | ||
options | collection | ||||
options.language | string | Language (BCP-47). | |||
options.detect_language | boolean | false | |||
options.smart_format | boolean | true | Smart formatting. | ||
options.punctuate | boolean | false | Punctuation. | ||
options.paragraphs | boolean | false | |||
options.utterances | boolean | false | |||
options.utt_split | number | Utterance split (seconds). | |||
options.diarize | boolean | false | Speaker diarization. | ||
options.multichannel | boolean | false | |||
options.numerals | boolean | false | |||
options.profanity_filter | boolean | false | |||
options.filler_words | boolean | false | |||
options.measurements | boolean | false | |||
options.dictation | boolean | false | Dictation commands. | ||
options.redact | multi_options | One of pci, pii, numbers. | |||
options.keyterm | string | Key terms (Nova-3). Comma-separated terms to boost. | |||
options.keywords | string | Keywords (older models). Comma-separated, optionally with intensifiers such as word:2. | |||
options.search | string | Search terms. Comma-separated. | |||
options.replace | string | Replacements. Comma-separated find:replace pairs. | |||
options.summarize | boolean | false | |||
options.topics | boolean | false | |||
options.intents | boolean | false | |||
options.sentiment | boolean | false | |||
options.detect_entities | boolean | false | Entities. | ||
options.tag | string | Usage tag. | |||
options.callback | string | Callback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL). | |||
options.callback_secret | string | Echoed back in metadata.extra.callback_secret so the receiver can check it. | |||
options.mip_opt_out | boolean | false | Opt out of model improvement. | ||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. |
Speech
Text to speech with Aura voices.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Convert text to speech | speech.synthesize | writes | 1 |
Convert text to speech
Operation speech.synthesize.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
text | string | yes | |||
model | resource_locator | "aura-2-thalia-en" | yes | Voice. Values from lookup tts_models. | |
encoding | options | "mp3" | One of mp3, linear16, flac, mulaw, alaw, opus, aac. | ||
container | options | Only for linear16/mulaw/alaw (wav) and opus (ogg). One of none, wav, ogg. | |||
sample_rate | number | ||||
bit_rate | number | ||||
speed | number | Speaking rate multiplier. | |||
output_property | string | "data" | Output binary field. |
Text intelligence
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Analyze text | text.analyze | reads | 1 |
Analyze text
Operation text.analyze. Summary, topics, intents and sentiment for a text or a URL to a text document.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
source | options | "text" | One of text, url. | ||
text | string | yes | source = text | ||
url | string | yes | source = url | URL. | |
language | string | "en" | |||
summarize | boolean | true | |||
topics | boolean | false | |||
intents | boolean | false | |||
sentiment | boolean | false |
Project
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List projects | project.list | reads | 1 | |
| Get a project | project.get | reads | 1 | |
| Get balances | project.get_balances | reads | 1 | |
| List API keys | project.list_keys | reads | 1 |
List projects
Operation project.list.
This node has no parameters.
Get a project
Operation project.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
Get balances
Operation project.get_balances.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
List API keys
Operation project.list_keys.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. |
Request log
Past API requests of a project, with their results.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List requests | request_log.list | reads | yes | 1 |
| Get a request | request_log.get | reads | 1 |
List requests
Operation request_log.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
start | datetime | From. | |||
end | datetime | To. | |||
status | options | One of succeeded, failed. |
Get a request
Operation request_log.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
request_id | string | yes | Request ID. |
Model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List models | model.list | reads | 1 |
List models
Operation model.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
kind | options | "all" | One of all, stt, tts. | ||
include_outdated | boolean | false | Include outdated versions. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
projects | client-side | ||
stt_models | client-side | ||
tts_models | client-side |
Triggers
Node type connector.deepgram_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On transcription callback | transcription_callback | webhook | manual | 0 | ||
| On API request completed | request_completed | poll | {{ item.request_id }} | 0 |
Trigger: On transcription callback
Receives the result of an asynchronous transcription. Put this trigger’s URL in the Callback URL option of a transcription operation, with the same callback secret.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
callback_secret | string | Must match the secret sent with the transcription request. Leave empty to accept any callback. | |||
simplify | boolean | true | Simplify output. Return transcript, confidence, words and analysis results only. | ||
options | collection | ||||
options.multichannel | boolean | false | Multichannel output. |
Trigger: On API request completed
Polls a project’s request log and emits each finished request (for example transcriptions run elsewhere).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project_id | resource_locator | yes | Project. Values from lookup projects. | ||
status | options | One of succeeded, failed. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://developers.deepgram.com/reference/deepgram-api-overview
- https://developers.deepgram.com/reference/speech-to-text/listen-pre-recorded
- https://developers.deepgram.com/docs/callback
- https://developers.deepgram.com/reference/text-to-speech/speak-request
- https://developers.deepgram.com/reference/text-intelligence-api/text-read
- https://developers.deepgram.com/reference/management-api/projects/list
- https://developers.deepgram.com/reference/management-api/models/list
- https://developers.deepgram.com/reference/management-api/balances/list
- https://developers.deepgram.com/reference/management-api/requests/list
- https://developers.deepgram.com/docs/authenticating
Discord
connector.discord · connector.discord_trigger · communication
Send and manage messages, channels, members, roles and reactions with a Discord bot, post through channel webhooks, and poll channels for new messages.
Vendor API documentation: https://docs.discord.com/developers/reference
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Bot token | discord/bot_token | bearer | token (secret) | yes |
| OAuth2 (user access) | discord/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Webhook URL | discord/webhook | api_key | webhook_url (secret) | yes |
| No credential (webhook URL parameter) | discord/none | none |
Actions
Node type connector.discord. Choose a resource and an operation; each operation has its own parameters.
Message
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a message | message.send | writes | 3 | |
| Send a message with a file | message.send_file | writes | 1 | |
| Get a message | message.get | reads | 2 | |
| List messages | message.list | reads | yes | 1 |
| Edit a message | message.update | writes | 1 | |
| Delete a message | message.delete | writes | 1 | |
| Delete many messages | message.bulk_delete | writes | 1 | |
| Add a reaction | message.react | writes | 2 | |
| Remove own reaction | message.remove_reaction | writes | 1 | |
| Pin a message | message.pin | writes | 1 | |
| Unpin a message | message.unpin | writes | 1 | |
| List pinned messages | message.list_pins | reads | yes | 1 |
Send a message
Operation message.send.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Server whose channels are listed in the channel picker. Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
content | string | Message text (up to 2000 characters). | |||
embeds | json | Array of up to 10 embed objects. | |||
components | json | Array of action rows (buttons, select menus). | |||
reply_to | string | ID of a message to reply to. | |||
tts | boolean | false | |||
suppress_embeds | boolean | false | |||
silent | boolean | false | Send without a push notification. | ||
flags | multi_options | Message flags by name (same effect as the switches above). One of SUPPRESS_EMBEDS, SUPPRESS_NOTIFICATIONS. | |||
allowed_mentions | json | Allowed mentions object, for example {“parse”: [“users”]}. | |||
sticker_ids | json | Up to 3 sticker IDs. |
Send a message with a file
Operation message.send_file.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
binary_property | binary_property | "data" | yes | ||
file_name | string | Defaults to the binary file name. | |||
file_description | string | Alt text for the attachment. | |||
content | string | ||||
embeds | json | ||||
reply_to | string | ||||
silent | boolean | false |
Get a message
Operation message.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. |
List messages
Operation message.list. Lists channel messages, newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
before | string | Only messages older than this message ID. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Edit a message
Operation message.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. | ||
content | string | ||||
embeds | json | ||||
components | json | ||||
suppress_embeds | boolean |
Delete a message
Operation message.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. |
Delete many messages
Operation message.bulk_delete. Deletes 2 to 100 messages younger than two weeks from a server channel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
messages | string | yes | Message IDs as an array or a comma-separated list (2 to 100). |
Add a reaction
Operation message.react.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. | ||
emoji | string | yes | Unicode emoji, or name:id for a custom emoji. |
Remove own reaction
Operation message.remove_reaction.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. | ||
emoji | string | yes |
Pin a message
Operation message.pin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. |
Unpin a message
Operation message.unpin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
message | resource_locator | yes | Depends on channel. Values from lookup messages. |
List pinned messages
Operation message.list_pins.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Channel
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a channel | channel.create | writes | 1 | |
| Get a channel | channel.get | reads | 1 | |
| List server channels | channel.list | reads | 1 | |
| Update a channel | channel.update | writes | 1 | |
| Delete a channel | channel.delete | writes | 1 |
Create a channel
Operation channel.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
name | string | yes | |||
type | options | 0 | One of 0, 2, 4, 5, 13, 15. | ||
topic | string | ||||
parent_id | string | ID of the category to place the channel in. | |||
nsfw | boolean | ||||
rate_limit_per_user | number | Slow mode in seconds (0-21600). | |||
position | number |
Get a channel
Operation channel.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. |
List server channels
Operation channel.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
types | multi_options | Only these channel types. Leave empty for all. One of 0, 2, 4, 5, 13, 15. | |||
return_all | boolean | true | |||
limit | number | 50 | return_all = false |
Update a channel
Operation channel.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. | ||
name | string | ||||
topic | string | ||||
parent_id | string | ID of the category to move the channel to. | |||
nsfw | boolean | ||||
rate_limit_per_user | number | ||||
position | number |
Delete a channel
Operation channel.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. |
Member
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List server members | member.list | reads | yes | 1 |
| Search server members | member.search | reads | 1 | |
| Get a member | member.get | reads | 1 | |
| Add roles to a member | member.add_role | writes | 1 | |
| Remove roles from a member | member.remove_role | writes | 1 | |
| Remove a member from the server | member.kick | writes | 1 | |
| Ban a user | member.ban | writes | 1 | |
| Remove a ban | member.unban | writes | 1 |
List server members
Operation member.list. Needs the Server Members privileged intent enabled for the bot.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Search server members
Operation member.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
query | string | yes | Matches the start of usernames and nicknames. | ||
limit | number | 50 |
Get a member
Operation member.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | resource_locator | yes | Depends on guild. Values from lookup members. |
Add roles to a member
Operation member.add_role.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | resource_locator | yes | Depends on guild. Values from lookup members. | ||
roles | multi_options | yes | Depends on guild. Values from lookup roles. |
Remove roles from a member
Operation member.remove_role.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | resource_locator | yes | Depends on guild. Values from lookup members. | ||
roles | multi_options | yes | Depends on guild. Values from lookup roles. |
Remove a member from the server
Operation member.kick.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | resource_locator | yes | Depends on guild. Values from lookup members. | ||
reason | string | Shown in the audit log. |
Ban a user
Operation member.ban.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | resource_locator | yes | Depends on guild. Values from lookup members. | ||
delete_message_seconds | number | 0 | Delete their messages from this many seconds back (max 604800). | ||
reason | string |
Remove a ban
Operation member.unban.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
user | string | yes | ID of the banned user. |
Server
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List the bot’s servers | guild.list | reads | yes | 1 |
| Get a server | guild.get | reads | 1 |
List the bot’s servers
Operation guild.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | true | |||
limit | number | 50 | return_all = false |
Get a server
Operation guild.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. | ||
with_counts | boolean | true | Include approximate member and presence counts. |
Role
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List server roles | role.list | reads | 1 |
List server roles
Operation role.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | yes | Values from lookup guilds. |
User
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get the current user or bot | user.get_me | reads | 2 | |
| Get a user | user.get | reads | 1 | |
| Send a direct message | user.send_dm | writes | 1 |
Get the current user or bot
Operation user.get_me.
This node has no parameters.
Get a user
Operation user.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | string | yes | User ID. |
Send a direct message
Operation user.send_dm. Opens (or reuses) the DM channel with a user and posts a message to it.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Server whose members are listed in the user picker. Values from lookup guilds. | |||
user | resource_locator | yes | Depends on guild. Values from lookup members. | ||
content | string | ||||
embeds | json | ||||
components | json |
Webhook
Posts through a channel webhook URL; no bot needed.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a message | webhook.send | writes | 2 | |
| Send a message with a file | webhook.send_file | writes | 1 | |
| Get a webhook message | webhook.get_message | reads | 1 | |
| Edit a webhook message | webhook.edit_message | writes | 1 | |
| Delete a webhook message | webhook.delete_message | writes | 1 |
Send a message
Operation webhook.send.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
webhook_url | string | Overrides the URL stored in the webhook credential. | |||
content | string | ||||
username | string | Override the webhook’s name. | |||
avatar_url | string | ||||
embeds | json | ||||
components | json | Only for webhooks owned by an application. | |||
tts | boolean | false | |||
allowed_mentions | json | ||||
thread_id | string | Post into this thread of the webhook’s channel. | |||
thread_name | string | Create a forum post with this name (forum channels). | |||
silent | boolean | false | |||
suppress_embeds | boolean | false | |||
flags | multi_options | Message flags by name (same effect as the switches above). One of SUPPRESS_EMBEDS, SUPPRESS_NOTIFICATIONS. |
Send a message with a file
Operation webhook.send_file.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
webhook_url | string | ||||
binary_property | binary_property | "data" | yes | ||
file_name | string | ||||
content | string | ||||
username | string | ||||
avatar_url | string | ||||
thread_id | string |
Get a webhook message
Operation webhook.get_message.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
webhook_url | string | ||||
message | string | yes | |||
thread_id | string |
Edit a webhook message
Operation webhook.edit_message.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
webhook_url | string | ||||
message | string | yes | |||
content | string | ||||
embeds | json | ||||
thread_id | string |
Delete a webhook message
Operation webhook.delete_message.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
webhook_url | string | ||||
message | string | yes | |||
thread_id | string |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
guilds | client-side | ||
channels | guild | client-side | |
messages | channel | client-side | |
roles | guild | client-side | |
members | guild | client-side | @{{ item.user.username }} |
Triggers
Node type connector.discord_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New message in channel (polling) | new_message | poll | {{ item.id }} | 0 |
Trigger: New message in channel (polling)
Checks a channel for new messages on the poll schedule (up to 100 per poll). Reading message text requires the Message Content privileged intent. Messages from bots, including this one, are emitted too; check author.bot to skip them.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
guild | resource_locator | Values from lookup guilds. | |||
channel | resource_locator | yes | Depends on guild. Values from lookup channels. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.discord | 1 | unverified | |
n8n-nodes-base.discord | >=2 <3 | unverified |
Provenance
Written from the vendor’s documentation:
- https://docs.discord.com/developers/reference
- https://docs.discord.com/developers/resources/message
- https://docs.discord.com/developers/resources/channel
- https://docs.discord.com/developers/resources/guild
- https://docs.discord.com/developers/resources/user
- https://docs.discord.com/developers/resources/webhook
- https://docs.discord.com/developers/topics/oauth2
- https://docs.discord.com/developers/topics/rate-limits
- https://docs.discord.com/developers/topics/permissions
- https://docs.discord.com/developers/topics/opcodes-and-status-codes
- https://docs.discord.com/developers/reference#uploading-files
- https://docs.discord.com/developers/reference#snowflakes
Gmail
connector.gmail · connector.gmail_trigger · communication, email
Send, reply to, search and organize Gmail messages, threads, drafts and labels.
Vendor API documentation: https://developers.google.com/gmail/api/reference/rest
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | gmail/oauth2 | oauth2_auth_code | client_id, client_secret (secret), scopes | yes |
| Service account (Workspace) | gmail/service_account | jwt_service_account | client_email, private_key (secret), subject, scopes | yes |
Actions
Node type connector.gmail. Choose a resource and an operation; each operation has its own parameters.
Message
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send an email | message.send | writes | 4 | |
| Reply to an email | message.reply | writes | 1 | |
| Get an email | message.get | reads | 2 | |
| Get email attachments | message.get_attachments | reads | 1 | |
| Search emails | message.list | reads | yes | 2 |
| Add labels to an email | message.add_labels | writes | 1 | |
| Remove labels from an email | message.remove_labels | writes | 1 | |
| Mark as read | message.mark_read | writes | 1 | |
| Mark as unread | message.mark_unread | writes | 1 | |
| Move to trash | message.trash | writes | 1 | |
| Restore from trash | message.untrash | writes | 1 | |
| Delete permanently | message.delete | writes | 1 |
Send an email
Operation message.send.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
to | string | yes | Comma-separated recipients. | ||
subject | string | ||||
email_type | options | "html" | Body format. One of html, text. | ||
message | string | Body. Message body in the chosen format. | |||
text_alternative | string | email_type = html | Plain-text alternative. Optional plain-text version sent alongside the HTML. | ||
cc | string | Comma-separated recipients. | |||
bcc | string | Comma-separated recipients. | |||
from | string | A send-as alias configured in Gmail (default: the account address). | |||
reply_to | string | Reply-To. | |||
attachments | string | Comma-separated binary property names to attach (a list of names also works). | |||
headers | json | Extra headers. Object of additional header names and values. | |||
thread_id | string | Thread ID. Add the message to an existing thread (subject must match). |
Reply to an email
Operation message.reply. Replies in the original thread with In-Reply-To and References set, to the Reply-To or From address (optionally everyone).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. | ||
email_type | options | "html" | Body format. One of html, text. | ||
message | string | Body. Message body in the chosen format. | |||
text_alternative | string | email_type = html | Plain-text alternative. Optional plain-text version sent alongside the HTML. | ||
reply_all | boolean | false | Reply to all. Also copy the original To and Cc recipients (except yourself). | ||
cc | string | Comma-separated recipients. | |||
bcc | string | Comma-separated recipients. | |||
from | string | A send-as alias configured in Gmail (default: the account address). | |||
attachments | string | Comma-separated binary property names to attach (a list of names also works). |
Get an email
Operation message.get. Returns headers, plain-text and HTML bodies and the attachment list of a message.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. | ||
format | options | "full" | One of full, metadata, raw. |
Get email attachments
Operation message.get_attachments. Returns one item per attachment with its content as standard base64 in data (use a convert-to-file step to turn it into binary data).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Search emails
Operation message.list. Lists messages matching a Gmail search query and labels, newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | Search. Gmail search syntax. | |||
label_ids | multi_options | Labels. Only messages that have all of these labels. Values from lookup labels. | |||
include_spam_trash | boolean | false | Include spam and trash. | ||
format | options | "metadata" | One of metadata, full, minimal. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Add labels to an email
Operation message.add_labels.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. | ||
label_ids | multi_options | yes | Labels. Values from lookup labels. |
Remove labels from an email
Operation message.remove_labels.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. | ||
label_ids | multi_options | yes | Labels. Values from lookup labels. |
Mark as read
Operation message.mark_read.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Mark as unread
Operation message.mark_unread.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Move to trash
Operation message.trash.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Restore from trash
Operation message.untrash.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Delete permanently
Operation message.delete. Deletes the message immediately, skipping the trash. Needs the https://mail.google.com/ scope.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_id | string | yes | Message ID. |
Thread
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a thread | thread.get | reads | 1 | |
| Search threads | thread.list | reads | yes | 1 |
| Add labels to a thread | thread.add_labels | writes | 1 | |
| Remove labels from a thread | thread.remove_labels | writes | 1 | |
| Move a thread to trash | thread.trash | writes | 1 | |
| Restore a thread from trash | thread.untrash | writes | 1 | |
| Delete a thread permanently | thread.delete | writes | 1 |
Get a thread
Operation thread.get. Returns one item per message in the thread, oldest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. | ||
format | options | "full" | One of full, metadata, raw. |
Search threads
Operation thread.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | Search. Gmail search syntax. | |||
label_ids | multi_options | Labels. Only messages that have all of these labels. Values from lookup labels. | |||
include_spam_trash | boolean | false | Include spam and trash. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Add labels to a thread
Operation thread.add_labels.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. | ||
label_ids | multi_options | yes | Labels. Values from lookup labels. |
Remove labels from a thread
Operation thread.remove_labels.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. | ||
label_ids | multi_options | yes | Labels. Values from lookup labels. |
Move a thread to trash
Operation thread.trash.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. |
Restore a thread from trash
Operation thread.untrash.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. |
Delete a thread permanently
Operation thread.delete. Needs the https://mail.google.com/ scope.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
thread | string | yes | Thread ID. |
Draft
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a draft | draft.create | writes | 1 | |
| Get a draft | draft.get | reads | 1 | |
| List drafts | draft.list | reads | yes | 1 |
| Send a draft | draft.send | writes | 1 | |
| Delete a draft | draft.delete | writes | 1 |
Create a draft
Operation draft.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
to | string | Comma-separated recipients. | |||
subject | string | ||||
email_type | options | "html" | Body format. One of html, text. | ||
message | string | Body. Message body in the chosen format. | |||
text_alternative | string | email_type = html | Plain-text alternative. Optional plain-text version sent alongside the HTML. | ||
cc | string | Comma-separated recipients. | |||
bcc | string | Comma-separated recipients. | |||
from | string | A send-as alias configured in Gmail (default: the account address). | |||
reply_to | string | Reply-To. | |||
attachments | string | Comma-separated binary property names to attach (a list of names also works). | |||
thread_id | string | Thread ID. Create the draft as a reply inside this thread. |
Get a draft
Operation draft.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
draft | string | yes | Draft ID. | ||
format | options | "full" | One of full, metadata. |
List drafts
Operation draft.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | Search. Gmail search syntax. | |||
include_spam_trash | boolean | false | Include spam and trash. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Send a draft
Operation draft.send.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
draft | string | yes | Draft ID. |
Delete a draft
Operation draft.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
draft | string | yes | Draft ID. |
Label
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a label | label.create | writes | 1 | |
| Get a label | label.get | reads | 1 | |
| List labels | label.list | reads | 2 | |
| Update a label | label.update | writes | 1 | |
| Delete a label | label.delete | writes | 1 |
Create a label
Operation label.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | Use slashes for nesting, e.g. Clients/Acme. | ||
label_list_visibility | options | "labelShow" | Show in label list. One of labelShow, labelShowIfUnread, labelHide. | ||
message_list_visibility | options | "show" | Show in message list. One of show, hide. | ||
background_color | string | One of the colors Gmail offers. | |||
text_color | string |
Get a label
Operation label.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
label | options | yes | Values from lookup labels. |
List labels
Operation label.list.
This node has no parameters.
Update a label
Operation label.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
label | options | yes | Values from lookup labels. | ||
name | string | New name. | |||
label_list_visibility | options | Show in label list. One of labelShow, labelShowIfUnread, labelHide. | |||
message_list_visibility | options | Show in message list. One of show, hide. | |||
background_color | string | One of the colors Gmail offers. | |||
text_color | string |
Delete a label
Operation label.delete. Removes the label from all messages and deletes it.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
label | options | yes | Values from lookup labels. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
labels | client-side | {{ ‘System label’ if item.type == ‘system’ else ‘Your label’ }} |
Triggers
Node type connector.gmail_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New email | message_received | poll | {{ '' if item.id == '_cursor' else item.id }} | 0 |
Trigger: New email
Emits each message added to the mailbox since the previous poll (from the Gmail history, so nothing is missed between polls). Items carry the message, thread and label IDs; use Get an email to read the content.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
label | options | Only with label. For example INBOX; leave empty to watch every new message. Values from lookup labels. | |||
include_sent | boolean | false | Include messages you send. | ||
include_spam_trash | boolean | false | Include spam and trash. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.gmail | >=2 <3 | unverified | |
n8n-nodes-base.gmailTrigger | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/gmail/api/reference/rest
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages/get
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages/list
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages/modify
- https://developers.google.com/gmail/api/reference/rest/v1/users.messages.attachments/get
- https://developers.google.com/gmail/api/reference/rest/v1/users.threads
- https://developers.google.com/gmail/api/reference/rest/v1/users.drafts
- https://developers.google.com/gmail/api/reference/rest/v1/users.labels
- https://developers.google.com/gmail/api/reference/rest/v1/users.history/list
- https://developers.google.com/gmail/api/reference/rest/v1/users/getProfile
- https://developers.google.com/gmail/api/guides/sending
- https://developers.google.com/gmail/api/guides/threads
- https://developers.google.com/gmail/api/guides/sync
- https://developers.google.com/gmail/api/guides/filtering
- https://developers.google.com/gmail/api/guides/handle-errors
- https://developers.google.com/gmail/api/reference/quota
- https://developers.google.com/gmail/api/auth/scopes
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
- https://www.rfc-editor.org/rfc/rfc2822
Google BigQuery
connector.google_bigquery · data, database
Run SQL queries, stream rows into tables, read table data and inspect datasets, tables and jobs.
Vendor API documentation: https://cloud.google.com/bigquery/docs/reference/rest
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_bigquery/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account | google_bigquery/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
Actions
Node type connector.google_bigquery. Choose a resource and an operation; each operation has its own parameters.
Query
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Execute a query | query.execute | writes | yes | 5 |
| Get query results | query.get_results | reads | yes | 1 |
Execute a query
Operation query.execute. Runs a SQL query and returns one item per result row (column name to value; values are returned as BigQuery encodes them, numbers and timestamps as strings). Statements without a result set (DML, DDL) and dry runs return the query response instead.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
sql | code | yes | SQL query. | ||
use_legacy_sql | boolean | false | Use legacy SQL. | ||
default_dataset | resource_locator | Dataset assumed for unqualified table names. Depends on project. Values from lookup datasets. | |||
location | string | Location of the referenced datasets when it is not US or EU multi-region. | |||
query_parameters | json | Array of BigQuery QueryParameter objects for @name or ? placeholders. | |||
parameter_mode | options | "NAMED" | One of NAMED, POSITIONAL. | ||
maximum_bytes_billed | string | Fail the query instead of billing more than this many bytes. | |||
use_query_cache | boolean | true | |||
dry_run | boolean | false | Validate the query and estimate bytes processed without running it. | ||
labels | json | Object of job labels. | |||
timeout_ms | number | 60000 | How long each request waits for the query to finish. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
output_mode | options | "rows" | One of rows, raw. |
Get query results
Operation query.get_results. Reads the result rows of an earlier query job.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
job_id | string | yes | Job ID. | ||
location | string | Location of the job when it is not US or EU multi-region. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Job
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a job | job.get | reads | 1 | |
| List jobs | job.list | reads | yes | 1 |
| Cancel a job | job.cancel | writes | 1 |
Get a job
Operation job.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
job_id | string | yes | Job ID. | ||
location | string | Location of the job when it is not US or EU multi-region. |
List jobs
Operation job.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
state_filter | multi_options | One of done, pending, running. | |||
all_users | boolean | false | |||
min_creation_time | string | Milliseconds since the epoch. | |||
max_creation_time | string | Milliseconds since the epoch. | |||
projection | options | "minimal" | One of minimal, full. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Cancel a job
Operation job.cancel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
job_id | string | yes | Job ID. | ||
location | string | Location of the job when it is not US or EU multi-region. |
Table
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Insert rows (all input items) | table.insert_rows | writes | 2 | |
| Insert a row per item | table.insert_row | writes | 3 | |
| List table rows | table.list_rows | reads | yes | 2 |
| Get a table | table.get | reads | 2 | |
| List tables | table.list | reads | yes | 1 |
Insert rows (all input items)
Operation table.insert_rows. Streams every input item as one row (its JSON fields are the columns), in batches of up to 500 rows per request. Outputs one result per batch with any per-row insert errors.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. | ||
table | resource_locator | yes | Depends on project, dataset. Values from lookup tables. | ||
batch_size | number | 500 | Rows per request (Google recommends at most 500). | ||
insert_id_field | string | Deduplication ID field. Input field whose value is sent as insertId for best-effort deduplication. | |||
skip_invalid_rows | boolean | false | Insert the valid rows even when some rows are invalid. | ||
ignore_unknown_values | boolean | false | Drop fields that are not in the table schema instead of failing. | ||
template_suffix | string | Insert into the table named <table><suffix>, created from the table’s schema. | |||
trace_id | string |
Insert a row per item
Operation table.insert_row. Streams one row per input item, built from selected input fields, a list of column/value pairs, or a JSON object.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. | ||
table | resource_locator | yes | Depends on project, dataset. Values from lookup tables. | ||
data_mode | options | "auto" | One of auto, define, json. | ||
columns | string | data_mode = auto | Comma separated input fields to send. Empty sends all fields. | ||
values | fixed_collection | data_mode = define | Column values. | ||
values.fieldId | string | Column. | |||
values.fieldValue | string | Value. | |||
row | json | data_mode = json | |||
insert_id | string | Deduplication ID. | |||
skip_invalid_rows | boolean | false | Insert the valid rows even when some rows are invalid. | ||
ignore_unknown_values | boolean | false | Drop fields that are not in the table schema instead of failing. | ||
template_suffix | string | Insert into the table named <table><suffix>, created from the table’s schema. | |||
trace_id | string |
List table rows
Operation table.list_rows. Reads rows straight from a table (no query cost) as column name to value items.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. | ||
table | resource_locator | yes | Depends on project, dataset. Values from lookup tables. | ||
selected_fields | string | Comma separated columns to return. | |||
start_index | number | Zero-based row to start at. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a table
Operation table.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. | ||
table | resource_locator | yes | Depends on project, dataset. Values from lookup tables. |
List tables
Operation table.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Dataset
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a dataset | dataset.get | reads | 1 | |
| List datasets | dataset.list | reads | yes | 1 |
Get a dataset
Operation dataset.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
dataset | resource_locator | yes | Depends on project. Values from lookup datasets. |
List datasets
Operation dataset.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
project | resource_locator | yes | Values from lookup projects. | ||
all | boolean | false | Include hidden datasets. | ||
filter | string | Label filter. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
projects | client-side | {{ item.projectReference.projectId }} | |
datasets | project | client-side | {{ item.location }} |
tables | project, dataset | client-side | {{ item.type }} |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleBigQuery | >=1 <2 | unverified | |
n8n-nodes-base.googleBigQuery | >=2 <3 | unverified |
Provenance
Written from the vendor’s documentation:
- https://cloud.google.com/bigquery/docs/reference/rest
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/get
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/list
- https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/cancel
- https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/insertAll
- https://cloud.google.com/bigquery/docs/reference/rest/v2/tabledata/list
- https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/get
- https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list
- https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/list
- https://cloud.google.com/bigquery/docs/reference/rest/v2/datasets/get
- https://cloud.google.com/bigquery/docs/reference/rest/v2/projects/list
- https://cloud.google.com/bigquery/docs/reference/rest/v2/QueryParameter
- https://cloud.google.com/bigquery/docs/streaming-data-into-bigquery
- https://cloud.google.com/bigquery/docs/error-messages
- https://cloud.google.com/bigquery/quotas
- https://cloud.google.com/bigquery/docs/authentication
- https://www.googleapis.com/discovery/v1/apis/bigquery/v2/rest
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
Google Calendar
connector.google_calendar · connector.google_calendar_trigger · productivity, calendar
Create, read, update and delete events and calendars, check free/busy time, and react to event changes.
Vendor API documentation: https://developers.google.com/workspace/calendar/api/v3/reference
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_calendar/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account | google_calendar/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
Actions
Node type connector.google_calendar. Choose a resource and an operation; each operation has its own parameters.
Calendar
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Check availability | calendar.availability | reads | 3 | |
| Query free/busy for several calendars | calendar.query_free_busy | reads | 1 | |
| Get a calendar | calendar.get | reads | 2 | |
| List calendars | calendar.list | reads | yes | 1 |
| Create a calendar | calendar.create | writes | 1 | |
| Update a calendar | calendar.update | writes | 1 | |
| Delete a secondary calendar | calendar.delete | writes | 1 | |
| Clear the primary calendar | calendar.clear | writes | 1 |
Check availability
Operation calendar.availability. Ask whether one calendar is free during a time window, or list its busy slots.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
time_min | datetime | yes | Start of window. | ||
time_max | datetime | yes | End of window. | ||
time_zone | string | IANA time zone used for times in the response. Defaults to UTC. | |||
output_format | options | "availability" | One of availability, bookedSlots, raw. |
Query free/busy for several calendars
Operation calendar.query_free_busy. Returns one item per calendar with its busy intervals.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendars | string | yes | Comma separated calendar IDs or group emails. | ||
time_min | datetime | yes | Start of window. | ||
time_max | datetime | yes | End of window. | ||
time_zone | string | ||||
group_expansion_max | number | Maximum calendars returned for one group (max 100). | |||
calendar_expansion_max | number | Maximum calendars to return in total (max 50). |
Get a calendar
Operation calendar.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. |
List calendars
Operation calendar.list. Calendars on the user’s calendar list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
min_access_role | options | Only return calendars where the user has at least this role. One of freeBusyReader, reader, writer, owner. | |||
show_hidden | boolean | false | |||
show_deleted | boolean | false |
Create a calendar
Operation calendar.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
summary | string | yes | Title. | ||
description | string | ||||
location | string | ||||
time_zone | string |
Update a calendar
Operation calendar.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | yes | Values from lookup calendars. | ||
summary | string | Title. | |||
description | string | ||||
location | string | ||||
time_zone | string |
Delete a secondary calendar
Operation calendar.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | yes | Values from lookup calendars. |
Clear the primary calendar
Operation calendar.clear. Deletes every event on the account’s primary calendar.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. |
Event
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create an event | event.create | writes | 3 | |
| Get an event | event.get | reads | 2 | |
| List events | event.list | reads | yes | 2 |
| List instances of a recurring event | event.instances | reads | yes | 1 |
| Update an event | event.update | writes | 2 | |
| Delete an event | event.delete | writes | 1 | |
| Move an event to another calendar | event.move | writes | 1 | |
| Quick add from text | event.quick_add | writes | 1 |
Create an event
Operation event.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
summary | string | Title. | |||
start | datetime | yes | RFC 3339 date-time, or a date for all-day events. | ||
end | datetime | yes | Exclusive end. For all-day events use the day after the last day. | ||
all_day | boolean | false | |||
time_zone | string | IANA time zone for start and end. Defaults to the calendar’s own time zone. | |||
description | string | ||||
location | string | ||||
attendees | string | Comma separated attendee emails. | |||
color_id | options | Color. One of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. | |||
visibility | options | One of default, public, private, confidential. | |||
transparency | options | Show me as. One of opaque, transparent. | |||
recurrence | string | One RRULE, EXRULE, RDATE or EXDATE line. Pass an array of lines from an expression for several. | |||
repeat_frequency | options | Simple repeat rule when no recurrence lines are given. One of daily, weekly, monthly, yearly. | |||
repeat_count | number | Number of occurrences for the simple repeat rule. | |||
repeat_until | datetime | Last occurrence for the simple repeat rule. | |||
guests_can_modify | boolean | ||||
guests_can_invite_others | boolean | ||||
guests_can_see_other_guests | boolean | ||||
use_default_reminders | boolean | true | |||
reminders | fixed_collection | Reminder overrides (at most five). | |||
reminders.method | options | "popup" | One of popup, email. | ||
reminders.minutes | number | 10 | |||
add_google_meet | boolean | false | Add Google Meet link. | ||
conference_solution | options | Conference type to attach. Setting it implies a conference is created. One of hangoutsMeet, eventHangout, eventNamedHangout. | |||
event_id | string | Optional custom ID (base32hex characters, 5 to 1024 long). | |||
send_updates | options | One of all, externalOnly, none. | |||
max_attendees | number |
Get an event
Operation event.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
event_id | resource_locator | yes | Event. Depends on calendar. Values from lookup events. | ||
time_zone | string | Time zone used in the response. | |||
max_attendees | number |
List events
Operation event.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
time_min | datetime | After. Only events ending after this time. | |||
time_max | datetime | Before. Only events starting before this time. | |||
query | string | Search text. Free text search over summary, description, location and attendees. | |||
single_events | boolean | false | Expand recurring events. | ||
order_by | options | One of startTime, updated. | |||
show_deleted | boolean | false | |||
show_hidden_invitations | boolean | false | |||
updated_min | datetime | Updated after. | |||
time_zone | string | Time zone used in the response. | |||
ical_uid | string | iCalendar UID. | |||
max_attendees | number | ||||
event_types | multi_options | One of default, birthday, focusTime, fromGmail, outOfOffice, workingLocation. |
List instances of a recurring event
Operation event.instances.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
event_id | resource_locator | yes | Event. Depends on calendar. Values from lookup events. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
time_min | datetime | After. | |||
time_max | datetime | Before. | |||
show_deleted | boolean | false | |||
time_zone | string |
Update an event
Operation event.update. Changes only the fields that are set; attendees, when set, replace the current list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
event_id | resource_locator | yes | Event. Depends on calendar. Values from lookup events. | ||
summary | string | Title. | |||
start | datetime | ||||
end | datetime | ||||
all_day | boolean | false | |||
time_zone | string | IANA time zone for start and end. Defaults to the calendar’s own time zone. | |||
description | string | ||||
location | string | ||||
attendees | string | Comma separated attendee emails. | |||
color_id | options | Color. One of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. | |||
visibility | options | One of default, public, private, confidential. | |||
transparency | options | Show me as. One of opaque, transparent. | |||
recurrence | string | One RRULE, EXRULE, RDATE or EXDATE line. Pass an array of lines from an expression for several. | |||
repeat_frequency | options | Simple repeat rule when no recurrence lines are given. One of daily, weekly, monthly, yearly. | |||
repeat_count | number | Number of occurrences for the simple repeat rule. | |||
repeat_until | datetime | Last occurrence for the simple repeat rule. | |||
guests_can_modify | boolean | ||||
guests_can_invite_others | boolean | ||||
guests_can_see_other_guests | boolean | ||||
use_default_reminders | boolean | ||||
reminders | fixed_collection | Reminder overrides (at most five). | |||
reminders.method | options | "popup" | One of popup, email. | ||
reminders.minutes | number | 10 | |||
status | options | One of confirmed, tentative, cancelled. | |||
send_updates | options | One of all, externalOnly, none. | |||
max_attendees | number |
Delete an event
Operation event.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
event_id | resource_locator | yes | Event. Depends on calendar. Values from lookup events. | ||
send_updates | options | One of all, externalOnly, none. |
Move an event to another calendar
Operation event.move.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
event_id | resource_locator | yes | Event. Depends on calendar. Values from lookup events. | ||
destination | resource_locator | yes | Destination calendar. Values from lookup calendars. | ||
send_updates | options | One of all, externalOnly, none. |
Quick add from text
Operation event.quick_add. Creates an event from a sentence such as “Lunch with Ana tomorrow at 1pm”.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
text | string | yes | |||
send_updates | options | One of all, externalOnly, none. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
calendars | client-side | {{ item.accessRole }}{{ ’ (primary)’ if item.primary else ‘’ }} | |
events | calendar | server-side |
Triggers
Node type connector.google_calendar_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Event created | event_created | poll | {{ item.id }} | 0 | ||
| Event updated | event_updated | poll | {{ item.id }}@{{ item.updated }} | 0 | ||
| Event cancelled | event_cancelled | poll | {{ item.id }} | 0 | ||
| Event started | event_started | poll | {{ item.id }}@{{ item.start.dateTime or item.start.date }} | 0 | ||
| Event ended | event_ended | poll | {{ item.id }}@{{ item.end.dateTime or item.end.date }} | 0 |
Trigger: Event created
Emits events created on the calendar since the last check.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
query | string | Only events matching. Free text filter. |
Trigger: Event updated
Emits events that were created or changed since the last check (one item per change).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
query | string | Only events matching. Free text filter. |
Trigger: Event cancelled
Emits events that were cancelled or deleted since the last check.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
query | string | Only events matching. Free text filter. |
Trigger: Event started
Emits events whose start time passed since the last check. Recurring events are expanded.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
query | string | Only events matching. Free text filter. |
Trigger: Event ended
Emits events whose end time passed since the last check. Recurring events are expanded.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
calendar | resource_locator | "primary" | yes | Values from lookup calendars. | |
query | string | Only events matching. Free text filter. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleCalendar | >=1 <1.3 | unverified | |
n8n-nodes-base.googleCalendar | >=1.3 <2 | unverified | |
n8n-nodes-base.googleCalendarTrigger | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/workspace/calendar/api/v3/reference
- https://developers.google.com/workspace/calendar/api/v3/reference/events
- https://developers.google.com/workspace/calendar/api/v3/reference/events/list
- https://developers.google.com/workspace/calendar/api/v3/reference/events/insert
- https://developers.google.com/workspace/calendar/api/v3/reference/events/patch
- https://developers.google.com/workspace/calendar/api/v3/reference/events/move
- https://developers.google.com/workspace/calendar/api/v3/reference/events/quickAdd
- https://developers.google.com/workspace/calendar/api/v3/reference/events/instances
- https://developers.google.com/workspace/calendar/api/v3/reference/calendars
- https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/list
- https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query
- https://developers.google.com/workspace/calendar/api/guides/errors
- https://developers.google.com/workspace/calendar/api/guides/quota
- https://developers.google.com/workspace/calendar/api/auth
- https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
Google Docs
connector.google_docs · productivity, documents
Create documents, read them as structured JSON or plain text, and edit them with batch updates.
Vendor API documentation: https://developers.google.com/workspace/docs/api/reference/rest
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_docs/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account | google_docs/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
Actions
Node type connector.google_docs. Choose a resource and an operation; each operation has its own parameters.
Document
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a document | document.create | writes | 2 | |
| Get a document | document.get | reads | 2 | |
| Get document text | document.get_text | reads | 1 | |
| Update a document | document.update | writes | 4 |
Create a document
Operation document.create. Creates a document, optionally inside a Drive folder and with initial text.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
title | string | yes | |||
folder | resource_locator | "root" | Drive folder (or shared drive folder) to create the document in. Values from lookup folders. | ||
content | string | Initial text. Text inserted into the new document body. |
Get a document
Operation document.get. Returns the full document structure.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
document | resource_locator | yes | Document ID, or a docs.google.com document URL. Values from lookup documents. | ||
include_tabs | boolean | false | Include all tabs. | ||
suggestions_view_mode | options | One of DEFAULT_FOR_CURRENT_ACCESS, SUGGESTIONS_INLINE, PREVIEW_SUGGESTIONS_ACCEPTED, PREVIEW_WITHOUT_SUGGESTIONS. |
Get document text
Operation document.get_text. Returns the title and the body as plain text (table cells separated by tabs).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
document | resource_locator | yes | Document ID, or a docs.google.com document URL. Values from lookup documents. |
Update a document
Operation document.update. Applies a list of edits: insert text, a page break or a table (at the end or at an index), replace all occurrences of a text, or delete a content range. Each edit is sent as its own batch update in order. Pass raw Docs API requests to send one atomic batch instead.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
document | resource_locator | yes | Document ID, or a docs.google.com document URL. Values from lookup documents. | ||
actions | fixed_collection | Edits applied in order. Indexes are UTF-16 offsets as reported by Get a document. | |||
actions.action | options | "insert" | One of insert, replaceAll, delete. | ||
actions.object | options | "text" | One of text, pageBreak, table, contentRange. | ||
actions.text | string | Text to insert, or the text to find for Replace all. | |||
actions.replaceText | string | Replace with. | |||
actions.matchCase | boolean | false | Match case. | ||
actions.searchByRegex | boolean | false | Use regular expression. | ||
actions.locationChoice | options | "endOfSegmentLocation" | Insert at. One of endOfSegmentLocation, location. | ||
actions.index | number | ||||
actions.startIndex | number | ||||
actions.endIndex | number | ||||
actions.rows | number | ||||
actions.columns | number | ||||
actions.segmentId | string | Header/footer/footnote ID. | |||
actions.tabId | string | Tab ID. | |||
requests | json | Raw requests. Array of Docs API Request objects sent as one batch. Used instead of the edits list. | |||
write_control | options | One of requiredRevisionId, targetRevisionId. | |||
revision_id | string |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
documents | client-side | {{ item.modifiedTime }} | |
folders | client-side |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleDocs | >=1 <3 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/workspace/docs/api/reference/rest
- https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/create
- https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/get
- https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/batchUpdate
- https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/request
- https://developers.google.com/workspace/docs/api/how-tos/move-text
- https://developers.google.com/workspace/docs/api/how-tos/merge
- https://developers.google.com/workspace/docs/api/how-tos/best-practices
- https://developers.google.com/workspace/docs/api/limits
- https://developers.google.com/workspace/docs/api/auth
- https://docs.googleapis.com/$discovery/rest?version=v1
- https://developers.google.com/workspace/drive/api/reference/rest/v3/files/create
- https://developers.google.com/workspace/drive/api/reference/rest/v3/files/list
- https://developers.google.com/workspace/drive/api/guides/search-files
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
Google Drive
connector.google_drive · connector.google_drive_trigger · storage, productivity
Upload, download, search, share and organize files, folders and shared drives in Google Drive.
Vendor API documentation: https://developers.google.com/drive/api/reference/rest/v3
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_drive/oauth2 | oauth2_auth_code | client_id, client_secret (secret), scopes | yes |
| Service account | google_drive/service_account | jwt_service_account | client_email, private_key (secret), subject, scopes | yes |
Actions
Node type connector.google_drive. Choose a resource and an operation; each operation has its own parameters.
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 2 | |
| Create a file from text | file.create_from_text | writes | 1 | |
| Download a file | file.download | reads | 2 | |
| Get file details | file.get | reads | 3 | |
| Search files and folders | file.list | reads | yes | 2 |
| Update file details | file.update | writes | 1 | |
| Replace file content | file.update_content | writes | 1 | |
| Copy a file | file.copy | writes | 1 | |
| Move a file | file.move | writes | 1 | |
| Delete a file | file.delete | writes | 2 | |
| Share a file | file.share | writes | 1 |
Upload a file
Operation file.upload. Uploads binary data from the input item. Files over 5 MB use a resumable session.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | Name of the binary property on the input item. | ||
file_name | string | Name in Drive (default the binary’s file name). | |||
folder | resource_locator | Parent folder. Folder to put the file in (default: My Drive root). For a shared drive root use the drive ID. Values from lookup folders. | |||
convert_to | options | "" | Convert the upload to a Google Workspace format. One of ``, application/vnd.google-apps.document, application/vnd.google-apps.spreadsheet, application/vnd.google-apps.presentation. | ||
description | string | ||||
mime_type | string | MIME type. Content type to declare (default the binary’s MIME type). |
Create a file from text
Operation file.create_from_text. Creates a file whose content is the given text, optionally converted to a Google Doc.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_name | string | yes | |||
content | string | yes | |||
folder | resource_locator | Parent folder. Folder to put the file in (default: My Drive root). For a shared drive root use the drive ID. Values from lookup folders. | |||
convert_to_google_doc | boolean | false | Convert to Google Docs. | ||
mime_type | string | "text/plain" | Text MIME type. | ||
description | string |
Download a file
Operation file.download. Downloads file content into a binary property. Google Workspace documents are exported to the format chosen below.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
binary_property | string | "data" | Put into binary property. | ||
file_name | string | Override the file name of the binary. | |||
docs_format | options | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | Google Docs as. One of application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/pdf, text/plain, text/html, application/rtf, application/vnd.oasis.opendocument.text, text/markdown. | ||
sheets_format | options | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | Google Sheets as. One of application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv, application/pdf, application/vnd.oasis.opendocument.spreadsheet. | ||
slides_format | options | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | Google Slides as. One of application/vnd.openxmlformats-officedocument.presentationml.presentation, application/pdf, text/plain. | ||
drawings_format | options | "image/png" | Google Drawings as. One of image/png, image/jpeg, image/svg+xml, application/pdf. |
Get file details
Operation file.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
fields | string | Comma-separated file fields to return (default: the common ones; * for all). |
Search files and folders
Operation file.list. Lists files matching the filters below, newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name_contains | string | ||||
folder | resource_locator | In folder. Only direct children of this folder. Values from lookup folders. | |||
mime_type | options | "" | Type. One of ``, application/vnd.google-apps.folder, application/vnd.google-apps.document, application/vnd.google-apps.spreadsheet, application/vnd.google-apps.presentation, application/vnd.google-apps.form, application/pdf, image/jpeg, image/png, text/plain. | ||
query | string | Extra query. Additional Drive search clauses, combined with the filters using and. | |||
include_trashed | boolean | false | Include trashed items. | ||
drive | resource_locator | Shared drive. Search only this shared drive (default: everything the account can see). Values from lookup drives. | |||
order_by | string | "modifiedTime desc" | |||
fields | string | Comma-separated file fields to return (default: the common ones; * for all). | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Update file details
Operation file.update. Renames a file or changes its description, star or content restrictions.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
name | string | New name. | |||
description | string | ||||
starred | boolean | ||||
writers_can_share | boolean | Editors can share. | |||
copy_requires_writer_permission | boolean | Disable download and copy for viewers. | |||
keep_revision_forever | boolean | false | Keep this revision forever. |
Replace file content
Operation file.update_content. Uploads new content for an existing file as a new revision (resumable, any size).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
binary_property | binary_property | "data" | Name of the binary property on the input item. | ||
file_name | string | New name. | |||
keep_revision_forever | boolean | false | Keep this revision forever. |
Copy a file
Operation file.copy.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
name | string | Name of the copy. Default: Drive’s ‘Copy of’ name. | |||
folder | resource_locator | Parent folder. Default: the original’s folder. Values from lookup folders. | |||
description | string |
Move a file
Operation file.move. Moves a file (or folder) into another folder, removing it from its current folders.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
folder | resource_locator | yes | Destination folder. Values from lookup folders. |
Delete a file
Operation file.delete. Moves the file to the trash, or deletes it permanently.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
permanently | boolean | false | Delete permanently. Skip the trash (cannot be undone). |
Share a file
Operation file.share. Grants a user, group, domain or anyone with the link access to the file.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Pick a file, paste its URL or enter its ID. Values from lookup files. | ||
role | options | "reader" | One of reader, commenter, writer, fileOrganizer, organizer, owner. | ||
type | options | "user" | Share with. One of user, group, domain, anyone. | ||
email | string | type = user, group | Email address. | ||
domain | string | type = domain | |||
allow_file_discovery | boolean | false | type = domain, anyone | Findable in search. | |
send_notification | boolean | true | type = user, group | Send notification email. | |
email_message | string | type = user, group | Message. | ||
expiration_time | datetime | Expires at. Access ends at this time (RFC 3339). |
Folder
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a folder | folder.create | writes | 1 | |
| Delete a folder | folder.delete | writes | 1 | |
| Share a folder | folder.share | writes | 1 |
Create a folder
Operation folder.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | |||
folder | resource_locator | Parent folder. Default: My Drive root. Values from lookup folders. | |||
color | string | Folder color as a hex RGB value. | |||
description | string |
Delete a folder
Operation folder.delete. Moves the folder and its contents to the trash, or deletes it permanently.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Folder. Pick a folder, paste its URL or enter its ID. Values from lookup folders. | ||
permanently | boolean | false | Delete permanently. Skip the trash (cannot be undone). |
Share a folder
Operation folder.share.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | resource_locator | yes | Folder. Pick a folder, paste its URL or enter its ID. Values from lookup folders. | ||
role | options | "reader" | One of reader, commenter, writer, fileOrganizer, organizer, owner. | ||
type | options | "user" | Share with. One of user, group, domain, anyone. | ||
email | string | type = user, group | Email address. | ||
domain | string | type = domain | |||
allow_file_discovery | boolean | false | type = domain, anyone | Findable in search. | |
send_notification | boolean | true | type = user, group | Send notification email. | |
email_message | string | type = user, group | Message. | ||
expiration_time | datetime | Expires at. Access ends at this time (RFC 3339). |
Shared drive
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a shared drive | drive.create | writes | 1 | |
| Get a shared drive | drive.get | reads | 1 | |
| List shared drives | drive.list | reads | yes | 2 |
| Update a shared drive | drive.update | writes | 1 | |
| Delete a shared drive | drive.delete | writes | 1 |
Create a shared drive
Operation drive.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | |||
hidden | boolean | false |
Get a shared drive
Operation drive.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
drive | resource_locator | yes | Shared drive. Pick a shared drive, paste its URL or enter its ID. Values from lookup drives. |
List shared drives
Operation drive.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | Drive search query for shared drives. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Update a shared drive
Operation drive.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
drive | resource_locator | yes | Shared drive. Pick a shared drive, paste its URL or enter its ID. Values from lookup drives. | ||
name | string | New name. | |||
color | string | Theme color as a hex RGB value. | |||
restrictions | collection | ||||
restrictions.adminManagedRestrictions | boolean | Only managers change restrictions. | |||
restrictions.copyRequiresWriterPermission | boolean | Viewers cannot download or copy. | |||
restrictions.domainUsersOnly | boolean | Only domain users have access. | |||
restrictions.driveMembersOnly | boolean | Only members have access. |
Delete a shared drive
Operation drive.delete. The shared drive must be empty.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
drive | resource_locator | yes | Shared drive. Pick a shared drive, paste its URL or enter its ID. Values from lookup drives. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
folders | client-side | ||
files | client-side | {{ item.mimeType }} | |
drives | client-side |
Triggers
Node type connector.google_drive_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| File created | file_created | poll | {{ item.id }} | 0 | ||
| File updated | file_updated | poll | {{ item.id ~ '@' ~ item.modifiedTime }} | 0 | ||
| Folder created | folder_created | poll | {{ item.id }} | 0 |
Trigger: File created
Emits files created since the previous poll, optionally only inside one folder or of one type.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
folder | resource_locator | In folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders. | |||
mime_type | string | File type. Only files of this MIME type. | |||
drive | resource_locator | Shared drive. Watch only this shared drive. Values from lookup drives. |
Trigger: File updated
Emits files whose content or details changed since the previous poll (new files included).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
folder | resource_locator | In folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders. | |||
mime_type | string | File type. Only files of this MIME type. | |||
drive | resource_locator | Shared drive. Watch only this shared drive. Values from lookup drives. |
Trigger: Folder created
Emits folders created since the previous poll.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
folder | resource_locator | In folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders. | |||
drive | resource_locator | Shared drive. Watch only this shared drive. Values from lookup drives. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleDrive | >=3 <4 | unverified | |
n8n-nodes-base.googleDriveTrigger | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/drive/api/reference/rest/v3
- https://developers.google.com/drive/api/reference/rest/v3/files
- https://developers.google.com/drive/api/reference/rest/v3/files/create
- https://developers.google.com/drive/api/reference/rest/v3/files/get
- https://developers.google.com/drive/api/reference/rest/v3/files/list
- https://developers.google.com/drive/api/reference/rest/v3/files/update
- https://developers.google.com/drive/api/reference/rest/v3/files/copy
- https://developers.google.com/drive/api/reference/rest/v3/files/delete
- https://developers.google.com/drive/api/reference/rest/v3/files/export
- https://developers.google.com/drive/api/reference/rest/v3/permissions/create
- https://developers.google.com/drive/api/reference/rest/v3/drives
- https://developers.google.com/drive/api/guides/manage-uploads
- https://developers.google.com/drive/api/guides/manage-downloads
- https://developers.google.com/drive/api/guides/ref-export-formats
- https://developers.google.com/drive/api/guides/search-files
- https://developers.google.com/drive/api/guides/mime-types
- https://developers.google.com/drive/api/guides/handle-errors
- https://developers.google.com/drive/api/guides/api-specific-auth
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
Google Sheets
connector.google_sheets · connector.google_sheets_trigger · productivity, data
Read, append, update and delete rows in Google Sheets spreadsheets, and manage spreadsheets and sheets.
Vendor API documentation: https://developers.google.com/sheets/api/reference/rest
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_sheets/oauth2 | oauth2_auth_code | client_id, client_secret (secret), scopes | yes |
| Service account | google_sheets/service_account | jwt_service_account | client_email, private_key (secret), subject, scopes | yes |
Actions
Node type connector.google_sheets. Choose a resource and an operation; each operation has its own parameters.
Spreadsheet
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a spreadsheet | spreadsheet.create | writes | 1 | |
| Get spreadsheet details | spreadsheet.get | reads | 1 | |
| Search spreadsheets | spreadsheet.list | reads | yes | 1 |
| Delete a spreadsheet | spreadsheet.delete | writes | 1 |
Create a spreadsheet
Operation spreadsheet.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
title | string | yes | Name of the new spreadsheet. | ||
sheets | string | Comma-separated titles of the sheets to create (default: one sheet named by Google). | |||
locale | string | Locale used for formatting, as an ISO 639-1 language and ISO 3166-1 country code. | |||
time_zone | string | Time zone in CLDR format. |
Get spreadsheet details
Operation spreadsheet.get. Returns the spreadsheet title, settings and the list of sheets.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. |
Search spreadsheets
Operation spreadsheet.list. Lists spreadsheets the account can open, newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name_contains | string | ||||
include_shared_drives | boolean | true | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Delete a spreadsheet
Operation spreadsheet.delete. Permanently deletes the spreadsheet file through the Drive API. Needs the drive scope unless the file was created by the same OAuth client.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. |
Sheet
A tab inside a spreadsheet.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List sheets | sheet.list | reads | 2 | |
| Add a sheet | sheet.create | writes | 1 | |
| Rename or change a sheet | sheet.update | writes | 1 | |
| Delete a sheet | sheet.delete | writes | 2 | |
| Clear sheet data | sheet.clear | writes | 2 |
List sheets
Operation sheet.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. |
Add a sheet
Operation sheet.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
title | string | yes | Title of the new sheet. | ||
index | number | Zero-based position among the tabs (default last). | |||
hidden | boolean | false | |||
right_to_left | boolean | false |
Rename or change a sheet
Operation sheet.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
title | string | New title. | |||
index | number | New zero-based position. | |||
hidden | boolean |
Delete a sheet
Operation sheet.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. |
Clear sheet data
Operation sheet.clear. Removes cell values (formatting stays). Clear the whole sheet, everything below the header row, or one A1 range.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
clear | options | "whole_sheet" | What to clear. One of whole_sheet, keep_header, range. | ||
header_row | number | 1 | clear = keep_header | ||
range | string | clear = range | Range in A1 notation, without the sheet name. |
Row
Rows of a sheet, read and written as objects keyed by the header row.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Append a row | row.append | writes | 3 | |
| Update a row | row.update | writes | 3 | |
| Append or update a row | row.append_or_update | writes | 2 | |
| Get rows | row.get | reads | 3 | |
| Delete rows | row.delete | writes | 1 |
Append a row
Operation row.append. Adds one row per input item after the last row of the table. Columns are matched to the header row by name; when the sheet is empty, a header row is written from the field names first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
mapping_mode | options | "auto" | Column values from. One of auto, manual, raw. | ||
fields | json | {} | mapping_mode = manual | Columns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}. | |
values | json | mapping_mode = raw | Array of cell values, or array of rows. | ||
header_row | number | 1 | Row number that holds the column names. | ||
value_input_option | options | "USER_ENTERED" | Interpret values. One of USER_ENTERED, RAW. | ||
insert_data_option | options | "INSERT_ROWS" | Insert mode. One of INSERT_ROWS, OVERWRITE. |
Update a row
Operation row.update. Finds the rows whose match column equals the match value and overwrites the mapped columns. Columns without a value keep their content. Use row_number as the match column to address a row directly.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
match_column | options | yes | Column to match on. Header name, or row_number Depends on spreadsheet, sheet. Values from lookup columns. | ||
match_value | string | Value to match. Leave empty to use the value of the match column from the input item (or from Columns). | |||
mapping_mode | options | "auto" | Column values from. One of auto, manual. | ||
fields | json | {} | mapping_mode = manual | Columns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}. | |
header_row | number | 1 | Row number that holds the column names. | ||
value_input_option | options | "USER_ENTERED" | Interpret values. One of USER_ENTERED, RAW. |
Append or update a row
Operation row.append_or_update. Updates the rows that match like Update; appends a new row when nothing matches.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
match_column | options | yes | Column to match on. Header name, or row_number Depends on spreadsheet, sheet. Values from lookup columns. | ||
match_value | string | Value to match. Leave empty to use the value of the match column from the input item (or from Columns). | |||
mapping_mode | options | "auto" | Column values from. One of auto, manual. | ||
fields | json | {} | mapping_mode = manual | Columns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}. | |
header_row | number | 1 | Row number that holds the column names. | ||
value_input_option | options | "USER_ENTERED" | Interpret values. One of USER_ENTERED, RAW. |
Get rows
Operation row.get. Reads rows as objects keyed by the header row, optionally keeping only rows whose columns equal given values.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
range | string | Range in A1 notation without the sheet name (default: the whole sheet). The header row is counted from the top of this range. | |||
header_row | number | 1 | Row number that holds the column names. | ||
filters | fixed_collection | Keep only rows where every listed column equals its value (or any, see Combine filters). | |||
filters.column | options | yes | Depends on spreadsheet, sheet. Values from lookup columns. | ||
filters.value | string | ||||
combine_filters | options | "and" | One of and, or. | ||
value_render_option | options | "FORMATTED_VALUE" | Cell values as. One of FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA. | ||
date_time_render_option | options | "FORMATTED_STRING" | Dates as. One of FORMATTED_STRING, SERIAL_NUMBER. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false | Maximum rows to return when no filters are set. |
Delete rows
Operation row.delete. Deletes whole rows; the rows below move up.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
start_row | number | yes | First row. Row number of the first row to delete (1 is the top row). | ||
count | number | 1 | Number of rows. |
Column
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Delete columns | column.delete | writes | 1 |
Delete columns
Operation column.delete. Deletes whole columns; the columns to the right move left.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
start_column | string | yes | First column. Column letter of the first column to delete. | ||
count | number | 1 | Number of columns. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
spreadsheets | client-side | ||
sheets | spreadsheet | client-side | |
columns | spreadsheet, sheet | client-side |
Triggers
Node type connector.google_sheets_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Row added | row_added | poll | 0 | |||
| Row added or updated | row_added_or_updated | poll | {{ item.row_number ~ ':' ~ (item | json | md5) }} | 0 |
Trigger: Row added
Emits rows that appear below the last row seen in the previous poll. Rows inserted above that point, or deleted rows, are not detected.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
header_row | number | 1 | Row number that holds the column names. | ||
value_render_option | options | "FORMATTED_VALUE" | Cell values as. One of FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA. |
Trigger: Row added or updated
Emits rows whose content changed since the previous poll, plus new rows. Change detection keeps a fingerprint per row, so it suits sheets of up to about 5000 rows.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
spreadsheet | resource_locator | yes | Pick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets. | ||
sheet | resource_locator | yes | Sheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets. | ||
header_row | number | 1 | Row number that holds the column names. | ||
value_render_option | options | "FORMATTED_VALUE" | Cell values as. One of FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleSheets | >=4 <5 | unverified | |
n8n-nodes-base.googleSheetsTrigger | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/sheets/api/reference/rest
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/request
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter
- https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear
- https://developers.google.com/sheets/api/reference/rest/v4/ValueInputOption
- https://developers.google.com/sheets/api/reference/rest/v4/ValueRenderOption
- https://developers.google.com/sheets/api/guides/concepts
- https://developers.google.com/sheets/api/limits
- https://developers.google.com/sheets/api/scopes
- https://developers.google.com/drive/api/reference/rest/v3/files/list
- https://developers.google.com/drive/api/reference/rest/v3/files/delete
- https://developers.google.com/drive/api/guides/search-files
- https://developers.google.com/drive/api/reference/rest/v3/about/get
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
Google Tasks
connector.google_tasks · connector.google_tasks_trigger · productivity, tasks
Manage task lists and tasks, including subtasks, ordering and completion, and react to task changes.
Vendor API documentation: https://developers.google.com/workspace/tasks/reference/rest
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | google_tasks/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account | google_tasks/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
Actions
Node type connector.google_tasks. Choose a resource and an operation; each operation has its own parameters.
Task list
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a task list | task_list.get | reads | 1 | |
| List task lists | task_list.list | reads | yes | 1 |
| Create a task list | task_list.create | writes | 1 | |
| Rename a task list | task_list.update | writes | 1 | |
| Delete a task list | task_list.delete | writes | 1 | |
| Clear completed tasks | task_list.clear_completed | writes | 1 |
Get a task list
Operation task_list.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
List task lists
Operation task_list.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Create a task list
Operation task_list.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
title | string | yes |
Rename a task list
Operation task_list.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | yes | Values from lookup task_lists. | ||
title | string | yes |
Delete a task list
Operation task_list.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | yes | Values from lookup task_lists. |
Clear completed tasks
Operation task_list.clear_completed. Hides all completed tasks of the list (they stay retrievable with Show hidden).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
Task
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a task | task.create | writes | 1 | |
| Get a task | task.get | reads | 2 | |
| List tasks | task.list | reads | yes | 2 |
| Update a task | task.update | writes | 1 | |
| Mark a task completed | task.complete | writes | 1 | |
| Delete a task | task.delete | writes | 1 | |
| Move a task | task.move | writes | 1 |
Create a task
Operation task.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
title | string | yes | |||
notes | string | ||||
due | datetime | Due date. Only the date part is used by Google Tasks. | |||
status | options | One of needsAction, completed. | |||
completed | datetime | Completed at. | |||
parent | resource_locator | Parent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks. | |||
previous | resource_locator | After task. Place after this sibling task. Depends on task_list. Values from lookup tasks. |
Get a task
Operation task.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. |
List tasks
Operation task.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
show_completed | boolean | true | |||
show_hidden | boolean | false | Include completed tasks that were cleared or completed in the apps. | ||
show_deleted | boolean | false | |||
show_assigned | boolean | false | Include tasks assigned from Docs or Chat spaces. | ||
due_min | datetime | Due after. | |||
due_max | datetime | Due before. | |||
completed_min | datetime | Completed after. | |||
completed_max | datetime | Completed before. | |||
updated_min | datetime | Updated after. |
Update a task
Operation task.update. Changes only the fields that are set.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. | ||
title | string | ||||
notes | string | ||||
due | datetime | Due date. Only the date part is used by Google Tasks. | |||
status | options | One of needsAction, completed. | |||
completed | datetime | Completed at. | |||
deleted | boolean | Set true to move the task to the trash. |
Mark a task completed
Operation task.complete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. |
Delete a task
Operation task.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. |
Move a task
Operation task.move. Changes the parent or position of a task, or moves it to another list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. | |
task | resource_locator | yes | Depends on task_list. Values from lookup tasks. | ||
parent | resource_locator | Parent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks. | |||
previous | resource_locator | After task. Place after this sibling task. Depends on task_list. Values from lookup tasks. | |||
destination_task_list | resource_locator | Values from lookup task_lists. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
task_lists | client-side | ||
tasks | task_list | client-side | {{ (’due ’ ~ item.due[:10]) if item.due else ‘’ }} |
Triggers
Node type connector.google_tasks_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Task created or updated | task_updated | poll | {{ item.id }}@{{ item.updated }} | 0 | ||
| Task completed | task_completed | poll | {{ item.id }}@{{ item.completed }} | 0 |
Trigger: Task created or updated
Emits tasks that were created or changed since the last check (one item per change).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
Trigger: Task completed
Emits tasks completed since the last check.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task_list | resource_locator | "@default" | yes | Values from lookup task_lists. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.googleTasks | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/workspace/tasks/reference/rest
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/list
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/insert
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/patch
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/move
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasks/clear
- https://developers.google.com/workspace/tasks/reference/rest/v1/tasklists
- https://developers.google.com/workspace/tasks/auth
- https://developers.google.com/workspace/tasks/performance
- https://tasks.googleapis.com/$discovery/rest?version=v1
- https://developers.google.com/identity/protocols/oauth2/web-server
- https://developers.google.com/identity/protocols/oauth2/service-account
HTTPBin Example
connector.httpbin_example · connector.httpbin_example_trigger · developer_tools
Reference connector that exercises the connector format against httpbin.
Vendor API documentation: https://httpbin.org
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| No authentication | httpbin_example/none | none | ||
| Bearer token | httpbin_example/bearer | bearer | token (secret) | yes |
| Username and password | httpbin_example/basic | basic | username, password (secret) | yes |
| API key header | httpbin_example/api_key | api_key | api_key (secret) | yes |
| HMAC signed requests | httpbin_example/signed | hmac_header | secret (secret) | yes |
Actions
Node type connector.httpbin_example. Choose a resource and an operation; each operation has its own parameters.
Request
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a GET request | request.get | reads | 1 | |
| Send JSON | request.post_json | writes | 1 | |
| Send a form | request.post_form | writes | 1 | |
| Upload a file | request.upload | writes | 1 | |
| Upload raw bytes | request.put_raw | writes | 1 | |
| Send an email message | request.send_email | writes | 1 | |
| Two dependent requests | request.chain | reads | 1 | |
| One request per value | request.fan_out | reads | 1 |
Send a GET request
Operation request.get. Sends query parameters and returns what the server received.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | json | {} | Object of query parameters. | ||
tag | string |
Send JSON
Operation request.post_json.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | |||
count | number | ||||
note | string | ||||
tags | multi_options | One of red, green, blue. |
Send a form
Operation request.post_form.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
fields | json | yes | |||
style | options | "brackets" | One of brackets, repeat, comma, indices. |
Upload a file
Operation request.upload.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | |||
title | string |
Upload raw bytes
Operation request.put_raw.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" |
Send an email message
Operation request.send_email. Builds a MIME message and posts it base64url encoded, like mail APIs expect.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
to | string | yes | |||
subject | string | yes | |||
text | string |
Two dependent requests
Operation request.chain.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
value | string | yes |
One request per value
Operation request.fan_out.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
values | json | yes |
Status code
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Return a status code | status.get | reads | 2 |
Return a status code
Operation status.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
code | number | 200 | yes |
Authentication check
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Check bearer token | auth.bearer | reads | 1 | |
| Check username and password | auth.basic | reads | 1 | |
| Show request headers | auth.headers | reads | 2 |
Check bearer token
Operation auth.bearer.
This node has no parameters.
Check username and password
Operation auth.basic.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | string | yes | |||
password | string | yes |
Show request headers
Operation auth.headers.
This node has no parameters.
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Download a PNG image | file.download_png | reads | 1 |
Download a PNG image
Operation file.download_png.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | string | "data" |
Slide
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List slides | slide.list | reads | yes | 2 |
List slides
Operation slide.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
slides | client-side |
Triggers
Node type connector.httpbin_example_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New UUID | new_uuid | poll | {{ item.uuid }} | 0 | ||
| Signed event | event | webhook | hmac_sha256 | automatic | 0 |
Trigger: New UUID
Emits each UUID the service returns that was not seen before.
This node has no parameters.
Trigger: Signed event
Receives events signed with HMAC-SHA256.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
secret | string | yes | Shared signing secret. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
Hacker News
connector.hacker_news · connector.hacker_news_trigger · news, social
Read stories, comments and users from Hacker News, and search with the HN Search API.
Vendor API documentation: https://github.com/HackerNews/API
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Public API (no sign-in) | hacker_news/none | none |
Actions
Node type connector.hacker_news. Choose a resource and an operation; each operation has its own parameters.
Item
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get an item | item.get | reads | 2 |
Get an item
Operation item.get. Fetch a story, comment, job, poll or poll option by its ID.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
id | number | yes | Numeric item ID. |
User
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a user | user.get | reads | 1 |
Get a user
Operation user.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
id | string | yes | Case-sensitive username. |
Story
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List stories from a feed | story.list | reads | 1 |
List stories from a feed
Operation story.list. Fetch the newest entries of a story feed with their details.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
list | options | "top" | Feed. One of top, new, best, ask, show, job. | ||
limit | number | 10 | Number of stories to fetch (each is one request). |
Search
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Search stories and comments | search.query | reads | yes | 1 |
Search stories and comments
Operation search.query.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | yes | |||
tags | options | "story" | One of story, comment, ask_hn, show_hn, front_page. | ||
sort | options | "relevance" | One of relevance, date. |
Triggers
Node type connector.hacker_news_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New story | new_story | poll | {{ item.objectID }} | 0 |
Trigger: New story
Emits stories posted since the previous poll, optionally matching keywords.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | Only stories matching these words. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
Hugging Face
connector.hugging_face · connector.hugging_face_trigger · ai
Run open models through Hugging Face Inference Providers, search the Hub, and react to repository events.
Vendor API documentation: https://huggingface.co/docs/inference-providers/index
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| User access token | hugging_face/access_token | bearer | token (secret) | yes |
| OAuth2 (Sign in with Hugging Face) | hugging_face/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
Actions
Node type connector.hugging_face. Choose a resource and an operation; each operation has its own parameters.
Chat
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send chat messages | chat.complete | writes | 3 |
Send chat messages
Operation chat.complete. OpenAI-compatible chat completion routed to a provider that serves the model.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup chat_models. | ||
routing | options | "default" | Provider selection. One of default, fastest, cheapest, provider. | ||
provider | string | yes | routing = provider | ||
messages | fixed_collection | yes | |||
messages.role | options | "user" | One of system, user, assistant. | ||
messages.content | string | yes | |||
options | collection | ||||
options.temperature | number | ||||
options.max_tokens | number | ||||
options.top_p | number | Top P. | |||
options.seed | number | ||||
options.stop | string | Stop sequences. Comma-separated. | |||
options.frequency_penalty | number | ||||
options.presence_penalty | number | ||||
options.json_schema | json | JSON schema. Structured output (only providers that support it). | |||
simplify | boolean | true | Simplify output. |
Embedding
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create embeddings | embedding.create | reads | 2 |
Create embeddings
Operation embedding.create. Feature extraction on HF Inference.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "BAAI/bge-small-en-v1.5" | yes | Values from lookup embedding_models. | |
input_mode | options | "single" | Input. One of single, batch. | ||
text | string | yes | input_mode = single | ||
texts | json | yes | input_mode = batch | JSON array of strings. | |
normalize | boolean | true | |||
prompt_name | string | Name of a prompt from the model’s sentence-transformers config, such as query. | |||
truncate | boolean | true | Truncate long inputs. |
Inference
Call any model hosted on HF Inference with a task payload.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Run a model (JSON input) | inference.run | writes | 2 | |
| Run a model (file input) | inference.run_binary | writes | 1 |
Run a model (JSON input)
Operation inference.run. Sends inputs and task parameters to a model and returns its raw result.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task | options | "text-classification" | Used to filter the model list; the model decides the task. One of text-classification, token-classification, zero-shot-classification, summarization, translation, question-answering, table-question-answering, fill-mask, sentence-similarity, text-generation. | ||
model | resource_locator | yes | Depends on task. Values from lookup models. | ||
inputs | json | yes | A string, or the JSON object the task expects (for example {question, context}). | ||
parameters | json | Task parameters, for example {candidate_labels: […]}. |
Run a model (file input)
Operation inference.run_binary. Sends a binary file (audio or image) to a model, for speech recognition, image classification, object detection and similar tasks.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
task | options | "automatic-speech-recognition" | One of automatic-speech-recognition, audio-classification, image-classification, object-detection, image-segmentation, image-to-text. | ||
model | resource_locator | yes | Depends on task. Values from lookup models. | ||
binary_property | binary_property | "data" | yes | Input binary field. |
Image
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Generate an image | image.generate | writes | 1 |
Generate an image
Operation image.generate. Text-to-image on HF Inference; the image is written to a binary field.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "black-forest-labs/FLUX.1-schnell" | yes | Values from lookup image_models. | |
prompt | string | yes | |||
options | collection | ||||
options.negative_prompt | string | ||||
options.width | number | ||||
options.height | number | ||||
options.num_inference_steps | number | Steps. | |||
options.guidance_scale | number | ||||
options.seed | number | ||||
output_property | string | "data" | Output binary field. |
Hub model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Search models | model.search | reads | yes | 1 |
| Get a model | model.get | reads | 1 |
Search models
Operation model.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
search | string | Name contains. | |||
author | string | Author or organization. | |||
pipeline_tag | string | Task. | |||
inference_provider | options | "" | Served by. One of ``, all, hf-inference. | ||
sort | options | "trendingScore" | Sort by. One of trendingScore, downloads, likes, lastModified, createdAt. |
Get a model
Operation model.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup hub_models. | ||
include_providers | boolean | false | Include provider mapping. |
Account
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get the current account | user.whoami | reads | 1 |
Get the current account
Operation user.whoami.
This node has no parameters.
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
chat_models | client-side | {{ (item.providers | map(attribute=‘provider’) | join(’, ’)) if item.providers else ‘’ }} | |
models | task | server-side | |
hub_models | server-side | ||
embedding_models | server-side | ||
image_models | server-side |
Triggers
Node type connector.hugging_face_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On repository event | repo_event | webhook | token | automatic | 0 |
Trigger: On repository event
Registers a Hub webhook and starts the workflow on commits, settings changes, discussions or comments.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
watched_type | options | "model" | Watch. One of model, dataset, space, user, org. | ||
watched_name | string | yes | Name. Repository id (owner/name), or a user or organization name. | ||
domains | multi_options | ["repo"] | yes | Event domains. One of repo, discussion. | |
scopes | multi_options | Only these event scopes. Leave empty to receive every event of the chosen domains. One of repo, repo.content, repo.config, discussion, discussion.comment. | |||
secret | string | yes | Webhook secret. Any random string. Hugging Face sends it back in X-Webhook-Secret and requests without it are rejected. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://huggingface.co/docs/inference-providers/index
- https://huggingface.co/docs/inference-providers/tasks/index
- https://huggingface.co/docs/inference-providers/tasks/chat-completion
- https://huggingface.co/docs/inference-providers/tasks/feature-extraction
- https://huggingface.co/docs/inference-providers/tasks/text-to-image
- https://huggingface.co/docs/inference-providers/tasks/automatic-speech-recognition
- https://huggingface.co/docs/inference-providers/providers/hf-inference
- https://huggingface.co/docs/inference-providers/hub-api
- https://huggingface.co/docs/hub/api
- https://huggingface.co/docs/hub/oauth
- https://huggingface.co/docs/hub/security-tokens
- https://huggingface.co/docs/hub/webhooks
- https://huggingface.co/docs/huggingface_hub/guides/webhooks
- https://huggingface.co/.well-known/openapi.json
Matrix
connector.matrix · connector.matrix_trigger · communication
Send text, files, reactions and edits to Matrix rooms, manage rooms and membership, read room history and state, and poll rooms for new events.
Vendor API documentation: https://spec.matrix.org/latest/client-server-api/
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Access token | matrix/access_token | bearer | homeserver_url, token (secret) | yes |
Actions
Node type connector.matrix. Choose a resource and an operation; each operation has its own parameters.
Message
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a text message | message.send_text | writes | 5 | |
| Send a file | message.send_file | writes | 3 | |
| List room messages | message.list | reads | yes | 1 |
| Edit a message | message.edit | writes | 1 | |
| React to a message | message.react | writes | 1 | |
| Redact (delete) an event | message.redact | writes | 1 |
Send a text message
Operation message.send_text.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
text | string | yes | Plain text body (also the fallback when HTML is given). | ||
html | string | Optional HTML version (org.matrix.custom.html). | |||
msgtype | options | "m.text" | One of m.text, m.notice, m.emote. | ||
reply_to | string | Event ID to reply to. | |||
thread_root | string | Event ID of a thread root to post in. | |||
mentions | json | m.mentions object, for example {“user_ids”: [“@ada:example.com”]}. |
Send a file
Operation message.send_file. Uploads binary data to the media repository, then posts it as an image, video, audio or file message.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
binary_property | binary_property | "data" | yes | ||
file_name | string | Defaults to the binary file name. | |||
msgtype | options | Leave empty to pick from the MIME type (image, video, audio or file without the m. prefix are accepted too). One of m.image, m.video, m.audio, m.file. | |||
caption | string | Text shown with the media. | |||
thread_root | string |
List room messages
Operation message.list. Reads the room timeline, newest first by default.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
dir | options | "b" | One of b, f. | ||
filter | json | RoomEventFilter, for example {“types”: [“m.room.message”]}. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Edit a message
Operation message.edit.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_id | string | yes | The original message’s event ID. | ||
text | string | yes | |||
html | string |
React to a message
Operation message.react.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_id | string | yes | |||
key | string | yes | The reaction, usually an emoji. |
Redact (delete) an event
Operation message.redact.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_id | string | yes | |||
reason | string |
Event
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get an event | event.get | reads | 1 | |
| Send a custom event | event.send | writes | 1 | |
| Get a state event | event.get_state | reads | 1 | |
| Set a state event | event.set_state | writes | 1 |
Get an event
Operation event.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_id | string | yes |
Send a custom event
Operation event.send.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_type | string | yes | |||
content | json | yes |
Get a state event
Operation event.get_state.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_type | string | yes | |||
state_key | string | "" |
Set a state event
Operation event.set_state.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_type | string | yes | |||
state_key | string | "" | |||
content | json | yes |
Room
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a room | room.create | writes | 1 | |
| Join a room | room.join | writes | 1 | |
| Leave a room | room.leave | writes | 1 | |
| Invite a user | room.invite | writes | 1 | |
| Kick a user | room.kick | writes | 1 | |
| Ban a user | room.ban | writes | 1 | |
| Unban a user | room.unban | writes | 1 | |
| List joined rooms | room.list_joined | reads | 1 | |
| List room members | room.members | reads | 1 | |
| Rename a room | room.set_name | writes | 1 | |
| Set the room topic | room.set_topic | writes | 1 | |
| Resolve a room alias | room.resolve_alias | reads | 1 |
Create a room
Operation room.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | ||||
topic | string | ||||
preset | options | "private_chat" | One of private_chat, trusted_private_chat, public_chat. | ||
visibility | options | "private" | One of private, public. | ||
room_alias_name | string | Local alias part, for example ops gives #ops:server. | |||
invite | string | User IDs to invite (array or comma-separated). | |||
is_direct | boolean | false |
Join a room
Operation room.join.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Room ID (!…) or alias (#…). Values from lookup public_rooms. |
Leave a room
Operation room.leave.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
reason | string |
Invite a user
Operation room.invite.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
user_id | string | yes | |||
reason | string |
Kick a user
Operation room.kick.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
user_id | resource_locator | yes | Depends on room. Values from lookup members. | ||
reason | string |
Ban a user
Operation room.ban.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
user_id | resource_locator | yes | Depends on room. Values from lookup members. | ||
reason | string |
Unban a user
Operation room.unban.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
user_id | string | yes | |||
reason | string |
List joined rooms
Operation room.list_joined.
This node has no parameters.
List room members
Operation room.members.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
membership | options | "join" | One of join, invite, leave, ban, knock. |
Rename a room
Operation room.set_name.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
name | string | yes |
Set the room topic
Operation room.set_topic.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
topic | string | yes |
Resolve a room alias
Operation room.resolve_alias.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
alias | string | yes |
User
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get the authenticated user | user.whoami | reads | 1 | |
| Get a user profile | user.get_profile | reads | 1 | |
| Search the user directory | user.search | reads | 1 |
Get the authenticated user
Operation user.whoami.
This node has no parameters.
Get a user profile
Operation user.get_profile.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user_id | string | yes |
Search the user directory
Operation user.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
term | string | yes | |||
limit | number | 10 |
Media
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload media | media.upload | writes | 1 | |
| Download media | media.download | reads | 1 |
Upload media
Operation media.upload. Stores binary data in the homeserver’s media repository and returns its mxc:// URI.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | ||
file_name | string |
Download media
Operation media.download.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
mxc_uri | string | yes | |||
file_name | string | File name for the binary data. | |||
binary_property | string | "data" |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
rooms | client-side | ||
public_rooms | client-side | {{ item.topic[:80] if item.topic else ‘’ }} | |
members | room | client-side | {{ item.state_key }} |
Triggers
Node type connector.matrix_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New event in room (polling) | new_event | poll | {{ item.event_id }} | 0 |
Trigger: New event in room (polling)
Checks a room for new events on the poll schedule (messages by default). Events sent by this account are included; compare sender with the whoami result to skip them.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
room | resource_locator | yes | Values from lookup rooms. | ||
event_types | multi_options | ["m.room.message"] | One of m.room.message, m.reaction, m.room.member, m.room.redaction, m.room.topic, m.room.name, m.sticker. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.matrix | 1 | unverified |
Provenance
Written from the vendor’s documentation:
- https://spec.matrix.org/latest/client-server-api/
- https://spec.matrix.org/latest/client-server-api/#put_matrixclientv3roomsroomidsendeventtypetxnid
- https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3roomsroomidmessages
- https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3createroom
- https://spec.matrix.org/latest/client-server-api/#room-membership
- https://spec.matrix.org/latest/client-server-api/#content-repository
- https://spec.matrix.org/latest/client-server-api/#mroommessage-msgtypes
- https://spec.matrix.org/latest/client-server-api/#rich-replies
- https://spec.matrix.org/latest/client-server-api/#threading
- https://spec.matrix.org/latest/client-server-api/#event-replacements
- https://spec.matrix.org/latest/client-server-api/#event-annotations-and-reactions
- https://spec.matrix.org/latest/client-server-api/#redactions
- https://spec.matrix.org/latest/client-server-api/#user-directory
- https://spec.matrix.org/latest/client-server-api/#rate-limiting
- https://spec.matrix.org/latest/appendices/#uris
Mattermost
connector.mattermost · connector.mattermost_trigger · communication
Post, edit and search messages, manage channels, users, teams, reactions and files on a Mattermost server, and start workflows from outgoing webhooks or new posts.
Vendor API documentation: https://developers.mattermost.com/api-documentation/
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Personal access token or bot token | mattermost/access_token | bearer | base_url, token (secret) | yes |
| OAuth2 (Mattermost OAuth 2.0 app) | mattermost/oauth2 | oauth2_auth_code | base_url, client_id, client_secret (secret) | yes |
Actions
Node type connector.mattermost. Choose a resource and an operation; each operation has its own parameters.
Post
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a post | post.create | writes | 3 | |
| Create an ephemeral post | post.create_ephemeral | writes | 1 | |
| Get a post | post.get | reads | 1 | |
| Edit a post | post.update | writes | 1 | |
| Delete a post | post.delete | writes | 1 | |
| List channel posts | post.list | reads | yes | 1 |
| Get a thread | post.thread | reads | 1 | |
| Search posts | post.search | reads | 1 | |
| Pin a post | post.pin | writes | 1 | |
| Unpin a post | post.unpin | writes | 1 |
Create a post
Operation post.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Team whose channels are listed in the channel picker. Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
message | string | yes | Markdown text. | ||
root_id | string | Post ID to reply to in its thread. | |||
file_ids | string | Up to 5 uploaded file IDs (array or comma-separated). | |||
attachments | json | Message attachments array (stored in props.attachments). | |||
props | json | Additional post properties. | |||
priority | options | One of important, urgent. | |||
request_ack | boolean | false | Ask readers to acknowledge the post (needs a priority). |
Create an ephemeral post
Operation post.create_ephemeral. Shows a post to one user only. Needs the create_post_ephemeral permission (system admins).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
user | resource_locator | yes | Values from lookup users. | ||
message | string | yes |
Get a post
Operation post.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
Edit a post
Operation post.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes | |||
message | string | ||||
props | json | ||||
file_ids | string |
Delete a post
Operation post.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
List channel posts
Operation post.list. Posts of a channel, page by page (post order inside a page follows the server’s map order; sort by create_at when order matters).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a thread
Operation post.thread. Returns the root post and all replies.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
Search posts
Operation post.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
terms | string | yes | Search terms; supports from:, in:, before:, after: and quoted phrases. | ||
is_or_search | boolean | false | |||
include_deleted_channels | boolean | false | |||
time_zone_offset | number | 0 |
Pin a post
Operation post.pin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
Unpin a post
Operation post.unpin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
Reaction
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Add a reaction | reaction.add | writes | 2 | |
| Remove a reaction | reaction.remove | writes | 1 | |
| List reactions of a post | reaction.list | reads | 1 |
Add a reaction
Operation reaction.add.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes | |||
emoji_name | string | yes | Emoji name without colons, for example thumbsup. | ||
user | resource_locator | React as this user (needs permission). Leave empty for the credential’s own user. Values from lookup users. |
Remove a reaction
Operation reaction.remove.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes | |||
emoji_name | string | yes | |||
user | resource_locator | Remove this user’s reaction (needs permission). Leave empty for the credential’s own user. Values from lookup users. |
List reactions of a post
Operation reaction.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
post_id | string | yes |
Channel
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a channel | channel.create | writes | 1 | |
| Get a channel | channel.get | reads | 1 | |
| Get a channel by name | channel.get_by_name | reads | 1 | |
| List public channels of a team | channel.list | reads | yes | 1 |
| Search channels of a team | channel.search | reads | 1 | |
| Update a channel | channel.update | writes | 1 | |
| Archive a channel | channel.delete | writes | 1 | |
| Restore an archived channel | channel.restore | writes | 1 | |
| Add a user to a channel | channel.add_member | writes | 1 | |
| Remove a user from a channel | channel.remove_member | writes | 1 | |
| List channel members | channel.members | reads | yes | 1 |
| Get channel statistics | channel.stats | reads | 1 |
Create a channel
Operation channel.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
display_name | string | yes | |||
name | string | yes | URL name: lowercase letters, digits, - and _. | ||
type | options | "O" | One of O, P. | ||
purpose | string | ||||
header | string |
Get a channel
Operation channel.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. |
Get a channel by name
Operation channel.get_by_name.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
name | string | yes | The channel’s URL name. |
List public channels of a team
Operation channel.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Search channels of a team
Operation channel.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
term | string | yes | Matches channel names and display names. | ||
return_all | boolean | true | |||
limit | number | 50 | return_all = false |
Update a channel
Operation channel.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
display_name | string | ||||
name | string | ||||
purpose | string | ||||
header | string |
Archive a channel
Operation channel.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. |
Restore an archived channel
Operation channel.restore.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | string | yes | ID of the archived channel. |
Add a user to a channel
Operation channel.add_member.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
user | resource_locator | yes | Values from lookup users. |
Remove a user from a channel
Operation channel.remove_member.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
user | resource_locator | yes | Values from lookup users. |
List channel members
Operation channel.members.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get channel statistics
Operation channel.stats.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. |
User
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a user | user.get | reads | 1 | |
| Get the authenticated user | user.get_me | reads | 2 | |
| Get a user by email | user.get_by_email | reads | 1 | |
| Get a user by username | user.get_by_username | reads | 1 | |
| List users | user.list | reads | yes | 1 |
| Search users | user.search | reads | 1 | |
| Create a user | user.create | writes | 1 | |
| Deactivate a user | user.deactivate | writes | 1 | |
| Invite users to a team by email | user.invite | writes | 1 |
Get a user
Operation user.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | yes | Values from lookup users. |
Get the authenticated user
Operation user.get_me.
This node has no parameters.
Get a user by email
Operation user.get_by_email.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
email | string | yes |
Get a user by username
Operation user.get_by_username.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
username | string | yes |
List users
Operation user.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
in_team | resource_locator | Only members of this team. Values from lookup teams. | |||
in_channel | string | Only members of this channel ID. | |||
status | options | "all" | One of all, active, inactive. | ||
sort | options | One of last_activity_at, create_at, status. | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Search users
Operation user.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
term | string | yes | Matches usernames, full names, nicknames and email. | ||
team | resource_locator | Values from lookup teams. | |||
allow_inactive | boolean | false | |||
limit | number | 100 |
Create a user
Operation user.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
email | string | yes | |||
username | string | yes | |||
password | string | yes | |||
first_name | string | ||||
last_name | string | ||||
nickname | string | ||||
locale | string |
Deactivate a user
Operation user.deactivate.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | yes | Values from lookup users. |
Invite users to a team by email
Operation user.invite.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
emails | string | yes | Email addresses (array or comma-separated). |
Team
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List my teams | team.list | reads | 1 | |
| Get a team | team.get | reads | 1 | |
| Add a user to a team | team.add_member | writes | 1 |
List my teams
Operation team.list.
This node has no parameters.
Get a team
Operation team.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. |
Add a user to a team
Operation team.add_member.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
user | resource_locator | yes | Values from lookup users. |
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 1 | |
| Get file details | file.get_info | reads | 1 | |
| Download a file | file.download | reads | 1 |
Upload a file
Operation file.upload. Uploads a file to a channel; attach it to a post with the returned file ID.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. | ||
binary_property | binary_property | "data" | yes | ||
file_name | string | Defaults to the binary file name. |
Get file details
Operation file.get_info.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | string | yes |
Download a file
Operation file.download.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | string | yes | |||
binary_property | string | "data" |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
teams | client-side | {{ item.name }} | |
channels | team | client-side | {{ {‘O’: ‘Public’, ‘P’: ‘Private’, ‘D’: ‘Direct message’, ‘G’: ‘Group message’}[item.type] }} |
users | client-side | @{{ item.username }} |
Triggers
Node type connector.mattermost_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Message with trigger word or in channel (outgoing webhook) | outgoing_webhook | webhook | automatic | 0 | ||
| New post in channel (polling) | new_post | poll | {{ item.id }} | 0 |
Trigger: Message with trigger word or in channel (outgoing webhook)
Creates a Mattermost outgoing webhook pointing at this node when the workflow is activated and deletes it on deactivation. Mattermost sends public-channel messages that start with a trigger word, or every message in the chosen channel. Requests whose token does not match the registered webhook are acknowledged and ignored.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | yes | Values from lookup teams. | ||
channel | resource_locator | Public channel to watch. Required when no trigger words are set. Depends on team. Values from lookup channels. | |||
trigger_words | string | Comma-separated words; a message must start with one of them. | |||
trigger_when | options | 0 | One of 0, 1. | ||
display_name | string | "Tappet workflow" | Name shown for the webhook in Mattermost. |
Trigger: New post in channel (polling)
Checks a channel for new posts on the poll schedule, including private channels the account can read.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
team | resource_locator | Values from lookup teams. | |||
channel | resource_locator | yes | Depends on team. Values from lookup channels. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.mattermost | 1 | unverified |
Provenance
Written from the vendor’s documentation:
- https://docs.mattermost.com/api
- https://docs.mattermost.com/api/reference/posts
- https://docs.mattermost.com/api/reference/channels
- https://docs.mattermost.com/api/reference/users
- https://docs.mattermost.com/api/reference/teams
- https://docs.mattermost.com/api/reference/reactions
- https://docs.mattermost.com/api/reference/files
- https://docs.mattermost.com/api/reference/webhooks
- https://docs.mattermost.com/api/reference/o-auth
- https://docs.mattermost.com/developers/integrate/webhooks/outgoing
- https://raw.githubusercontent.com/mattermost/mattermost/master/api/v4/source/posts.yaml
- https://raw.githubusercontent.com/mattermost/mattermost/master/api/v4/source/webhooks.yaml
- https://raw.githubusercontent.com/mattermost/mattermost/master/api/v4/source/reactions.yaml
- https://docs.mattermost.com/integrations-guide/oauth2-provider.html
- https://docs.mattermost.com/developer/personal-access-tokens.html
Mistral AI
connector.mistral · connector.mistral_trigger · ai
Chat, embeddings, document OCR, moderation, files and batch jobs on La Plateforme.
Vendor API documentation: https://docs.mistral.ai/api/
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | mistral/api_key | bearer | token (secret) | yes |
Actions
Node type connector.mistral. Choose a resource and an operation; each operation has its own parameters.
Chat
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send chat messages | chat.complete | writes | 2 |
Send chat messages
Operation chat.complete. Generates the next assistant message for a conversation.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "mistral-small-latest" | yes | Values from lookup models. | |
messages | fixed_collection | yes | |||
messages.role | options | "user" | One of system, user, assistant. | ||
messages.content | string | yes | |||
options | collection | ||||
options.temperature | number | ||||
options.top_p | number | Top P. | |||
options.max_tokens | number | ||||
options.random_seed | number | Seed. | |||
options.stop | string | Stop sequences. Comma-separated. | |||
options.presence_penalty | number | ||||
options.frequency_penalty | number | ||||
options.n | number | Number of completions. | |||
options.safe_prompt | boolean | false | Prepend safety prompt. | ||
options.response_format | options | One of text, json_object. | |||
options.json_schema | json | JSON schema. Forces the reply to match this schema. Overrides Response format. | |||
simplify | boolean | true | Simplify output. Return the reply text and usage only. |
Embedding
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create embeddings | embedding.create | reads | 2 |
Create embeddings
Operation embedding.create. Returns one item per input text with its vector.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "mistral-embed" | yes | Values from lookup models. | |
input_mode | options | "single" | Input. One of single, batch. | ||
input | string | yes | input_mode = single | Text. | |
inputs | json | yes | input_mode = batch | Texts. JSON array of strings. | |
output_dimension | number | Only for models that support reduced dimensions. | |||
output_dtype | options | "float" | Output data type. One of float, int8, uint8, binary, ubinary. |
Document
Optical character recognition for PDFs, slides and images.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Extract text from a URL | document.ocr | reads | 2 | |
| Extract text from a file | document.ocr_binary | writes | 1 |
Extract text from a URL
Operation document.ocr. Runs OCR on a public document or image URL and returns Markdown.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "mistral-ocr-latest" | yes | Values from lookup models. | |
document_type | options | "document_url" | One of document_url, image_url. | ||
url | string | yes | URL. | ||
options | collection | ||||
options.pages | string | Zero-based pages to process, for example 0,2-4. | |||
options.include_image_base64 | boolean | false | Include images. | ||
options.image_limit | number | Max images. | |||
options.image_min_size | number | Min image size (px). | |||
options.table_format | options | One of markdown, html. | |||
options.extract_header | boolean | false | Separate headers. | ||
options.extract_footer | boolean | false | Separate footers. | ||
options.annotation_schema | json | Document annotation schema. JSON Schema for structured data extracted from the whole document. | |||
options.annotation_prompt | string | Document annotation prompt. | |||
output_mode | options | "document" | Output. One of document, pages. |
Extract text from a file
Operation document.ocr_binary. Uploads a binary file for OCR, runs OCR on it, and deletes the upload afterwards.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "mistral-ocr-latest" | yes | Values from lookup models. | |
binary_property | binary_property | "data" | yes | Input binary field. | |
options | collection | ||||
options.pages | string | Zero-based pages to process, for example 0,2-4. | |||
options.include_image_base64 | boolean | false | Include images. | ||
options.image_limit | number | Max images. | |||
options.image_min_size | number | Min image size (px). | |||
options.table_format | options | One of markdown, html. | |||
options.extract_header | boolean | false | Separate headers. | ||
options.extract_footer | boolean | false | Separate footers. | ||
options.annotation_schema | json | Document annotation schema. JSON Schema for structured data extracted from the whole document. | |||
options.annotation_prompt | string | Document annotation prompt. | |||
output_mode | options | "document" | Output. One of document, pages. | ||
delete_after | boolean | true | Delete uploaded file. |
Moderation
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Moderate text | moderation.classify | reads | 1 |
Moderate text
Operation moderation.classify. Scores text against Mistral’s moderation categories.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "mistral-moderation-latest" | yes | Values from lookup models. | |
input | string | yes | Text. |
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 1 | |
| List files | file.list | reads | yes | 1 |
| Get a file | file.get | reads | 1 | |
| Delete a file | file.delete | writes | 1 | |
| Download a file | file.download | reads | 1 | |
| Get a download link | file.get_signed_url | reads | 1 |
Upload a file
Operation file.upload.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. | |
purpose | options | "ocr" | yes | One of ocr, batch, fine-tune. | |
visibility | options | "workspace" | One of workspace, user. |
List files
Operation file.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
purpose | options | One of ocr, batch, fine-tune. | |||
search | string | Name contains. |
Get a file
Operation file.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. |
Delete a file
Operation file.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. |
Download a file
Operation file.download.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. | ||
output_property | string | "data" | Output binary field. |
Get a download link
Operation file.get_signed_url.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. | ||
expiry_hours | number | 24 | Expires after (hours). 1 to 168. |
Model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List models | model.list | reads | 1 | |
| Get a model | model.get | reads | 1 |
List models
Operation model.list.
This node has no parameters.
Get a model
Operation model.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. |
Batch job
Run many requests asynchronously at reduced cost.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a batch job | batch_job.create | writes | 1 | |
| Get a batch job | batch_job.get | reads | 1 | |
| List batch jobs | batch_job.list | reads | yes | 1 |
| Cancel a batch job | batch_job.cancel | writes | 1 |
Create a batch job
Operation batch_job.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. | ||
endpoint | options | "/v1/chat/completions" | yes | One of /v1/chat/completions, /v1/embeddings, /v1/fim/completions, /v1/moderations, /v1/chat/moderations, /v1/ocr, /v1/classifications, /v1/chat/classifications, /v1/conversations, /v1/audio/transcriptions. | |
source | options | "file" | Requests from. One of file, inline. | ||
input_file | resource_locator | yes | source = file | Values from lookup files. | |
requests | json | yes | source = inline | JSON array of {custom_id, body} objects. | |
metadata | json | ||||
timeout_hours | number | 24 | Timeout (hours). |
Get a batch job
Operation batch_job.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
job_id | resource_locator | yes | Batch job. Values from lookup batch_jobs. |
List batch jobs
Operation batch_job.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
status | multi_options | One of QUEUED, RUNNING, SUCCESS, FAILED, TIMEOUT_EXCEEDED, CANCELLATION_REQUESTED, CANCELLED. | |||
model | string |
Cancel a batch job
Operation batch_job.cancel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
job_id | resource_locator | yes | Batch job. Values from lookup batch_jobs. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
models | client-side | {{ item.description }} | |
files | server-side | ||
batch_jobs | client-side |
Triggers
Node type connector.mistral_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On batch job finished | batch_job_finished | poll | {{ item.id }} | 0 |
Trigger: On batch job finished
Emits a batch job once it reaches a final state.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
statuses | multi_options | ["SUCCESS","FAILED","TIMEOUT_EXCEEDED","CANCELLED"] | Final states. One of SUCCESS, FAILED, TIMEOUT_EXCEEDED, CANCELLED. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.mistralAi | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://docs.mistral.ai/api/
- https://docs.mistral.ai/api/endpoint/chat
- https://docs.mistral.ai/api/endpoint/embeddings
- https://docs.mistral.ai/api/endpoint/ocr
- https://docs.mistral.ai/api/endpoint/files
- https://docs.mistral.ai/api/endpoint/models
- https://docs.mistral.ai/api/endpoint/classifiers
- https://docs.mistral.ai/api/endpoint/batch
OpenWeatherMap
connector.openweathermap · weather, data
Current weather, 5 day forecasts and place lookups from OpenWeatherMap.
Vendor API documentation: https://openweathermap.org/api
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | openweathermap/api_key | api_key | api_key (secret) | yes |
Actions
Node type connector.openweathermap. Choose a resource and an operation; each operation has its own parameters.
Current weather
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get current weather | weather.current | reads | 3 |
Get current weather
Operation weather.current.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
location_by | options | "city" | One of city, coordinates, city_id, zip. | ||
city | string | location_by = city | City name, optionally with country code (Paris,FR). | ||
latitude | number | location_by = coordinates | |||
longitude | number | location_by = coordinates | |||
city_id | number | location_by = city_id | City ID. | ||
zip | string | location_by = zip | ZIP code. ZIP with country code (94040,US). | ||
units | options | "metric" | One of standard, metric, imperial. | ||
language | string | Two-letter language code for descriptions. |
Forecast
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get the 5 day forecast | forecast.five_day | reads | 1 |
Get the 5 day forecast
Operation forecast.five_day. One item per 3-hour step.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
location_by | options | "city" | One of city, coordinates, city_id, zip. | ||
city | string | location_by = city | |||
latitude | number | location_by = coordinates | |||
longitude | number | location_by = coordinates | |||
city_id | number | location_by = city_id | City ID. | ||
zip | string | location_by = zip | ZIP code. | ||
units | options | "metric" | One of standard, metric, imperial. | ||
language | string | ||||
steps | number | Number of 3-hour steps (max 40). |
Location
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Find places by name | location.search | reads | 1 |
Find places by name
Operation location.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | yes | City name, state code and country code, comma separated. | ||
limit | number | 5 |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://openweathermap.org/current
- https://openweathermap.org/forecast5
- https://openweathermap.org/api/geocoding-api
- https://openweathermap.org/appid
Perplexity
connector.perplexity · ai
Web-grounded answers from the Perplexity Agent API and ranked web results from the Search API.
Vendor API documentation: https://docs.perplexity.ai
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | perplexity/api_key | bearer | token (secret) | yes |
Actions
Node type connector.perplexity. Choose a resource and an operation; each operation has its own parameters.
Agent response
Research answers that search the web and cite their sources.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Ask a question | agent.ask | writes | 3 | |
| Get a response | agent.get | reads | 1 | |
| Cancel a background response | agent.cancel | writes | 1 |
Ask a question
Operation agent.ask. Sends a prompt to the Agent API and returns the answer with its sources.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
input | string | yes | Prompt. The question or task for the agent. | ||
effort | options | "fast" | Preset that trades speed for depth of research. One of fast, low, medium, high, xhigh. | ||
model | string | Model override. Run a specific model instead of an effort preset. Leave empty to use the preset. | |||
instructions | string | System guidance applied to the whole response. | |||
search | collection | Web search. | |||
search.domain_filter | string | Domains. Comma-separated domains to search. Prefix a domain with - to exclude it. | |||
search.recency | options | Published within. One of hour, day, week, month, year. | |||
search.after_date | string | Published after (MM/DD/YYYY). | |||
search.before_date | string | Published before (MM/DD/YYYY). | |||
search.max_results | number | 1 to 50. | |||
search.country | string | User country (ISO code). | |||
include_images | boolean | false | Include image results. | ||
options | collection | ||||
options.max_output_tokens | number | ||||
options.temperature | number | 0 to 2. Ignored by some models. | |||
options.top_p | number | Top P. | |||
options.language_preference | string | Response language (ISO 639-1). | |||
options.previous_response_id | string | Continue from response ID. | |||
options.json_schema | json | Structured output schema. JSON Schema the answer must follow. | |||
options.background | boolean | false | Run in background. Return immediately with a queued response; fetch the result later with Get a response. | ||
simplify | boolean | true | Simplify output. Return only the answer text, sources and usage. |
Get a response
Operation agent.get. Fetches a response by ID, for example one started in the background.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
response_id | string | yes | Response ID. | ||
simplify | boolean | true | Simplify output. |
Cancel a background response
Operation agent.cancel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
response_id | string | yes | Response ID. |
Chat
Message-list chat interface kept for workflows built against the retired Sonar chat completions API.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send chat messages | chat.complete | writes | 1 |
Send chat messages
Operation chat.complete. Sends a list of messages and returns the answer. Sonar model names are translated to Agent API effort presets (sonar and sonar-pro to fast, sonar-reasoning-pro to low, sonar-deep-research to high).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | options | "sonar" | One of sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro, sonar-deep-research. | ||
messages | fixed_collection | yes | |||
messages.role | options | "user" | One of system, user, assistant. | ||
messages.content | string | yes | |||
options | collection | ||||
options.max_tokens | number | ||||
options.temperature | number | ||||
options.top_p | number | Top P. | |||
options.search_domain_filter | string | Domains. Comma-separated domains; prefix with - to exclude. | |||
options.search_recency_filter | options | Published within. One of hour, day, week, month, year. | |||
options.return_images | boolean | false | |||
simplify | boolean | true | Simplify output. Return the answer text and sources only. |
Web search
Ranked web results without an LLM answer.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Search the web | search.query | reads | 2 |
Search the web
Operation search.query.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | yes | Up to 5 queries can be sent as a comma-separated list when Multiple queries is on. | ||
multiple_queries | boolean | false | Split the query on commas and run each one. | ||
max_results | number | 10 | 1 to 20 (up to 50 for people search). | ||
search_type | options | "web" | One of web, fast, people. | ||
filters | collection | ||||
filters.country | string | Country (ISO 3166-1 alpha-2). | |||
filters.languages | string | Languages (comma-separated ISO 639-1). | |||
filters.domains | string | Comma-separated; prefix with - to exclude. | |||
filters.recency | options | Published within. One of hour, day, week, month, year. | |||
filters.after_date | string | Published after (MM/DD/YYYY). | |||
filters.before_date | string | Published before (MM/DD/YYYY). | |||
filters.updated_after | string | Updated after (MM/DD/YYYY). | |||
filters.updated_before | string | Updated before (MM/DD/YYYY). | |||
filters.snapshot_as_of | datetime | Snapshot as of (RFC 3339). |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.perplexity | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://docs.perplexity.ai/api-reference/agent-post.md
- https://docs.perplexity.ai/docs/agent-api/background-mode.md
- https://docs.perplexity.ai/docs/agent-api/migrate-from-sonar/how-to.md
- https://docs.perplexity.ai/api-reference/chat-completions
- https://docs.perplexity.ai/api-reference/search-post.md
- https://docs.perplexity.ai/guides/search-quickstart
Pinecone
connector.pinecone · ai, database
Upsert, query, fetch and delete vectors in Pinecone indexes, search integrated-embedding indexes, and embed or rerank with Pinecone Inference.
Vendor API documentation: https://docs.pinecone.io/reference/api/introduction
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API key | pinecone/api_key | api_key | api_key (secret) | yes |
Actions
Node type connector.pinecone. Choose a resource and an operation; each operation has its own parameters.
Vector
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upsert vectors | vector.upsert | writes | 3 | |
| Query | vector.query | reads | 2 | |
| Fetch by ID | vector.fetch | reads | 1 | |
| Fetch by metadata | vector.fetch_by_metadata | reads | yes | 1 |
| Update | vector.update | writes | 2 | |
| Delete | vector.delete | writes | 2 | |
| List record IDs | vector.list_ids | reads | yes | 1 |
Upsert vectors
Operation vector.upsert. Writes one record per input item, or a batch from a JSON array. Existing ids are overwritten.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
mode | options | "single" | Input. One of single, batch. | ||
id | string | yes | mode = single | ID. | |
values | json | mode = single | Dense vector as a JSON array of numbers. | ||
sparse_values | json | mode = single | {indices: […], values: […]}. | ||
metadata | json | mode = single | |||
vectors | json | yes | mode = batch | Records. Up to 1000 {id, values, sparseValues, metadata} objects (2 MB max). |
Query
Operation vector.query. Nearest-neighbour search by vector or by the vector of an existing record. One item per match.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
top_k | number | 10 | yes | Top K. | |
query_by | options | "vector" | One of vector, id. | ||
vector | json | yes | query_by = vector | ||
sparse_vector | json | query_by = vector | {indices, values} for hybrid or sparse indexes. | ||
id | string | yes | query_by = id | Record ID. | |
filter | json | Metadata filter. | |||
include_metadata | boolean | true | |||
include_values | boolean | false |
Fetch by ID
Operation vector.fetch.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
ids | string | yes | IDs. Comma-separated record ids (up to 1000). |
Fetch by metadata
Operation vector.fetch_by_metadata.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
filter | json | yes | Metadata filter. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Update
Operation vector.update. Update one record by id, or set metadata on every record matching a filter.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
target | options | "id" | Update. One of id, filter. | ||
id | string | yes | target = id | ID. | |
values | json | target = id | New values. | ||
sparse_values | json | target = id | New sparse values. | ||
filter | json | yes | target = filter | Metadata filter. | |
set_metadata | json | Fields to add or overwrite. | |||
dry_run | boolean | false | target = filter | Dry run (count matches only). |
Delete
Operation vector.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
target | options | "ids" | Delete. One of ids, filter, all. | ||
ids | string | yes | target = ids | IDs. Comma-separated (up to 1000). | |
filter | json | yes | target = filter | Metadata filter. |
List record IDs
Operation vector.list_ids. Serverless indexes only. One item per id.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "" | Empty for the default namespace. Depends on index_host. Values from lookup namespaces. | ||
prefix | string | ID prefix. | |||
return_all | boolean | false | |||
limit | number | 100 | return_all = false |
Record (integrated embedding)
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Search with text | record.search | reads | 1 |
Search with text
Operation record.search. Semantic search on an index with integrated embedding; Pinecone embeds the query text. One item per hit.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | "__default__" | yes | Depends on index_host. Values from lookup namespaces. | |
text | string | yes | Query text. | ||
top_k | number | 10 | yes | Top K. | |
filter | json | Metadata filter. | |||
fields | string | Fields to return. Comma-separated; empty returns all. | |||
rerank_model | resource_locator | Rerank with model. Values from lookup rerank_models. | |||
rank_fields | string | "text" | Rerank fields. Comma-separated record fields the reranker reads. | ||
rerank_top_n | number | Rerank top N. |
Index
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get index statistics | index.describe_stats | reads | 1 | |
| List indexes | index.list | reads | 1 | |
| Describe an index | index.describe | reads | 2 |
Get index statistics
Operation index.describe_stats.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
filter | json | Metadata filter. Pod-based indexes only. |
List indexes
Operation index.list.
This node has no parameters.
Describe an index
Operation index.describe.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_name | resource_locator | yes | Index. Values from lookup index_names. |
Namespace
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List namespaces | namespace.list | reads | yes | 1 |
| Describe a namespace | namespace.describe | reads | 1 | |
| Delete a namespace | namespace.delete | writes | 1 |
List namespaces
Operation namespace.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
prefix | string | Name prefix. | |||
return_all | boolean | false | |||
limit | number | 100 | return_all = false |
Describe a namespace
Operation namespace.describe.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | yes | Depends on index_host. Values from lookup namespaces. |
Delete a namespace
Operation namespace.delete. Permanently deletes the namespace and all its records (serverless indexes).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
index_host | resource_locator | yes | Index. The index host (select an index or paste its host). Values from lookup indexes. | ||
namespace | resource_locator | yes | Depends on index_host. Values from lookup namespaces. |
Inference
Hosted embedding and reranking models.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create embeddings | inference.embed | reads | 2 | |
| Rerank documents | inference.rerank | reads | 1 |
Create embeddings
Operation inference.embed.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "llama-text-embed-v2" | yes | Values from lookup embed_models. | |
input_type | options | "passage" | One of passage, query. | ||
input_mode | options | "single" | Input. One of single, batch. | ||
text | string | yes | input_mode = single | ||
inputs | json | yes | input_mode = batch | JSON array of {“text”: “…”} objects (up to the model’s batch size). | |
dimension | number | For models with selectable dimensions. | |||
truncate | options | "END" | One of END, NONE. |
Rerank documents
Operation inference.rerank.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | "bge-reranker-v2-m3" | yes | Values from lookup rerank_models. | |
query | string | yes | |||
documents | json | yes | JSON array of strings, or of objects with the fields to rank on. | ||
rank_fields | string | "text" | Comma-separated (objects only). | ||
top_n | number | Top N. | |||
return_documents | boolean | true |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
indexes | client-side | {{ item.spec.serverless.cloud ~ ’ ’ ~ item.spec.serverless.region if item.spec.serverless else (item.deployment.deployment_type or ‘’) }} | |
index_names | client-side | ||
namespaces | index_host | client-side | |
embed_models | client-side | {{ item.short_description }} | |
rerank_models | client-side | {{ item.short_description }} |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://docs.pinecone.io/reference/api/introduction
- https://docs.pinecone.io/reference/api/versioning
- https://docs.pinecone.io/reference/api/latest/data-plane/query
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/db_data_2026-07.oas.yaml
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/db_control_2026-07.oas.yaml
- https://raw.githubusercontent.com/pinecone-io/pinecone-api/refs/heads/main/2026-07/inference_2026-07.oas.yaml
- https://docs.pinecone.io/guides/manage-data/delete-data
- https://docs.pinecone.io/guides/manage-data/fetch-data
Replicate
connector.replicate · connector.replicate_trigger · ai
Run models on Replicate, manage predictions, trainings, deployments and files, and react to finished predictions.
Vendor API documentation: https://replicate.com/docs/reference/http
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| API token | replicate/api_token | bearer | token (secret) | yes |
Actions
Node type connector.replicate. Choose a resource and an operation; each operation has its own parameters.
Prediction
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a prediction | prediction.create | writes | 4 | |
| Run a model and wait | prediction.run | writes | 2 | |
| Get a prediction | prediction.get | reads | 1 | |
| Cancel a prediction | prediction.cancel | writes | 1 | |
| List predictions | prediction.list | reads | yes | 1 |
Create a prediction
Operation prediction.create. Starts a model run. With “Wait up to” set, Replicate holds the request open until the prediction finishes or the time runs out (max 60 s); otherwise the starting prediction is returned at once.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
target | options | "model" | Run. One of model, version, deployment. | ||
model | resource_locator | yes | target = model, version | Values from lookup models. | |
version | resource_locator | yes | target = version | Depends on model. Values from lookup model_versions. | |
deployment | resource_locator | yes | target = deployment | Values from lookup deployments. | |
input | json | yes | The model’s input object, for example {“prompt”: “a red fox”}. | ||
wait_seconds | number | 60 | Wait up to (seconds). 1 to 60. 0 returns immediately. | ||
options | collection | ||||
options.webhook | string | Webhook URL. Replicate POSTs the prediction here as it progresses (use the Replicate trigger’s URL). | |||
options.webhook_events_filter | multi_options | Webhook events. One of start, output, logs, completed. | |||
options.cancel_after | string | Maximum run time, for example 30s, 5m or 1h (minimum 5s). |
Run a model and wait
Operation prediction.run. Creates a prediction and polls it until it succeeds, fails or is canceled, for runs longer than the 60-second synchronous window. Optionally downloads file outputs into binary fields.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
target | options | "model" | Run. One of model, version, deployment. | ||
model | resource_locator | yes | target = model, version | Values from lookup models. | |
version | resource_locator | yes | target = version | Depends on model. Values from lookup model_versions. | |
deployment | resource_locator | yes | target = deployment | Values from lookup deployments. | |
input | json | yes | |||
poll_interval_seconds | number | 2 | Poll every (seconds). | ||
timeout_seconds | number | 900 | Give up after (seconds). | ||
cancel_on_timeout | boolean | true | |||
fail_on_error | boolean | true | Fail the node when the prediction fails. | ||
download_output | boolean | false | Download output files. | ||
output_property | string | "data" | download_output = true | Output binary field prefix. |
Get a prediction
Operation prediction.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
prediction_id | resource_locator | yes | Prediction. Values from lookup predictions. |
Cancel a prediction
Operation prediction.cancel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
prediction_id | resource_locator | yes | Prediction. Values from lookup predictions. |
List predictions
Operation prediction.list. Newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
created_after | datetime | ||||
created_before | datetime | ||||
source | options | Created from. One of api, web. |
Model
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a model | model.get | reads | 1 | |
| Search models | model.search | reads | 1 | |
| List public models | model.list | reads | yes | 1 |
| List model versions | model.list_versions | reads | yes | 1 |
| Get a model version | model.get_version | reads | 1 |
Get a model
Operation model.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. |
Search models
Operation model.search.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | yes | |||
max_results | number | 20 | 1 to 50. |
List public models
Operation model.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false | ||
sort_by | options | "latest_version_created_at" | One of model_created_at, latest_version_created_at. | ||
sort_direction | options | "desc" | Direction. One of asc, desc. |
List model versions
Operation model.list_versions.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a model version
Operation model.get_version.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. | ||
version | resource_locator | yes | Depends on model. Values from lookup model_versions. |
Collection
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List collections | collection.list | reads | yes | 1 |
| Get a collection | collection.get | reads | 1 |
List collections
Operation collection.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a collection
Operation collection.get. Returns the collection with its models.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
collection | resource_locator | yes | Values from lookup collections. |
Deployment
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List deployments | deployment.list | reads | yes | 1 |
| Get a deployment | deployment.get | reads | 1 |
List deployments
Operation deployment.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a deployment
Operation deployment.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
deployment | resource_locator | yes | Values from lookup deployments. |
Training
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a training | training.create | writes | 1 | |
| Get a training | training.get | reads | 1 | |
| List trainings | training.list | reads | yes | 1 |
| Cancel a training | training.cancel | writes | 1 |
Create a training
Operation training.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
model | resource_locator | yes | Values from lookup models. | ||
version | resource_locator | yes | Base version. Depends on model. Values from lookup model_versions. | ||
destination | string | yes | Destination model. | ||
input | json | yes | Training input. | ||
webhook | string | Webhook URL. | |||
webhook_events_filter | multi_options | Webhook events. One of start, output, logs, completed. |
Get a training
Operation training.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
training_id | resource_locator | yes | Training. Values from lookup trainings. |
List trainings
Operation training.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Cancel a training
Operation training.cancel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
training_id | resource_locator | yes | Training. Values from lookup trainings. |
File
Files up to 100 MB that can be passed to model inputs by URL.
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 1 | |
| List files | file.list | reads | yes | 1 |
| Get a file | file.get | reads | 1 | |
| Delete a file | file.delete | writes | 1 |
Upload a file
Operation file.upload.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | Input binary field. | |
metadata | json |
List files
Operation file.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a file
Operation file.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. |
Delete a file
Operation file.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | resource_locator | yes | File. Values from lookup files. |
Account
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get the current account | account.get | reads | 1 |
Get the current account
Operation account.get.
This node has no parameters.
Hardware
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List hardware | hardware.list | reads | 1 |
List hardware
Operation hardware.list.
This node has no parameters.
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
models | server-side | {{ item.model.description }} | |
model_versions | model | client-side | |
deployments | client-side | ||
predictions | client-side | ||
trainings | client-side | ||
files | client-side | ||
collections | client-side | {{ item.description }} |
Triggers
Node type connector.replicate_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| On prediction finished | prediction_completed | poll | {{ item.id }}:{{ item.status }} | 0 | ||
| On prediction webhook | prediction_webhook | webhook | hmac_sha256 | automatic | 0 |
Trigger: On prediction finished
Polls recent predictions and emits each one once it has finished.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
statuses | multi_options | ["succeeded","failed","canceled"] | One of succeeded, failed, canceled. | ||
model | string | Only this model. |
Trigger: On prediction webhook
Receives prediction updates that Replicate sends to this trigger’s URL. Pass the URL as the Webhook URL when creating predictions. Signatures are verified with the account’s signing secret.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
events | multi_options | ["succeeded","failed","canceled"] | Statuses to accept. One of starting, processing, succeeded, failed, canceled. |
Import
No exported node type imports to this node.
Provenance
Written from the vendor’s documentation:
- https://replicate.com/docs/reference/http
- https://api.replicate.com/openapi.json
- https://replicate.com/docs/topics/predictions/create-a-prediction
- https://replicate.com/docs/topics/webhooks
- https://replicate.com/docs/topics/webhooks/verify-webhook
Slack
connector.slack · connector.slack_trigger · communication
Send and manage messages, channels, files, reactions, pins, users and user groups in a Slack workspace, and start workflows from Slack events, interactions and slash commands.
Vendor API documentation: https://docs.slack.dev/reference/methods
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Bot or user token | slack/bot_token | bearer | token (secret), signing_secret (secret) | yes |
| OAuth2 (install a Slack app) | slack/oauth2 | oauth2_auth_code | client_id, client_secret (secret), signing_secret (secret) | yes |
Actions
Node type connector.slack. Choose a resource and an operation; each operation has its own parameters.
Message
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a message | message.post | writes | 3 | |
| Send an ephemeral message | message.post_ephemeral | writes | 1 | |
| Update a message | message.update | writes | 1 | |
| Delete a message | message.delete | writes | 1 | |
| Get a message permalink | message.get_permalink | reads | 1 | |
| Schedule a message | message.schedule | writes | 1 | |
| Search messages | message.search | reads | yes | 1 |
Send a message
Operation message.post. Posts a message to a channel, private group, DM or thread.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Channel, DM or user ID. A user ID opens a DM with that user. Values from lookup channels. | ||
text | string | Message text (mrkdwn). Used as the notification fallback when blocks are given. | |||
blocks | json | Block Kit blocks as a JSON array (an object with a blocks key, as Block Kit Builder exports it, is accepted too). | |||
attachments | json | Legacy secondary attachments as a JSON array. | |||
thread_ts | string | Timestamp of the parent message to reply in its thread. | |||
reply_broadcast | boolean | false | Also show the thread reply in the channel. | ||
mrkdwn | boolean | true | |||
unfurl_links | boolean | ||||
unfurl_media | boolean | ||||
link_names | boolean | ||||
username | string | Custom bot name (needs chat:write.customize). | |||
icon_emoji | string | ||||
icon_url | string | ||||
metadata | json | Message metadata object ({ event_type, event_payload }). |
Send an ephemeral message
Operation message.post_ephemeral. Shows a message only to one user in a channel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
user | resource_locator | yes | User who will see the message. Values from lookup users. | ||
text | string | ||||
blocks | json | ||||
thread_ts | string |
Update a message
Operation message.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes | Timestamp of the message to change. | ||
text | string | ||||
blocks | json | ||||
attachments | json | ||||
link_names | boolean | ||||
reply_broadcast | boolean |
Delete a message
Operation message.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes |
Get a message permalink
Operation message.get_permalink.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes |
Schedule a message
Operation message.schedule.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
post_at | number | yes | Unix timestamp (seconds) when the message is sent. | ||
text | string | ||||
blocks | json | ||||
thread_ts | string |
Search messages
Operation message.search. Searches messages in the workspace. Needs a user token with the search:read scope.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | yes | |||
sort | options | "score" | One of score, timestamp. | ||
sort_dir | options | "desc" | One of asc, desc. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Channel
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List channels | channel.list | reads | yes | 2 |
| Get a channel | channel.get | reads | 2 | |
| Create a channel | channel.create | writes | 1 | |
| Archive a channel | channel.archive | writes | 1 | |
| Unarchive a channel | channel.unarchive | writes | 1 | |
| Rename a channel | channel.rename | writes | 1 | |
| Set the channel topic | channel.set_topic | writes | 1 | |
| Set the channel description | channel.set_purpose | writes | 1 | |
| Invite users to a channel | channel.invite | writes | 1 | |
| Remove a user from a channel | channel.kick | writes | 1 | |
| Join a channel | channel.join | writes | 1 | |
| Leave a channel | channel.leave | writes | 1 | |
| Open a direct message | channel.open | writes | 1 | |
| Close a direct message | channel.close | writes | 1 | |
| Get channel history | channel.history | reads | yes | 1 |
| Get thread replies | channel.replies | reads | yes | 1 |
| List channel members | channel.members | reads | yes | 1 |
List channels
Operation channel.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
types | multi_options | ["public_channel"] | One of public_channel, private_channel, mpim, im. | ||
exclude_archived | boolean | true | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get a channel
Operation channel.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
include_num_members | boolean | false |
Create a channel
Operation channel.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | Lowercase, no spaces or periods, at most 80 characters. | ||
visibility | options | "public" | One of public, private. | ||
team_id | string | Workspace ID (only for org-wide apps). |
Archive a channel
Operation channel.archive.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
Unarchive a channel
Operation channel.unarchive.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
Rename a channel
Operation channel.rename.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
name | string | yes |
Set the channel topic
Operation channel.set_topic.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
topic | string | yes |
Set the channel description
Operation channel.set_purpose.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
purpose | string | yes |
Invite users to a channel
Operation channel.invite.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
users | multi_options | yes | User IDs to add (up to 1000). Values from lookup users. |
Remove a user from a channel
Operation channel.kick.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
user | resource_locator | yes | Values from lookup users. |
Join a channel
Operation channel.join.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
Leave a channel
Operation channel.leave.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
Open a direct message
Operation channel.open. Opens (or resumes) a DM or multi-person DM and returns its channel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
users | multi_options | yes | One user for a DM, or 2 to 8 users for a group DM. Values from lookup users. |
Close a direct message
Operation channel.close.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
Get channel history
Operation channel.history. Lists messages in a channel, newest first.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
oldest | string | Only messages after this timestamp (Unix seconds or message ts). | |||
latest | string | Only messages before this timestamp. | |||
inclusive | boolean | false | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Get thread replies
Operation channel.replies.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes | Timestamp of the thread’s parent message. | ||
oldest | string | ||||
latest | string | ||||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
List channel members
Operation channel.members.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a file | file.upload | writes | 2 | |
| Get file details | file.get | reads | 1 | |
| Download a file | file.download | reads | 1 | |
| List files | file.list | reads | yes | 1 |
| Delete a file | file.delete | writes | 1 |
Upload a file
Operation file.upload. Uploads binary data with Slack’s external upload flow and optionally shares it in a channel or thread.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | yes | ||
file_name | string | Defaults to the binary file name. | |||
title | string | ||||
channel | resource_locator | Channel to share the file in. Leave empty to keep it private. Values from lookup channels. | |||
thread_ts | string | Share as a reply in this thread. | |||
initial_comment | string | Message text posted with the file. | |||
alt_text | string | Image description for screen readers. | |||
snippet_type | string | Syntax type for text snippets, for example python. |
Get file details
Operation file.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | string | yes | File ID (F…). |
Download a file
Operation file.download. Fetches the file details and stores the file content as binary data.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | string | yes | File ID (F…). | ||
binary_property | string | "data" | Binary property to write the file to. |
List files
Operation file.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | Only files shared in this channel. Values from lookup channels. | |||
user | resource_locator | Only files created by this user. Values from lookup users. | |||
types | multi_options | One of all, spaces, snippets, images, gdocs, zips, pdfs. | |||
ts_from | string | Only files created after this Unix timestamp. | |||
ts_to | string | Only files created before this Unix timestamp. | |||
show_files_hidden_by_limit | boolean | false | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Delete a file
Operation file.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file | string | yes |
Reaction
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Add a reaction | reaction.add | writes | 1 | |
| Remove a reaction | reaction.remove | writes | 1 | |
| Get reactions of a message | reaction.get | reads | 1 |
Add a reaction
Operation reaction.add.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes | Timestamp of the message. | ||
name | string | yes | Emoji name without colons, for example thumbsup. |
Remove a reaction
Operation reaction.remove.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes | |||
name | string | yes |
Get reactions of a message
Operation reaction.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes | |||
full | boolean | true | Return the complete list of users per reaction. |
Pin
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Pin a message | pin.add | writes | 1 | |
| Unpin a message | pin.remove | writes | 1 | |
| List pinned items | pin.list | reads | 1 |
Pin a message
Operation pin.add.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes |
Unpin a message
Operation pin.remove.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
ts | string | yes |
List pinned items
Operation pin.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. |
User
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a user | user.get | reads | 2 | |
| List users | user.list | reads | yes | 1 |
| Find a user by email | user.lookup_by_email | reads | 2 | |
| Get a user’s presence | user.get_presence | reads | 1 | |
| Get a user’s profile | user.get_profile | reads | 1 | |
| Update a user’s profile | user.update_profile | writes | 1 |
Get a user
Operation user.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | yes | Values from lookup users. | ||
include_locale | boolean | false |
List users
Operation user.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
include_locale | boolean | false | |||
return_all | boolean | false | |||
limit | number | 50 | return_all = false |
Find a user by email
Operation user.lookup_by_email.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
email | string | yes |
Get a user’s presence
Operation user.get_presence.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | yes | Values from lookup users. |
Get a user’s profile
Operation user.get_profile.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | Leave empty for the token’s own user. Values from lookup users. | |||
include_labels | boolean | false |
Update a user’s profile
Operation user.update_profile. Changes profile fields. Needs a user token with users.profile:write.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user | resource_locator | Leave empty for the token’s own user (other users need an admin token). Values from lookup users. | |||
first_name | string | ||||
last_name | string | ||||
display_name | string | ||||
title | string | ||||
phone | string | ||||
email | string | ||||
pronouns | string | ||||
status_text | string | ||||
status_emoji | string | ||||
status_expiration | number | Unix timestamp when the status clears (0 = never). | |||
fields | json | Custom profile fields as an object keyed by field ID: { “Xf123”: { “value”: “…” } }. |
User group
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List user groups | user_group.list | reads | 1 | |
| Create a user group | user_group.create | writes | 1 | |
| Update a user group | user_group.update | writes | 1 | |
| Set the members of a user group | user_group.update_users | writes | 1 | |
| Disable a user group | user_group.disable | writes | 1 | |
| Enable a user group | user_group.enable | writes | 1 |
List user groups
Operation user_group.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
include_disabled | boolean | false | |||
include_count | boolean | false | |||
include_users | boolean | false |
Create a user group
Operation user_group.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
name | string | yes | |||
handle | string | Mention handle without the @. | |||
description | string | ||||
channels | multi_options | Default channels for the group. Values from lookup channels. | |||
include_count | boolean | false |
Update a user group
Operation user_group.update.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user_group | resource_locator | yes | Values from lookup user_groups. | ||
name | string | ||||
handle | string | ||||
description | string | ||||
channels | multi_options | Values from lookup channels. |
Set the members of a user group
Operation user_group.update_users.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user_group | resource_locator | yes | Values from lookup user_groups. | ||
users | multi_options | yes | The complete new member list. Values from lookup users. |
Disable a user group
Operation user_group.disable.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user_group | resource_locator | yes | Values from lookup user_groups. |
Enable a user group
Operation user_group.enable.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
user_group | resource_locator | yes | Values from lookup user_groups. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
channels | client-side | {{ item.purpose.value if item.purpose else ‘’ }} | |
users | client-side | @{{ item.name }} | |
user_groups | client-side | @{{ item.handle }} |
Triggers
Node type connector.slack_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Workspace event | events | webhook | hmac_sha256 | manual | 0 | |
| Interaction (buttons, menus, modals, shortcuts) | interaction | webhook | hmac_sha256 | manual | 0 | |
| Slash command | slash_command | webhook | hmac_sha256 | manual | 0 | |
| New message in channel (polling) | new_message | poll | {{ item.ts }} | 0 |
Trigger: Workspace event
Starts the workflow for Events API deliveries (messages, mentions, reactions, channel and member changes). Paste the node’s webhook URL as the Request URL under Event Subscriptions in the Slack app settings and subscribe to the events you need there. Requests are verified with the app’s signing secret.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
events | multi_options | ["any"] | Event types to accept. Message subtypes such as bot_message or file_share are matched too. 16 values, listed below. | ||
channel | resource_locator | Only events in this channel. Leave empty for the whole workspace. Values from lookup channels. | |||
ignore_retries | boolean | false | Acknowledge Slack’s redelivery attempts without starting the workflow again. |
Values of events
| Value | Label |
|---|---|
any | Any event |
message | New message |
app_mention | Bot mentioned |
bot_message | Message posted by a bot |
file_share | Message with a file |
reaction_added | Reaction added |
reaction_removed | Reaction removed |
channel_created | Channel created |
channel_archive | Channel archived |
member_joined_channel | User joined a channel |
member_left_channel | User left a channel |
team_join | New workspace member |
file_shared | File shared |
file_public | File made public |
pin_added | Message pinned |
app_home_opened | App home opened |
Trigger: Interaction (buttons, menus, modals, shortcuts)
Starts the workflow when a user clicks a button, picks a menu option, submits a modal or runs a shortcut. Paste the node’s webhook URL as the Request URL under Interactivity & Shortcuts in the Slack app settings.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
types | multi_options | ["any"] | One of any, block_actions, view_submission, view_closed, shortcut, message_action. | ||
action_id | string | Only block actions with this action_id. | |||
callback_id | string | Only shortcuts or modals with this callback_id. |
Trigger: Slash command
Starts the workflow when a user runs a slash command. Set the command’s Request URL to the node’s webhook URL. Slack shows nothing back unless the workflow replies through the response_url in the output.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
command | string | Only this command. Leave empty to accept every command sent to this URL. |
Trigger: New message in channel (polling)
Checks a channel for new messages on the poll schedule. Works without a public URL.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel | resource_locator | yes | Values from lookup channels. | ||
include_bots | boolean | true | Also emit messages posted by bots and apps. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.slack | 1 | unverified | |
n8n-nodes-base.slack | >=2 <3 | unverified | |
n8n-nodes-base.slackTrigger | 1 | unverified |
Provenance
Written from the vendor’s documentation:
- https://docs.slack.dev/reference/methods
- https://docs.slack.dev/reference/methods/chat.postMessage
- https://docs.slack.dev/reference/methods/chat.postEphemeral
- https://docs.slack.dev/reference/methods/chat.update
- https://docs.slack.dev/reference/methods/chat.delete
- https://docs.slack.dev/reference/methods/chat.getPermalink
- https://docs.slack.dev/reference/methods/chat.scheduleMessage
- https://docs.slack.dev/reference/methods/search.messages
- https://docs.slack.dev/reference/methods/conversations.list
- https://docs.slack.dev/reference/methods/conversations.info
- https://docs.slack.dev/reference/methods/conversations.create
- https://docs.slack.dev/reference/methods/conversations.history
- https://docs.slack.dev/reference/methods/conversations.replies
- https://docs.slack.dev/reference/methods/conversations.members
- https://docs.slack.dev/reference/methods/conversations.open
- https://docs.slack.dev/reference/methods/files.getUploadURLExternal
- https://docs.slack.dev/reference/methods/files.completeUploadExternal
- https://docs.slack.dev/reference/methods/files.info
- https://docs.slack.dev/reference/methods/files.list
- https://docs.slack.dev/reference/methods/reactions.add
- https://docs.slack.dev/reference/methods/pins.add
- https://docs.slack.dev/reference/methods/users.list
- https://docs.slack.dev/reference/methods/users.lookupByEmail
- https://docs.slack.dev/reference/methods/users.profile.set
- https://docs.slack.dev/reference/methods/usergroups.create
- https://docs.slack.dev/apis/web-api/pagination
- https://docs.slack.dev/apis/web-api/rate-limits
- https://docs.slack.dev/authentication/installing-with-oauth
- https://docs.slack.dev/authentication/verifying-requests-from-slack
- https://docs.slack.dev/apis/events-api
- https://docs.slack.dev/interactivity/handling-user-interaction
- https://docs.slack.dev/interactivity/implementing-slash-commands
Telegram
connector.telegram · connector.telegram_trigger · communication
Send messages and files as a Telegram bot, manage chats and messages, answer callback queries, download files, and start workflows from bot updates.
Vendor API documentation: https://core.telegram.org/bots/api
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Bot token | telegram/bot_token | api_key | token (secret), base_url | yes |
Actions
Node type connector.telegram. Choose a resource and an operation; each operation has its own parameters.
Message
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Send a text message | message.send_text | writes | 4 | |
| Send a photo | message.send_photo | writes | 2 | |
| Send a document | message.send_document | writes | 2 | |
| Send an audio file | message.send_audio | writes | 1 | |
| Send a video | message.send_video | writes | 1 | |
| Send an animation (GIF or silent video) | message.send_animation | writes | 1 | |
| Send a voice message | message.send_voice | writes | 1 | |
| Send a sticker | message.send_sticker | writes | 1 | |
| Send an album | message.send_media_group | writes | 1 | |
| Send a location | message.send_location | writes | 1 | |
| Edit a message text | message.edit_text | writes | 2 | |
| Delete a message | message.delete | writes | 1 | |
| Forward a message | message.forward | writes | 1 | |
| Copy a message | message.copy | writes | 1 | |
| Pin a message | message.pin | writes | 1 | |
| Unpin a message | message.unpin | writes | 1 |
Send a text message
Operation message.send_text.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
text | string | yes | 1 to 4096 characters after entity parsing. | ||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
disable_web_page_preview | boolean | false | |||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send a photo
Operation message.send_photo.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
has_spoiler | boolean | false | |||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send a document
Operation message.send_document.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
disable_content_type_detection | boolean | false | |||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send an audio file
Operation message.send_audio.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
duration | number | ||||
performer | string | ||||
title | string | ||||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send a video
Operation message.send_video.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
duration | number | ||||
width | number | ||||
height | number | ||||
supports_streaming | boolean | false | |||
has_spoiler | boolean | false | |||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send an animation (GIF or silent video)
Operation message.send_animation.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
duration | number | ||||
width | number | ||||
height | number | ||||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send a voice message
Operation message.send_voice.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
caption | string | ||||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
duration | number | ||||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send a sticker
Operation message.send_sticker.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Chat ID, or @username of a public channel or group. | ||
binary_data | boolean | false | Upload the file from a binary property instead of sending a file_id or URL. | ||
binary_property | binary_property | "data" | binary_data = true | ||
file | string | binary_data = false | file_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch. | ||
emoji | string | Emoji associated with a newly uploaded sticker. | |||
message_thread_id | number | Forum topic to post in. | |||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json | Inline keyboard, custom reply keyboard, keyboard removal or force-reply object. |
Send an album
Operation message.send_media_group. Sends 2 to 10 photos, videos, documents or audio files as one album, referenced by file_id or URL.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
media | json | yes | Array of InputMedia objects, for example [{“type”: “photo”, “media”: “https://…”, “caption”: “…”}]. | ||
message_thread_id | number | ||||
disable_notification | boolean | false | |||
protect_content | boolean | false | |||
reply_to_message_id | number |
Send a location
Operation message.send_location.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
latitude | number | yes | |||
longitude | number | yes | |||
horizontal_accuracy | number | Radius of uncertainty in meters (0-1500). | |||
live_period | number | Seconds the location stays live (60-86400). | |||
message_thread_id | number | ||||
disable_notification | boolean | false | |||
reply_to_message_id | number | ||||
reply_markup | json |
Edit a message text
Operation message.edit_text.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
message_type | options | "message" | One of message, inline_message. | ||
chat_id | string | message_type = message | |||
message_id | number | message_type = message | |||
inline_message_id | string | message_type = inline_message | |||
text | string | yes | |||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
disable_web_page_preview | boolean | false | |||
reply_markup | json | Inline keyboard to show under the message. |
Delete a message
Operation message.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
message_id | number | yes |
Forward a message
Operation message.forward.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | Target chat. | ||
from_chat_id | string | yes | Chat the message is in. | ||
message_id | number | yes | |||
message_thread_id | number | ||||
disable_notification | boolean | false | |||
protect_content | boolean | false |
Copy a message
Operation message.copy. Sends a copy of a message without the link to the original.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
from_chat_id | string | yes | |||
message_id | number | yes | |||
caption | string | New caption for media (keeps the original when empty). | |||
parse_mode | options | One of HTML, MarkdownV2, Markdown. | |||
message_thread_id | number | ||||
disable_notification | boolean | false | |||
reply_markup | json |
Pin a message
Operation message.pin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
message_id | number | yes | |||
disable_notification | boolean | false |
Unpin a message
Operation message.unpin.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
message_id | number | Leave empty to unpin the most recent pinned message. |
Chat
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a chat | chat.get | reads | 1 | |
| List chat administrators | chat.get_administrators | reads | 1 | |
| Get a chat member | chat.get_member | reads | 1 | |
| Count chat members | chat.get_member_count | reads | 1 | |
| Leave a chat | chat.leave | writes | 1 | |
| Set the chat title | chat.set_title | writes | 1 | |
| Set the chat description | chat.set_description | writes | 1 | |
| Show a chat action | chat.send_action | writes | 1 |
Get a chat
Operation chat.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes |
List chat administrators
Operation chat.get_administrators.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes |
Get a chat member
Operation chat.get_member.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
user_id | number | yes |
Count chat members
Operation chat.get_member_count.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes |
Leave a chat
Operation chat.leave.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes |
Set the chat title
Operation chat.set_title.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
title | string | yes |
Set the chat description
Operation chat.set_description.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
description | string | 0 to 255 characters; empty removes the description. |
Show a chat action
Operation chat.send_action. Shows a status such as “typing…” for up to 5 seconds.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
chat_id | string | yes | |||
action | options | "typing" | yes | One of typing, upload_photo, record_video, upload_video, record_voice, upload_voice, upload_document, choose_sticker, find_location, record_video_note, upload_video_note. | |
message_thread_id | number |
Callback
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Answer a callback query | callback.answer_query | writes | 1 | |
| Answer an inline query | callback.answer_inline_query | writes | 1 |
Answer a callback query
Operation callback.answer_query. Acknowledges an inline keyboard button press, optionally showing a notification or alert.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query_id | string | yes | callback_query.id from the update. | ||
text | string | Notification text (0-200 characters). | |||
show_alert | boolean | false | |||
url | string | URL to open (game or t.me deep link). | |||
cache_time | number |
Answer an inline query
Operation callback.answer_inline_query.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query_id | string | yes | inline_query.id from the update. | ||
results | json | yes | Array of InlineQueryResult objects (at most 50). | ||
cache_time | number | ||||
is_personal | boolean | false | |||
next_offset | string |
File
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get file details | file.get | reads | 1 | |
| Download a file | file.download | reads | 1 |
Get file details
Operation file.get. Returns the file path and size; the download link is valid for at least one hour.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | string | yes |
Download a file
Operation file.download. Downloads a file (up to 20 MB on the public Bot API server) into a binary property.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
file_id | string | yes | |||
binary_property | string | "data" |
Bot
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get bot details | bot.get_me | reads | 1 | |
| Get webhook status | bot.get_webhook_info | reads | 1 |
Get bot details
Operation bot.get_me.
This node has no parameters.
Get webhook status
Operation bot.get_webhook_info. Shows the registered webhook URL, pending updates and the last delivery error.
This node has no parameters.
Triggers
Node type connector.telegram_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| Bot update | updates | webhook | token | automatic | 0 | |
| Bot update (polling) | new_update | poll | {{ item.update_id }} | 0 |
Trigger: Bot update
Registers the node’s webhook URL with Telegram (setWebhook) when the workflow is activated and removes it on deactivation. Each request is checked against a secret token sent in X-Telegram-Bot-Api-Secret-Token. A bot can have only one webhook, so only one active workflow per bot can use this trigger.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
updates | multi_options | ["*"] | Update types to receive. “All” asks for every type Telegram sends by default. 16 values, listed below. | ||
chat_ids | string | Comma-separated chat IDs to accept. Leave empty for all chats. | |||
user_ids | string | Comma-separated sender user IDs to accept. Leave empty for everyone. | |||
drop_pending_updates | boolean | false | Discard updates that queued up while no webhook was registered. |
Values of updates
| Value | Label |
|---|---|
* | All |
message | Message |
edited_message | Edited message |
channel_post | Channel post |
edited_channel_post | Edited channel post |
inline_query | Inline query |
chosen_inline_result | Chosen inline result |
callback_query | Callback query |
shipping_query | Shipping query |
pre_checkout_query | Pre-checkout query |
poll | Poll |
poll_answer | Poll answer |
my_chat_member | Bot membership changed |
chat_member | Chat member changed |
chat_join_request | Join request |
message_reaction | Reaction changed |
Trigger: Bot update (polling)
Fetches new updates with getUpdates on the poll schedule; no public URL needed. Telegram refuses getUpdates while a webhook is registered for the bot.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
updates | multi_options | ["*"] | 14 values, listed below. |
Values of updates
| Value | Label |
|---|---|
* | |
message | |
edited_message | |
channel_post | |
edited_channel_post | |
inline_query | |
chosen_inline_result | |
callback_query | |
poll | |
poll_answer | |
my_chat_member | |
chat_member | |
chat_join_request | |
message_reaction |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.telegram | >=1 <2 | unverified | |
n8n-nodes-base.telegramTrigger | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://core.telegram.org/bots/api
- https://core.telegram.org/bots/api#making-requests
- https://core.telegram.org/bots/api#setwebhook
- https://core.telegram.org/bots/api#getupdates
- https://core.telegram.org/bots/api#sending-files
- https://core.telegram.org/bots/api#getfile
- https://core.telegram.org/bots/api#available-methods
- https://core.telegram.org/bots/api#updating-messages
- https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this
- https://core.telegram.org/bots/webhooks
- https://core.telegram.org/bots/features#botfather
YouTube
connector.youtube · connector.youtube_trigger · social, video
Upload and manage videos, playlists and channel settings, search YouTube, and react to new uploads.
Vendor API documentation: https://developers.google.com/youtube/v3/docs
Authentication
| Method | Credential kind | Auth kind | Fields | Test request |
|---|---|---|---|---|
| Google account (OAuth2) | youtube/oauth2 | oauth2_auth_code | client_id, client_secret (secret) | yes |
| Google service account (public data only) | youtube/service_account | jwt_service_account | client_email, private_key (secret), subject | yes |
| API key (public data only) | youtube/api_key | api_key | api_key (secret) | yes |
Actions
Node type connector.youtube. Choose a resource and an operation; each operation has its own parameters.
Channel
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Get a channel | channel.get | reads | 1 | |
| List channels | channel.list | reads | yes | 2 |
| Update channel settings | channel.update | writes | 1 | |
| Upload a channel banner | channel.upload_banner | writes | 1 |
Get a channel
Operation channel.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel_id | resource_locator | yes | Channel. Values from lookup my_channels. | ||
part | multi_options | ["snippet"] | Parts to return. “*” returns every part listed here. One of *, brandingSettings, contentDetails, contentOwnerDetails, id, localizations, snippet, statistics, status, topicDetails. |
List channels
Operation channel.list. Channels by ID, handle or legacy username, the authorized user’s channels, or channels managed by a content owner.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
part | multi_options | ["snippet"] | Parts to return. “*” returns every part listed here. One of *, brandingSettings, contentDetails, contentOwnerDetails, id, localizations, snippet, statistics, status, topicDetails. | ||
mine | boolean | false | Only my channels. Also used when no other filter is set. | ||
ids | string | Channel IDs. Comma separated channel IDs. | |||
for_handle | string | Handle. | |||
for_username | string | Legacy username. | |||
managed_by_me | boolean | false | Content owner accounts only. | ||
language | string | Localization language. Language code for localized titles and descriptions. | |||
return_all | boolean | false | |||
limit | number | 25 | return_all = false |
Update channel settings
Operation channel.update. Changes the channel description, keywords, country, language or trailer; other branding settings are kept.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel_id | resource_locator | yes | Channel. Values from lookup my_channels. | ||
description | string | ||||
keywords | string | Space separated; quote phrases that contain spaces. | |||
country | string | ||||
default_language | string | ||||
unsubscribed_trailer | string | Trailer video for non-subscribers. | |||
tracking_analytics_account_id | string | Google Analytics account ID. |
Upload a channel banner
Operation channel.upload_banner. Uploads a banner image (16:9, at least 2048x1152, up to 6 MB) and sets it on the channel.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel_id | resource_locator | yes | Channel. Values from lookup my_channels. | ||
binary_property | binary_property | "data" | Input binary field. |
Playlist
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Create a playlist | playlist.create | writes | 1 | |
| Get a playlist | playlist.get | reads | 1 | |
| List playlists | playlist.list | reads | yes | 2 |
| Update a playlist | playlist.update | writes | 1 | |
| Delete a playlist | playlist.delete | writes | 1 |
Create a playlist
Operation playlist.create.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
title | string | yes | |||
description | string | ||||
privacy_status | options | One of private, public, unlisted. | |||
tags | string | Comma separated tags. | |||
default_language | string |
Get a playlist
Operation playlist.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. | ||
part | multi_options | ["snippet"] | One of *, contentDetails, id, localizations, player, snippet, status. |
List playlists
Operation playlist.list. The authorized user’s playlists, a channel’s playlists, or playlists by ID.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
part | multi_options | ["snippet"] | One of *, contentDetails, id, localizations, player, snippet, status. | ||
channel_id | resource_locator | Channel. Leave empty for your own playlists. Values from lookup my_channels. | |||
ids | string | Playlist IDs. Comma separated playlist IDs. | |||
return_all | boolean | false | |||
limit | number | 25 | return_all = false |
Update a playlist
Operation playlist.update. Changes the fields that are set and keeps the others.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. | ||
title | string | ||||
description | string | ||||
privacy_status | options | One of private, public, unlisted. | |||
tags | string | Comma separated tags. | |||
default_language | string |
Delete a playlist
Operation playlist.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. |
Playlist item
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Add a video to a playlist | playlist_item.add | writes | 1 | |
| Get a playlist item | playlist_item.get | reads | 1 | |
| List playlist items | playlist_item.list | reads | yes | 1 |
| Remove a video from a playlist | playlist_item.delete | writes | 1 |
Add a video to a playlist
Operation playlist_item.add.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. | ||
video_id | resource_locator | yes | Video. Values from lookup my_videos. | ||
position | number | Zero-based position. Appends when empty. | |||
note | string | A note for this item (shown for some playlist types). |
Get a playlist item
Operation playlist_item.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_item_id | string | yes | Playlist item ID. | ||
part | multi_options | ["snippet"] | One of *, contentDetails, id, snippet, status. |
List playlist items
Operation playlist_item.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. | ||
part | multi_options | ["snippet"] | One of *, contentDetails, id, snippet, status. | ||
video_id | string | Only this video. | |||
return_all | boolean | false | |||
limit | number | 25 | return_all = false |
Remove a video from a playlist
Operation playlist_item.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_item_id | string | yes | Playlist item ID. |
Video
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| Upload a video | video.upload | writes | 1 | |
| Get a video | video.get | reads | 2 | |
| List videos | video.list | reads | yes | 2 |
| Search videos | video.search | reads | yes | 2 |
| Update a video | video.update | writes | 1 | |
| Delete a video | video.delete | writes | 1 | |
| Rate a video | video.rate | writes | 1 | |
| Get my rating of videos | video.get_rating | reads | 1 | |
| Set a custom thumbnail | video.set_thumbnail | writes | 1 |
Upload a video
Operation video.upload. Uploads a video file with the resumable protocol (large files are sent in 8 MB chunks and resumed after interruptions).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
binary_property | binary_property | "data" | Input binary field. | ||
title | string | yes | |||
description | string | ||||
tags | string | Comma separated tags. | |||
region_code | string | "US" | Region used to list video categories. | ||
category_id | options | "22" | Category. Depends on region_code. Values from lookup video_categories. | ||
privacy_status | options | "private" | One of private, public, unlisted. | ||
publish_at | datetime | Scheduled publish time; requires privacy status private. | |||
embeddable | boolean | ||||
license | options | One of youtube, creativeCommon. | |||
public_stats_viewable | boolean | ||||
made_for_kids | boolean | ||||
default_language | string | ||||
recording_date | datetime | ||||
notify_subscribers | boolean | true |
Get a video
Operation video.get.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
video_id | resource_locator | yes | Video. Values from lookup my_videos. | ||
part | multi_options | ["snippet"] | 14 values, listed below. |
Values of part
| Value | Label |
|---|---|
* | |
contentDetails | |
fileDetails | |
id | |
liveStreamingDetails | |
localizations | |
player | |
processingDetails | |
recordingDetails | |
snippet | |
statistics | |
status | |
suggestions | |
topicDetails |
List videos
Operation video.list. Videos by ID, the most popular chart of a region, or the videos you liked or disliked.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
part | multi_options | ["snippet"] | 14 values, listed below. | ||
filter | options | "ids" | One of ids, most_popular, liked, disliked. | ||
ids | string | filter = ids | Video IDs. Comma separated video IDs. | ||
region_code | string | filter = most_popular | |||
video_category_id | options | filter = most_popular | Category. Depends on region_code. Values from lookup video_categories. | ||
return_all | boolean | false | |||
limit | number | 25 | return_all = false |
Values of part
| Value | Label |
|---|---|
* | |
contentDetails | |
fileDetails | |
id | |
liveStreamingDetails | |
localizations | |
player | |
processingDetails | |
recordingDetails | |
snippet | |
statistics | |
status | |
suggestions | |
topicDetails |
Search videos
Operation video.search. Searches YouTube (costs 100 quota units per page).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
query | string | ||||
channel_id | string | Channel. | |||
for_mine | boolean | false | Only my videos. | ||
order | options | One of date, rating, relevance, title, videoCount, viewCount. | |||
published_after | datetime | ||||
published_before | datetime | ||||
region_code | string | ||||
relevance_language | string | ||||
safe_search | options | One of moderate, none, strict. | |||
video_category_id | string | ||||
video_duration | options | One of any, long, medium, short. | |||
video_definition | options | One of any, high, standard. | |||
video_type | options | One of any, episode, movie. | |||
event_type | options | Live status. One of completed, live, upcoming. | |||
video_embeddable | boolean | false | Only embeddable. | ||
return_all | boolean | false | |||
limit | number | 25 | return_all = false |
Update a video
Operation video.update. Changes the fields that are set and keeps the others (title and category are required by YouTube and taken from the video when empty).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
video_id | resource_locator | yes | Video. Values from lookup my_videos. | ||
title | string | ||||
description | string | ||||
tags | string | Comma separated tags. | |||
region_code | string | "US" | Region used to list video categories. | ||
category_id | options | Category. Depends on region_code. Values from lookup video_categories. | |||
privacy_status | options | One of private, public, unlisted. | |||
publish_at | datetime | Scheduled publish time; requires privacy status private. | |||
embeddable | boolean | ||||
license | options | One of youtube, creativeCommon. | |||
public_stats_viewable | boolean | ||||
made_for_kids | boolean | ||||
default_language | string |
Delete a video
Operation video.delete.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
video_id | resource_locator | yes | Video. Values from lookup my_videos. |
Rate a video
Operation video.rate.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
video_id | resource_locator | yes | Video. Values from lookup my_videos. | ||
rating | options | "like" | yes | One of like, dislike, none. |
Get my rating of videos
Operation video.get_rating.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
ids | string | yes | Video IDs. Comma separated video IDs. |
Set a custom thumbnail
Operation video.set_thumbnail. Uploads a JPEG or PNG (up to 2 MB) as the video’s thumbnail. The channel must be verified.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
video_id | resource_locator | yes | Video. Values from lookup my_videos. | ||
binary_property | binary_property | "data" | Input binary field. |
Video category
| Operation | ID | Effect | Paginated | Cassette tests |
|---|---|---|---|---|
| List video categories | video_category.list | reads | 1 |
List video categories
Operation video_category.list.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
region_code | string | "US" | yes | ||
language | string | Language for the category titles. | |||
assignable_only | boolean | false | Only categories that can be assigned to uploads. |
Lookups
Lookups fill dropdowns and resource pickers in the editor from the vendor API.
| Lookup | Depends on | Search | Description |
|---|---|---|---|
my_channels | client-side | {{ item.snippet.customUrl }} | |
my_playlists | client-side | ||
my_videos | server-side | {{ item.snippet.publishedAt }} | |
video_categories | region_code | client-side |
Triggers
Node type connector.youtube_trigger.
| Trigger | ID | Kind | Deduplication key | Signature | Webhook registration | Cassette tests |
|---|---|---|---|---|---|---|
| New video on a channel | new_video | poll | {{ item.videoId }} | 0 | ||
| New video in a playlist | new_playlist_item | poll | {{ item.id }} | 0 |
Trigger: New video on a channel
Emits videos newly added to a channel’s uploads (works for any public channel, 1 quota unit per check).
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
channel_id | resource_locator | yes | Channel. Channel ID starting with UC. Values from lookup my_channels. |
Trigger: New video in a playlist
Emits videos newly added to a playlist.
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
playlist_id | resource_locator | yes | Playlist. Values from lookup my_playlists. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.youTube | >=1 <2 | unverified |
Provenance
Written from the vendor’s documentation:
- https://developers.google.com/youtube/v3/docs
- https://developers.google.com/youtube/v3/docs/videos
- https://developers.google.com/youtube/v3/docs/videos/insert
- https://developers.google.com/youtube/v3/docs/videos/update
- https://developers.google.com/youtube/v3/docs/videos/rate
- https://developers.google.com/youtube/v3/docs/videos/getRating
- https://developers.google.com/youtube/v3/docs/search/list
- https://developers.google.com/youtube/v3/docs/channels
- https://developers.google.com/youtube/v3/docs/channels/update
- https://developers.google.com/youtube/v3/docs/channelBanners/insert
- https://developers.google.com/youtube/v3/docs/playlists
- https://developers.google.com/youtube/v3/docs/playlistItems
- https://developers.google.com/youtube/v3/docs/videoCategories/list
- https://developers.google.com/youtube/v3/docs/thumbnails/set
- https://developers.google.com/youtube/v3/guides/using_resumable_upload_protocol
- https://developers.google.com/youtube/v3/guides/authentication
- https://developers.google.com/youtube/v3/getting-started
- https://developers.google.com/youtube/v3/determine_quota_cost
- https://developers.google.com/youtube/v3/docs/errors
- https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest
- https://developers.google.com/identity/protocols/oauth2/web-server
Configuration
Tappet is configured through TAPPET_* environment variables and, optionally, a
tappet.toml file. Command-line flags override both.
Precedence, highest first:
- Command-line flags (
--port,--host,--log-format,--log-level,--concurrency, …). - Environment variables. An empty value counts as unset.
tappet.toml.- Built-in defaults.
tappet reads exactly one configuration file, the first that exists of:
- the path given with
--config FILE; - the path in
TAPPET_CONFIG; ./tappet.tomlin the working directory;${TAPPET_DATA}/tappet.toml.
If you name a file with --config or TAPPET_CONFIG and it does not exist, startup fails.
tappet.toml
Each key is the variable name without the TAPPET_ prefix, in lower case. Variables that
share a prefix can also be grouped in a table, so [s3] bucket = "x" is the same as
s3_bucket = "x" and TAPPET_S3_BUCKET=x. Lists can be TOML arrays or comma-separated
strings. Unknown keys are rejected so that typos fail at startup instead of being ignored.
env = "production"
data = "/var/lib/tappet"
database_url = "postgres://tappet@db/tappet"
public_url = "https://flows.example.com"
host = "0.0.0.0"
port = 5678
log_format = "json"
executions_ttl = "30d"
[egress]
policy = "local"
allow = ["10.20.0.0/16", "ollama.internal"]
[s3]
bucket = "tappet-blobs"
region = "eu-central-1"
Keep secrets (encryption_key, s3_secret_access_key, oidc_client_secret) in the
environment or in a file only the service user can read.
Unknown TAPPET_* environment variables produce a warning at startup.
Values from tappet.toml and derived defaults (TAPPET_DATA, TAPPET_DATABASE_URL,
TAPPET_BLOBS_URL) are exported into the process environment at startup, so every
component sees the same settings regardless of where they were set.
Value formats
| Type | Accepted values |
|---|---|
| boolean | true/false, 1/0, yes/no, on/off (case-insensitive) |
| size | bytes, or a number with KB, MB, GB, TB (binary: 1 MB = 1024 KB; KiB/MiB also accepted). 1.5MB is allowed. |
| duration | a number with ms, s, m, h, d or w (500ms, 30s, 14d). A bare number uses the unit given in the table below. |
| list | comma-separated (a,b,c) or a TOML array |
General
| Variable | Default | Description |
|---|---|---|
TAPPET_CONFIG | (search, see above) | Path of the tappet.toml to load. Environment only. |
TAPPET_ENV | development | development or production. Production refuses to start without TAPPET_ENCRYPTION_KEY. |
TAPPET_DATA | ~/.tappet, or /var/lib/tappet when HOME is unset or / | Data directory: SQLite database, blob spill store, development encryption key. A leading ~/ is expanded. |
TAPPET_DATABASE_URL | sqlite://${TAPPET_DATA}/tappet.db | sqlite://path (single node) or postgres://user:pass@host/db (required for serve --role api + worker deployments). |
TAPPET_BLOBS_URL | s3:// URL when TAPPET_S3_BUCKET is set, else file://${TAPPET_DATA}/blobs | Binary data and large-payload spill store. |
TAPPET_HOST | 127.0.0.1 | Listen address. Use 0.0.0.0 in containers. localhost is accepted. |
TAPPET_PORT | 5678 | Listen port. |
TAPPET_PUBLIC_URL | unset | Externally reachable base URL (https://flows.example.com). Required for OAuth2 callbacks ({url}/api/v1/oauth2/callback) and production webhook URLs; startup warns when unset. serve --tunnel cloudflared sets it for the session. |
TAPPET_INSTANCE_ID | <hostname>-<random> | Identity of this process for queue leases and leader election. Must be unique per process. |
TAPPET_DEFAULT_PROJECT | owner’s first project, else default | Project id or name used by CLI commands run without --project. |
Encryption
| Variable | Default | Description |
|---|---|---|
TAPPET_ENCRYPTION_KEY | unset | Key-encryption key for credentials: base64 of exactly 32 random bytes (tappet keys generate). In development mode, when unset, a key is generated once into ${TAPPET_DATA}/encryption.key with mode 0600 and reused. Never logged. |
TAPPET_ENCRYPTION_KEY_VERSION | 1 (or the version recorded by tappet keys rotate in development) | Version number stored with every wrapped credential key; bump it when you rotate. |
Rotation: generate a new key, export it as TAPPET_NEW_ENCRYPTION_KEY, run
tappet keys rotate, then set TAPPET_ENCRYPTION_KEY to the new key and
TAPPET_ENCRYPTION_KEY_VERSION to the new version and restart every process. In development
mode (key file) tappet keys rotate generates the new key itself, replaces
encryption.key, writes encryption.key.version, and keeps the previous key as
encryption.key.v<old version>.
Logging and telemetry
| Variable | Default | Description |
|---|---|---|
TAPPET_LOG_FORMAT | text | text or json (one JSON object per line). Logs always go to standard error. |
TAPPET_LOG_LEVEL | info for serve/worker, warn for other commands | tracing filter directive, e.g. info,tappet_engine=debug. RUST_LOG takes precedence when set; --log-level overrides both. |
TAPPET_OTEL_ENDPOINT | unset | OTLP collector endpoint (http://otel-collector:4317). Used by builds with OTLP export. |
TAPPET_OTEL_SERVICE_NAME | tappet | service.name resource attribute for exported traces. |
Security
| Variable | Default | Description |
|---|---|---|
TAPPET_EGRESS_POLICY | local; strict in multi-tenant mode | Outbound network policy for every node, connector, OAuth token call and protocol connection. local blocks cloud metadata and unspecified addresses only; strict also blocks loopback, private, CGNAT, unique-local and link-local ranges. Multi-tenant mode rejects local. |
TAPPET_EGRESS_ALLOW | empty | Hosts, IPs or CIDRs always allowed (overrides blocks, including metadata addresses listed explicitly). *.example.com matches subdomains. |
TAPPET_EGRESS_DENY | empty | Extra hosts, IPs or CIDRs to block. |
TAPPET_ALLOW_EXEC | false | Enables exec-class nodes (Execute Command, SSH, local files, MCP stdio). Ignored in multi-tenant mode. |
TAPPET_MULTI_TENANT | false | Multi-tenant mode: forces the strict egress policy, disables exec-class nodes and $env by default. |
TAPPET_EXPR_ALLOW_ENV | true; false in multi-tenant mode | Expose process environment variables to expressions as $env. TAPPET_* variables are never exposed. |
TAPPET_EXPR_ENV_ALLOWLIST | empty (all non-TAPPET_* variables) | Limit $env to these names; an entry ending in * matches a prefix (API_*). |
TAPPET_SECURE_COOKIES | derived from TAPPET_PUBLIC_URL (https means secure) | Force the Secure attribute on session cookies on or off. |
TAPPET_SESSION_TTL | 7d (bare number: hours) | Lifetime of a login session. |
TAPPET_CORS_ORIGINS | empty (no cross-origin access) | Origins allowed to call the REST API from a browser. |
TAPPET_UI_ENABLED | true | Serve the embedded web UI. |
Limits
| Variable | Default | Description |
|---|---|---|
TAPPET_QUEUE_MAX_DEPTH | 100000 | Durable queue depth at which webhooks answer 503 with Retry-After. |
TAPPET_INFLIGHT_BYTES | 256MB | Budget for request payloads parsed in memory at once. |
TAPPET_WEBHOOK_BODY_MAX | 16MB | Largest accepted webhook body. |
TAPPET_API_BODY_MAX | 16MB | Largest accepted REST API body (workflow imports). |
TAPPET_BINARY_INLINE_MAX | 64KB | Binary data up to this size is kept inline with the item; larger data goes to the blob store. |
TAPPET_JSON_SPILL_THRESHOLD | 2MB | Node outputs larger than this are stored in the blob store and loaded on demand. |
TAPPET_MAX_NODE_RUNS | 10000 | Loop guard: maximum runs of one node in one execution. |
TAPPET_MAX_SUB_WORKFLOW_DEPTH | 10 | Maximum nesting of Execute Workflow calls. |
TAPPET_MAX_ITEMS_PER_OUTPUT | 1000000 | Maximum items a single node may output. |
Executions
| Variable | Default | Description |
|---|---|---|
TAPPET_EXECUTIONS_TTL | 14d (bare number: days) | Executions older than this are pruned. Rounded up to whole days. |
TAPPET_EXECUTIONS_MAX_COUNT | unset (no cap) | Keep at most this many executions. |
TAPPET_WORKER_CONCURRENCY | 64 | Executions one process runs at a time (serve --role all and worker; --concurrency overrides). |
TAPPET_LEASE_TTL | 60s (bare number: seconds) | Worker lease on a running execution; an execution whose lease expires is recovered by another worker. Minimum 5 s. |
TAPPET_CHECKPOINT | every_node | every_node persists each finished node run before successors start (crash recovery resumes there); wait_only persists only at Wait nodes and the end (faster, less durable). |
TAPPET_SYNC_WEBHOOK_TIMEOUT | 300s (bare number: seconds) | How long lastNode/responseNode webhooks wait for the workflow. |
TAPPET_TIMEZONE | UTC | Timezone for workflows that do not set one (IANA name, e.g. Europe/Berlin). |
TAPPET_SHUTDOWN_TIMEOUT | 30s (bare number: seconds) | Time allowed for running executions to finish or checkpoint after SIGINT/SIGTERM. A second signal exits immediately. |
JavaScript (expressions and Code node)
| Variable | Default | Description |
|---|---|---|
TAPPET_JS_MEMORY_LIMIT | 64MB | Memory cap of each JavaScript runtime. |
TAPPET_EXPR_TIMEOUT | 1s (bare number: milliseconds) | Budget for one expression evaluation. |
TAPPET_CODE_TIMEOUT | 5s (bare number: milliseconds) | Budget for one Code node run. |
TAPPET_JS_RUNTIMES | 8 | Maximum JavaScript runtimes alive at once (memory bound = runtimes x memory limit). |
Catalogs
| Variable | Default | Description |
|---|---|---|
TAPPET_CONNECTORS_DIR | unset | Directory of <id>/connector.yaml files loaded on top of the embedded connectors (same id replaces). |
TAPPET_MAPPINGS_DIR | unset | Directory of n8n mapping files loaded on top of the embedded mappings. |
S3-compatible blob store
Setting TAPPET_S3_BUCKET switches the blob store to S3 (unless TAPPET_BLOBS_URL is set
explicitly). The other S3 variables are ignored, with a warning, when no bucket is set.
| Variable | Default | Description |
|---|---|---|
TAPPET_S3_BUCKET | unset | Bucket name. |
TAPPET_S3_PREFIX | unset | Key prefix inside the bucket (leading and trailing slashes are removed). |
TAPPET_S3_REGION | provider default | Region, e.g. eu-central-1. |
TAPPET_S3_ENDPOINT | AWS | Endpoint URL for S3-compatible services (MinIO, R2, …). |
TAPPET_S3_ACCESS_KEY_ID | ambient credentials | Access key id. |
TAPPET_S3_SECRET_ACCESS_KEY | ambient credentials | Secret access key. Never logged. |
TAPPET_S3_FORCE_PATH_STYLE | false | Use path-style URLs (needed by most self-hosted S3 services). |
Single sign-on (OIDC)
OIDC login is enabled when TAPPET_OIDC_ISSUER is set. Register
{TAPPET_PUBLIC_URL}/api/v1/auth/oidc/callback as the redirect URI with your identity provider.
| Variable | Default | Description |
|---|---|---|
TAPPET_OIDC_ISSUER | unset | Issuer URL (discovery document at {issuer}/.well-known/openid-configuration). |
TAPPET_OIDC_CLIENT_ID | required with an issuer | Client id registered with the provider. |
TAPPET_OIDC_CLIENT_SECRET | unset (public client) | Client secret. Never logged. |
TAPPET_OIDC_SCOPES | openid,email,profile | Requested scopes; openid is always included. |
TAPPET_OIDC_ROLE_CLAIM | unset | Claim holding group or role names (e.g. groups). |
TAPPET_OIDC_ROLE_MAP | unset | Claim value to instance role, ops=admin,staff=member. Roles: owner, admin, member. |
External tools
| Variable | Default | Description |
|---|---|---|
TAPPET_CLOUDFLARED_BIN | cloudflared on PATH | Executable used by tappet serve --tunnel cloudflared. |
TAPPET_PARITY_BIN | parity/harness/... in the working directory, then tappet-parity on PATH | Parity harness used by tappet parity. |
Command-line exit codes
| Code | Meaning |
|---|---|
0 | Success. |
1 | The command ran but failed: a workflow execution that did not succeed (error, canceled, or left waiting), a failing credential test, lint errors, or a runtime/infrastructure error. |
2 | Usage or input error: invalid arguments, unreadable or invalid JSON, an n8n export that cannot be imported, invalid configuration, an unknown workflow/credential/project id. |
Configuration variables
Every TAPPET_* variable the binary reads, generated from its variable table. Each variable can also be set in tappet.toml under the key shown, unless it is marked environment only. Defaults, formats and examples are in Configuration.
65 variables.
| Variable | tappet.toml key | Notes | Summary |
|---|---|---|---|
TAPPET_CONFIG | environment only | path to tappet.toml | |
TAPPET_ENV | env | development | production | |
TAPPET_DATA | data | data directory | |
TAPPET_DATABASE_URL | database_url | sqlite:// or postgres:// URL | |
TAPPET_BLOBS_URL | blobs_url | spill/blob store URL (file:// or s3://) | |
TAPPET_HOST | host | listen address | |
TAPPET_PORT | port | listen port | |
TAPPET_PUBLIC_URL | public_url | externally reachable base URL | |
TAPPET_INSTANCE_ID | instance_id | unique id of this process | |
TAPPET_DEFAULT_PROJECT | default_project | project used by CLI commands without –project | |
TAPPET_ENCRYPTION_KEY | encryption_key | secret | base64 32-byte key-encryption key |
TAPPET_ENCRYPTION_KEY_VERSION | encryption_key_version | version number of the KEK | |
TAPPET_LOG_FORMAT | log_format | text | json | |
TAPPET_LOG_LEVEL | log_level | tracing filter directive | |
TAPPET_OTEL_ENDPOINT | otel_endpoint | OTLP collector endpoint | |
TAPPET_OTEL_SERVICE_NAME | otel_service_name | service.name resource attribute | |
TAPPET_EGRESS_POLICY | egress_policy | local | strict | |
TAPPET_EGRESS_ALLOW | egress_allow | hosts/CIDRs always allowed | |
TAPPET_EGRESS_DENY | egress_deny | extra CIDRs to block | |
TAPPET_ALLOW_EXEC | allow_exec | enable exec-class nodes | |
TAPPET_MULTI_TENANT | multi_tenant | multi-tenant mode | |
TAPPET_EXPR_ALLOW_ENV | expr_allow_env | expose $env to expressions | |
TAPPET_EXPR_ENV_ALLOWLIST | expr_env_allowlist | names exposed through $env | |
TAPPET_SECURE_COOKIES | secure_cookies | force Secure session cookies | |
TAPPET_SESSION_TTL | session_ttl | session lifetime | |
TAPPET_CORS_ORIGINS | cors_origins | allowed CORS origins | |
TAPPET_UI_ENABLED | ui_enabled | serve the embedded web UI | |
TAPPET_QUEUE_MAX_DEPTH | queue_max_depth | queue depth that triggers 503 | |
TAPPET_INFLIGHT_BYTES | inflight_bytes | in-memory payload budget | |
TAPPET_WEBHOOK_BODY_MAX | webhook_body_max | webhook body cap | |
TAPPET_API_BODY_MAX | api_body_max | REST API body cap | |
TAPPET_BINARY_INLINE_MAX | binary_inline_max | inline binary threshold | |
TAPPET_JSON_SPILL_THRESHOLD | json_spill_threshold | node output spill threshold | |
TAPPET_MAX_NODE_RUNS | max_node_runs | loop guard per node | |
TAPPET_MAX_SUB_WORKFLOW_DEPTH | max_sub_workflow_depth | sub-workflow nesting limit | |
TAPPET_MAX_ITEMS_PER_OUTPUT | max_items_per_output | max items one node may emit | |
TAPPET_EXECUTIONS_TTL | executions_ttl | execution retention | |
TAPPET_EXECUTIONS_MAX_COUNT | executions_max_count | max executions kept | |
TAPPET_WORKER_CONCURRENCY | worker_concurrency | concurrent executions per process | |
TAPPET_LEASE_TTL | lease_ttl | worker lease duration | |
TAPPET_CHECKPOINT | checkpoint | every_node | wait_only | |
TAPPET_SYNC_WEBHOOK_TIMEOUT | sync_webhook_timeout | max wait for lastNode/responseNode webhooks | |
TAPPET_TIMEZONE | timezone | default workflow timezone | |
TAPPET_SHUTDOWN_TIMEOUT | shutdown_timeout | graceful shutdown budget | |
TAPPET_JS_MEMORY_LIMIT | js_memory_limit | memory cap per JS runtime | |
TAPPET_EXPR_TIMEOUT | expr_timeout | budget per expression evaluation | |
TAPPET_CODE_TIMEOUT | code_timeout | budget per Code node run | |
TAPPET_JS_RUNTIMES | js_runtimes | max concurrent JS runtimes | |
TAPPET_CONNECTORS_DIR | connectors_dir | extra/override connector directory | |
TAPPET_MAPPINGS_DIR | mappings_dir | extra/override n8n mapping directory | |
TAPPET_S3_BUCKET | s3_bucket | S3 bucket for the blob store | |
TAPPET_S3_PREFIX | s3_prefix | key prefix inside the bucket | |
TAPPET_S3_REGION | s3_region | S3 region | |
TAPPET_S3_ENDPOINT | s3_endpoint | S3-compatible endpoint URL | |
TAPPET_S3_ACCESS_KEY_ID | s3_access_key_id | S3 access key id | |
TAPPET_S3_SECRET_ACCESS_KEY | s3_secret_access_key | secret | S3 secret access key |
TAPPET_S3_FORCE_PATH_STYLE | s3_force_path_style | use path-style S3 URLs | |
TAPPET_OIDC_ISSUER | oidc_issuer | OIDC issuer URL | |
TAPPET_OIDC_CLIENT_ID | oidc_client_id | OIDC client id | |
TAPPET_OIDC_CLIENT_SECRET | oidc_client_secret | secret | OIDC client secret |
TAPPET_OIDC_SCOPES | oidc_scopes | requested scopes | |
TAPPET_OIDC_ROLE_CLAIM | oidc_role_claim | claim carrying group/role names | |
TAPPET_OIDC_ROLE_MAP | oidc_role_map | claim value to instance role mapping | |
TAPPET_CLOUDFLARED_BIN | cloudflared_bin | cloudflared executable | |
TAPPET_PARITY_BIN | parity_bin | parity harness executable |
Command line
Everything Tappet does is in one executable, tappet. This page lists every command and option
of the version it was generated from. Run tappet <command> --help for the version you have
installed.
Every command reads the same configuration as the server: environment variables (TAPPET_*) and
an optional tappet.toml. Command-line flags override both. See
Configuration and the variable index.
Exit status
| Code | Meaning |
|---|---|
0 | Success. |
1 | The operation failed: a workflow run did not succeed, a credential test failed, lint found errors, or an infrastructure error occurred. |
2 | Usage or input error: invalid arguments, invalid JSON, an import error, invalid configuration, an unknown id or a missing file. |
A second SIGINT or SIGTERM during shutdown exits with 130.
Related guides
tappet serve --role apiandtappet worker: Scaling and high availability.tappet keys: Key rotation.tappet import,tappet export,tappet credentials link: Migrating from n8n.tappet connectorandtappet lint provenance: Writing connectors.tappet parity:parity/README.mdin the repository.
Global options
These options are accepted by every command.
| Option | Description |
|---|---|
--config <FILE> | Path to a tappet.toml configuration file. |
--log-format <LOG_FORMAT> | Log output format (overrides TAPPET_LOG_FORMAT). Values: text, json. |
--log-level <FILTER> | Log filter, e.g. info or tappet_engine=debug (overrides TAPPET_LOG_LEVEL). |
Commands
| Command | Description |
|---|---|
tappet serve | Run the HTTP server (API, webhooks, UI) and, with role all, the workers. |
tappet worker | Run a queue worker without the HTTP server (HA deployments). |
tappet import | Import an exported n8n workflow and print the compatibility report. |
tappet export | Export a stored workflow as n8n JSON or tappet JSON. |
tappet run | Execute a workflow once and print the result as JSON. |
tappet credentials | Manage credentials. |
tappet keys | Manage the credential key-encryption key. |
tappet migrate | Apply database migrations and exit. |
tappet connector | Connector authoring tools. |
tappet lint | Repository checks. |
tappet parity | Behavioral parity harness against a reference n8n instance. |
tappet config | Print the effective configuration as JSON (secrets redacted). |
tappet version | Print version information. |
tappet serve
Run the HTTP server (API, webhooks, UI) and, with role all, the workers.
tappet serve [OPTIONS]
| Option | Description |
|---|---|
--role <ROLE> | Values: all: API, webhooks, UI and workers in one process. api: API, webhooks and UI only; executions are left to tappet worker processes. Default: all. |
--tunnel <TUNNEL> | Expose this instance through a temporary public tunnel (development only). Values: cloudflared: Start a Cloudflare quick tunnel and use its URL as TAPPET_PUBLIC_URL. |
--host <HOST> | Listen address (overrides TAPPET_HOST). |
--port <PORT> | Listen port (overrides TAPPET_PORT). |
--concurrency <CONCURRENCY> | Concurrent executions for role all (overrides TAPPET_WORKER_CONCURRENCY). |
tappet worker
Run a queue worker without the HTTP server (HA deployments).
tappet worker [OPTIONS]
| Option | Description |
|---|---|
--concurrency <CONCURRENCY> | Concurrent executions (overrides TAPPET_WORKER_CONCURRENCY). |
tappet import
Import an exported n8n workflow and print the compatibility report.
tappet import [OPTIONS] <FILE>
| Argument | Description |
|---|---|
<FILE> | Exported workflow JSON file (- reads standard input). Required. |
| Option | Description |
|---|---|
--project <PROJECT> | Target project id or name (default: TAPPET_DEFAULT_PROJECT or the owner’s first project). |
--activate | Activate the workflow after import (refused when nodes are unsupported). |
--report <REPORT> | Values: json, text. Default: text. |
tappet export
Export a stored workflow as n8n JSON or tappet JSON.
tappet export [OPTIONS] <ID>
| Argument | Description |
|---|---|
<ID> | Workflow id. Required. |
| Option | Description |
|---|---|
--format <FORMAT> | Values: n8n, tappet. Default: n8n. |
-o, --output <OUTPUT> | Write to this file instead of standard output. |
tappet run
Execute a workflow once and print the result as JSON.
Exit status: 0 success, 1 the execution failed (error, canceled or left waiting), 2 invalid arguments or the workflow could not be imported.
tappet run [OPTIONS] <TARGET>
| Argument | Description |
|---|---|
<TARGET> | Stored workflow id, or a path to a workflow JSON file (n8n export or tappet format). Required. |
| Option | Description |
|---|---|
--input <INPUT> | Input items as JSON: an object (one item) or an array of objects. |
--input-file <INPUT_FILE> | Read input items from a JSON file (- reads standard input). |
--pin-file <PIN_FILE> | Pinned node outputs: { "<node name>": [ {..item..}, ... ] }. |
--project <PROJECT> | Project for inline (file) workflows. |
--trigger <TRIGGER> | Start from this trigger node instead of the auto-detected one. |
--full | Include the full per-node run data in the output. |
--force | Run even when the import reports unsupported nodes. |
tappet credentials
Manage credentials.
tappet credentials [OPTIONS] <COMMAND>
| Command | Description |
|---|---|
tappet credentials list | List credentials (secrets are never shown). |
tappet credentials create | Create a credential. Prefer –data-file (or - for stdin) over –data so secrets stay out of shell history. |
tappet credentials test | Run the credential’s test request. |
tappet credentials link | Point a workflow’s imported credential placeholders at a stored credential. |
tappet credentials list
List credentials (secrets are never shown).
tappet credentials list [OPTIONS]
| Option | Description |
|---|---|
--project <PROJECT> | |
--format <FORMAT> | Values: json, text. Default: text. |
tappet credentials create
Create a credential. Prefer –data-file (or - for stdin) over –data so secrets stay out of shell history.
tappet credentials create [OPTIONS] --name <NAME> --kind <KIND>
| Option | Description |
|---|---|
--name <NAME> | Required. |
--kind <KIND> | Credential kind, e.g. http.bearer or slack/oauth2. Required. |
--project <PROJECT> | |
--data <DATA> | Field values as a JSON object. |
--data-file <DATA_FILE> | JSON object file with field values (- reads standard input). |
--field <KEY=VALUE> | Single field as key=value (repeatable; merged over –data). |
tappet credentials test
Run the credential’s test request.
tappet credentials test [OPTIONS] <ID>
| Argument | Description |
|---|---|
<ID> | Required. |
tappet credentials link
Point a workflow’s imported credential placeholders at a stored credential.
tappet credentials link [OPTIONS] --credential <CREDENTIAL> <WORKFLOW>
| Argument | Description |
|---|---|
<WORKFLOW> | Workflow id. Required. |
| Option | Description |
|---|---|
--credential <CREDENTIAL> | Credential id to link. Required. |
--name <NAME> | Only placeholders with this credential name (as exported from n8n). |
--n8n-type <N8N_TYPE> | Only placeholders with this n8n credential type (e.g. slackApi). |
--node <NODE> | Only this node. |
--relink | Also replace slots that are already linked to another credential. |
tappet keys
Manage the credential key-encryption key.
tappet keys [OPTIONS] <COMMAND>
| Command | Description |
|---|---|
tappet keys generate | Print a new random base64 key suitable for TAPPET_ENCRYPTION_KEY. |
tappet keys rotate | Re-wrap every credential key under a new KEK. |
tappet keys generate
Print a new random base64 key suitable for TAPPET_ENCRYPTION_KEY.
tappet keys generate [OPTIONS]
tappet keys rotate
Re-wrap every credential key under a new KEK.
tappet keys rotate [OPTIONS]
| Option | Description |
|---|---|
--new-key-env <NEW_KEY_ENV> | Environment variable holding the new base64 key. Default: TAPPET_NEW_ENCRYPTION_KEY. |
--new-key-file <NEW_KEY_FILE> | File holding the new base64 key. |
--new-version <NEW_VERSION> | Version number of the new key (default: current + 1). |
tappet migrate
Apply database migrations and exit.
tappet migrate [OPTIONS]
tappet connector
Connector authoring tools.
tappet connector [OPTIONS] <COMMAND>
| Command | Description |
|---|---|
tappet connector lint | Validate connector definitions. |
tappet connector test | Validate a connector’s cassette tests. |
tappet connector new | Scaffold a new connector directory. |
tappet connector lint
Validate connector definitions.
tappet connector lint [OPTIONS] [ID]
| Argument | Description |
|---|---|
<ID> | Connector id (default: every connector). |
| Option | Description |
|---|---|
--dir <DIR> | Default: connectors. |
tappet connector test
Validate a connector’s cassette tests.
tappet connector test [OPTIONS] <ID>
| Argument | Description |
|---|---|
<ID> | Required. |
| Option | Description |
|---|---|
--dir <DIR> | Default: connectors. |
tappet connector new
Scaffold a new connector directory.
tappet connector new [OPTIONS] <ID>
| Argument | Description |
|---|---|
<ID> | Required. |
| Option | Description |
|---|---|
--dir <DIR> | Default: connectors. |
--display-name <DISPLAY_NAME> | Display name (default: derived from the id). |
--base-url <BASE_URL> | Vendor API base URL. |
tappet lint
Repository checks.
tappet lint [OPTIONS] <COMMAND>
| Command | Description |
|---|---|
tappet lint provenance | Check that connectors declare provenance and mappings cite evidence (SPEC §1.1). |
tappet lint provenance
Check that connectors declare provenance and mappings cite evidence (SPEC §1.1).
tappet lint provenance [OPTIONS]
| Option | Description |
|---|---|
--root <ROOT> | Repository root. Default: .. |
--strict | Treat mapping rules without evidence as errors. |
--format <FORMAT> | Values: json, text. Default: text. |
tappet parity
Behavioral parity harness against a reference n8n instance.
tappet parity [OPTIONS] <COMMAND>
| Command | Description |
|---|---|
tappet parity capture | Record golden traces from the reference instance. |
tappet parity run | Run fixtures in tappet and compare with the goldens. |
tappet parity capture
Record golden traces from the reference instance.
tappet parity capture [OPTIONS] [-- <REST>...]
| Argument | Description |
|---|---|
<REST> | Extra arguments passed to the harness after --. |
| Option | Description |
|---|---|
--fixture <FIXTURE> | Fixture id under parity/fixtures. |
--connector <CONNECTOR> | Every fixture of one connector. |
tappet parity run
Run fixtures in tappet and compare with the goldens.
tappet parity run [OPTIONS] [-- <REST>...]
| Argument | Description |
|---|---|
<REST> | Extra arguments passed to the harness after --. |
| Option | Description |
|---|---|
--fixture <FIXTURE> | Fixture id under parity/fixtures. |
--connector <CONNECTOR> | Every fixture of one connector. |
tappet config
Print the effective configuration as JSON (secrets redacted).
tappet config [OPTIONS]
tappet version
Print version information.
tappet version [OPTIONS]
| Option | Description |
|---|---|
--json | Machine-readable output. |
HTTP API
Everything the web UI does goes through a versioned REST API under /api/v1. You can use the
same API to manage workflows, credentials and executions from scripts and other systems.
OpenAPI description
The API is described by an OpenAPI 3.1 document:
- Served by every instance at
GET /api/v1/openapi.json. - Published with this documentation as
api/openapi.json, generated from the same route table when the book is built. - Every route, its summary and the permission it checks are listed on the endpoint index.
Load it into any OpenAPI viewer or client generator. The document is generated from the server’s route table, so it always matches the version that serves it.
Authentication
| Method | Use |
|---|---|
| API key | Scripts, CI, MCP clients. Send Authorization: Bearer <key>. Create keys under Settings > API keys or with POST /api/v1/api-keys. Keys are hashed at rest, can be scoped and can expire. |
| Session cookie | The web UI. Cookie-authenticated requests that change state must send the CSRF token header. |
Every route requires a permission, checked against the caller’s instance role and project role. See Users, roles and SSO.
export BASE_URL=https://automation.example.com
export API_KEY=... # from Settings > API keys
curl -s "$BASE_URL/api/v1/workflows" -H "authorization: Bearer $API_KEY"
Main resources
| Path | Purpose |
|---|---|
/api/v1/workflows | List, create, update, delete workflows; versions and rollback |
/api/v1/workflows/{id}/activate, /deactivate | Activation |
/api/v1/workflows/{id}/run | Start a manual execution |
/api/v1/workflows/import/n8n | Import n8n-format JSON, returns the diagnostics report |
/api/v1/workflows/{id}/export/n8n | Export in n8n format |
/api/v1/executions | List and inspect executions, per-node run data |
/api/v1/executions/{id}/retry, /cancel | Retry from the failed node, cancel |
/api/v1/executions/{id}/stream | Live events over Server-Sent Events |
/api/v1/credentials | Credentials (secret fields are write-only), test, OAuth2 connect |
/api/v1/connectors | Connector catalog and lookups (/connectors/{id}/lookups/{lookup}) |
/api/v1/node-types | Node descriptors used by the editor |
/api/v1/projects | Projects, members, variables |
/api/v1/users, /api/v1/api-keys | Users and API keys |
/api/v1/audit | Audit log |
Endpoints outside /api/v1
| Path | Purpose |
|---|---|
/webhook/<path> | Production webhooks of active workflows |
/webhook-test/<path> | Test webhooks while the editor is listening |
/webhook-waiting/<token> | Resume URLs of waiting executions |
/form/<path> | Hosted forms (form triggers and Wait-for-form) |
/mcp | MCP server endpoint (Streamable HTTP) for workflows exposed as tools |
/healthz | Liveness and readiness check, no authentication |
/metrics | Prometheus metrics (see Metrics) |
Streaming execution events
GET /api/v1/executions/{id}/stream returns text/event-stream. Events:
| Event | Data |
|---|---|
node_started | Node name, run index |
node_finished | Node name, run index, item counts per output |
node_failed | Node name, run index, redacted error |
execution_finished | Final status |
When a client connects, past events of the execution are replayed first, so a client that connects late still sees the whole run. Reverse proxies must not buffer this endpoint; see the proxy examples in Deployment.
Conventions
- Request and response bodies are JSON. Timestamps are RFC 3339 in UTC.
- List endpoints are paginated with
limitand an opaquecursor; the response includesnext_cursorwhen there are more results. - Errors use a consistent body with a machine-readable
codeand a humanmessage. Secret values never appear in errors. - Breaking changes go to a new version prefix. Additive changes (new fields, new endpoints) can appear in any release; clients should ignore unknown fields.
API endpoints
Every route of the REST API, generated from the server’s route table (version 0.1.0). Request and response schemas are in the OpenAPI document; authentication and conventions are described in HTTP API.
The permission column names the permission checked for the caller; public routes need no authentication. 63 endpoints.
Api keys
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/api-keys | List your API keys | authenticated |
POST | /api/v1/api-keys | Create an API key (the secret is shown once) | authenticated |
DELETE | /api/v1/api-keys/{id} | Revoke one of your API keys | authenticated |
System
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/audit | Audit log, newest first | audit:read |
GET | /api/v1/health | Readiness check including the store | public |
GET | /api/v1/openapi.json | This OpenAPI document | public |
GET | /api/v1/settings | Public instance settings for the UI | public |
GET | /api/v1/version | Server version | public |
Auth
| Method | Path | Summary | Permission |
|---|---|---|---|
POST | /api/v1/auth/login | Sign in with email and password | public |
POST | /api/v1/auth/logout | Sign out of the current session | authenticated |
GET | /api/v1/auth/me | Current user, CSRF token and project roles | authenticated |
POST | /api/v1/auth/password | Change your own password | authenticated |
GET | /api/v1/auth/setup | Whether first-run owner setup is pending | public |
POST | /api/v1/auth/setup | Create the first owner account and sign in | public |
Connectors
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/connectors | List connectors | authenticated |
GET | /api/v1/connectors/{id} | Get a connector definition | authenticated |
POST | /api/v1/connectors/{id}/lookups/{lookup} | Run a connector lookup for dropdowns and resource locators | credential:use |
GET | /api/v1/node-types | List node type descriptors | authenticated |
GET | /api/v1/node-types/{type} | Get one node type descriptor | authenticated |
Credentials
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/credential-kinds | Available credential kinds and the OAuth redirect URI | authenticated |
GET | /api/v1/credentials | List credentials (metadata only) | credential:read |
POST | /api/v1/credentials | Create a credential | credential:write |
GET | /api/v1/credentials/{id} | Get a credential with masked secrets | credential:read |
PATCH | /api/v1/credentials/{id} | Update a credential | credential:write |
DELETE | /api/v1/credentials/{id} | Delete a credential | credential:write |
POST | /api/v1/credentials/{id}/oauth2/start | Begin the OAuth2 authorization flow | credential:write |
POST | /api/v1/credentials/{id}/test | Test a credential against the service | credential:use |
GET | /api/v1/oauth2/callback | OAuth2 redirect target (authenticated by the signed state parameter) | public |
Executions
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/executions | List executions, newest first | execution:read |
GET | /api/v1/executions/{id} | Get an execution, optionally with run data | execution:read |
DELETE | /api/v1/executions/{id} | Delete a finished execution | execution:delete |
POST | /api/v1/executions/{id}/cancel | Cancel a queued, running or waiting execution | execution:manage |
GET | /api/v1/executions/{id}/nodes | Per-node run summaries | execution:read |
GET | /api/v1/executions/{id}/nodes/{node} | Full run data of one node | execution:read |
POST | /api/v1/executions/{id}/retry | Retry a failed execution from the failed node | execution:manage |
Projects
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/projects | Projects you belong to | authenticated |
POST | /api/v1/projects | Create a project | project:create |
GET | /api/v1/projects/{id} | Get a project | project:read |
GET | /api/v1/projects/{id}/members | List project members | project:read |
PUT | /api/v1/projects/{id}/members/{user_id} | Add a member or change their role | project:manage |
DELETE | /api/v1/projects/{id}/members/{user_id} | Remove a member | project:manage |
Variables
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/projects/{id}/variables | List project variables | variable:read |
PUT | /api/v1/projects/{id}/variables/{key} | Create or update a variable | variable:write |
DELETE | /api/v1/projects/{id}/variables/{key} | Delete a variable | variable:write |
Users
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/users | List users | user:read |
POST | /api/v1/users | Create a user | user:manage |
GET | /api/v1/users/{id} | Get a user | user:read |
PATCH | /api/v1/users/{id} | Update a user’s role, status, name or password | user:manage |
Workflows
| Method | Path | Summary | Permission |
|---|---|---|---|
GET | /api/v1/workflows | List workflows you can read | workflow:read |
POST | /api/v1/workflows | Create a workflow | workflow:write |
POST | /api/v1/workflows/import/n8n | Import an n8n workflow export and return the diagnostics report | workflow:write |
GET | /api/v1/workflows/{id} | Get a workflow with its current definition | workflow:read |
PUT | /api/v1/workflows/{id} | Save a new version of a workflow | workflow:write |
DELETE | /api/v1/workflows/{id} | Delete a workflow | workflow:write |
POST | /api/v1/workflows/{id}/activate | Activate triggers and webhooks | workflow:activate |
POST | /api/v1/workflows/{id}/deactivate | Deactivate triggers and webhooks | workflow:activate |
GET | /api/v1/workflows/{id}/export | Export the Tappet definition | workflow:read |
GET | /api/v1/workflows/{id}/export/n8n | Export in n8n workflow format | workflow:read |
POST | /api/v1/workflows/{id}/rollback | Create a new version copying an older one | workflow:write |
POST | /api/v1/workflows/{id}/run | Run manually, optionally with pin data or as a partial execution | workflow:execute |
POST | /api/v1/workflows/{id}/test-webhook | Listen on test webhook URLs for one editor run | workflow:execute |
GET | /api/v1/workflows/{id}/versions | List workflow versions | workflow:read |
GET | /api/v1/workflows/{id}/versions/{version} | Get one workflow version | workflow:read |
Writing connectors
A connector teaches Tappet how to talk to one SaaS API. Most connectors are a single YAML file
that declares authentication, operations, pagination, dropdown lookups and triggers. The
connector runtime turns that file into workflow nodes (connector.<id> for actions and
connector.<id>_trigger for triggers) with the HTTP client, retries, rate limiting, credential
refresh, egress policy and secret redaction already handled.
When an API needs something YAML cannot express (an unusual signing scheme, a streaming protocol, client-side encryption), a connector can call a named native hook written in Rust for that one operation. The goal is that at least 80 percent of connectors are pure YAML. If more than half of a connector’s operations need native hooks, the format is reviewed, not the connector.
Layout
connectors/
acme_tasks/
connector.yaml # the connector
tests/
task_create.cassette.yaml # one or more cassette tests per operation
task_list_paginated.cassette.yaml
trigger_task_event.cassette.yaml
mappings/n8n/
n8n-nodes-base.acmeTasks.yaml # optional: import rules for the equivalent n8n node
Connector IDs are lowercase snake_case vendor names: slack, google_sheets,
microsoft_outlook, monday. The full list of IDs reserved for connectors that map from n8n
node types is in Node type mapping.
Authoring workflow
- Read the vendor’s documentation only. Use the vendor’s API reference, OpenAPI spec and
authentication guide. Record every URL you used under
provenance:. Do not look at other automation tools’ source code or documentation for the same service; see the provenance rules in CONTRIBUTING.md. - Scaffold and write the file.
Lint checks the schema, every template’s syntax, references between params, lookups, steps and auth alternatives, URL patterns, and the presence oftappet connector new acme_tasks $EDITOR connectors/acme_tasks/connector.yaml tappet connector lint acme_tasksprovenance:. - Add cassette tests. At least one per operation, lookup and trigger, plus the error cases
that matter (bad credentials, not found, rate limited). See Cassette tests.
tappet connector test acme_tasks - Try it for real. Run Tappet with
TAPPET_CONNECTORS_DIR=./connectorsso your working copy overrides the embedded catalog, create a credential, and run each operation from the editor. - Mapping files (only if an n8n node exists for the service) are written by the fixture team from parity captures, not from the connector author’s assumptions. See Mapping files.
- Parity.
tappet parity run --connector acme_tasksmust pass before imported nodes of this service can be reported as exact.
Pages in this section
| Page | What it covers |
|---|---|
| Tutorial | Building a complete connector step by step: auth, CRUD operations, pagination, lookups, an upload, a poll trigger, a webhook trigger, and tests |
| File format reference | Every key of connector.yaml, the template language and its scope |
| Authentication | All auth kinds with examples, credential fields, test requests |
| Pagination and lookups | Pagination strategies, return_all / limit, dropdowns, resource locators, URL patterns |
| Multi-step operations and uploads | steps:, for_each, resumable and chunked uploads |
| Triggers | Poll triggers, vendor webhooks, signature verification, handshakes |
| Native hooks | Writing a Rust hook for one operation or a custom signer |
| Cassette tests | The test format and how to record good cassettes |
| Mapping files | How n8n node parameters map onto connector operations |
The normative description of the file format, maintained with the connector runtime, is Connector file format. Every connector that ships with Tappet is listed, with its operations and authentication, in the connector reference.
Review checklist
Reviewers check every new connector for:
-
provenance:lists the vendor pages actually used, and nothing else. - Display names and descriptions are written fresh, in sentence case, and describe what the operation does for the user (“Send a message”), not the endpoint name.
-
Every operation that changes data has
side_effect: true. -
Secret credential fields have
secret: true. -
List operations paginate and expose
return_all/limit. -
Error messages come from the vendor’s error body (
errors.message), not a generic string. - Every operation has a cassette; error paths have cassettes too.
- No hard-coded account IDs, tokens or personal data in cassettes.
- Icons are from simple-icons or the vendor’s brand kit.
Tutorial: a complete connector
This tutorial builds a connector for Acme Tasks, a fictional task-management API, from an empty file to a tested connector with:
- two authentication alternatives (API key and OAuth2),
- create, get, update, delete and list operations, with cursor pagination,
- a dropdown of projects and a dependent dropdown of sections,
- a three-step file upload,
- a polling trigger for new tasks,
- a webhook trigger that registers itself with the service and verifies signatures,
- cassette tests for all of it.
Acme Tasks does not exist; its API is described inline so the example is self-contained. With a
real service, every fact below would come from the vendor’s API reference, and its URLs would go
into provenance:.
The API we are wrapping
| Endpoint | Behavior |
|---|---|
GET /v2/me | Returns the authenticated user. Good for credential tests. |
GET /v2/projects?limit=&cursor= | { "data": [...], "next_cursor": "..." }, cursor is absent on the last page |
GET /v2/projects/{id}/sections | { "data": [ { "id", "name" } ] } |
POST /v2/projects/{id}/tasks | Creates a task, returns { "task": {...} } |
GET /v2/tasks/{id} | { "task": {...} } |
PATCH /v2/tasks/{id} | Partial update, returns { "task": {...} } |
DELETE /v2/tasks/{id} | 204 No Content |
GET /v2/projects/{id}/tasks?limit=&cursor=&created_after= | Paginated like projects |
POST /v2/tasks/{id}/uploads | { "upload_id", "upload_url" } for a file of a given name, size and type |
PUT <upload_url> | Raw file bytes, no auth header (the URL is pre-signed) |
POST /v2/tasks/{id}/attachments | { "upload_id" }, returns { "attachment": {...} } |
POST /v2/webhooks, GET/DELETE /v2/webhooks/{id} | Webhook registrations; creation returns { "id", "secret" } |
Errors look like { "error": { "code": "not_found", "message": "Task t_1 does not exist" } }.
Webhook deliveries carry X-Acme-Signature: sha256=<hex HMAC-SHA256 of the raw body> and the
service sends { "type": "ping" } once when a webhook is created, expecting 200.
1. Header, base URL and defaults
tappet connector new acme_tasks
id: acme_tasks
format_version: 1
display_name: Acme Tasks
description: Create and track tasks and projects in Acme Tasks.
category: [productivity]
icon: lucide:list-checks
docs_url: https://developer.acme-tasks.example.com
provenance:
- https://developer.acme-tasks.example.com/reference
- https://developer.acme-tasks.example.com/auth
- https://developer.acme-tasks.example.com/webhooks
base_url: https://api.acme-tasks.example.com/v2
defaults:
headers: { Accept: application/json }
rate_limit: { strategy: retry_after, max_retries: 5, rps: 10 }
errors:
message: "{{ response.body.error.message }}"
vendor_code: "{{ response.body.error.code }}"
base_urlis prepended to everypath:. Absoluteurl:values bypass it.rate_limitretries429and5xxup to five times, honoringRetry-After, and limits each credential to 10 requests per second.errors.messageturns the vendor’s error body into the node error message;vendor_codeis kept as a separate field so workflows can branch on it.
2. Authentication
auth:
- id: api_key
kind: api_key
display_name: API key
in: header
name: Authorization
prefix: "Token "
fields:
- { name: api_key, display_name: API key, secret: true, required: true,
description: Create one under Settings > Developer in Acme Tasks. }
test:
request: { method: GET, path: /me }
- id: oauth2
kind: oauth2_auth_code
display_name: OAuth2
authorize_url: https://acme-tasks.example.com/oauth/authorize
token_url: https://api.acme-tasks.example.com/oauth/token
scopes: [tasks.read, tasks.write, webhooks]
scope_separator: " "
pkce: true
client_auth: body
test:
request: { method: GET, path: /me }
The first alternative is the default. Users choose between them when they create a credential.
oauth2_auth_code needs no fields:: client ID and client secret are the standard fields, and the
access and refresh tokens are managed by the vault, including refresh before expiry. Credential
kinds are named <connector>/<auth id>, here acme_tasks/api_key and acme_tasks/oauth2. See
Authentication for all kinds.
3. A first operation
resources:
task:
display_name: Task
operations:
create:
display_name: Create a task
description: Adds a task to a project, optionally in a section and with a due date.
side_effect: true
params:
- { name: project, type: resource_locator, lookup: projects, required: true }
- { name: title, type: string, required: true }
- { name: section, type: options, lookup: sections, depends_on: [project] }
- name: additional_fields
type: collection
fields:
- { name: notes, type: string }
- { name: due_on, type: datetime }
- { name: priority, type: options, options: [low, normal, high], default: normal }
request:
method: POST
path: "/projects/{{ params.project | urlencode }}/tasks"
body:
encoder: json
omit_empty: true
fields:
title: "{{ params.title }}"
section_id: "{{ params.section }}"
notes: "{{ params.additional_fields.notes }}"
due_on: "{{ params.additional_fields.due_on }}"
priority: "{{ params.additional_fields.priority }}"
output: { select: "$.task", split: false }
Things to notice:
- Parameters are resolved by the workflow engine before the connector runs, so
params.titleis already a plain value even if the user wrote an expression. - A template that is exactly one
{{ }}keeps its type:prioritystays a string, a numeric parameter would stay a number. omit_empty: truedrops fields whose value is null or empty, so optional fields that the user left blank are not sent.urlencodeprotects the path from IDs with special characters.output.selectpicks the task out of the response envelope.split: falsekeeps it as one item.
The operation runs once per input item (per_item: true is the default), so ten input items
create ten tasks.
4. The rest of the CRUD operations
get:
display_name: Get a task
params:
- { name: task_id, type: string, required: true }
request: { method: GET, path: "/tasks/{{ params.task_id | urlencode }}" }
output: { select: "$.task", split: false }
update:
display_name: Update a task
side_effect: true
params:
- { name: task_id, type: string, required: true }
- name: update_fields
type: collection
fields:
- { name: title, type: string }
- { name: notes, type: string }
- { name: completed, type: boolean }
request:
method: PATCH
path: "/tasks/{{ params.task_id | urlencode }}"
body:
encoder: json
omit_empty: true
value: "{{ params.update_fields }}"
output: { select: "$.task", split: false }
delete:
display_name: Delete a task
side_effect: true
params:
- { name: task_id, type: string, required: true }
request: { method: DELETE, path: "/tasks/{{ params.task_id | urlencode }}" }
output: { value: { deleted: true, id: "{{ params.task_id }}" }, split: false }
list:
display_name: List tasks in a project
params:
- { name: project, type: resource_locator, lookup: projects, required: true }
- { name: return_all, type: boolean, default: false }
- { name: limit, type: number, default: 50 }
request:
method: GET
path: "/projects/{{ params.project | urlencode }}/tasks"
query: { limit: 100 }
paginate:
strategy: cursor
cursor_from: "$.next_cursor"
cursor_param: cursor
items: "$.data"
body.valuesends a whole object (the update collection) instead of listingfields.deletereturns no body, sooutput.valuebuilds the output item from parameters.listdeclarespaginate. Withreturn_all: truethe runtime followsnext_cursoruntil it is missing; otherwise it stops afterlimititems. Each element of$.databecomes one output item. The safety cap is 100 pages unless the operation setsmax_pages.
5. Lookups and resource locators
The project parameter is a resource locator: users pick from a list, paste an ID, or paste a
URL. The section dropdown depends on the chosen project.
lookups:
projects:
request: { method: GET, path: /projects, query: { limit: 100 } }
paginate: { strategy: cursor, cursor_from: "$.next_cursor", cursor_param: cursor }
items: "$.data"
label: "{{ item.name }}"
value: "{{ item.id }}"
url: "https://acme-tasks.example.com/p/{{ item.id }}"
search: client
sections:
depends_on: [project]
request: { method: GET, path: "/projects/{{ params.project | urlencode }}/sections" }
items: "$.data"
label: "{{ item.name }}"
value: "{{ item.id }}"
url_patterns:
project: "acme-tasks\\.example\\.com/p/(?<id>[^/?#]+)"
Lookups run through the same HTTP client, credentials and egress policy as operations, and their
results are cached for 60 seconds per credential and parameters. url_patterns turns a pasted URL
into an ID: the named group id is the value. See Pagination and lookups.
6. A multi-step upload
Attaching a file takes three requests. Each step’s response is available to later steps as
steps.<id>.
attachment:
display_name: Attachment
operations:
upload:
display_name: Attach a file to a task
side_effect: true
params:
- { name: task_id, type: string, required: true }
- { name: binary_property, type: binary_property, default: data }
steps:
- id: start
request:
method: POST
path: "/tasks/{{ params.task_id | urlencode }}/uploads"
body:
encoder: json
fields:
file_name: "{{ binary[params.binary_property].file_name }}"
size: "{{ binary[params.binary_property].file_size }}"
content_type: "{{ binary[params.binary_property].mime_type }}"
- id: put
request:
method: PUT
url: "{{ steps.start.body.upload_url }}"
auth: none
body: { encoder: raw_binary, binary_property: "{{ params.binary_property }}" }
- id: finish
request:
method: POST
path: "/tasks/{{ params.task_id | urlencode }}/attachments"
body: { encoder: json, fields: { upload_id: "{{ steps.start.body.upload_id }}" } }
output: { from_step: finish, select: "$.attachment", split: false }
binary.<property>exposes the input item’s file metadata (file_name,mime_type,file_size).auth: noneon theputstep prevents the API key from being sent to the storage host.raw_binarystreams the file from the blob store; large files are never loaded into memory.
More patterns, including for_each fan-out and resumable uploads, are in
Multi-step operations and uploads.
7. A polling trigger
triggers:
new_task:
kind: poll
display_name: New task
description: Starts the workflow for each task created in a project.
params:
- { name: project, type: resource_locator, lookup: projects, required: true }
request:
method: GET
path: "/projects/{{ params.project | urlencode }}/tasks"
query:
limit: 100
created_after: "{{ trigger.cursor or trigger.now }}"
paginate: { strategy: cursor, cursor_from: "$.next_cursor", cursor_param: cursor, items: "$.data" }
dedupe_key: "{{ item.id }}"
cursor: "{{ items | map(attribute='created_at') | max if items else (previous or trigger.now) }}"
How it behaves:
- The poll interval comes from the node’s poll-times setting in the workflow.
- On the first poll after activation nothing is emitted (unless
emit_on_first_poll: true); the trigger only records its starting point. - Each later poll asks for tasks created after the stored cursor, skips any task whose
dedupe_keyit has already emitted, and stores the newestcreated_atas the next cursor. When a poll finds nothing, the template keeps the previous cursor (or, on the very first poll, the current time), so no task created between polls is missed. - The cursor and the seen keys live in the workflow’s static data, so they survive restarts.
8. A webhook trigger
task_event:
kind: webhook
display_name: Task event
description: Starts the workflow when tasks are created, updated or completed.
params:
- { name: project, type: resource_locator, lookup: projects, required: true }
- name: events
type: multi_options
required: true
options: [task.created, task.updated, task.completed]
lifecycle:
check:
request: { method: GET, path: "/webhooks/{{ static.hook_id }}" }
exists_when: "{{ response.status == 200 }}"
create:
request:
method: POST
path: /webhooks
body:
encoder: json
fields:
url: "{{ webhook_url }}"
project_id: "{{ params.project }}"
events: "{{ params.events }}"
store:
hook_id: "{{ response.body.id }}"
signing_secret: "{{ response.body.secret }}"
delete:
request: { method: DELETE, path: "/webhooks/{{ static.hook_id }}" }
verify:
scheme: hmac_sha256
header: X-Acme-Signature
prefix: "sha256="
secret: "{{ static.signing_secret }}"
respond:
- when: "{{ request.body.type == 'ping' }}"
status: 200
body: { ok: true }
filter: "{{ request.body.type in params.events }}"
output: { select: "$.task", split: false }
- On activation,
checklooks for an existing registration (when static data has one), andcreateregisterswebhook_urlwith the service and stores the returned ID and signing secret in static data.TAPPET_PUBLIC_URLmust be set forwebhook_urlto exist. - On deactivation,
deleteremoves the registration.404and410count as already removed. - Each delivery is processed in this order:
respondrules are checked first, so handshakes (here, the ping) are answered without starting the workflow. Keep them narrow: they run before signature verification, because some services send their handshake before a secret exists.- The signature in
X-Acme-Signatureis verified with a constant-time comparison. A missing or wrong signature is answered with401and never starts the workflow. filteracknowledges (with200) events the user did not select, without starting the workflow.outputshapes the body into items, and the workflow starts.
9. Tests
Each file in tests/ is one scenario. Outbound requests must match exchanges in order; the
canned responses are served back; the node output is compared with expect.
tests/task_create.cassette.yaml:
name: create a task with optional fields omitted
operation: task.create
auth: api_key
credential: { api_key: test-key }
params:
project: p_1
title: Write docs
additional_fields: { priority: high }
exchanges:
- request:
method: POST
url: https://api.acme-tasks.example.com/v2/projects/p_1/tasks
headers: { authorization: "Token test-key" }
body_json: { title: Write docs, priority: high }
response:
status: 201
body_json: { task: { id: t_901, title: Write docs, priority: high } }
expect:
output: [ { id: t_901, title: Write docs, priority: high } ]
tests/task_list_paginated.cassette.yaml:
name: list follows the cursor until it is absent
operation: task.list
auth: api_key
credential: { api_key: test-key }
params: { project: p_1, return_all: true }
exchanges:
- request: { method: GET, url: "https://api.acme-tasks.example.com/v2/projects/p_1/tasks?limit=100" }
response: { body_json: { data: [ { id: t_1 }, { id: t_2 } ], next_cursor: c2 } }
- request: { method: GET, url: "https://api.acme-tasks.example.com/v2/projects/p_1/tasks?limit=100&cursor=c2" }
response: { body_json: { data: [ { id: t_3 } ] } }
expect:
output: [ { id: t_1 }, { id: t_2 }, { id: t_3 } ]
tests/task_get_not_found.cassette.yaml:
name: missing task surfaces the vendor message
operation: task.get
auth: api_key
credential: { api_key: test-key }
params: { task_id: t_404 }
exchanges:
- request: { method: GET, url: https://api.acme-tasks.example.com/v2/tasks/t_404 }
response:
status: 404
body_json: { error: { code: not_found, message: Task t_404 does not exist } }
expect:
error: { contains: Task t_404 does not exist }
tests/lookup_projects.cassette.yaml:
name: projects lookup returns label and value
operation: lookup:projects
auth: api_key
credential: { api_key: test-key }
exchanges:
- request: { method: GET, url: "https://api.acme-tasks.example.com/v2/projects?limit=100" }
response: { body_json: { data: [ { id: p_1, name: Website }, { id: p_2, name: Mobile } ] } }
expect:
output:
- { label: Website, value: p_1, url: "https://acme-tasks.example.com/p/p_1" }
- { label: Mobile, value: p_2, url: "https://acme-tasks.example.com/p/p_2" }
tests/attachment_upload.cassette.yaml:
name: upload runs three steps and sends no auth to the storage host
operation: attachment.upload
auth: api_key
credential: { api_key: test-key }
params: { task_id: t_901, binary_property: data }
input:
- json: {}
binary:
data: { file_name: notes.txt, mime_type: text/plain, text: "hello" }
exchanges:
- request:
method: POST
url: https://api.acme-tasks.example.com/v2/tasks/t_901/uploads
body_json: { file_name: notes.txt, size: 5, content_type: text/plain }
response:
body_json: { upload_id: u_1, upload_url: "https://uploads.acme-tasks.example.com/u_1?sig=abc" }
- request:
method: PUT
url: "https://uploads.acme-tasks.example.com/u_1?sig=abc"
absent_headers: [authorization]
body_text: hello
response: { status: 200 }
- request:
method: POST
url: https://api.acme-tasks.example.com/v2/tasks/t_901/attachments
body_json: { upload_id: u_1 }
response:
body_json: { attachment: { id: a_1, file_name: notes.txt } }
expect:
output: [ { id: a_1, file_name: notes.txt } ]
tests/trigger_task_event_activate.cassette.yaml and tests/trigger_task_event.cassette.yaml:
name: activation registers the webhook and keeps its id and secret
operation: trigger:task_event:activate
auth: api_key
credential: { api_key: test-key }
params: { project: p_1, events: [task.created] }
exchanges:
- request:
method: POST
url: https://api.acme-tasks.example.com/v2/webhooks
body_json: { url: https://tappet.test/webhook/hook-1, project_id: p_1, events: [task.created] }
response:
status: 201
body_json: { id: wh_7, secret: whsec_test }
expect:
static_data: { hook_id: wh_7, signing_secret: whsec_test }
name: signed delivery starts the workflow with the task
operation: trigger:task_event
auth: api_key
credential: { api_key: test-key }
params: { project: p_1, events: [task.created] }
static_data: { hook_id: wh_7, signing_secret: whsec_test }
webhook:
method: POST
headers:
content-type: application/json
X-Acme-Signature: sha256=cb6d5a68bac250d2f9ba40921fbe706a7ef490a20ceae502bb55959c50948258
body: '{"type":"task.created","task":{"id":"t_901","title":"Write docs","project_id":"p_1"}}'
expect:
output: [ { id: t_901, title: Write docs, project_id: p_1 } ]
Run them:
tappet connector lint acme_tasks
tappet connector test acme_tasks
A failing cassette lists every mismatch: requests that were expected but not made, unexpected requests, request fields that differ, and output items that do not match. See Cassette tests for the full format.
The complete connector from this tutorial, with these cassettes and eight more (update, delete,
the limit stop, the sections lookup, a poll that advances its cursor, a rejected signature, the
ping handshake and deactivation), is in
docs/connectors/examples/acme_tasks/.
docs/tools/check_docs.py verifies that every snippet on this page matches those files, and the
cassettes pass against the connector runtime.
10. Try it
TAPPET_CONNECTORS_DIR=./connectors tappet serve
Your working copy now overrides the embedded catalog. Create an Acme Tasks credential, add the node to a workflow, and run each operation once against the real service.
Where to go from here
- File format reference for every key used above and the template language.
- Native hooks when an operation cannot be expressed in YAML.
- Mapping files if the service has an n8n node whose workflows should import onto this connector.
File format reference
This page lists every key of connector.yaml (format version 1). The tutorial
shows them in context.
Top level
| Key | Type | Required | Description |
|---|---|---|---|
id | string | yes | Lowercase snake_case connector ID. Node kinds are connector.<id> and connector.<id>_trigger. |
format_version | integer | yes | 1. |
display_name | string | yes | Name shown in the node picker. |
description | string | no | One sentence shown under the name. |
category | list of strings | no | Picker categories, for example [communication], [crm, sales]. |
icon | string | no | simple-icons:<slug> or lucide:<name>. |
docs_url | string | no | The vendor’s developer documentation home. |
provenance | list of URLs | yes | Vendor pages the connector was written from. Enforced by tappet lint provenance. |
base_url | string | no | Prefix for every request path. May be a template over credential (for per-account hosts). |
auth | list | no | Authentication alternatives. See Authentication. Omit for public APIs. |
defaults | object | no | headers, query and timeout_ms applied to every request. |
rate_limit | object | no | Retry and throttling policy. See Errors, retries and rate limits. |
errors | object | no | How to detect failures and extract messages. |
resources | map | no | Resources and their operations. |
lookups | map | no | Dynamic dropdowns and resource-locator lists. See Pagination and lookups. |
url_patterns | map | no | Regexes that turn pasted URLs into IDs, per parameter name. |
triggers | map | no | Poll and webhook triggers. See Triggers. |
Resources and operations
resources:
<resource>:
display_name: Message
description: ...
operations:
<operation>:
display_name: Send a message
description: ...
side_effect: true
per_item: true
params: [ ... ]
request: { ... } # exactly one of request, steps, native
steps: [ ... ]
native: <hook name>
paginate: { ... }
output: { ... }
errors: { ... } # overrides the connector-level errors
An operation is addressed as <resource>.<operation>, for example message.post.
| Key | Default | Description |
|---|---|---|
side_effect | false | The operation changes data. Non-idempotent requests (POST, PATCH) of a side-effect operation are not retried after a 5xx or a timeout, because the first attempt may have succeeded. 429 and connection failures are still retried. |
per_item | true | Run once per input item. false runs once per node run, with all items in items. |
request | A single HTTP request. | |
steps | Several requests in sequence. See Multi-step operations. | |
native | Name of a registered Rust hook. See Native hooks. | |
paginate | Pagination for list operations. Adds return_all / limit handling. | |
output | whole body | How the response becomes output items. |
Parameters
params:
- name: channel
display_name: Channel
type: resource_locator
required: true
default: null
description: Where to post. Pick from the list, paste an ID, or paste a link.
placeholder: C0123456789
options: []
lookup: channels
depends_on: []
show_when: { operation: [post] }
fields: []
| Type | Value | Notes |
|---|---|---|
string | string | |
number | number | |
boolean | boolean | |
options | one value | options: lists scalars or { value, label, description }; or lookup: for dynamic options. |
multi_options | array | Same option sources. |
json | any JSON | Edited as JSON. |
datetime | ISO 8601 string | |
resource_locator | string ID | List mode uses lookup:; URL mode uses url_patterns.<name>; ID mode passes through. Imported { "__rl": true, ... } values are unwrapped before the connector sees them. |
collection | object | Optional fields grouped under one parameter (fields: lists them). |
fixed_collection | array of objects | Repeatable groups (fields: lists the group’s fields). |
binary_property | string | Name of a binary property on the input item, usually defaulting to data. |
code | string | Multi-line code or query text. |
display_name defaults to the humanized name (thread_ts becomes Thread ts). show_when hides
a parameter unless every listed parameter has one of the listed values.
Requests
request:
method: POST # default GET; may be a template
path: /chat.postMessage # appended to base_url; template
url: https://... # absolute URL instead of path; template
query: { limit: 100 } # object of templates, or one template that yields an object
headers: { X-Trace: "{{ params.trace }}" }
body: { ... }
auth: none # use another auth alternative by id, or none
response: auto # auto | json | text | binary
timeout_ms: 30000
Null and empty-string query values are dropped. Header names are case-insensitive.
Bodies
body:
encoder: json # see table
fields: { ... } # object of templates, merged into the body
value: "{{ ... }}" # or one template producing the whole body
omit_empty: true # drop null / empty values (recursively)
style: brackets # form_urlencoded array and object style
files: [ ... ] # multipart_form file parts
metadata: { ... } # multipart_related JSON part
binary_property: data # raw_binary / multipart_related media part
mime_type: ... # override the binary's MIME type
root: ... # xml root element name
content_type: ... # override the Content-Type header
attachments: ... # rfc2822_mime attachments
| Encoder | Sends |
|---|---|
none | No body. |
json | application/json. |
form_urlencoded | application/x-www-form-urlencoded. Nested arrays and objects follow style: brackets (a[0][b]=1), repeat (a=1&a=2), comma (a=1,2), indices (a[0]=1). |
multipart_form | multipart/form-data. fields become text parts; each entry of files (name, binary_property, optional file_name, mime_type) becomes a streamed file part. |
multipart_related | multipart/related with a JSON metadata part and a media part from binary_property. Used by some upload APIs (for example a “simple upload with metadata”). |
raw_binary | The bytes of binary_property, streamed, with its MIME type. |
xml | XML built from value or fields, under root. |
rfc2822_mime | A MIME email message built from from, to, cc, bcc, subject, text, html and attachments. |
Output
output:
select: "$.data" # JSONPath into the body (or into value)
split: true # one item per array element (default true for arrays)
map: { id: "{{ item.id }}", name: "{{ item.name }}" } # per element, with item and index
filter: "{{ item.archived == false }}" # per element; falsy drops it
value: "{{ {'ok': true, 'id': params.id} }}" # build the output instead of reading the body
from_step: finish # multi-step: which step's response (default: last)
binary: # store the response body as a file instead of parsing it
property: data
file_name: "{{ params.file_name }}"
mime_type: application/pdf
Elements that are not objects are wrapped as { "data": ... } so every output item has an object
as its JSON. Output items are paired with the input item that produced them.
JSONPath subset
$ root (optional), .key, ['key'], [n] (negative counts from the end), and [*] or .*
wildcards. A path with a wildcard returns an array of all matches. Filter expressions are not
supported; use output.filter instead.
Errors, retries and rate limits
errors:
success_when: "{{ response.status < 400 and response.body.ok }}"
message: "{{ response.body.error }}"
vendor_code: "{{ response.body.error_code }}"
retryable_when: "{{ response.status == 429 or response.status >= 500 }}"
rate_limit:
strategy: retry_after # honor Retry-After, else exponential backoff; or: backoff
max_retries: 3
rps: 10 # per-credential token bucket
burst: 20
base_delay_ms: 500
max_delay_ms: 30000
success_whendefaults toresponse.status < 400. Use it for APIs that return200with an error flag in the body.retryable_whendefaults to429, connection errors, and5xxexcept for non-idempotent requests ofside_effectoperations. Retries use exponential backoff with jitter and honorRetry-After(unlessstrategy: backoff). If the vendor supports idempotency keys, send one (for exampleIdempotency-Key: "{{ params.idempotency_key }}") and setretryable_whenexplicitly so5xxresponses are retried safely.- A
401on an OAuth2 credential triggers one single-flight token refresh and a retry. - Errors surface in workflows as node errors with
http_status,vendor_code,messageand a redacted request summary (method and URL, no credentials).
Templates
Strings in connector files can contain {{ }} templates. The template language is a small,
sandboxed expression language with Jinja-style syntax (and, or, not, if ... else ...,
in, filters with |, attribute and index access). It is evaluated in Rust and has no access to
the network, files or the environment beyond env (empty in multi-tenant mode).
It is independent of the JavaScript expressions users write in workflows: by the time a connector runs, every user parameter is already a plain value.
A string that is exactly one {{ }} block keeps its type (number, boolean, array, object, null).
Mixed strings render as text.
Scope
| Variable | Available in | Value |
|---|---|---|
params | everywhere | Resolved parameters of the node |
credential | requests, auth templates | Credential fields (secret fields included; never logged) |
input | operations | JSON of the current input item |
binary | operations | Binary properties of the current item: file_name, mime_type, file_size, file_extension |
item_index | operations | Index of the current input item |
items | per_item: false operations; trigger cursor | All input items / all polled items |
steps.<id> | multi-step operations | Earlier step responses: status, headers, body, url |
each, each_index | for_each steps | Current element and its index |
response | errors, output, success_when, store, exists_when | status, headers (lowercase names), body, url |
page | paginated requests | index, number, offset, cursor |
item, index | output.map, output.filter, lookups, dedupe_key | Current element |
static | triggers | The trigger’s stored state (registration IDs, secrets, cursor) |
webhook_url | triggers | Public URL the vendor should call |
trigger | poll triggers | cursor, last_poll_at, last_poll_unix, first_poll, now |
previous | poll trigger cursor | The previous cursor |
request | webhook triggers | method, path, headers, query, body (parsed), raw_body |
env | everywhere | Allowlisted environment values (empty in multi-tenant mode) |
Filters and functions
| Name | Example | Result |
|---|---|---|
urlencode | {{ params.id | urlencode }} | Percent-encoded component |
base64, base64url, base64_decode | {{ credential.user ~ ':' ~ credential.pass | base64 }} | |
json, from_json | {{ params.filter | json }} | Serialize / parse JSON |
join | {{ params.tags | join(',') }} | Joins non-null values |
omit_empty | {{ params.options | omit_empty }} | Drops null and empty values |
default | {{ params.limit | default(50) }} | Fallback for missing values |
compact, to_list | {{ params.ids | to_list }} | Remove nulls; wrap a scalar in a list |
sha256, md5 | {{ input.email | lower | md5 }} | Hex digest |
a1_range | {{ a1_range(params.sheet, params.range) }} | Spreadsheet range with quoted sheet name |
mime | {{ mime(params) | base64url }} | RFC 2822 message (see rfc2822_mime) |
now(), timestamp(), uuid() | {{ now() }} | RFC 3339 time, Unix seconds, random UUID |
The standard Jinja-style filters (lower, upper, trim, replace, length, map, select,
first, last, min, max, int, float, string, dict, …) are also available.
URL patterns
url_patterns:
spreadsheet: "docs\\.google\\.com/spreadsheets/d/(?<id>[^/]+)"
channel:
- "app\\.slack\\.com/client/[^/]+/(?<id>[CGD][A-Z0-9]+)"
- "slack\\.com/archives/(?<id>[CGD][A-Z0-9]+)"
Keys are parameter names. Each pattern must have a named group id. Patterns are tried in order.
Authentication
auth: lists one or more alternatives. Each has an id (unique in the connector), a kind, and
kind-specific settings. Users pick an alternative when they create a credential; the credential
kind is <connector id>/<auth id>, for example slack/oauth2.
auth:
- id: bot_token
kind: bearer
display_name: Bot token
description: A bot token from your app's OAuth & Permissions page.
fields: # optional; each kind has standard fields
- { name: token, display_name: Bot token, secret: true, required: true }
test: # optional; used by "Test credential"
request: { method: POST, path: /auth.test }
success_when: "{{ response.body.ok }}"
Credential fields
When fields: is omitted, the kind’s standard fields are used (listed per kind below). Declare
fields: to rename them, add help text, or add extra values such as an account subdomain.
| Field key | Meaning |
|---|---|
name | Key used in templates as credential.<name> |
display_name, description | Form label and help text |
secret | Encrypted at rest, write-only through the API, redacted everywhere |
required | Form validation |
default | Prefilled value (never for secrets) |
Any field can be used in templates, including base_url:
base_url: "https://{{ credential.subdomain }}.example-helpdesk.com/api/v2"
auth:
- id: api_token
kind: basic
value: "{{ credential.email }}/token:{{ credential.api_token }}"
fields:
- { name: subdomain, display_name: Subdomain, required: true }
- { name: email, display_name: Email, required: true }
- { name: api_token, display_name: API token, secret: true, required: true }
Credential values are resolved per request and never written to execution data or logs.
Test requests
test.request runs with the credential when the user clicks Test credential or runs
tappet credentials test. The test passes when the response status is below 400 and, if given,
test.success_when is truthy. Choose a cheap, read-only endpoint (“who am I”).
Kinds
none
No authentication. Useful as an alternative for public endpoints.
api_key
Standard field: api_key (or the name given by field:).
- id: api_key
kind: api_key
in: header # header | query | cookie
name: X-Api-Key # header, query parameter or cookie name
prefix: "" # e.g. "Token " or "ApiKey "
value: replaces the credential value with a template, for keys built from several fields.
bearer
Standard field: token. Sends Authorization: Bearer <token>. token_prefix changes Bearer.
basic
Standard fields: username, password. Sends HTTP Basic authentication. value: can build the
user:password pair from other fields.
oauth2_auth_code
Authorization code flow, for APIs where users sign in and grant access.
- id: oauth2
kind: oauth2_auth_code
authorize_url: https://example.com/oauth/authorize
token_url: https://example.com/oauth/token
scopes: [read, write]
scope_separator: " " # default " "
pkce: true # S256 code challenge
extra_authorize_params: { access_type: offline, prompt: consent }
client_auth: header # header (HTTP Basic) | body
token_placement: header # header | query
token_param: access_token # query parameter name when token_placement: query
token_prefix: Bearer
Standard fields: client_id, client_secret. Users bring their own OAuth app and paste the
redirect URI shown on the credential page (<TAPPET_PUBLIC_URL>/api/v1/oauth2/callback). The
vault stores the tokens, refreshes them ahead of expiry, coordinates refreshes so concurrent
executions trigger exactly one refresh, persists rotated refresh tokens atomically, and marks the
credential needs_reauth when the provider answers invalid_grant.
oauth2_client_credentials
Machine-to-machine tokens. Same settings as above minus authorize_url, pkce and the
authorize parameters. Standard fields: client_id, client_secret.
oauth2_password
Legacy resource-owner password grant, only for APIs that require it. Standard fields:
client_id, client_secret (optional), username, password.
jwt_service_account
Service-account JWT bearer flow, as used by Google Cloud APIs.
- id: service_account
kind: jwt_service_account
token_url: https://oauth2.googleapis.com/token
audience: https://oauth2.googleapis.com/token
scopes: [https://www.googleapis.com/auth/spreadsheets]
subject_field: subject # credential field with the user to impersonate
Standard fields: client_email, private_key (PEM, secret), and the optional impersonation
subject.
aws_sigv4
AWS Signature Version 4.
- id: iam
kind: aws_sigv4
service: sqs
region: "{{ credential.region }}"
Standard fields: access_key_id, secret_access_key, session_token (optional), region.
oauth1_hmac_sha1
OAuth 1.0a request signing with HMAC-SHA1. Standard fields: consumer_key, consumer_secret,
token, token_secret.
hmac_header
Custom request signing: a canonical string is built from a template, signed, and sent in a header.
- id: signed
kind: hmac_header
name: X-Signature # header carrying the signature
algorithm: sha256 # sha1 | sha256 | sha512
encoding: hex # hex | base64
canonical: "{{ request.method }}\n{{ request.path }}\n{{ timestamp }}\n{{ request.body_sha256 }}"
extra_headers:
X-Timestamp: "{{ timestamp }}"
X-Key-Id: "{{ credential.key_id }}"
fields:
- { name: key_id, display_name: Key ID, required: true }
- { name: secret, display_name: Signing secret, secret: true, required: true }
The canonical template sees request (method, path, query, body hash), credential, timestamp
and nonce.
custom_native
A named Rust signer for schemes that cannot be described with the options above.
- id: signed
kind: custom_native
signer: acme_v3_signature
fields:
- { name: key_id, display_name: Key ID, required: true }
- { name: private_key, display_name: Private key, secret: true, required: true }
See Native hooks.
Using a different alternative for one request
A request (or step) can set auth: to another alternative’s ID, or to none. Use none for
pre-signed upload URLs so the credential is never sent to a third-party host.
Pagination and lookups
Pagination
Add paginate: to a list operation (or a lookup, or a poll trigger). The runtime then fetches
pages until a stop condition is met, collects the elements from each page, and handles the
return_all / limit parameter pair.
params:
- { name: return_all, type: boolean, default: false }
- { name: limit, type: number, default: 50 }
paginate:
strategy: cursor
items: "$.results"
# strategy-specific keys below
max_pages: 100
max_items: 50000
With return_all: false, fetching stops as soon as limit elements are collected, and the
output is truncated to limit.
Strategies
| Strategy | Keys | Typical API |
|---|---|---|
cursor | cursor_from (JSONPath in the body, or header:<name>), cursor_param, cursor_in (query or body) | next_cursor, response_metadata.next_cursor, after |
token_in_body | Same as cursor, with the token in the request body | pageToken in a POST search body |
next_url | next_url_from (JSONPath to an absolute URL) | "next": "https://api.example.com/items?page=3" |
link_header | none | Link: <...>; rel="next" (RFC 8288) |
offset_limit | offset_param, limit_param, page_size, start (default 0) | ?offset=200&limit=100 |
page_number | page_param, page_size_param, page_size, start (default 1) | ?page=3&per_page=100 |
Templates in the request can use page.index, page.number, page.offset and page.cursor
when the API needs them somewhere unusual:
request:
method: GET
path: /items
query: { page: "{{ page.number }}", per_page: 100 }
paginate:
strategy: page_number
start: 1
items: "$.items"
has_more: "{{ response.body.has_more }}"
Stop conditions
Pagination stops at the first of:
- the cursor or next URL is missing or empty,
- a page has no elements,
has_moreis given and evaluates to false,- a page is shorter than
page_size(whenpage_sizeis set), max_pages(default 100; hard cap 10,000) ormax_itemsis reached,limitis reached whenreturn_allis false.
Lookups
Lookups fill dropdowns (options / multi_options parameters with lookup:) and the list mode
of resource locators. The editor calls
POST /api/v1/connectors/{id}/lookups/{lookup} with the selected credential, the current
parameter values, a search string and a cursor.
lookups:
channels:
request:
method: GET
path: /conversations.list
query: { limit: 200, types: "public_channel,private_channel", exclude_archived: true }
paginate: { strategy: cursor, cursor_from: "$.response_metadata.next_cursor", cursor_param: cursor }
items: "$.channels"
label: "#{{ item.name }}"
value: "{{ item.id }}"
description: "{{ item.purpose.value }}"
url: "https://app.slack.com/client/{{ item.context_team_id }}/{{ item.id }}"
search: client
| Key | Description |
|---|---|
request, paginate | As for operations. Lookups go through the same auth, rate limits and egress policy. |
items | JSONPath to the array of entries. |
label, value | Templates over item. |
description, url | Optional templates shown in the list. |
search | client filters the fetched entries by label; server sends the search text as search_param. |
search_param | Query parameter for server-side search. |
depends_on | Parameters this lookup reads; the editor refreshes it when they change and disables it until they are set. |
Results are cached for 60 seconds per credential, lookup and parameter values.
Dependent lookups
lookups:
spreadsheets:
request:
method: GET
url: https://www.googleapis.com/drive/v3/files
query: { q: "mimeType='application/vnd.google-apps.spreadsheet' and trashed=false", pageSize: 100 }
paginate: { strategy: cursor, cursor_from: "$.nextPageToken", cursor_param: pageToken }
items: "$.files"
label: "{{ item.name }}"
value: "{{ item.id }}"
search: server
search_param: q
sheets:
depends_on: [spreadsheet]
request: { method: GET, path: "/spreadsheets/{{ params.spreadsheet | urlencode }}", query: { fields: "sheets.properties" } }
items: "$.sheets[*].properties"
label: "{{ item.title }}"
value: "{{ item.title }}"
Resource locators
A resource_locator parameter has three modes in the editor:
| Mode | Value sent to the connector |
|---|---|
| From list | The value of the chosen lookup entry |
| By ID | The typed ID |
| By URL | The id group extracted by the parameter’s url_patterns |
params:
- { name: spreadsheet, type: resource_locator, lookup: spreadsheets, required: true }
url_patterns:
spreadsheet: "docs\\.google\\.com/spreadsheets/d/(?<id>[^/]+)"
Imported workflows carry resource locator values as objects with a mode, a value and a cached
display name. The importer unwraps them (resolving URL mode through url_patterns) and keeps the
cached name for display, so the connector always receives a plain ID.
Multi-step operations and uploads
Some operations need more than one request: get an upload URL, then upload, then confirm; look
up an ID, then act on it; create a record, then attach things to it. Use steps: instead of
request:.
Steps
operations:
upload:
display_name: Upload a file
side_effect: true
params:
- { name: channel, type: resource_locator, lookup: channels, required: true }
- { name: binary_property, type: binary_property, default: data }
- { name: title, type: string }
steps:
- id: get_url
request:
method: GET
path: /files.getUploadURLExternal
query:
filename: "{{ binary[params.binary_property].file_name }}"
length: "{{ binary[params.binary_property].file_size }}"
- id: upload
request:
method: POST
url: "{{ steps.get_url.body.upload_url }}"
auth: none
body: { encoder: raw_binary, binary_property: "{{ params.binary_property }}" }
- id: complete
request:
method: POST
path: /files.completeUploadExternal
body:
encoder: json
fields:
channel_id: "{{ params.channel }}"
files: "{{ [ { 'id': steps.get_url.body.file_id, 'title': params.title or binary[params.binary_property].file_name } ] }}"
output: { from_step: complete, select: "$.files", split: true }
This is the shape of an external-upload flow such as Slack’s: request a URL, upload the bytes to it without the API token, then complete the upload.
Rules:
-
Steps run in order. Each step’s response is available to later steps as
steps.<id>.status,steps.<id>.headersandsteps.<id>.body. -
If a step fails (per
errors), the operation fails with that step’s error; later steps do not run. A step can overrideerrors:for itself. -
outputreads the last step’s response unlessfrom_stepnames another one. -
when:skips a step when its template is falsy:- id: add_labels when: "{{ params.labels | length > 0 }}" request: { method: POST, path: "/issues/{{ steps.create.body.number }}/labels", body: { encoder: json, fields: { labels: "{{ params.labels }}" } } } -
A step can paginate (
paginate:), for example to collect every page of IDs before acting on them.
Fan-out with for_each
for_each runs a step once per element of an array. Inside the step, each is the element and
each_index its position. The step’s result in steps.<id> is then an array of responses.
steps:
- id: create
request:
method: POST
path: /lists
body: { encoder: json, fields: { name: "{{ params.name }}" } }
- id: add_members
for_each: "{{ params.emails }}"
request:
method: POST
path: "/lists/{{ steps.create.body.id }}/members"
body: { encoder: json, fields: { email: "{{ each }}" } }
output:
from_step: create
select: "$"
split: false
Keep fan-out bounded. If the array can be large, prefer the vendor’s batch endpoint, or let users split items upstream so each node run stays small.
Built-in upload step kinds
Large files need chunked, resumable uploads. Instead of writing the protocol out as steps, use a
step kind:
| Kind | Protocol |
|---|---|
request | A normal request (default). |
google_resumable | Google resumable upload: initiate a session with metadata, upload in chunks, resume from the last acknowledged byte on retry. |
msgraph_upload_session | Microsoft Graph upload session: create the session, upload byte ranges, resume on retry. |
s3_multipart | S3 multipart upload: initiate, upload parts, complete (or abort on failure). |
steps:
- id: upload
kind: google_resumable
request:
method: POST
url: https://www.googleapis.com/upload/drive/v3/files?uploadType=resumable
body:
encoder: json
fields:
name: "{{ params.file_name or binary[params.binary_property].file_name }}"
parents: "{{ [params.folder] if params.folder else none }}"
binary_property: "{{ params.binary_property }}"
chunk_size: 8388608
output: { select: "$", split: false }
request describes the session-initiating call; the step kind handles the chunk requests. File
content is streamed from the blob store, one chunk in memory at a time. chunk_size must respect
the vendor’s alignment rules (for example multiples of 256 KiB for Google).
Operations that run once per node run
By default an operation runs once per input item. Set per_item: false to run it once with all
items, for batch endpoints:
operations:
append_rows:
display_name: Append rows
side_effect: true
per_item: false
request:
method: POST
path: "/spreadsheets/{{ params.spreadsheet }}/values/{{ a1_range(params.sheet, 'A1') | urlencode }}:append"
query: { valueInputOption: USER_ENTERED }
body:
encoder: json
fields:
values: "{{ items | map(attribute='values') | list }}"
items holds the JSON of every input item.
Triggers
triggers: defines the connector’s trigger node (connector.<id>_trigger). Each entry is one
trigger event the user can choose, of kind poll or webhook.
Poll triggers
A poll trigger requests a list from the API on a schedule and starts the workflow with the entries it has not emitted before.
triggers:
new_row:
kind: poll
display_name: New row
description: Starts the workflow for each row added to a sheet.
params:
- { name: spreadsheet, type: resource_locator, lookup: spreadsheets, required: true }
- { name: sheet, type: options, lookup: sheets, depends_on: [spreadsheet], required: true }
request:
method: GET
path: "/spreadsheets/{{ params.spreadsheet }}/values/{{ a1_range(params.sheet, 'A' ~ ((trigger.cursor or 1) + 1) ~ ':ZZ') | urlencode }}"
output: { select: "$.values", split: true, map: { row: "{{ item }}" } }
dedupe_key: "{{ item.row | json | sha256 }}"
cursor: "{{ (previous or 1) + (items | length) }}"
emit_on_first_poll: false
| Key | Description |
|---|---|
request, paginate, output | As for operations. |
dedupe_key | Template over item. Entries whose key was already emitted are skipped. The last keys are kept in static data (bounded). |
cursor | Template evaluated after a poll with items (all fetched entries), previous (the last cursor) and trigger.now. The result is stored and available to the next poll as trigger.cursor. A null or empty result keeps the previous cursor. |
emit_on_first_poll | false (default): the first poll after activation only records state. true: emit what the first poll finds. |
The request can use trigger.cursor, trigger.last_poll_at (RFC 3339), trigger.last_poll_unix,
trigger.first_poll and trigger.now.
The poll interval is the trigger node’s poll-times setting. In HA mode only the leader process polls, so each poll happens once across the cluster.
Running the trigger manually in the editor fetches once and shows the result without changing the stored state.
Choosing a cursor
- APIs with a “modified since” or “created after” filter: store the newest timestamp seen, and
ask for entries after it. Use
dedupe_keytoo, because timestamps are often second-granular and inclusive. - APIs that only list newest first: no cursor; rely on
dedupe_keywith a page size large enough to cover the poll interval. - APIs with event logs or change feeds: store the feed’s own position token.
Webhook triggers
A webhook trigger receives HTTP requests from the vendor at the node’s webhook URL.
triggers:
issue_event:
kind: webhook
display_name: Repository event
params:
- { name: owner, type: string, required: true }
- { name: repo, type: string, required: true }
- name: events
type: multi_options
required: true
options: [issues, issue_comment, pull_request, push, release]
- { name: secret, type: string, description: Leave empty to generate one. }
lifecycle:
check:
request: { method: GET, path: "/repos/{{ params.owner }}/{{ params.repo }}/hooks/{{ static.hook_id }}" }
exists_when: "{{ response.status == 200 and response.body.config.url == webhook_url }}"
create:
request:
method: POST
path: "/repos/{{ params.owner }}/{{ params.repo }}/hooks"
body:
encoder: json
fields:
name: web
active: true
events: "{{ params.events }}"
config:
url: "{{ webhook_url }}"
content_type: json
secret: "{{ params.secret }}"
store:
hook_id: "{{ response.body.id }}"
delete:
request: { method: DELETE, path: "/repos/{{ params.owner }}/{{ params.repo }}/hooks/{{ static.hook_id }}" }
verify:
scheme: hmac_sha256
header: X-Hub-Signature-256
prefix: "sha256="
secret: "{{ params.secret }}"
respond: []
filter: "{{ request.headers['x-github-event'] in params.events }}"
output: { select: "$", split: false }
This follows the shape of GitHub’s repository webhooks (X-Hub-Signature-256 is an HMAC-SHA256 of
the raw body, prefixed with sha256=).
Lifecycle
| Hook | When | Notes |
|---|---|---|
check | Activation, when static data already has a registration | If exists_when (default: status below 400) is truthy, nothing else happens. |
create | Activation, when there is no live registration | Values in store are saved to static data, for example the registration ID and a signing secret the vendor generated. |
delete | Deactivation | 404 and 410 count as success. Static data is cleared afterwards. |
webhook_url is the production URL of this node (<TAPPET_PUBLIC_URL>/webhook/<webhook id>,
where the webhook ID is the node’s stable webhookId, or its node ID); activation
fails with a clear error if TAPPET_PUBLIC_URL is not set. For services where users paste the URL
themselves, omit lifecycle; the node shows the URL to copy.
Processing an incoming request
For each request, in order:
respond: each rule’swhenis evaluated overrequest. The first match is answered with itsstatus(default 200),body(a string is sent astext/plain, anything else as JSON) and optionalcontent_type, and the workflow does not start. Use it for URL-verification challenges. Rules run before signature verification, because some services send the challenge before a secret exists, so match them narrowly.verify: the signature is checked. On failure Tappet answers401and does not start the workflow; the reason is written to the execution log, not to the response.filter: if falsy, Tappet answers200with an empty body and does not start the workflow.output: the body (oroutput.value) is turned into items. If there are none, Tappet answers200; otherwise the workflow starts, and the response follows the node’s response mode.
request has method, path, headers (lowercase names), query, body (parsed JSON, or a form
object; a form whose only field payload holds JSON is unwrapped) and raw_body.
Signature verification
verify:
scheme: hmac_sha256 # hmac_sha1 | hmac_sha256 | hmac_sha512 | token
header: X-Signature
prefix: "v1=" # stripped from the header value
encoding: hex # hex (case-insensitive) | base64
secret: "{{ static.signing_secret }}" # scope: credential, params, static
payload: "v0:{{ timestamp }}:{{ body }}" # default: the raw body
timestamp_header: X-Request-Timestamp
tolerance_secs: 300
tokencompares the header with the secret directly (for services that send a shared token).payloadbuilds the signed string frombody(the raw body as text) andtimestamp(the value oftimestamp_header). With a timestamp header, requests older or newer thantolerance_secs(default 300) are rejected, which blocks replays.- All comparisons are constant time. An empty secret fails verification rather than accepting every request.
Static data
Triggers keep their state in the workflow’s static data under the node’s name: registration IDs, secrets returned by the vendor, the poll cursor, recently seen dedupe keys and the time of the last poll. It is persisted with the workflow and survives restarts. Deactivating a webhook trigger clears its registration state.
Native hooks
Some operations cannot be described declaratively: a client-side computation the API requires, a protocol that is not request and response, a response format that needs real parsing. For those, an operation names a native hook written in Rust, and the rest of the connector stays YAML.
Use a hook for the one operation that needs it. Authentication, retries, rate limits, egress policy, redaction and credential refresh still come from the connector’s YAML, because the hook makes its requests through the connector’s HTTP client.
Declaring a hook
resources:
task:
operations:
import_csv:
display_name: Import tasks from a CSV file
description: Creates one task per CSV row, in batches of up to 500.
side_effect: true
per_item: true
params:
- { name: project, type: resource_locator, lookup: projects, required: true }
- { name: binary_property, type: binary_property, default: data }
native: import_csv
native: replaces request: and steps:. Parameters, credentials and the node’s UI are still
defined in YAML.
Hook names resolve in this order:
<connector id>::<name>(hereacme_tasks::import_csv), a hook for this connector only,<name>, a shared hook usable by several connectors.
A name that contains :: is used as is. tappet connector lint reports hooks that are not
registered.
Writing the hook
A hook implements tappet_connect::native::NativeHook:
use std::sync::Arc;
use async_trait::async_trait;
use tappet_connect::{
http::{PreparedRequest, SendOpts},
native::{register_hook, NativeCall, NativeHook},
};
use tappet_core::{Item, Json, NodeError};
/// Creates tasks from the rows of a CSV file, 500 rows per request.
struct ImportCsv;
#[async_trait]
impl NativeHook for ImportCsv {
async fn call(&self, call: NativeCall<'_, '_>) -> Result<Vec<Item>, NodeError> {
let project = call
.params
.get("project")
.and_then(Json::as_str)
.ok_or_else(|| NodeError::config("parameter 'project' is required"))?;
let property = call
.params
.get("binary_property")
.and_then(Json::as_str)
.unwrap_or("data");
let rows = read_csv_rows(call.client, call.item, property).await?;
let mut created = Vec::new();
for batch in rows.chunks(500) {
let url = api_url(call.client, &format!("/projects/{project}/tasks/batch"))?;
let mut req = PreparedRequest::new(reqwest::Method::POST, url);
req.set_body_field("tasks", Json::Array(batch.to_vec()));
let resp = call
.client
.send(&req, &SendOpts { side_effect: true, ..Default::default() })
.await?;
if let Some(tasks) = resp.body.get("tasks").and_then(Json::as_array) {
created.extend(tasks.iter().cloned().map(Item::from_value));
}
}
Ok(created)
}
}
pub fn register() {
register_hook("acme_tasks::import_csv", Arc::new(ImportCsv));
}
read_csv_rows (stream the binary property from the blob store and parse it) and api_url
(join a path to the connector’s base_url) are helpers of the hook’s own module, left out for
brevity. The rustdoc of tappet_connect::native and tappet_connect::http is the authoritative
API reference.
NativeCall gives the hook:
| Field | Contents |
|---|---|
operation | resource.operation being run |
params | Resolved parameters for this item |
client | The connector’s HTTP client: auth, retries, rate limits, egress policy, refresh-on-401 |
item, items, item_index | The current input item, all input items, and the index |
credential() | The resolved credential, if the hook needs a field directly |
Rules for hooks:
- Make every outbound request through
call.client. Opening sockets or building a separate HTTP client bypasses the egress policy and redaction, and will not pass review. - Return errors as
NodeErrorwith the right kind (configfor bad parameters,remotewith status for vendor errors). Never include secret values in messages. - Do not
unwrap()on anything derived from parameters or responses. - Read binary data through the blob store APIs; do not assume files fit in memory.
- Paired items are filled in by the runtime when the returned items have none: every output item
is paired with the current input item (or with all inputs when
per_item: false).
Custom signers
For custom_native authentication, implement tappet_connect::native::NativeSigner. A signer
receives the auth definition, the resolved credential and the outgoing request (method, URL,
headers, body bytes or form fields) and adds whatever headers or query parameters the scheme
requires:
use async_trait::async_trait;
use tappet_connect::{
auth::{set_header, SignRequest},
model::AuthDef,
native::{register_signer, NativeSigner},
};
use tappet_core::{credentials::ResolvedCredential, NodeError};
struct AcmeV3;
#[async_trait]
impl NativeSigner for AcmeV3 {
async fn sign(
&self,
_auth: &AuthDef,
cred: &ResolvedCredential,
req: SignRequest<'_>,
) -> Result<(), NodeError> {
let key_id = cred.field_str("key_id").ok_or_else(|| NodeError::credential("missing key ID"))?;
let signature = acme_v3_signature(cred, req.method, req.url, req.body)?;
set_header(req.headers, "X-Acme-Key", key_id.to_string());
set_header(req.headers, "X-Acme-Signature", signature);
Ok(())
}
}
pub fn register() {
register_signer("acme_tasks::acme_v3_signature", std::sync::Arc::new(AcmeV3));
}
The signer runs on every attempt, including retries, so time-based signatures stay fresh.
Testing hooks
Native operations are tested with the same cassettes as declarative ones: the
hook’s requests go to the cassette’s mock server and are matched against exchanges. Add Rust
unit tests for any parsing or computation inside the hook.
Keeping the native share low
Each connector’s ratio of native to declarative operations is tracked. A connector above 50 percent native triggers a review of the connector format: if several connectors need the same hook, that is a missing YAML feature, and adding it helps every connector.
Cassette tests
A cassette is a recorded conversation between a connector and an API: the requests the connector
must send, and the responses the API gives back. tappet connector test <id> runs every cassette
in connectors/<id>/tests/ against a local mock server, so tests are fast, deterministic and need
no credentials.
The canonical format definition is in Node type mapping: cassette format. This page explains how to use it.
How a cassette runs
- The runner loads the connector and builds the node for
operation. - Every outbound request is redirected to a local mock server. The original URL is preserved for matching.
- Requests must arrive in the order of
exchanges. Each request is matched against itsrequestblock; theresponseblock is served back. - After the run, the node output (or error, or trigger state, or webhook response) is compared with
expect. Unused exchanges fail the test, as do unexpected extra requests.
Fields
name: send message to channel # human description, shown in failures
operation: message.post # what to run (see below)
auth: bot_token # auth alternative id
credential: { token: "xoxb-test" } # credential fields
refreshed_credential: { ... } # OAuth2: credential returned after a forced refresh
params: { channel: "C123", text: "hello" }
input: # input items, optional
- json: { id: 1 }
binary:
data: { file_name: a.txt, mime_type: text/plain, text: "hello" } # or base64: "..."
static_data: { ... } # triggers: stored state before the run
webhook: { ... } # webhook triggers: the incoming request
search: "gen" # lookups: search text
cursor: "c2" # lookups: page cursor
exchanges: [ ... ]
expect: { ... }
operation
| Value | Runs |
|---|---|
resource.operation | An operation, once per input item (or once, for per_item: false). |
lookup:<name> | A lookup. Output is the list of { label, value, url? } options. |
trigger:<name> | A poll trigger (one poll), or a webhook trigger receiving webhook. |
trigger:<name>:activate | Webhook trigger activation (check / create lifecycle hooks). |
trigger:<name>:deactivate | Webhook trigger deactivation (delete). |
exchanges
exchanges:
- request:
method: POST
url: https://slack.com/api/chat.postMessage # exact, including the query string
# url_prefix: https://slack.com/api/ # or a prefix
headers: { authorization: "Bearer xoxb-test" } # subset match; names case-insensitive; "*" = present
absent_headers: [cookie] # must not be sent
body_json: { channel: "C123", text: "hello" } # exact JSON
# body_contains: { channel: "C123" } # JSON subset
# body_form: { grant_type: client_credentials } # form fields
# body_text: "raw text" # exact text
# body_multipart_fields: { title: "Report" } # multipart text fields
response:
status: 200 # default 200
headers: { content-type: application/json }
body_json: { ok: true, message: { ts: "1.2", text: "hello" } }
# body: "plain text"
# body_base64: "iVBORw0..." # binary responses
webhook
webhook:
method: POST
headers: { content-type: application/json, X-Signature: "sha256=..." }
query: { token: abc }
body_json: { event: { id: 1 } }
# body: '{"event":{"id":1}}' # exact raw body; use this when a signature covers the bytes
expect
| Key | Asserts |
|---|---|
output | The output items on port 0, in order. The count must match exactly; each item must contain the listed keys and values (extra keys in the actual item are allowed, and a null expected value also matches a missing key). |
error.contains | The run failed and the error message (or its description) contains this text. |
static_data | Subset of the trigger’s stored state after the run (null asserts a key was cleared). |
binary | Binary properties of the first output item (file_name, mime_type, text or base64). |
response_status, response_body | Webhook triggers: the immediate response (handshakes, rejected signatures, filtered events). |
What to test
For each connector:
- Every operation, with realistic parameters, asserting the exact request body. Request bodies are where most connector bugs are.
- Optional parameters left empty, to prove
omit_emptyand defaults work. - Pagination: at least one cassette with two pages and one with
return_all: falseand alimitsmaller than the first page. - Errors: one cassette for the vendor’s error format (asserting the message is extracted), one
for an auth failure, and one for
429withRetry-Afterif the API rate limits. - OAuth2 refresh: a
401followed by a retry withrefreshed_credential. - Each lookup, including
depends_onparameters. - Each trigger: a first poll (emits nothing), a later poll (emits only new entries), webhook
activation and deactivation, a valid signature, an invalid signature (
response_status: 401), and any handshake. - Uploads and downloads:
inputwith a binary property, andexpect.binaryfor downloads.
Writing good cassettes
-
Build responses from the vendor’s documented examples, trimmed to the fields the connector reads plus a few it does not, so tests show that extra fields are tolerated.
-
Use obviously fake values:
xoxb-test,C123,[email protected]. Never paste real tokens, account IDs, names or email addresses. -
One behavior per cassette, with a
namethat says what is being proven. -
For webhook signatures, use
webhook.bodywith the exact bytes, and compute the signature with a throwaway secret:printf '%s' '{"event":{"id":1}}' | openssl dgst -sha256 -hmac 'test-secret' -hex
Running
tappet connector test acme_tasks # all cassettes of one connector
cargo test -p tappet-connect # every connector in the repository
Failures show the cassette name and every mismatch: missing or unexpected requests, request fields that differ, and output items that do not match.
Mapping files
A mapping file tells the importer how nodes of one n8n node type become a Tappet connector node.
Built-in, protocol and AI nodes accept the n8n parameter shape unchanged and need no rules; SaaS
connectors usually name and nest their parameters differently, so they need one mapping file per
n8n node type: mappings/n8n/<n8n type>.yaml.
Who writes them, and from what
Mapping rules describe how another product’s parameters correspond to ours. To keep the
project clean of that product’s source and documentation, mapping files are written only from
parity fixtures: workflows we author, run in a pinned n8n container as a black box, and capture
(node parameters as exported, and the HTTP requests the node actually sent). The fixture team
records findings as behavior notes in parity/notes/ in their own words. Connector authors do not
write mapping rules from memory or from reading other code.
A rule may be added before a fixture exists, but then it carries no evidence: and every node it
maps is reported as PARAM_UNVERIFIED. It can never produce NATIVE_EXACT.
Format
n8n_type: n8n-nodes-base.slack
connector: slack
credentials: # n8n credential type -> auth alternative id
slackApi: bot_token
slackOAuth2Api: oauth2
versions:
- range: ">=2 <3" # semver-style range over typeVersion
rules:
- match: { resource: message, operation: post }
to: message.post # resource.operation in the connector
params:
channel: { from: channelId, resource_locator: true }
text: { from: text }
thread_ts: { from: otherOptions.thread_ts.replyValues.thread_ts }
defaults: {} # observed defaults for parameters absent from the export
unsupported: [otherOptions.sendAsUser]
evidence: [slack-v2-message-post-001, slack-v2-message-post-002]
- range: ">=1 <2"
rules: [ ... ]
| Key | Description |
|---|---|
n8n_type | Full node type from the export. |
connector | Target connector ID. The node becomes connector.<id> (or connector.<id>_trigger for trigger types). |
credentials | Maps credential type names in the export to auth alternatives, so imported placeholders are created with the right kind. |
versions[].range | Version range, for example ">=2 <3" or ">=4.2". Ranges must not overlap. |
rules[].match | Parameter values that select this rule (usually resource and operation). |
rules[].to | Target operation. |
rules[].params | Target parameter name to source path. from is a dot path into the exported parameters; resource_locator: true unwraps locator objects. |
rules[].defaults | Values for parameters the export omitted because they were at their default. Only values observed in fixtures. |
rules[].unsupported | Source paths that have no equivalent. If set in a workflow, the node gets PARAM_UNSUPPORTED for that path. |
rules[].evidence | Parity fixture IDs that verify this rule. |
How the importer applies a mapping
- Find the mapping file for the node’s type. None:
UNSUPPORTED_NODE. - Pick the version range containing the node’s
typeVersion. If the version is above every range, use the nearest lower range and addTYPEVERSION_UNVERIFIED. If it is below the lowest range:UNSUPPORTED_NODE. - Pick the first rule whose
matchvalues all equal the node’s parameters. - Build the target parameters from
params, then fill absent ones fromdefaults. Nested collections in the export (option groups, repeatable groups) are flattened by thefrompaths. - Report
PARAM_UNSUPPORTEDfor everyunsupportedpath that is set, andPARAM_UNVERIFIEDfor every used parameter when the rule has no evidence. - The node is
NATIVE_EXACTonly when the rule has evidence covering this version and every used parameter.
Verifying
tappet lint provenance # evidence IDs exist, connectors have provenance
tappet parity run --connector slack # replay fixtures through the importer and the connector
parity run imports each fixture workflow, runs it against the recorded mock responses, and
compares the outbound requests with those the reference run sent. A mismatch means the mapping
or the connector is wrong; fix whichever differs from the recorded behavior.
Security model
A workflow engine holds credentials for many systems, accepts requests from the internet, and runs code that users write. This page explains what Tappet protects, the controls it has, and the defaults for each deployment mode. The pages below go into detail.
| Page | Covers |
|---|---|
| Outbound network policy | SSRF protection for every outbound connection |
| Exec capability | Shell, SSH, local files, MCP stdio |
| Credentials vault | Envelope encryption, key sources, OAuth2 tokens, rotation |
| Users, roles and SSO | Local users, API keys, RBAC, OIDC |
To report a vulnerability, see SECURITY.md.
What we protect against
| Threat | Controls |
|---|---|
| A workflow (or an editor) reaching internal services or cloud metadata endpoints | Egress policy enforced after DNS resolution and on every redirect, for HTTP and native protocols alike |
| Code in expressions or Code nodes escaping or exhausting the host | QuickJS sandbox without network, file or process access; memory cap; interrupt-based time budget; JS on dedicated threads |
| Editors running commands on the host | Exec-class nodes disabled unless the instance enables them |
| Credential theft from the database or a backup | Envelope encryption with per-credential keys; the key-encryption key is never stored with the data |
| Secrets leaking through logs, execution data or error messages | Redaction of every resolved secret in all its encodings |
| Users seeing or changing other teams’ workflows and credentials | Projects and RBAC, checked on every API route |
| Forged webhook deliveries | Per-trigger signature verification with constant-time comparison and replay windows |
| Denial of service through large or many requests | Body caps, durable queue with backpressure, per-path rate limits, loop and item guards |
Out of scope: a malicious instance owner, a compromised host, and workflows that an authorized editor builds to send their own project’s data somewhere. Tappet records those actions in the audit log; it does not prevent them.
Defaults by deployment mode
| Control | Single user (default) | Team (production) | Multi-tenant (TAPPET_MULTI_TENANT=true) |
|---|---|---|---|
| Egress policy | local: metadata ranges blocked, private and loopback allowed | strict recommended | strict required |
| Exec-class nodes | Disabled unless TAPPET_ALLOW_EXEC=true | Same; admins enable per project | Disabled; only the instance owner can override per project |
$env in expressions | Allowed | Consider disabling | Disabled |
| Encryption key | Auto-generated file in dev mode | TAPPET_ENCRYPTION_KEY required (TAPPET_ENV=production) | Required; KMS or Vault Transit recommended |
| Sign-in | Local owner account | Local users, API keys, OIDC | OIDC recommended |
Webhooks
Production webhook URLs are public by design: anyone who knows the URL can call it. Protect them with one of:
- the Webhook node’s authentication option (basic auth, a header token, or a JWT),
- HMAC verification of the body, for senders that sign requests,
- connector triggers, which verify vendor signatures automatically,
- network controls in your reverse proxy (IP allowlists for known senders).
Request bodies are capped (16 MB default, TAPPET_WEBHOOK_BODY_MAX), each path is rate limited,
and the raw body is preserved for signature checks.
Redaction
For every execution, Tappet collects the secret values it resolves (credential fields, OAuth2
tokens, signing secrets) and masks them wherever they could appear: execution data, node errors,
logs and Server-Sent Event frames. Each secret is matched in its raw form and its base64,
base64url, URL-encoded and Bearer -prefixed forms.
Independently of the values, these are always masked: the headers Authorization, Cookie,
Set-Cookie and Proxy-Authorization, and any header or field whose name contains api and
key, token or secret.
Error messages from outbound requests include a request summary (method and URL) with query parameters that look like credentials removed.
Limits
| Limit | Default | Variable |
|---|---|---|
| Webhook request body | 16 MB | TAPPET_WEBHOOK_BODY_MAX |
| In-memory payload budget | 256 MB | TAPPET_INFLIGHT_BYTES |
Queue depth before 503 | 100,000 | TAPPET_QUEUE_MAX_DEPTH |
| Runs of one node per execution | 10,000 | TAPPET_MAX_NODE_RUNS |
| Items per node output | 1,000,000 | TAPPET_MAX_ITEMS_PER_OUTPUT |
| Sub-workflow depth | 10 | TAPPET_MAX_SUB_WORKFLOW_DEPTH |
| JavaScript memory | 64 MB | TAPPET_JS_MEMORY_LIMIT |
| Code node time budget | 5 s | TAPPET_CODE_TIMEOUT |
Audit log
Security-relevant actions are written to the audit log (/api/v1/audit, Settings > Audit
log) with actor, time, action and target:
- workflow create, update, activate, deactivate, delete,
- credential create, update, delete, and every read of a credential for an execution,
- user and role changes, API key creation and revocation,
- encryption key rotation.
The audit log is append-only through the API and is not pruned by execution retention.
Hardening checklist
-
Run behind a TLS-terminating reverse proxy and set
TAPPET_PUBLIC_URLto thehttps://URL. -
TAPPET_ENV=productionandTAPPET_ENCRYPTION_KEYfrom a secret store, backed up separately from the database. -
TAPPET_EGRESS_POLICY=strict, with an allowlist for the internal hosts workflows need. -
TAPPET_ALLOW_EXECunset unless required. - OIDC for sign-in, with role mapping from your identity provider’s groups.
- API keys scoped and with an expiry.
- Webhook nodes use authentication or signature verification.
-
Run as a non-root user with a read-only root file system (the container image and the
systemd unit in
deploy/do this). - Metrics endpoint not exposed publicly.
Outbound network policy
Workflows make outbound connections on behalf of users: HTTP requests, connector calls, database connections, LLM calls. Without a policy, anyone who can edit a workflow can make the server connect to internal services, including cloud metadata endpoints that hand out credentials. This class of attack is called server-side request forgery (SSRF).
Tappet enforces one egress policy for every outbound connection:
- the HTTP Request node and the AI HTTP tool,
- connector operations, lookups and webhook registration,
- OAuth2 token and refresh requests,
- LLM and embedding providers, vector stores, MCP over SSE and HTTP,
- protocol connectors: Postgres, MySQL, Redis, MongoDB, SMTP, IMAP, SSH, FTP, Kafka, AMQP, MQTT.
How it is enforced
- After DNS resolution. The policy checks the IP address that will actually be used, not the host name, through a custom resolver and a connect-time check. A host name that resolves to a blocked address is blocked.
- On every redirect. Each redirect hop is resolved and checked again.
- No rebinding. The address that was checked is the address that is connected to, so a DNS answer that changes between check and connect cannot bypass the policy.
- All notations. IPv4-mapped IPv6 (
::ffff:169.254.169.254), decimal and octal IPv4 notations, and IPv6 forms are normalized before the check.
A blocked connection fails the node with a policy error that names the host and the rule, never silently.
Policies
Always blocked
Unless explicitly allowlisted, in every mode:
| Range | Why |
|---|---|
169.254.0.0/16 | Link-local, including the cloud metadata service at 169.254.169.254 |
fd00:ec2::254 | AWS metadata service over IPv6 |
100.100.100.200 | Alibaba Cloud metadata service |
0.0.0.0/8, :: | Unspecified addresses (often routed to localhost) |
::ffff:0:0/96 forms of the above | IPv4-mapped IPv6 |
local (default for single-user installs)
Only the always-blocked ranges. Loopback and private networks are reachable, so a workflow can call a local Ollama, a database on the LAN, or a service in the same Docker network.
strict (required in multi-tenant mode)
Also blocks:
| Range | Meaning |
|---|---|
127.0.0.0/8, ::1 | Loopback |
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 | Private IPv4 |
100.64.0.0/10 | Carrier-grade NAT (also used by some VPNs) |
fc00::/7 | Unique local IPv6 |
fe80::/10 | Link-local IPv6 |
Configuration
TAPPET_EGRESS_POLICY=strict
# Hosts and CIDRs that are always allowed, even if a rule above blocks them:
TAPPET_EGRESS_ALLOW=10.20.0.0/16,postgres.internal,ollama.internal
# Extra ranges to block, on top of the policy:
TAPPET_EGRESS_DENY=203.0.113.0/24
Instance admins can also allowlist hosts and CIDRs per project, so one team can reach its internal database without opening it to every project. Project allowlists cannot remove the always-blocked ranges unless the instance allowlist does.
Recommendations
- Use
strictfor any instance where people other than the operator can edit workflows. - Allowlist the narrowest CIDR or host that works, per project.
- Do not allowlist the metadata ranges. If a workflow needs cloud credentials, store them as a credential instead.
- Combine the egress policy with network-level controls (Kubernetes
NetworkPolicy, security groups) for defense in depth. The Helm chart includes an optionalNetworkPolicy.
Exec capability
Some nodes act on the machine Tappet runs on rather than on remote APIs. They are grouped as exec-class nodes:
| Node | What it can do |
|---|---|
Execute Command (core.execute_command) | Run a shell command on the host |
Read/Write Files from Disk (core.read_write_file) | Read and write files the Tappet process can access |
SSH (proto.ssh) | Run commands on remote hosts with stored keys |
| MCP client over stdio | Start a local process and talk to it as an MCP server |
| Python Code (planned) | Run Python in an isolated runner |
Anyone who can edit a workflow with these nodes effectively has a shell on the host (or on the SSH targets). They are therefore disabled by default.
Enabling
| Setting | Effect |
|---|---|
TAPPET_ALLOW_EXEC=true | Exec-class nodes may be enabled. Without it, they are refused everywhere. |
| Project setting Allow exec-class nodes | Enables them for one project. Only instance admins can change it. |
TAPPET_MULTI_TENANT=true | Exec-class nodes stay disabled even with TAPPET_ALLOW_EXEC=true, unless the instance owner explicitly overrides it for a project. |
When exec is not allowed:
- Importing a workflow with an exec-class node succeeds, and the node is marked
EXEC_CAPABILITY_DISABLEDin the diagnostics report. - The editor shows the node as unavailable and explains why.
- Running it fails with a policy error before anything is executed.
Running exec-class nodes safely
If you enable them:
- Run Tappet as a dedicated, unprivileged user (the systemd unit in
deploy/systemdcreates a dynamic user; the container image runs as non-root). - Keep the root file system read-only and give the process only the directories it needs. The
hardened systemd unit and the Helm chart do this; adjust
ReadWritePathsor volume mounts to add a working directory for files. - Enable exec only for the projects that need it, and keep their membership small.
- For SSH, use keys restricted on the target (
command=,from=options inauthorized_keys). - Review the audit log for workflow changes in those projects.
Why not sandbox commands instead
A sandbox that is safe for arbitrary shell commands depends heavily on the host (namespaces, seccomp, file system layout) and gives a false sense of safety when misconfigured. Tappet keeps the default simple: off, with an explicit per-project opt-in. For isolation, run a separate Tappet instance for workloads that need exec, in its own container or VM.
Credentials vault
Credentials (API keys, passwords, OAuth2 tokens, private keys) are stored encrypted and decrypted only for the moment a node needs them.
Envelope encryption
TAPPET_ENCRYPTION_KEY (KEK, version n)
|
| wraps (AES-256-GCM)
v
per-credential data key (DEK) --encrypts (AES-256-GCM)--> credential fields
- Each credential has its own random 256-bit data encryption key (DEK).
- The credential’s secret fields are encrypted with the DEK using AES-256-GCM with a fresh random 96-bit nonce for every encryption.
- The associated data binds the ciphertext to its tenant, credential ID and key version, so a ciphertext copied to another credential row does not decrypt.
- The DEK is stored only in wrapped form, encrypted by the key-encryption key (KEK).
- The KEK is never stored in the database.
A database dump or backup alone does not reveal any secret.
Key sources
| Source | Configuration | Notes |
|---|---|---|
| Environment variable | TAPPET_ENCRYPTION_KEY: base64 of 32 random bytes | Simplest. Inject from your secret manager. |
| Key file (development only) | Generated at ${TAPPET_DATA}/encryption.key with mode 0600 | Only when TAPPET_ENV is not production. |
| HashiCorp Vault Transit | Vault address, token or auth method, key name | The KEK never leaves Vault; Tappet asks Vault to wrap and unwrap DEKs. |
| AWS KMS | KMS key ARN, standard AWS credentials | Built with the kms feature. |
Generate a key:
openssl rand -base64 32
In production mode (TAPPET_ENV=production), Tappet refuses to start without a configured KEK,
rather than generating one silently.
Back up the key separately from the database. Losing it makes every stored credential unrecoverable. Storing it next to the database backup defeats the encryption.
Secrets in memory
Decrypted values are held in zeroizing secret types that wipe memory on drop. They are never serialized into workflow exports, API responses, logs or execution data, and every resolved value is added to the execution’s redaction set (see Redaction).
Secret fields are write-only through the API: you can replace them but not read them back. The editor shows that a value is set, not the value.
OAuth2 tokens
- Connecting: the credential page starts the authorization code flow (with PKCE where the
provider supports it). The
stateparameter is signed, single-use, valid for 10 minutes and bound to the user and the credential. The callback is<TAPPET_PUBLIC_URL>/api/v1/oauth2/callback. - Refreshing: access tokens are refreshed ahead of expiry (60 seconds by default). Concurrent executions that need a refresh at the same time wait for a single refresh: within one process through a per-credential lock, and across processes in HA mode through a Postgres advisory lock, re-reading the token after acquiring the lock.
- Rotating refresh tokens: providers that issue a new refresh token on every refresh have it persisted in the same transaction before the new access token is used.
- Revoked access: if the provider answers
invalid_grant, the credential moves toneeds_reauth, executions that need it fail with a clear message, and the UI asks the owner to reconnect.
Key rotation
tappet keys rotate re-wraps every DEK under a new KEK version while Tappet keeps running.
Credential ciphertexts are not touched, so rotation is fast even with many credentials. See
Key rotation for the procedure.
Access to credentials
- A credential belongs to a project and can only be used by workflows in that project.
- Editors can attach credentials to nodes; they never see secret values.
- Every decryption for an execution is recorded in the audit log with the execution ID.
- Credential tests run the connector’s test request with the egress policy applied.
Users, roles and SSO
Sign-in methods
| Method | Used by | Details |
|---|---|---|
| Local accounts | People | Email and password, hashed with Argon2id. The first account created is the instance owner. |
| Session cookies | The web UI | HttpOnly, Secure (behind HTTPS), SameSite=Lax, with a CSRF token for state-changing requests. |
| API keys | Scripts, CLI, MCP clients | Sent as Authorization: Bearer <key>. Stored hashed, scoped, optionally expiring, with last-used time recorded. |
| OIDC single sign-on | People | Any OpenID Connect provider: Keycloak, Okta, Auth0, Google, Microsoft Entra ID, GitHub (through an OIDC bridge), and others. |
Projects and roles
Workflows, credentials, executions and variables belong to a project. Users get access to a project through membership with a project role. On top of that, each user has an instance role.
Instance roles
| Role | Can |
|---|---|
owner | Everything, including instance settings, key rotation and multi-tenant overrides. One or more owners. |
admin | Manage users, projects and project membership; enable exec-class nodes for projects; read the audit log. |
member | Use the projects they are a member of. |
Project roles
| Role | Workflows | Executions | Credentials | Members and settings |
|---|---|---|---|---|
admin | Create, edit, activate, delete | View, retry, cancel | Create, edit, delete, use | Manage |
editor | Create, edit, activate, delete | View, retry, cancel | Create, use | View |
operator | View, run, activate and deactivate | View, retry, cancel | Use (through workflows) | View |
viewer | View | View | See names only | View |
Every API route declares the permission it needs, and an automated test asserts that every route is covered by the permission matrix, so a new endpoint cannot ship without an access rule.
API keys act as the user who created them, limited further by the key’s scopes.
OIDC configuration
Register Tappet as a confidential web application in your identity provider with the redirect URI:
<TAPPET_PUBLIC_URL>/api/v1/auth/oidc/callback
Then configure Tappet:
TAPPET_PUBLIC_URL=https://automation.example.com
TAPPET_OIDC_ISSUER=https://login.example.com/realms/main
TAPPET_OIDC_CLIENT_ID=tappet
TAPPET_OIDC_CLIENT_SECRET=... # from your secret store
TAPPET_OIDC_SCOPES="email profile groups" # in addition to openid
TAPPET_OIDC_ROLE_CLAIM=groups # dot path, e.g. realm_access.roles
TAPPET_OIDC_ROLE_RULES='[
{"value": "automation-owners", "instance_role": "owner"},
{"value": "automation-admins", "instance_role": "admin"},
{"value": "staff", "instance_role": "member"},
{"value": "finance-ops", "project": "finance", "project_role": "editor"}
]'
TAPPET_OIDC_DEFAULT_ROLE=none # owner | admin | member | none (refuse)
TAPPET_OIDC_AUTO_PROVISION=true # create users on first sign-in
TAPPET_OIDC_LINK_BY_EMAIL=false # link to an existing local user by verified email
TAPPET_OIDC_COOKIE_KEY=... # base64, at least 32 bytes; same on every API replica
- The issuer’s discovery document is used to find the endpoints and signing keys.
- Users are matched by the provider’s subject (
sub). Linking to an existing local account by email only happens withTAPPET_OIDC_LINK_BY_EMAIL=trueand a provider-verified email. - Each rule matches one exact value of the role claim and can grant an instance role, a project role, or both. Roles are re-evaluated at every sign-in, so removing someone from a group in the identity provider takes effect at their next sign-in.
- When no rule matches,
TAPPET_OIDC_DEFAULT_ROLEapplies;nonerefuses the sign-in. TAPPET_OIDC_COOKIE_KEYsigns the short-lived login state. If it is unset, each process picks a random key, which breaks sign-in when more than one API replica serves traffic. Set it in HA deployments (the Helm chart takes it from the release secret).
The configuration reference lists every OIDC option.
Provider notes
| Provider | Issuer | Group claim |
|---|---|---|
| Keycloak | https://<host>/realms/<realm> | Add a “Group Membership” mapper to the client scope, claim name groups. |
| Okta | https://<org>.okta.com/oauth2/default | Add a groups claim to the authorization server. |
| Auth0 | https://<tenant>.auth0.com/ | Add roles to the ID token with an Action, under a namespaced claim. |
https://accounts.google.com | No group claim; map by email domain or assign roles in Tappet. | |
| Microsoft Entra ID | https://login.microsoftonline.com/<tenant>/v2.0 | Enable group claims in the app registration’s token configuration. |
Multi-tenant mode
TAPPET_MULTI_TENANT=true is for instances shared by independent teams or customers. It switches
on the strictest defaults:
- egress policy
strict(required), - exec-class nodes disabled, overridable only by the owner per project,
$envunavailable in expressions,- connector template
envempty, - project isolation enforced for every lookup cache and blob reference.
Operations
This section is for the people who run Tappet in production.
| Page | Covers |
|---|---|
| Deployment | Choosing a topology; Docker Compose, Kubernetes (Helm and manifests), systemd, Fly.io, Render; reverse proxies |
| Backups and restore | What to back up, SQLite and Postgres procedures, restore drills |
| Key rotation | Rotating the encryption key |
| Scaling and high availability | API and worker processes, leader election, sizing |
| Metrics, logs and tracing | Prometheus metrics, OpenTelemetry, logs, alerts |
| Retention | Execution pruning, blob garbage collection, database size |
| Upgrading | Versioning, migrations, rolling upgrades |
What Tappet stores
| Data | Where | Notes |
|---|---|---|
| Workflows, versions, credentials (encrypted), users, projects, executions, queue, audit log | The database: SQLite file (${TAPPET_DATA}/tappet.db) or Postgres (TAPPET_DATABASE_URL) | Back up. |
| Large payloads and binary files | Blob store: ${TAPPET_DATA}/blobs or S3 (TAPPET_BLOBS_URL) | Back up together with the database. |
| Encryption key | TAPPET_ENCRYPTION_KEY, or ${TAPPET_DATA}/encryption.key in development mode | Back up separately. Without it, credentials are lost. |
| Configuration | Environment variables and optional tappet.toml | Keep in version control, secrets in a secret store. |
Health and lifecycle
GET /healthzreturns200when the process can serve requests and reach its database. Use it for liveness and readiness probes and load balancer checks. It needs no authentication.- On startup, Tappet runs pending database migrations, then starts serving. Use
tappet migrateto run them as a separate step. - On
SIGTERM, Tappet stops accepting new executions, finishes or checkpoints running ones withinTAPPET_SHUTDOWN_TIMEOUT, releases its leases and exits. Give orchestrators a termination grace period longer than that timeout.
Resource guidance
| Workload | CPU | Memory | Notes |
|---|---|---|---|
| Personal, a few dozen workflows | 1 vCPU | 256 MB | Idle memory is under 50 MB with SQLite. |
| Team, thousands of executions per hour | 2 vCPU | 1 GB | SQLite on local SSD is fine; keep execution retention modest. |
| High volume webhooks | 4 vCPU | 4 GB | Tested target: 5,000 concurrent 100 KB webhook requests with peak memory under 300 MB. |
| HA | 2+ API, 2+ workers, Postgres | 512 MB to 2 GB per process | Size workers by concurrent executions and Code node usage. |
Memory grows mainly with concurrent executions holding large item lists, and with JavaScript runtimes (each capped at 64 MB by default). Large binary data is streamed and does not count.
Deployment
Ready-to-use deployment files live in the repository’s
deploy/ directory. This page helps you
pick one and explains the settings every deployment needs.
Choose a topology
| Topology | Processes | Database | Blob store | Use when |
|---|---|---|---|---|
| Single node | One tappet serve | SQLite | Local directory | Most installs. Simple, fast, one volume to back up. |
| Single node on Postgres | One tappet serve | Postgres | Local directory or S3 | You already operate Postgres and want its backup tooling. |
| HA | N x tappet serve --role api, M x tappet worker | Postgres | S3, or a volume shared by all processes | Zero-downtime upgrades, more throughput than one machine, or tolerance to node failure. |
A single node handles a lot: the webhook benchmark target is 5,000 concurrent requests on 4 vCPUs. Move to HA for availability first, throughput second.
Required settings
| Variable | Why |
|---|---|
TAPPET_ENV=production | Refuses to start without a real encryption key, and enables production defaults. |
TAPPET_ENCRYPTION_KEY | Key-encryption key for credentials (tappet keys generate or openssl rand -base64 32). Back it up separately. |
TAPPET_PUBLIC_URL | The external https:// URL. Webhook URLs, resume URLs, OAuth2 and OIDC redirect URIs are built from it. |
TAPPET_HOST=0.0.0.0 | In containers. The default is 127.0.0.1. |
TAPPET_DATABASE_URL | For Postgres: postgres://user:pass@host:5432/tappet. Defaults to SQLite in the data directory. |
TAPPET_DATA | Data directory (SQLite file, blobs, dev key). Defaults to ~/.tappet or /var/lib/tappet. |
Recommended: TAPPET_EGRESS_POLICY=strict, TAPPET_LOG_FORMAT=json. The full list is in
Configuration.
Deployment files
| Directory | Contents |
|---|---|
deploy/docker-compose/single-node | One container with a volume. Optional Caddy for automatic HTTPS. |
deploy/docker-compose/ha | Postgres, a migration job, an API service, two workers and Caddy. |
deploy/helm/tappet | Helm chart. values-single-node.yaml and values-ha.yaml presets: Deployments for API and workers, Service, Ingress, PVC, Secret for the encryption key, HPA for workers, PodDisruptionBudgets, optional NetworkPolicy and ServiceMonitor. |
deploy/kubernetes | Plain manifests (with Kustomize) for single node and HA. |
deploy/systemd | Hardened systemd units for tappet serve and tappet worker. |
deploy/reverse-proxy | Caddy, nginx and Traefik configurations. |
deploy/fly | Fly.io app with a volume. |
deploy/render | Render Blueprint with a persistent disk. |
Docker Compose, single node
cd deploy/docker-compose/single-node
cp .env.example .env
# edit .env: TAPPET_PUBLIC_URL, TAPPET_DOMAIN, and paste a key from `openssl rand -base64 32`
docker compose up -d
Docker Compose, HA
cd deploy/docker-compose/ha
cp .env.example .env
# edit .env: domain, encryption key, Postgres password
docker compose up -d
docker compose up -d --scale worker=4 # more workers
Kubernetes with Helm
kubectl create namespace tappet
kubectl -n tappet create secret generic tappet-secrets \
--from-literal=TAPPET_ENCRYPTION_KEY="$(openssl rand -base64 32)"
helm install tappet ./deploy/helm/tappet -n tappet \
-f deploy/helm/tappet/values-single-node.yaml \
--set publicUrl=https://automation.example.com \
--set ingress.hosts[0].host=automation.example.com \
--set secrets.create=false \
--set secrets.existingSecret=tappet-secrets
For HA, use values-ha.yaml and provide the Postgres URL and S3 settings in the secret; see the
chart’s README for every value.
systemd
sudo install -m 0755 tappet /usr/local/bin/tappet
sudo install -m 0644 deploy/systemd/tappet.service /etc/systemd/system/
sudo install -d -m 0750 /etc/tappet
sudo install -m 0640 deploy/systemd/tappet.env.example /etc/tappet/tappet.env
sudoedit /etc/tappet/tappet.env
sudo systemctl daemon-reload
sudo systemctl enable --now tappet
The unit runs Tappet as a dynamic unprivileged user with a read-only file system view, no new
privileges, a restricted set of system calls and address families, and only
/var/lib/tappet writable.
Reverse proxy
Run Tappet behind a reverse proxy that terminates TLS. Whatever proxy you use, configure:
| Concern | Setting |
|---|---|
| Request body size | At least TAPPET_WEBHOOK_BODY_MAX (16 MB by default) for /webhook/, /webhook-test/ and /webhook-waiting/. The API needs less. |
| Streaming responses | Disable response buffering for /api/v1/executions/*/stream (Server-Sent Events) and /mcp. |
| Long requests | Read timeouts of at least TAPPET_SYNC_WEBHOOK_TIMEOUT (300 s by default) for webhooks that respond after the workflow finishes, and longer (or none) for SSE. |
| Forwarded headers | Pass X-Forwarded-For and X-Forwarded-Proto, and Host unchanged. |
| Metrics | Do not expose /metrics publicly. |
Examples in deploy/reverse-proxy/:
- Caddy:
flush_interval -1disables buffering for the stream endpoints;request_body max_sizesets the body limit. - nginx:
client_max_body_size 16m, andproxy_buffering offplusproxy_read_timeout 1hon the stream locations. - Traefik: a
bufferingmiddleware withmaxRequestBodyBytes, and the default unbuffered streaming for SSE (Traefik flushes event streams immediately).
Platform notes
- Fly.io: one machine with a volume for SQLite. Fly volumes are tied to one machine, so this is a
single-node deployment; for HA on Fly use Fly Postgres or an external Postgres and S3-compatible
storage, with separate process groups for
apiandworker. - Render: a web service with a persistent disk. Services with disks cannot scale horizontally, so use Render Postgres and a background worker service for HA.
- Raspberry Pi and small ARM boards: use the
aarch64static binary and the systemd unit. SQLite on an SSD is strongly preferred over an SD card.
Backups and restore
A complete backup has three parts. Missing any one of them makes the others much less useful.
| Part | Contains | How often |
|---|---|---|
| Database | Workflows, versions, encrypted credentials, users, executions, queue, audit log | Continuously or at least daily |
| Blob store | Large execution payloads and binary files referenced by executions | With the database |
| Encryption key | The KEK that unwraps credential keys | Once, and after every rotation, stored separately |
If you only need workflows and credentials (not execution history), a database backup and the key are enough: executions whose blobs are missing show their metadata but not their large payloads.
SQLite
Tappet runs SQLite in WAL mode. Do not copy the .db file while Tappet is running: the copy can
be inconsistent. Use one of the following.
Online backup with the SQLite shell
sqlite3 /var/lib/tappet/tappet.db ".backup '/backups/tappet-$(date +%F).db'"
or, producing a compacted copy:
sqlite3 /var/lib/tappet/tappet.db "VACUUM INTO '/backups/tappet-$(date +%F).db'"
Both are safe while Tappet is running. Then back up the blob directory:
rsync -a --delete /var/lib/tappet/blobs/ /backups/blobs/
Blobs are content-addressed and immutable, so incremental copies are cheap. Copy the database first and the blobs second: every blob the database snapshot references then exists in the copy.
Continuous replication
For point-in-time recovery, stream the SQLite WAL to object storage with
Litestream. Example litestream.yml:
dbs:
- path: /var/lib/tappet/tappet.db
replicas:
- type: s3
bucket: my-backups
path: tappet/db
region: eu-central-1
Restore
sudo systemctl stop tappet
cp /backups/tappet-2026-11-20.db /var/lib/tappet/tappet.db
rm -f /var/lib/tappet/tappet.db-wal /var/lib/tappet/tappet.db-shm
rsync -a /backups/blobs/ /var/lib/tappet/blobs/
sudo systemctl start tappet
Start Tappet with the same TAPPET_ENCRYPTION_KEY (and TAPPET_ENCRYPTION_KEY_VERSION) that was
active when the backup was taken, or a later key if a rotation happened after it and the backup
was re-wrapped; see Key rotation.
Postgres
Logical backups
pg_dump --format=custom --no-owner --file=/backups/tappet-$(date +%F).dump "$TAPPET_DATABASE_URL"
Restore into an empty database:
createdb tappet_restore
pg_restore --no-owner --dbname=tappet_restore /backups/tappet-2026-11-20.dump
Point-in-time recovery
For production HA, use your platform’s continuous archiving (managed Postgres snapshots and point-in-time recovery, or WAL archiving with a tool such as pgBackRest or WAL-G). Tappet needs nothing special: one database, standard tables, no extensions.
Blobs on S3
Enable bucket versioning, and a lifecycle rule that removes non-current versions after your recovery window. Tappet deletes blobs only through retention pruning, so versioning protects against accidental deletion.
Restore drill
Test restores regularly, on a separate machine:
- Restore the database and blobs.
- Start Tappet with the backed-up key on an isolated network: no outbound internet access, and not reachable by webhook senders. Restored workflows are still marked active, and on a connected host their schedules and polls would run real side effects.
- Open a few workflows and executions, and test a credential.
A backup that has never been restored is a hope, not a backup.
What not to rely on
- File system snapshots of a running SQLite database without WAL-aware tooling.
- Exporting workflows as JSON as your only backup: exports contain credential references, not credentials, and no execution history.
Key rotation
Credentials are protected by envelope encryption (see Credentials vault): each credential’s data key (DEK) is wrapped by the key-encryption key (KEK). Rotating the KEK re-wraps every DEK under a new key. Credential ciphertexts are not re-encrypted, so rotation takes seconds even with thousands of credentials.
Rotate when:
- someone who had access to the key leaves,
- the key may have been exposed (logs, a leaked environment dump, a lost laptop),
- your policy requires periodic rotation.
Procedure (key in TAPPET_ENCRYPTION_KEY)
-
Generate the new key and store it in your secret manager next to the current one:
tappet keys generate -
Plan a short window. Processes still running with the old key cannot unwrap data keys that were already re-wrapped under the new one, so executions that need credentials can fail between step 3 and step 4. Either scale workers to zero for the duration, or run steps 3 and 4 back to back.
-
Re-wrap, from any machine with the current configuration and database access:
export TAPPET_NEW_ENCRYPTION_KEY='<new key>' tappet keys rotateThe command re-wraps every DEK under the next key version (current version + 1, or
--new-version N) and prints the version it used. It can be interrupted and re-run safely. Use--new-key-fileinstead of the environment variable if you prefer a file. -
Switch every process to the new key:
TAPPET_ENCRYPTION_KEY='<new key>' TAPPET_ENCRYPTION_KEY_VERSION=<printed version>and restart all
tappet serveandtappet workerprocesses. With Kubernetes, update the secret and runkubectl rollout restart deployment -l app.kubernetes.io/name=tappet. -
Verify: test a few credentials (
tappet credentials test <id>) and check that recent executions succeed. The audit log records the rotation. -
Retire the old key after your backup retention window has passed. Backups taken before the rotation are wrapped under the old key and need it to restore.
Development key file
When the key lives in ${TAPPET_DATA}/encryption.key (development mode), tappet keys rotate
generates the new key itself, writes it next to the data before re-wrapping, replaces the key file
when done and keeps the previous key file as a backup. Restart running processes afterwards.
External key managers
With HashiCorp Vault Transit or AWS KMS, rotate the key inside the key manager (both keep previous
versions able to decrypt), then run tappet keys rotate to re-wrap all DEKs under the newest
version. No Tappet configuration change is needed.
Rotating other secrets
| Secret | How |
|---|---|
| A credential’s own secret (API key, password) | Edit the credential and paste the new value. OAuth2 credentials: reconnect. |
| API keys | Create a new key, update clients, revoke the old key. |
TAPPET_OIDC_CLIENT_SECRET | Rotate in the identity provider, update the variable, restart API processes. |
TAPPET_OIDC_COOKIE_KEY | Update and restart API processes; sign-ins in progress at that moment must be restarted. |
| Database password | Update the database user and TAPPET_DATABASE_URL, then restart. |
Scaling and high availability
How work is divided
| Process | Command | Does |
|---|---|---|
| All-in-one | tappet serve | API, UI, webhooks, triggers, timers and workers in one process. |
| API | tappet serve --role api | API, UI, webhook gateway, SSE, MCP. Enqueues executions; runs none. |
| Worker | tappet worker [--concurrency N] | Claims executions from the queue and runs them. No HTTP listener. |
In HA mode all processes share one Postgres database (TAPPET_DATABASE_URL=postgres://...):
- Queue: executions are rows in a queue table. Workers claim them with
SELECT ... FOR UPDATE SKIP LOCKED, so two workers never claim the same execution, without a separate message broker. - Leases: a worker holds a lease on each running execution and renews it with heartbeats. If the
worker dies, the lease expires (
TAPPET_LEASE_TTL, default 60 s) and another worker resumes the execution from its last checkpoint. - Leader election: schedule triggers, poll triggers, wait-timer wake-ups and retention pruning must run exactly once across the cluster. One process holds a Postgres advisory lock and runs them; if it stops, another takes over.
- Webhooks: registrations are stored in the database, so any API process can accept any webhook. Load-balance API processes freely; no sticky sessions are needed (including for SSE, which reads events from the database).
- OAuth2 refresh: a Postgres advisory lock per credential guarantees a single refresh across all processes.
- Blobs: every process must see the same blob store. Use S3 (or an S3-compatible store such as MinIO, R2, or Ceph), or a volume mounted by all processes on a single host.
Minimum HA setup
- 2 API processes behind a load balancer, on different nodes.
- 2 or more workers, on different nodes.
- Postgres with a standby and automatic failover (a managed service, or Patroni / CloudNativePG).
- S3-compatible blob storage.
TAPPET_OIDC_COOKIE_KEYset to the same value on all API processes when OIDC is used.
The Docker Compose HA example in deploy/docker-compose/ha runs this shape on one host (useful
for testing upgrades and failover); the Helm chart’s values-ha.yaml runs it across nodes.
Sizing workers
--concurrency (or TAPPET_WORKER_CONCURRENCY) is the number of executions one worker runs at
once. Executions spend most of their time waiting on APIs, so concurrency can be much higher than
CPU count:
| Workload | Starting concurrency per worker (2 vCPU) |
|---|---|
| API calls, light transforms | 64 to 128 |
| Heavy Code nodes, large item lists | 8 to 16 |
| AI agents with long LLM calls | 32 to 64 |
Watch tappet_workers_busy, tappet_queue_depth and process memory, then adjust. Scale out with
more workers when the queue depth keeps growing while workers are busy.
Autoscaling
- Workers: scale on queue depth (
tappet_queue_depth, exported by API processes) through a Prometheus adapter or KEDA, or on CPU as a simpler proxy. The Helm chart includes an HPA on CPU and memory, with an optional external-metric target for queue depth. - API: scale on CPU and request rate. Webhook ingest is cheap per request; two or three API processes handle high volumes.
Scale-down is safe: a worker that receives SIGTERM stops claiming, finishes or checkpoints its
executions within TAPPET_SHUTDOWN_TIMEOUT, and releases its leases.
Postgres sizing
Tappet’s write load is dominated by checkpoints (one row per completed node) and queue updates. Guidelines:
- Connection pool: each process opens a bounded pool; budget about 10 connections per worker and per API process, and use PgBouncer in transaction mode beyond a few hundred connections. Advisory transaction locks work with transaction pooling.
- Keep execution retention reasonable (see Retention); run data is the largest table.
wait_onlycheckpointing (TAPPET_CHECKPOINT=wait_only) cuts writes substantially for high-volume, short workflows, at the cost of re-running whole executions after a crash.
Zero-downtime upgrades
See Upgrading. In short: run migrations first (tappet migrate, backward
compatible within a minor version), then roll API processes, then workers.
Metrics, logs and tracing
Prometheus metrics
GET /metrics on API and all-in-one processes returns Prometheus text format.
| Metric | Type | Labels | Meaning |
|---|---|---|---|
tappet_executions_total | counter | status, mode | Finished executions by final status (success, error, canceled) and mode (manual, trigger, webhook, retry, sub) |
tappet_execution_duration_seconds | histogram | Execution wall time | |
tappet_node_duration_seconds | histogram | node_type | Node run time by node type |
tappet_queue_depth | gauge | Executions waiting to be claimed | |
tappet_workers_busy | gauge | Executions currently running in this process | |
tappet_webhook_requests_total | counter | status | Webhook requests by response status |
tappet_oauth_refresh_total | counter | result | OAuth2 token refreshes by outcome |
tappet_rss_bytes | gauge | Resident memory of the process | |
tappet_js_evals_total | counter | Expression and Code evaluations | |
tappet_spill_bytes | gauge | Bytes currently in the spill store |
Scrape API processes directly (not through the public proxy). With the Prometheus Operator, enable
the Helm chart’s serviceMonitor.
Suggested alerts
groups:
- name: tappet
rules:
- alert: TappetDown
expr: up{job="tappet"} == 0
for: 2m
- alert: TappetQueueGrowing
expr: min_over_time(tappet_queue_depth[15m]) > 1000 and deriv(tappet_queue_depth[15m]) > 0
for: 15m
annotations:
summary: Executions are queuing faster than workers drain them. Add workers.
- alert: TappetExecutionErrorRate
expr: |
sum(rate(tappet_executions_total{status="error"}[15m]))
/ sum(rate(tappet_executions_total[15m])) > 0.1
for: 15m
- alert: TappetWebhook5xx
expr: sum(rate(tappet_webhook_requests_total{status=~"5.."}[5m])) > 0
for: 10m
annotations:
summary: Webhooks are being rejected (queue full or errors). Check queue depth and disk.
- alert: TappetOAuthRefreshFailing
expr: increase(tappet_oauth_refresh_total{result!="success"}[1h]) > 0 # adjust to the result values your version exports
annotations:
summary: A credential needs to be reconnected.
Logs
Tappet logs with tracing. Configure with:
| Variable | Values |
|---|---|
TAPPET_LOG_FORMAT | text (default, human readable) or json (one object per line) |
TAPPET_LOG_LEVEL | A filter directive, for example info, warn,tappet_runtime=debug |
Execution-related log lines carry the execution ID, workflow ID and node name as fields, so you can follow one execution across processes. Secrets are redacted before logs are written.
console.log output from Code nodes goes to the execution’s own log (visible in the execution
view), not to the process log.
Tracing
Builds with the otel feature export OpenTelemetry traces over OTLP:
TAPPET_OTEL_ENDPOINT=http://otel-collector:4317
TAPPET_OTEL_SERVICE_NAME=tappet
Spans cover webhook handling, queueing, each execution, each node run, outbound HTTP requests (method, host, status, never credentials), database calls and LLM calls (with token counts).
Live execution events
The editor’s live overlay uses Server-Sent Events (/api/v1/executions/{id}/stream). You can use
the same stream for your own dashboards; see HTTP API.
LLM usage
Token counts and estimated cost for every LLM call are stored with the node run, visible in the execution view and through the executions API, so you can attribute model spend to workflows.
Retention
Execution data (every node’s output for every run) is the largest thing Tappet stores. Retention keeps it bounded.
Execution pruning
| Variable | Default | Meaning |
|---|---|---|
TAPPET_EXECUTIONS_TTL | 14d | Executions that finished longer ago than this are deleted. |
TAPPET_EXECUTIONS_MAX_COUNT | unset | If set, only the newest N finished executions are kept, in addition to the TTL. |
The pruning job runs periodically (in HA, on the leader only). It deletes finished executions and their node runs in batches, so it never locks the database for long. Executions that are running, queued or waiting are never pruned, however old.
Saving less in the first place
Workflow settings decide whether run data is saved at all:
| Setting | Effect |
|---|---|
saveDataSuccessExecution: none | Successful executions keep only their summary (status, timing), not node data. Good for high-volume workflows. |
saveDataErrorExecution: all | Keep full data for failures, which is what you need for debugging. |
saveManualExecutions: false | Do not keep editor test runs. |
A common production setup: save errors in full, save successes as summaries only, and keep a TTL of a few days.
Blob garbage collection
Large payloads and files in the blob store are reference-counted by execution. When pruning deletes an execution, it decrements the references of its blobs; blobs that reach zero are deleted from the store. Because blobs are content-addressed, a file shared by many executions is stored once and removed when the last one is pruned.
With S3, deletion happens through the API; if bucket versioning is enabled for backups, add a lifecycle rule that expires non-current versions.
Database size
- SQLite: deleted rows leave free pages that SQLite reuses. To return space to the file system
after a large cleanup, stop Tappet and run
sqlite3 tappet.db 'VACUUM', or produce a compacted backup withVACUUM INTOand restore it. - Postgres: autovacuum reclaims space for reuse. After a large retention change, a one-time
VACUUM (ANALYZE)of the run-data table helps;pg_repackreclaims disk space online.
What is not pruned
- Workflows and their versions (delete workflows explicitly).
- Credentials.
- The audit log (export and truncate it according to your own policy).
- Workflow static data (cursors and trigger state).
Upgrading
Versions
Tappet follows Semantic Versioning. Before 1.0, a minor release (0.x.0) may contain breaking changes; they are listed under Changed in the changelog with migration steps. Patch releases never require more than replacing the binary.
Container images are tagged with the exact version (0.4.2), the minor line (0.4) and latest.
Pin the exact version in production and upgrade deliberately.
Single node
-
Read the changelog entries between your version and the target.
-
Take a backup (see Backups).
-
Replace the binary or image and restart:
# systemd sudo install -m 0755 tappet /usr/local/bin/tappet && sudo systemctl restart tappet # Docker Compose docker compose pull && docker compose up -d
Migrations run automatically at startup. Executions that were running are checkpointed on shutdown and resume after the restart; waiting executions are unaffected.
HA, without downtime
Database migrations within a minor release line are backward compatible: the previous version keeps working against the migrated schema. That allows a rolling upgrade:
-
Back up the database.
-
Run migrations once, with the new version:
tappet migrateWith Helm, the chart runs this as a pre-upgrade hook Job when
migrations.job.enabledis true. -
Roll the API processes one at a time. The load balancer drains each process; webhooks keep being accepted by the others.
-
Roll the workers. Each worker stops claiming, checkpoints or finishes its executions within
TAPPET_SHUTDOWN_TIMEOUT, and releases its leases; other workers continue.
When a release notes that a migration is not backward compatible (only in a minor or major release, and always called out), stop all processes, migrate, then start the new version.
Downgrading
Downgrades are not supported once a newer version has migrated the database. To go back, restore the backup taken before the upgrade.
FAQ
General
Is Tappet a fork?
No. Tappet is an independent implementation written in Rust. It reads the workflow JSON format that n8n exports and reproduces the behavior observed from running workflows, but contains no n8n source code, documentation text, UI copy or icons. The project’s provenance rules are in CONTRIBUTING.md.
Is Tappet affiliated with n8n?
No. “n8n” is used only to describe compatibility with its file format.
What does “native” mean in “runs n8n workflows natively”?
Workflows are executed by Tappet’s own engine and nodes. There is no embedded Node.js and no wrapper around another product.
What license is Tappet under?
Apache-2.0, for the whole binary. There is no enterprise edition with features held back: SSO, RBAC, audit logs and HA are included.
Can I use Tappet commercially, or offer it as a service?
Yes, under the terms of the Apache License 2.0. Get your own legal advice for your situation.
Compatibility
Will my workflow run unchanged?
Import it and read the diagnostics report. Nodes marked NATIVE_EXACT are verified against
recorded behavior for that node version and every parameter you use. NATIVE_PARTIAL nodes run,
with the listed caveats. UNSUPPORTED_NODE nodes must be replaced before activation. See
Migrating from n8n.
Do Code nodes work?
JavaScript Code nodes work, including the $input, $json, $() and other globals, Luxon dates,
and both run modes. require is limited to bundled libraries, and code has no network or file
access. Python Code nodes are not supported yet.
Do community nodes work?
No. Most community nodes wrap an HTTP API; you can write the equivalent as a declarative connector, or use the HTTP Request node.
Can I import my credentials?
Workflow exports contain only credential references. Import creates placeholders that you link to credentials in Tappet. Importing a decrypted credentials export is planned.
Can I export back?
Yes. Every workflow can be exported in n8n format, with the original node types, versions and parameters.
Do webhook URLs change?
Only the host. Paths stay /webhook/<path> and /webhook-test/<path>. OAuth2 apps need Tappet’s
redirect URI added (/api/v1/oauth2/callback).
Running Tappet
What are the system requirements?
Linux (amd64 or arm64) or macOS (Apple silicon). Idle memory is under 50 MB with SQLite. A small VM or a Raspberry Pi 4 runs personal workloads comfortably.
SQLite or Postgres?
SQLite for single-node installs: it is fast, embedded and simple to back up. Postgres when you need several processes (HA), or when your organization standardizes on it.
Do I need Redis?
No. In HA mode the queue, leases and leader election all use Postgres.
Where is my data?
In the data directory (~/.tappet or /var/lib/tappet, or TAPPET_DATA): the SQLite database,
the blob directory and, in development mode, the encryption key. With Postgres and S3, in those
services.
I lost the encryption key. Can I recover my credentials?
No. That is the point of the encryption. Workflows and executions are intact; re-enter the credentials. Back up the key separately from the database.
Does Tappet send telemetry?
No telemetry is sent by default. If an opt-in usage report is enabled in a future version, it will contain only counts of unsupported node types from imports, to prioritize connector work, and will be documented here.
Why is my HTTP request to localhost or 10.x.x.x blocked?
The egress policy is strict, which blocks private and loopback addresses. Use the default local
policy on a single-user install, or allowlist the host with TAPPET_EGRESS_ALLOW or a project
allowlist. See Outbound network policy.
Why can’t I use Execute Command?
Exec-class nodes are disabled unless TAPPET_ALLOW_EXEC=true and the project allows them. See
Exec capability.
How do I expose webhooks during local development?
tappet serve --tunnel cloudflared starts a Cloudflare quick tunnel and uses its URL as the public
URL for that session (requires the cloudflared binary).
Contributing
How can I add an integration?
Write a connector: a YAML file plus cassette tests, built from the vendor’s API documentation. Start with the tutorial.
Can I contribute if I have read n8n source code?
Yes, but do not work on the nodes or connectors whose source you have read, and say so in your pull
request. See the provenance rules in CONTRIBUTING.md.
Comparison with other tools
This page describes where Tappet differs from other automation tools, to help you decide whether it fits. It describes other projects as we understand them from their public documentation at the time of writing; they change quickly, so check their own documentation for current details. Every tool listed here is a good choice for some teams.
Summary
| Tappet | n8n | Node-RED | Activepieces | Windmill | Hosted iPaaS (Zapier, Make) | |
|---|---|---|---|---|---|---|
| Delivery | Single static binary or container | Node.js application or container | Node.js application or container | Node.js application or container | Rust backend with workers, container | SaaS only |
| Visual workflow editor | Yes | Yes | Yes (flow-based) | Yes | Yes, plus scripts and apps | Yes |
| Self-hosted | Yes | Yes | Yes | Yes | Yes | No |
| License | Apache-2.0, all features | Source-available (Sustainable Use License), some features under a separate enterprise license | Apache-2.0 | MIT for the community edition, commercial license for some features | AGPLv3 core, commercial license for some features | Proprietary |
| Runs n8n workflow JSON | Yes, natively, with a diagnostics report | Yes (its own format) | No | No | No | No |
| Required services | None (SQLite embedded); Postgres for HA | Database; Redis for its queue mode | None | Postgres and Redis | Postgres | n/a |
Differences when running workflows exported from n8n
Tappet imports workflows exported from n8n and aims to execute them with the same results. The main differences:
- Runtime. Tappet is written in Rust and ships as one binary, including the editor and the JavaScript engine (QuickJS) used for expressions and Code nodes. n8n runs on Node.js, which gives it access to npm packages in Code nodes and to a large catalog of community nodes. Tappet deliberately supports only a small set of bundled libraries in Code nodes and does not run community nodes.
- Coverage. n8n has a much larger catalog of integrations today. Tappet covers its catalog in waves and tells you, per workflow and per node, what is supported before you activate anything.
- Durability model. Tappet checkpoints every node by default and resumes interrupted executions from the last checkpoint, with leases instead of a separate queue service.
- Security defaults. Tappet enforces an outbound network policy on every connection, disables shell and file access by default, and encrypts credentials with per-credential keys and a rotatable key-encryption key.
- Licensing. Tappet is Apache-2.0 with SSO, RBAC and HA in the same binary.
- Maturity. n8n is a mature product with a large community and ecosystem. Tappet is new.
Tappet is an independent project, not affiliated with n8n GmbH, and contains no n8n code.
Compared with Node-RED
Node-RED is a flow-based programming tool with a strong IoT and edge ecosystem, built around messages passed between nodes. Tappet works with lists of items and the n8n workflow model, focuses on SaaS and API automation, and emphasizes durable execution and multi-user operation (RBAC, SSO, projects). For device-level flows and hardware integrations, Node-RED’s ecosystem is broader.
Compared with code-first platforms
Windmill (scripts, flows and internal apps in many languages) and durable execution frameworks such as Temporal (workflows as code in a general-purpose language) suit teams that prefer writing automation as code with full language ecosystems. Tappet is visual-first, with JavaScript in Code nodes and declarative YAML connectors, and is a better fit when non-developers build workflows or when you have existing n8n workflows.
Compared with hosted iPaaS
Zapier, Make and similar services need no hosting at all and have very large integration catalogs. Tappet runs on your infrastructure, so data stays in your network, costs do not scale per task, and you control the network policy. In exchange you operate it.
When Tappet is a good fit
- You run n8n workflows and want a runtime with a small footprint, strong defaults and a permissive license.
- You need automation in restricted environments (air-gapped, regulated) where a single audited binary and a strict egress policy matter.
- You want HA with only Postgres as a dependency.
- You prefer integrations as reviewable YAML with recorded tests.
When another tool may fit better
- You depend on community nodes, npm packages in Code nodes, or Python Code nodes today.
- You need an integration Tappet does not support yet and cannot write it as a connector.
- You want a fully managed service with no operations.
Reference generator
The reference chapters of this book are generated from the code and data in the repository by the
workspace crate crates/tappet-docgen (publish = false). This page describes what it does, for
contributors; readers of the reference do not need it.
Goals
- The reference matches the binary it documents. No hand-maintained parameter, option or endpoint tables.
- Output is deterministic: running the generator twice on the same tree produces identical bytes, so CI can fail when the committed pages are stale.
- The generator never invents text. Every sentence about a node comes from its descriptor, its connector file or its mapping file. Missing descriptions are reported, not filled in.
- No n8n material is involved. Import coverage is computed from our own mapping files and parity fixture ids only.
Running it
cargo run -p tappet-docgen # rewrite the generated pages
cargo run -p tappet-docgen -- --check # exit 1 and list stale files; writes nothing
cargo run -p tappet-docgen -- --verbose # also print every input problem
cargo run -p tappet-docgen -- --strict # exit 1 when there are input problems
mdbook build docs # build the book into target/book
python3 docs/tools/check_docs.py # links, anchors, code blocks, no emojis
Run the generator after changing node descriptors, connector files, mapping files, CLI flags, the
configuration variable table, API routes or the UI design tokens, and commit the result. CI should
run --check on pull requests that touch crates/, connectors/, mappings/ or ui/src/lib/.
Inputs
| Input | Source | Used for |
|---|---|---|
| Node descriptors | NodeRegistry built by tappet_cli::wiring::build_registry, the same function tappet serve uses | Built-in node pages and the node index |
| Connector definitions | ConnectorCatalog::embedded() | Connector pages and the connector index |
| Connector load errors | ConnectorCatalog::load_issues() | The list of connectors that did not load |
| Cassette tests | connectors/<id>/tests/*.cassette.yaml (operation: or trigger: key) | Test count per operation and trigger |
| Mapping files | mappings/n8n/*.yaml | Import sections and the import column of the indexes |
| Parity fixture index | Directory names under parity/fixtures/ | Resolving evidence: ids to verified or unverified |
| Command definitions | tappet_cli::cli::Cli through clap | Command reference in reference/cli.md |
| Configuration variables | tappet_cli::config::vars::VARS and the headings of configuration.md | reference/config-vars.md |
| API routes | tappet_server::api::openapi_document() | api/openapi.json and reference/api-endpoints.md |
| Design tokens | ui/src/lib/tokens.css | theme/tokens.css |
The generator links against the crates; it does not parse Rust source.
Outputs
Paths are relative to docs/.
reference/nodes/<prefix>/<name>.md one page per built-in node type (core.if -> core/if.md)
reference/connectors/<id>.md one page per connector: action node and trigger node together
reference/connectors.md connector index (whole file)
reference/config-vars.md configuration variable index (whole file)
reference/api-endpoints.md endpoint index (whole file)
api/openapi.json the OpenAPI document, served with the book
theme/tokens.css the UI tokens with theme selectors mapped to mdBook themes
reference/nodes.md region node-index
reference/cli.md region cli-commands
SUMMARY.md regions node-pages and connector-pages
Files under reference/nodes/ and reference/connectors/ are owned by the generator: pages for
node types or connectors that no longer exist are deleted.
Marker regions
In hand-written files the generator only rewrites the text between
<!-- BEGIN GENERATED: <name> --> and <!-- END GENERATED: <name> -->, and fails if a marker
is missing or duplicated. The END marker’s indentation is kept.
In SUMMARY.md a region must be the last child list of its parent entry: mdBook drops a nested
list that is followed, inside the same parent, by an HTML comment and another nested list. A test
in the generator checks that the line after each END marker is not a nested entry.
Page formats
Built-in node page:
# <display_name>
`<type_name>` · version <version> · <group> [· <kind> trigger] [· exec capability]
<description>
## Ports Port | Kind | Label | Required | Max connections
## Credentials Slot | Accepted kinds | Required
## Parameters Name | Type | Default | Required | Shown when | Description
## Import Source type | Version range | Status | Fixtures
Connector page: title, node types and categories, description and vendor documentation link, then Authentication (method, credential kind, auth kind, fields with secret ones marked, test request), Actions (one subsection per resource with an operation table, then each operation’s parameters), Lookups, Triggers (kind, deduplication key, signature scheme, whether webhook registration is automatic, parameters), Import and Provenance.
Rules:
- Parameters are listed in descriptor order. Nested
collectionandfixed_collectionchildren are listed under the parent with a dotted name (options.timeout). Shown whenrendersshow_whenasoperation = post, send, joining keys with;.- Defaults are compact JSON in a code span; absent defaults are an empty cell.
- Option lists of up to 12 values are listed in the description; longer lists get their own table.
- Versions use the shortest exact decimal form (
2,2.2,4.2). - Pipes,
<,>,*and mdBook{{#directives in source text are escaped; code spans are kept literal. Sentences get a final period. - A version range is verified when the mapping file says
status: verified, or when it has rules and every rule’sevidence:names an existing parity fixture.
Input problems
The generator reports, and with --strict fails on:
- a node, connector or connector operation with an empty description,
- a parameter without a display name that cannot be humanized,
- a connector without
provenance:, - a connector file that does not load,
- a mapping file whose
evidence:names a fixture that does not exist, - a mapping target that is not a registered node type,
- a configuration variable that
configuration.mddoes not document.
Two node types that would produce the same page path are always an error.
Determinism
- No timestamps, generator versions or absolute paths in the output.
- Sorted by byte order on ids; hash maps are never iterated unsorted.
\nline endings, one trailing newline, no trailing spaces.
Later extensions
reference/expression-extensions.md: the supported expression extension methods with one example each, generated from the expression engine’s method table and its fixtures.reference/credential-kinds.md: every credential kind with its fields, from the vault registry and connector auth definitions.- A “requires the
<feature>build” note for nodes registered behind cargo features.