Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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 (~/.tappet for a user account, /var/lib/tappet for a system service; override with TAPPET_DATA),
  • creates the SQLite database and runs migrations,
  • in development mode, generates an encryption key at ~/.tappet/encryption.key with mode 0600. Back this file up: without it, stored credentials cannot be decrypted. In production mode (TAPPET_ENV=production) Tappet refuses to start without TAPPET_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:

  1. Add a Webhook trigger. Set the path to hello and the HTTP method to POST. Set “Respond” to “When last node finishes”.
  2. Add an Edit Fields (Set) node after it. Add a string field greeting with the value =Hello {{ $json.body.name }}.
  3. 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_URL to 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:

IncludedNot included
Nodes, parameters, positions, type versionsCredential secrets (only {id, name} references)
Connections, including AI sub-node connectionsExecution history
Workflow settings (execution order, timezone, error workflow, …)Users, projects, sharing
Pinned data, static data, tagsEnvironment 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

StatusMeaningWhat to do
NATIVE_EXACTThe mapping for this node type and version is verified by parity fixtures, and so is every parameter the node uses.Nothing.
NATIVE_PARTIALThe node imported and runs, with the issues listed.Read each issue. Most need a test run, some need a parameter change.
UNSUPPORTED_NODENo 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

CodeMeaningTypical action
PARAM_UNSUPPORTEDA parameter is set that Tappet does not implement for this node. It is ignored.Check whether the workflow depends on it.
PARAM_UNVERIFIEDThe 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_UNVERIFIEDThe 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_UNSUPPORTEDAn expression calls an extension method Tappet does not implement yet (for example a rarely used string helper).Rewrite that expression with plain JavaScript.
CREDENTIAL_UNMAPPEDThe node references a credential type with no Tappet equivalent.Use a generic credential (header, bearer, OAuth2) with HTTP Request.
CONNECTION_TYPE_UNSUPPORTEDA connection uses a type Tappet does not know (usually from a community AI node).Replace the sub-node.
EXEC_CAPABILITY_DISABLEDThe 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.

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

  1. 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.
  2. Compare the outputs with what the workflow produced before. Pay attention to nodes marked NATIVE_PARTIAL.
  3. 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_NODE until the isolated Python runner ships (milestone M6).
  • No require except bundled pure-JavaScript libraries (currently luxon). 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.log output 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.
  • $env can be disabled (TAPPET_EXPR_ALLOW_ENV=false) and is disabled by default in multi-tenant mode. When disabled, $env is an empty object.

Execution

  • Workflow settings executionOrder v0 and v1 are both supported, and the absence of the setting means v0, 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 answers 503 with Retry-After rather 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.

PageCovers
Workflows and nodesTriggers, connections, settings, activation, versions, projects
ItemsThe data model: JSON items, binary data, ports, paired items
Expressions{{ }} syntax, globals, dates, extension methods, limits
Execution orderWhich node runs next, branches, merges, loops, partial runs
Error handlingNode error settings, retries, error outputs, error workflows
Waits and durabilityWait 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:

GroupExamples
TriggersManual, Webhook, Schedule, Execute Workflow Trigger, Error Trigger, Chat Trigger, connector triggers
FlowIF, Switch, Merge, Loop Over Items, Wait, Execute Workflow, Stop and Error, No Op
TransformEdit Fields (Set), Filter, Sort, Limit, Aggregate, Split Out, Summarize, Remove Duplicates, Date & Time, Crypto, XML, HTML, Markdown
ActionsHTTP Request, Code, connectors (Slack, Google Sheets, …), protocol nodes (Postgres, Redis, SMTP, …)
AIAI 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.

  • main connections 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:

TriggerStarts an execution when
ManualYou click Execute workflow in the editor or call the run API
WebhookAn HTTP request arrives at /webhook/<path> (production) or /webhook-test/<path> (editor test)
ScheduleA cron expression or interval fires, in the workflow’s timezone
Connector poll triggerA periodic poll finds new records (new rows, new emails, …)
Connector webhook triggerThe vendor calls Tappet with an event; Tappet registers the webhook with the vendor on activation
Execute Workflow TriggerAnother workflow calls this one as a sub-workflow
Error TriggerAnother workflow that names this one as its error workflow fails
Chat / MCP triggerA chat message arrives, or an MCP client calls the workflow as a tool
Queue triggersA 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

SettingEffect
executionOrderv1 (default for new workflows) or v0 (legacy; assumed when absent). See Execution order.
timezoneTimezone for schedules and for $now / $today.
errorWorkflowWorkflow started with error details when an execution fails.
saveDataSuccessExecution, saveDataErrorExecution, saveManualExecutionsWhether run data is kept for successful, failed and manual executions.
saveExecutionProgressKept for compatibility; Tappet always checkpoints production executions (see Waits and durability).
executionTimeoutMaximum duration of one execution.
callerPolicyWhich 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 }
}
  • json is 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.
  • binary maps 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.
  • pairedItem records which input item this item was derived from. See Paired items.
  • error is set on items routed to the regular output when a node fails with onError: 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 pairedItem on 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}/blobs or 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

GlobalValue
$jsonJSON of the current item
$binaryBinary metadata of the current item
$input.itemThe current item ({ json, binary })
$input.all(), $input.first(), $input.last()All items on the input, the first, the last
$input.paramsParameters of the current node
$itemIndexIndex of the current item
$runIndexHow many times this node has run before in this execution
$parameterParameters of the current node (resolved)

Other nodes

GlobalValue
$('Node name').itemThe 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').paramsThat node’s parameters
$('Node name').isExecutedWhether the node has run in this execution
$node["Node name"].jsonLegacy form, equivalent to the paired item’s JSON
$prevNode{ name, outputIndex, runIndex } of the node that fed this one

Execution and environment

GlobalValue
$execution.idExecution ID
$execution.modemanual, trigger, webhook, retry or sub
$execution.resumeUrlURL that resumes this execution at the next Wait node
$workflow.id, $workflow.name, $workflow.activeWorkflow metadata
$varsProject variables
$envProcess environment variables, when allowed (see below)
$now, $todayCurrent date-time and start of today as Luxon DateTime in the workflow timezone

Helpers

HelperExample
$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_ALLOWLIST restricts $env to 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: $json is 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

SettingUsed forSummary
v1New 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.
v0Imported workflows without the settingBreadth 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:

  1. reuses the most recent run data (or pinned data) of the node’s ancestors,
  2. 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

SettingBehavior
stopWorkflow (default)The execution stops and is marked as failed. The error workflow runs, if configured.
continueRegularOutputThe failing items are passed to the regular output with an error field describing the failure, and the workflow continues.
continueErrorOutputThe 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

SettingDefaultEffect
retryOnFailoffRetry the node when it fails.
maxTries3Total attempts, including the first.
waitBetweenTries1000 msPause 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:

LimitDefaultVariable
Runs of one node per execution10,000TAPPET_MAX_NODE_RUNS
Items in one node output1,000,000TAPPET_MAX_ITEMS_PER_OUTPUT
Sub-workflow nesting10TAPPET_MAX_SUB_WORKFLOW_DEPTH
Code node run time5 sTAPPET_CODE_TIMEOUT
JavaScript memory per runtime64 MBTAPPET_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:

ModeResumes when
After a time intervalThe interval has elapsed (for example 2 hours).
At a specified timeThe given date-time is reached, in the workflow timezone.
On webhook callAn HTTP request arrives at the execution’s resume URL.
On form submissionA 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.

PolicyPersistsUse when
every_node (default)After every completed nodeYou want resumable executions and full run data.
wait_onlyAt Wait nodes and at the endVery 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:

  1. The execution resumes from its last checkpoint.
  2. Nodes that had completed are not run again; their stored output is reused.
  3. 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:

  1. The request body is streamed to the blob store when it is larger than 64 KB.
  2. An execution is enqueued in the database.
  3. 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:

SectionContents
SummaryDisplay name, type ID (for example core.if), current version, group, trigger kind, capability class
PortsInputs and outputs, including AI sub-node inputs and their limits
CredentialsAccepted credential kinds, for example slack/oauth2 or http.bearer
ParametersName, type, default, whether required, when it is shown, description
ActionsConnectors only: resources and operations, with their own parameters and cassette test counts
LookupsConnectors only: dropdowns and resource locators backed by API calls
TriggersTrigger nodes: poll or webhook behavior, deduplication, signature verification
ImportExported source node types and version ranges that import to this node, and whether each range is verified by parity fixtures
ProvenanceConnectors only: the vendor documentation the connector was written from
AuthenticationConnectors 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

NodeTypeVersionImport
Chat Triggerai.chat_trigger1.1unverified 1
Cron (legacy)core.cron1unverified 1
Email Trigger (IMAP)proto.imap_trigger2unverified 1, 2
Error Triggercore.error_trigger1unverified 1
Form Triggercore.form_trigger2.2unverified 1, >=2 <3
Interval (legacy)core.interval1unverified 1
Manual Triggercore.manual_trigger1unverified 1
Postgres Triggerproto.postgres_trigger1unverified 1
Redis Triggerproto.redis_trigger1unverified 1
Schedule Triggercore.schedule_trigger1.2unverified 1
Webhookcore.webhook2.1unverified 1, >=2 <3
When Called by Another Workflowcore.execute_workflow_trigger1.1unverified 1

Flow

NodeTypeVersionImport
Execute Workflowcore.execute_workflow1.2unverified 1
Filtercore.filter2.2unverified 1, >=2 <3
Ifcore.if2.2unverified 1, >=2 <3
Loop Over Itemscore.split_in_batches3unverified 1, 2, 3
Mergecore.merge3.2unverified 1, 2, >=3 <4
No Operationcore.no_op1unverified 1
Respond to Webhookcore.respond_to_webhook1.1unverified 1
Stop and Errorcore.stop_and_error1unverified 1
Switchcore.switch3.2unverified 1, 2, >=3 <4
Waitcore.wait1.1unverified 1

Transform

NodeTypeVersionImport
Aggregatecore.aggregate1unverified 1
Codecore.code2unverified 1, 2
Compare Datasetscore.compare_datasets2.3unverified 1, >=2 <3
Convert to Filecore.convert_to_file1.1unverified 1
Cryptocore.crypto2unverified 1
Date & Timecore.date_time2unverified 1, 2
Edit Fieldscore.set3.4unverified 1, 2, >=3 <4
Extract from Filecore.extract_from_file1unverified 1
Function (legacy)core.function1unverified 1
Function Item (legacy)core.function_item1unverified 1
HTMLcore.html1.2unverified 1
Item Lists (legacy)core.item_lists3.1unverified 1, 2, >=3 <4
Limitcore.limit1unverified 1
Markdowncore.markdown1unverified 1
Remove Duplicatescore.remove_duplicates2unverified 1, 2
Rename Keyscore.rename_keys1unverified 1
Sortcore.sort1unverified 1
Split Outcore.split_out1unverified 1
Spreadsheet File (legacy)core.spreadsheet_file2unverified 1, 2
Summarizecore.summarize1unverified 1
XMLcore.xml1unverified 1

Action

NodeTypeVersionImport
ClickHouseproto.clickhouse1none
FTP / SFTPproto.ftp1unverified 1
HTTP Requestcore.http_request4.2unverified 1, 2, 3, >=4 <5
MySQLproto.mysql2.6unverified 1, >=2 <3
Postgresproto.postgres2.6unverified 1, >=2 <3
Redisproto.redis1unverified 1
S3proto.s32unverified 1, 2
SSHproto.ssh1unverified 1
Send Email (SMTP)proto.smtp_send2.1unverified 1, >=2 <3

AI

NodeTypeVersionImport
AI Agentai.agent2unverified 1, >=2 <3
Basic LLM Chainai.chain_llm1.7unverified 1
In-Memory Vector Storeai.vector_store_memory1.3unverified 1
Information Extractorai.information_extractor1.2unverified 1
Postgres PGVector Storeai.vector_store_pgvector1unverified 1
Qdrant Vector Storeai.vector_store_qdrant1.3unverified 1
Question and Answer Chainai.chain_retrieval_qa1.5unverified 1
Sentiment Analysisai.sentiment_analysis1.1unverified 1
Summarization Chainai.chain_summarization2unverified 1, >=2 <3
Text Classifierai.text_classifier1.1unverified 1

AI sub-node

NodeTypeVersionImport
Anthropic Chat Modelai.lm_chat_anthropic1unverified 1
Auto-fixing Output Parserai.output_parser_autofixing1unverified 1
Calculatorai.tool_calculator1unverified 1
Character Text Splitterai.text_splitter_character1unverified 1
Code Toolai.tool_code1.1unverified 1
DeepSeek Chat Modelai.lm_chat_deepseek1unverified 1
Default Data Loaderai.document_default_loader1unverified 1
Google Gemini Chat Modelai.lm_chat_gemini1unverified 1
Google Gemini Embeddingsai.embeddings_gemini1unverified 1
Groq Chat Modelai.lm_chat_groq1unverified 1
HTTP Request Toolai.tool_http_request1.1unverified 1
Item List Output Parserai.output_parser_item_list1unverified 1
MCP Client Toolai.mcp_client_tool1unverified 1
Mistral Chat Modelai.lm_chat_mistral1unverified 1
Mistral Embeddingsai.embeddings_mistral1unverified 1
Ollama Chat Modelai.lm_chat_ollama1unverified 1
Ollama Embeddingsai.embeddings_ollama1unverified 1
OpenAI Chat Modelai.lm_chat_openai1unverified 1
OpenAI Embeddingsai.embeddings_openai1unverified 1
OpenAI-Compatible Chat Modelai.lm_chat_openai_compatible1none
OpenAI-Compatible Embeddingsai.embeddings_openai_compatible1none
OpenRouter Chat Modelai.lm_chat_openrouter1unverified 1
Postgres Chat Memoryai.memory_postgres1.3unverified 1
Recursive Character Text Splitterai.text_splitter_recursive1unverified 1
Redis Chat Memoryai.memory_redis1.4unverified 1
Structured Output Parserai.output_parser_structured1.3unverified 1
Thinkai.tool_think1unverified 1
Token Text Splitterai.text_splitter_token1unverified 1
Vector Store Question Answer Toolai.tool_vector_store1unverified 1
Vector Store Retrieverai.retriever_vector_store1unverified 1
Window Buffer Memoryai.memory_buffer_window1.3unverified 1
Workflow Toolai.tool_workflow2unverified 1, >=2 <3

Chat Trigger

ai.chat_trigger · version 1.1 · Trigger · chat trigger

Starts the workflow when a chat message arrives.

Ports

PortKindLabelRequiredMax connections
input 0ai_memory1
output 0main

Credentials

SlotAccepted kindsRequired
httpBasicAuthhttp.basic

Parameters

NameTypeDefaultRequiredShown whenDescription
publicbooleanfalseMake Chat Publicly Available.
modeoptions"hostedChat"public = trueOne of hostedChat, webhook.
authenticationoptions"none"One of none, basicAuth.
initialMessagesstringInitial Messages. Messages shown when the chat page opens, one per line.
optionscollection
options.allowedOriginsstring"*"Allowed Origins (CORS). Comma-separated origins, or * for any.
options.titlestring"Chat"Page Title.
options.subtitlestring
options.inputPlaceholderstring"Type your message..."Input Placeholder.
options.loadPreviousSessionoptions"notSupported"Load Previous Session. One of notSupported, memory.
options.responseModeoptions"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.chatTrigger1unverified

Cron (legacy)

core.cron · version 1 · Trigger · schedule trigger

Starts the workflow at fixed times; superseded by Schedule Trigger.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
triggerTimesfixed_collectionTrigger times.
triggerTimes.itemcollection
triggerTimes.item.modeoptions"everyDay"One of everyMinute, everyHour, everyDay, everyWeek, everyMonth, everyX, custom.
triggerTimes.item.hournumber14
triggerTimes.item.minutenumber0
triggerTimes.item.dayOfMonthnumber1Day of month.
triggerTimes.item.weekdayoptions"1"One of 1, 2, 3, 4, 5, 6, 0.
triggerTimes.item.valuenumber2
triggerTimes.item.unitoptions"hours"One of minutes, hours.
triggerTimes.item.cronExpressionstring"* * * * * *"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 typeVersion rangeStatusFixtures
n8n-nodes-base.cron1unverified

Email Trigger (IMAP)

proto.imap_trigger · version 2 · Trigger · poll trigger

Start a workflow for each new email in an IMAP mailbox.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
imapproto.imapyes

Parameters

NameTypeDefaultRequiredShown whenDescription
mailboxstring"INBOX"
postProcessActionoptions"read"After Reading. One of read, nothing.
formatoptions"simple"Output Format. One of simple, resolved, raw.
downloadAttachmentsbooleanfalseformat = simpleDownload Attachments.
dataPropertyAttachmentsPrefixNamestring"attachment_"format = simple, resolvedAttachment Field Prefix.
optionscollection
options.customEmailConfigjson"[\"UNSEEN\"]"Search Rules. JSON list of IMAP search rules, for example [“UNSEEN”, [“SINCE”, “2024-05-01”]].
options.allowUnauthorizedCertsbooleanfalseAccept 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 typeVersion rangeStatusFixtures
n8n-nodes-base.emailReadImap1unverified
n8n-nodes-base.emailReadImap2unverified

Error Trigger

core.error_trigger · version 1 · Trigger · error trigger

Starts this workflow when another workflow that names it as error workflow fails.

Ports

PortKindLabelRequiredMax connections
output 0main

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 typeVersion rangeStatusFixtures
n8n-nodes-base.errorTrigger1unverified

Form Trigger

core.form_trigger · version 2.2 · Trigger · webhook trigger

Serves a web form and starts the workflow with each submission.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
httpBasicAuthhttp.basic

Parameters

NameTypeDefaultRequiredShown whenDescription
formTitlestring""yesForm title. Shown at the top of the page.
formDescriptionstring""Form description.
formFieldsfixed_collectionFields.
formFields.valuescollectionField.
formFields.values.fieldLabelstring""Label. Also the key of the value in the output.
formFields.values.fieldTypeoptions"text"Type. One of text, textarea, number, email, password, date, dropdown, checkbox, radio, file, hiddenField, html.
formFields.values.requiredFieldbooleanfalseRequired.
formFields.values.placeholderstring""
formFields.values.fieldOptionsfixed_collectionChoices.
formFields.values.multiselectbooleanfalseAllow several choices.
formFields.values.multipleFilesbooleantrueAllow several files.
formFields.values.acceptFileTypesstring""Accepted file types. For example .pdf,.png.
formFields.values.fieldNamestring""Field name. Output key of a hidden value.
formFields.values.fieldValuestring""Value. Default of a hidden value.
authenticationoptions"none"One of none, basicAuth.
responseModeoptions"onReceived"Respond. One of onReceived, lastNode, responseNode.
optionscollection{}
options.pathstring""URL path after /form/.
options.buttonLabelstring"Submit"Button label.
options.respondWithOptionsfixed_collectionAfter submission.
options.ignoreBotsbooleanfalseIgnore bots.
options.useWorkflowTimezonebooleanfalseUse workflow timezone. Timestamp submissions in the workflow timezone instead of UTC.
options.customCssstring""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 typeVersion rangeStatusFixtures
n8n-nodes-base.formTrigger1unverified
n8n-nodes-base.formTrigger>=2 <3unverified

Interval (legacy)

core.interval · version 1 · Trigger · schedule trigger

Starts the workflow repeatedly at a fixed interval after activation.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
intervalnumber1Time between runs.
unitoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.interval1unverified

Manual Trigger

core.manual_trigger · version 1 · Trigger · manual trigger

Starts the workflow when you run it by hand.

Ports

PortKindLabelRequiredMax connections
output 0main

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 typeVersion rangeStatusFixtures
n8n-nodes-base.manualTrigger1unverified
n8n-nodes-base.start1unverified

Postgres Trigger

proto.postgres_trigger · version 1 · Trigger · listener trigger

Start a workflow when rows change or a notification arrives in PostgreSQL.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
postgresproto.postgresyes

Parameters

NameTypeDefaultRequiredShown whenDescription
triggerModeoptions"createTrigger"Listen For. One of createTrigger, listenTrigger.
schemaresource_locator{"__rl":true,"mode":"list","value":"public"}triggerMode = createTriggerValues from lookup postgres.schemas.
tableNameresource_locatoryestriggerMode = createTriggerTable. Values from lookup postgres.tables.
firesOnoptions"INSERT"triggerMode = createTriggerEvent. One of INSERT, UPDATE, DELETE.
channelNamestringyestriggerMode = listenTriggerChannel.
additionalFieldscollectiontriggerMode = createTriggerAdvanced.
additionalFields.channelNamestringChannel Name.
additionalFields.functionNamestringFunction Name.
additionalFields.triggerNamestringTrigger Name.
additionalFields.replaceIfExistsbooleanfalseReplace 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 typeVersion rangeStatusFixtures
n8n-nodes-base.postgresTrigger1unverified

Redis Trigger

proto.redis_trigger · version 1 · Trigger · listener trigger

Start a workflow for each message published to Redis channels.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
redisproto.redisyes

Parameters

NameTypeDefaultRequiredShown whenDescription
channelsstringyesComma-separated channel names; glob patterns such as news.* are allowed.
optionscollection
options.jsonParseBodybooleanfalseParse JSON Messages.
options.onlyMessagebooleanfalseMessage 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 typeVersion rangeStatusFixtures
n8n-nodes-base.redisTrigger1unverified

Schedule Trigger

core.schedule_trigger · version 1.2 · Trigger · schedule trigger

Starts the workflow on a recurring schedule.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
rulefixed_collectionRules. One or more recurring rules; the workflow runs whenever any rule fires.
rule.intervalcollection
rule.interval.fieldoptions"days"Trigger interval. How often the workflow runs. One of seconds, minutes, hours, days, weeks, months, cronExpression.
rule.interval.secondsIntervalnumber30field = secondsSeconds between runs.
rule.interval.minutesIntervalnumber5field = minutesMinutes between runs.
rule.interval.hoursIntervalnumber1field = hoursHours between runs.
rule.interval.daysIntervalnumber1field = daysDays between runs.
rule.interval.weeksIntervalnumber1field = weeksWeeks between runs.
rule.interval.monthsIntervalnumber1field = monthsMonths between runs.
rule.interval.triggerAtDayOfMonthnumber1field = monthsDay of month.
rule.interval.triggerAtDaymulti_options[0]field = weeksWeekdays. One of 1, 2, 3, 4, 5, 6, 0.
rule.interval.triggerAtHournumber0field = days, weeks, monthsHour. Hour of the day (0-23).
rule.interval.triggerAtMinutenumber0field = hours, days, weeks, monthsMinute. Minute of the hour (0-59).
rule.interval.expressionstring""field = cronExpressionCron 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 typeVersion rangeStatusFixtures
n8n-nodes-base.scheduleTrigger1unverified

Webhook

core.webhook · version 2.1 · Trigger · webhook trigger

Starts the workflow when an HTTP request arrives.

Ports

PortKindLabelRequiredMax connections
output 0main

Credentials

SlotAccepted kindsRequired
httpBasicAuthhttp.basic
httpHeaderAuthhttp.header
jwtAuthhttp.jwt

Parameters

NameTypeDefaultRequiredShown whenDescription
multipleMethodsbooleanfalseAccept several methods.
httpMethodoptions"GET"HTTP method. Method the webhook listens for. One of GET, POST, PUT, PATCH, DELETE, HEAD.
pathstring""URL path after /webhook/; segments starting with ‘:’ become parameters.
authenticationoptions"none"One of none, basicAuth, headerAuth, jwtAuth.
responseModeoptions"onReceived"Respond. When and how the caller gets a reply. One of onReceived, lastNode, responseNode.
responseCodenumber200Response code.
responseDataoptions"firstEntryJson"responseMode = lastNodeResponse data. One of allEntries, firstEntryJson, firstEntryBinary, noData.
responseBinaryPropertyNamestring"data"responseData = firstEntryBinaryBinary property to return.
optionscollection{}
options.binaryPropertyNamestring"data"Binary property. Where uploaded files are stored; several files get an index suffix.
options.rawBodybooleanfalseKeep raw body. Also store the unparsed body as binary data.
options.ignoreBotsbooleanfalseIgnore bots. Drop requests from crawlers and link previews.
options.allowedOriginsstring"*"Allowed origins (CORS). Comma separated list, or * for any.
options.ipWhiteliststring""Allowed IP addresses. Comma separated IPs or CIDR ranges; empty allows all.
options.noResponseBodybooleanfalseNo response body.
options.responseDatastring""Custom response body. Body sent when responding immediately.
options.responseContentTypestring""Response content type.
options.responsePropertyNamestring""Property to return. Return only this property of the first item.
options.responseHeadersfixed_collectionResponse 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 typeVersion rangeStatusFixtures
n8n-nodes-base.webhook1unverified
n8n-nodes-base.webhook>=2 <3unverified

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

PortKindLabelRequiredMax connections
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
inputSourceoptions"passthrough"Input data. How the caller’s data is accepted. One of workflowInputs, jsonExample, passthrough.
workflowInputsfixed_collectioninputSource = workflowInputsFields.
workflowInputs.valuescollectionField.
workflowInputs.values.namestring""
workflowInputs.values.typeoptions"any"One of any, string, number, boolean, array, object.
jsonExamplejson"{}"inputSource = jsonExampleJSON 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 typeVersion rangeStatusFixtures
n8n-nodes-base.executeWorkflowTrigger1unverified

Execute Workflow

core.execute_workflow · version 1.2 · Flow

Run another workflow with these items and continue with its result.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
sourceoptions"database"Workflow source. One of database, parameter, localFile, url.
workflowIdresource_locatoryessource = databaseWorkflow. Values from lookup workflows.
workflowJsonjsonsource = parameterWorkflow JSON.
workflowPathstringsource = localFileFile path. Requires exec-class nodes to be enabled.
workflowUrlstringsource = urlURL.
workflowInputsresource_mapperInputs.
modeoptions"once"One of once, each.
optionscollection
options.waitForSubWorkflowbooleantrueWait 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 typeVersion rangeStatusFixtures
n8n-nodes-base.executeWorkflow1unverified

Filter

core.filter · version 2.2 · Flow

Keep only the items that satisfy the conditions.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0mainKept

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
conditionsfilterItems that satisfy these checks are kept.
looseTypeValidationbooleanfalseConvert types where required.
optionscollection
options.ignoreCasebooleanfalseIgnore case.
options.discardedOutputbooleanfalseOutput 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 typeVersion rangeStatusFixtures
n8n-nodes-base.filter1unverified
n8n-nodes-base.filter>=2 <3unverified

If

core.if · version 2.2 · Flow

Send each item down the true or the false branch depending on conditions.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0maintrue
output 1mainfalse

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
conditionsfilterChecks applied to every item.
looseTypeValidationbooleanfalseConvert types where required. Convert values to the operator’s type instead of failing on a mismatch.
optionscollection
options.ignoreCasebooleanfalseIgnore 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 typeVersion rangeStatusFixtures
n8n-nodes-base.if1unverified
n8n-nodes-base.if>=2 <3unverified

Loop Over Items

core.split_in_batches · version 3 · Flow

Process the input items in batches, one batch per pass through a loop.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0maindone
output 1mainloop

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
batchSizenumber1Batch size. How many items each pass through the loop receives.
optionscollection
options.resetbooleanfalseTreat 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 typeVersion rangeStatusFixtures
n8n-nodes-base.splitInBatches1unverified
n8n-nodes-base.splitInBatches2unverified
n8n-nodes-base.splitInBatches3unverified

Merge

core.merge · version 3.2 · Flow

Join the items arriving on several inputs into one list.

Ports

PortKindLabelRequiredMax connections
input 0mainInput 1
input 1mainInput 2
output 0main

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"append"One of append, combine, combineBySql, chooseBranch.
numberInputsnumber2Number of inputs.
combineByoptions"combineByFields"mode = combineCombine by. One of combineByFields, combineByPosition, combineAll.
fieldsToMatchStringstringadvanced = false; combineBy = combineByFieldsFields to match. Comma-separated field names present in both inputs.
advancedbooleanfalsecombineBy = combineByFieldsFields have different names.
mergeByFieldsfixed_collectionadvanced = true; combineBy = combineByFieldsField pairs.
mergeByFields.valuesfixed_collectionPair.
mergeByFields.values.field1stringInput 1 field.
mergeByFields.values.field2stringInput 2 field.
joinModeoptions"keepMatches"combineBy = combineByFieldsOutput. One of keepMatches, keepNonMatches, keepEverything, enrichInput1, enrichInput2.
outputDataFromoptions"both"joinMode = keepMatches, keepNonMatchesTake data from. One of both, input1, input2.
outputoptions"specifiedInput"mode = chooseBranchOne of specifiedInput, empty.
useDataOfInputnumber1mode = chooseBranch; output = specifiedInputInput to pass through.
optionscollection
options.clashHandlingfixed_collectionWhen fields clash.
options.clashHandling.valuescollectionRule.
options.clashHandling.values.resolveClashoptions"preferLast"Keep the value from. One of preferLast, preferInput1, preferInput2, addSuffix.
options.clashHandling.values.mergeModeoptions"deepMerge"Nested fields. One of deepMerge, shallowMerge.
options.clashHandling.values.overrideEmptybooleanfalseKeep non-empty values. Do not let an empty value from the preferred input replace a filled one.
options.fuzzyComparebooleanfalseFuzzy compare. Treat values as equal when their text forms match (e.g. 3 and “3”).
options.disableDotNotationbooleanfalseLiteral field names. Do not treat dots in field names as nested paths.
options.includeUnpairedbooleanfalseKeep unpaired items.
options.multipleMatchesoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.merge1unverified
n8n-nodes-base.merge2unverified
n8n-nodes-base.merge>=3 <4unverified

No Operation

core.no_op · version 1 · Flow

Pass items through unchanged; useful as a visual junction.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

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 typeVersion rangeStatusFixtures
n8n-nodes-base.noOp1unverified

Respond to Webhook

core.respond_to_webhook · version 1.1 · Flow

Sends the reply to the request that started the workflow.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
jwtAuthhttp.jwt

Parameters

NameTypeDefaultRequiredShown whenDescription
respondWithoptions"firstIncomingItem"Respond with. What the caller receives. One of allIncomingItems, binary, firstIncomingItem, json, jwt, noData, redirect, text.
redirectURLstring""respondWith = redirectRedirect URL.
responseBodyjson""respondWith = json, textResponse body.
payloadjson"{}"respondWith = jwtToken payload.
responseDataSourceoptions"automatically"respondWith = binaryBinary source. One of automatically, set.
inputFieldNamestring"data"responseDataSource = setBinary property.
optionscollection{}
options.responseCodenumber200Response code.
options.responseHeadersfixed_collectionResponse headers.
options.responseKeystring""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 typeVersion rangeStatusFixtures
n8n-nodes-base.respondToWebhook1unverified

Stop and Error

core.stop_and_error · version 1 · Flow

Fail the execution with a custom message or error object.

Ports

PortKindLabelRequiredMax connections
input 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
errorTypeoptions"errorMessage"Error type. One of errorMessage, errorObject.
messagestringerrorType = errorMessageText of the error raised.
errorObjectjsonerrorType = errorObjectError 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 typeVersion rangeStatusFixtures
n8n-nodes-base.stopAndError1unverified

Switch

core.switch · version 3.2 · Flow

Send each item to the output whose rule it matches.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main0

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"rules"One of rules, expression.
rulesfixed_collectionmode = rulesRouting rules.
rules.valuesfixed_collectionRule.
rules.values.conditionsfilter
rules.values.renameOutputbooleanfalseName the output.
rules.values.outputKeystringrenameOutput = trueOutput name.
numberOutputsnumber4mode = expressionNumber of outputs.
outputnumbermode = expressionOutput index. Expression that returns the zero-based output for the item.
looseTypeValidationbooleanfalseConvert types where required.
optionscollection
options.fallbackOutputoptions"none"Unmatched items. Or the index of an existing output. One of none, extra.
options.renameFallbackOutputstringExtra output name.
options.ignoreCasebooleanfalseIgnore case.
options.allMatchingOutputsbooleanfalseSend 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 typeVersion rangeStatusFixtures
n8n-nodes-base.switch1unverified
n8n-nodes-base.switch2unverified
n8n-nodes-base.switch>=3 <4unverified

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

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
httpBasicAuthhttp.basic
httpHeaderAuthhttp.header
jwtAuthhttp.jwt

Parameters

NameTypeDefaultRequiredShown whenDescription
resumeoptions"timeInterval"What continues the execution. One of timeInterval, specificTime, webhook, form.
amountnumber1resume = timeInterval
unitoptions"hours"resume = timeIntervalOne of seconds, minutes, hours, days.
dateTimedate_time""resume = specificTimeDate and time.
httpMethodoptions"GET"resume = webhookHTTP method. One of GET, POST, PUT, PATCH, DELETE, HEAD.
authenticationoptions"none"resume = webhook, formOne of none, basicAuth, headerAuth, jwtAuth.
responseModeoptions"onReceived"resume = webhook, formRespond. One of onReceived, lastNode, responseNode.
responseCodenumber200resume = webhookResponse code.
limitWaitTimebooleanfalseresume = webhook, formLimit wait time. Continue anyway after a deadline.
limitTypeoptions"afterTimeInterval"limitWaitTime = trueLimit type. One of afterTimeInterval, atSpecifiedTime.
resumeAmountnumber1limitType = afterTimeIntervalAmount.
resumeUnitoptions"hours"limitType = afterTimeIntervalUnit. One of seconds, minutes, hours, days.
maxDateTimedate_time""limitType = atSpecifiedTimeDeadline.
optionscollection{}
options.webhookSuffixstring""Webhook suffix. Appended to the resume URL.
options.binaryPropertyNamestring"data"Binary property.
options.rawBodybooleanfalseKeep raw body.
options.ignoreBotsbooleanfalseIgnore bots.
options.ipWhiteliststring""Allowed IP addresses.
formTitlestring""yesresume = formForm title. Shown at the top of the page.
formDescriptionstring""resume = formForm description.
formFieldsfixed_collectionresume = formFields.
formFields.valuescollectionField.
formFields.values.fieldLabelstring""Label. Also the key of the value in the output.
formFields.values.fieldTypeoptions"text"Type. One of text, textarea, number, email, password, date, dropdown, checkbox, radio, file, hiddenField, html.
formFields.values.requiredFieldbooleanfalseRequired.
formFields.values.placeholderstring""
formFields.values.fieldOptionsfixed_collectionChoices.
formFields.values.multiselectbooleanfalseAllow several choices.
formFields.values.multipleFilesbooleantrueAllow several files.
formFields.values.acceptFileTypesstring""Accepted file types. For example .pdf,.png.
formFields.values.fieldNamestring""Field name. Output key of a hidden value.
formFields.values.fieldValuestring""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 typeVersion rangeStatusFixtures
n8n-nodes-base.wait1unverified

Aggregate

core.aggregate · version 1 · Transform

Collect field values from all items into lists on a single item.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
aggregateoptions"aggregateIndividualFields"One of aggregateIndividualFields, aggregateAllItemData.
fieldsToAggregatefixed_collectionaggregate = aggregateIndividualFieldsFields.
fieldsToAggregate.fieldToAggregatestringyesInput Field.
fieldsToAggregate.renameFieldbooleanfalseRename Output.
fieldsToAggregate.outputFieldNamestringrenameField = trueOutput Field.
destinationFieldNamestring"data"aggregate = aggregateAllItemDataPut Items In Field.
includeoptions"allFields"aggregate = aggregateAllItemDataOne of allFields, specifiedFields, allFieldsExcept.
fieldsToIncludestringinclude = specifiedFieldsFields to Include.
fieldsToExcludestringinclude = allFieldsExceptFields to Exclude.
optionscollection
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.mergeListsbooleanfalseFlatten Lists. When a value is itself a list, add its elements instead of the list.
options.keepMissingbooleanfalseKeep Missing Values. Add null for items that lack the field.
options.includeBinariesbooleanfalseInclude Binaries.
options.keepOnlyUniquebooleanfalseincludeBinaries = trueUnique 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 typeVersion rangeStatusFixtures
n8n-nodes-base.aggregate1unverified

Code

core.code · version 2 · Transform

Run custom JavaScript over items.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"runOnceForAllItems"One of runOnceForAllItems, runOnceForEachItem.
languageoptions"javaScript"One of javaScript, python.
jsCodecode"return $input.all();"language = javaScriptJavaScript.

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 typeVersion rangeStatusFixtures
n8n-nodes-base.code1unverified
n8n-nodes-base.code2unverified

Compare Datasets

core.compare_datasets · version 2.3 · Transform

Match items from two inputs and route them by whether they differ.

Ports

PortKindLabelRequiredMax connections
input 0mainInput A
input 1mainInput B
output 0mainIn A only
output 1mainSame
output 2mainDifferent
output 3mainIn B only

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
mergeByFieldsfixed_collectionyesMatch On.
mergeByFields.field1stringyesInput A Field.
mergeByFields.field2stringyesInput B Field.
resolveoptions"preferInput2"For Different Items. One of preferInput1, preferInput2, mix, includeBoth.
preferWhenMixoptions"input1"resolve = mixBase Version. One of input1, input2.
exceptWhenMixstringresolve = mixTake From The Other Input. Comma-separated fields copied from the other version.
fuzzyComparebooleanfalseLoose Type Comparison. Treat 1 and “1”, or null and an empty string, as equal.
optionscollection
options.skipFieldsstringFields to Ignore. Comma-separated fields left out of the comparison.
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.multipleMatchesoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.compareDatasets1unverified
n8n-nodes-base.compareDatasets>=2 <3unverified

Convert to File

core.convert_to_file · version 1.1 · Transform

Turn items into a CSV, spreadsheet, JSON, text or calendar file.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"csv"Convert to. One of csv, xlsx, ods, html, toJson, toText, toBinary, iCal.
binaryPropertyNamestring"data"Output binary property.
modeoptions"once"JSON mode. One of once, each.
sourcePropertystring"data"Source field.
optionscollection{}
options.fileNamestringFile name.
options.headerRowbooleantrueHeader row.
options.sheetNamestring"Sheet"Sheet name.
options.delimiterstring","
options.encodingstring"utf8"
options.addBOMbooleanfalseAdd byte order mark.
options.formatbooleanfalsePretty-print JSON.
options.mimeTypestringMIME type.
options.dataIsBase64booleantrueSource 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 typeVersion rangeStatusFixtures
n8n-nodes-base.convertToFile1unverified

Crypto

core.crypto · version 2 · Transform

Hash, sign and generate values.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
actionoptions"hash"One of hash, hmac, sign, generate.
typeoptions"MD5"action = hash, hmacAlgorithm. One of MD5, SHA1, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, SHA3-512.
binaryDatabooleanfalseaction = hash, hmacUse binary data.
binaryPropertyNamestring"data"Binary property.
valuestring""
secretstring""action = hmac
algorithmstring"RSA-SHA256"action = signSigning algorithm.
privateKeystring""action = signPrivate key (PEM).
encodingoptions"hex"Output encoding. One of hex, base64.
encodingTypeoptions"uuid"action = generateGenerate. One of ascii, base64, hex, uuid.
stringLengthnumber32action = generateLength.
dataPropertyNamestring"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 typeVersion rangeStatusFixtures
n8n-nodes-base.crypto1unverified

Date & Time

core.date_time · version 2 · Transform

Parse, format, shift, round and compare dates.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"getCurrentDate"One of getCurrentDate, addToDate, subtractFromDate, formatDate, roundDate, getTimeBetweenDates, extractDate.
includeTimebooleantrueoperation = getCurrentDateInclude current time.
magnitudestringoperation = addToDate, subtractFromDateDate to change.
timeUnitoptions"days"operation = addToDate, subtractFromDateTime unit. One of years, quarters, months, weeks, days, hours, minutes, seconds, milliseconds.
durationnumber0operation = addToDate, subtractFromDateAmount.
datestringoperation = formatDate, roundDate, extractDate
formatstring"MM/dd/yyyy"operation = formatDate
customFormatstringoperation = formatDateCustom format (Luxon tokens).
modeoptions"roundDown"operation = roundDateOne of roundDown, roundUp.
startDatestringoperation = getTimeBetweenDatesStart date.
endDatestringoperation = getTimeBetweenDatesEnd date.
unitsmulti_options["day"]operation = getTimeBetweenDates
partstring"month"operation = extractDate
outputFieldNamestringOutput field name.
optionscollection{}
options.includeInputFieldsbooleanfalseKeep input fields.
options.timezonestring
options.fromFormatstringInput format (Luxon tokens).
options.isoStringbooleanfalseOutput 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 typeVersion rangeStatusFixtures
n8n-nodes-base.dateTime1unverified
n8n-nodes-base.dateTime2unverified

Edit Fields

core.set · version 3.4 · Transform

Add, change or remove fields on every item.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"manual"One of manual, raw.
assignmentsfixed_collectionmode = manualFields to Set. Each entry writes one field; the value is converted to the chosen type.
assignments.namestringyes
assignments.typeoptions"string"One of string, number, boolean, array, object.
assignments.valuestring
jsonOutputjson"{}"mode = rawJSON. Object whose fields are written to each item.
includeOtherFieldsbooleanfalseKeep Other Fields. Keep the input fields that are not being set.
includeoptions"all"includeOtherFields = trueWhich Other Fields. One of all, selected, except.
includeFieldsstringinclude = selectedFields to Keep. Comma-separated field names.
excludeFieldsstringinclude = exceptFields to Drop. Comma-separated field names.
optionscollection
options.dotNotationbooleantrueUse Dot Notation. Names like a.b create nested objects.
options.ignoreConversionErrorsbooleanfalseIgnore Type Errors. Keep the original value when it cannot be converted.
options.stripBinarybooleantrueDrop 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 typeVersion rangeStatusFixtures
n8n-nodes-base.set1unverified
n8n-nodes-base.set2unverified
n8n-nodes-base.set>=3 <4unverified

Extract from File

core.extract_from_file · version 1 · Transform

Read rows, text or data out of a binary file.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"csv"Extract from. One of csv, xlsx, xls, ods, html, fromJson, text, xml, pdf, fromIcs, binaryToPropery.
binaryPropertyNamestring"data"Input binary property.
destinationKeystring"data"Output field.
optionscollection{}
options.delimiterstring","
options.encodingstring"utf8"
options.fromLinenumber0First line.
options.maxRowCountnumber-1Max rows (-1 = all).
options.headerRowbooleantrueHeader row.
options.includeEmptyCellsbooleanfalseInclude empty cells.
options.rawDatabooleanfalseRaw cell values.
options.readAsStringbooleanfalseRead values as text.
options.rangestring
options.sheetNamestringSheet name.
options.joinPagesbooleantrueJoin PDF pages.
options.maxPagesnumber0Max PDF pages (0 = all).
options.passwordstringPDF password.
options.keepSourceoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.extractFromFile1unverified

Function (legacy)

core.function · version 1 · Transform

Run legacy JavaScript over all items.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
functionCodecode"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 typeVersion rangeStatusFixtures
n8n-nodes-base.function1unverified

Function Item (legacy)

core.function_item · version 1 · Transform

Run legacy JavaScript once per item.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
functionCodecode"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 typeVersion rangeStatusFixtures
n8n-nodes-base.functionItem1unverified

HTML

core.html · version 1.2 · Transform

Render templates, extract content and build tables.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"generateHtmlTemplate"One of generateHtmlTemplate, extractHtmlContent, convertToHtmlTable.
htmlstring""operation = generateHtmlTemplateHTML template.
sourceDataoptions"json"operation = extractHtmlContentSource. One of json, binary.
dataPropertyNamestring"data"Field holding the HTML.
binaryPropertyNamestring"data"Binary property.
extractionValuesfixed_collectionoperation = extractHtmlContentValues to extract.
optionscollection{}
options.trimValuesbooleantrueTrim values.
options.cleanUpTextbooleantrueCollapse whitespace in text.
options.capitalizebooleanfalseCapitalize headers.
options.captionstring
options.tableAttributesstringTable attributes.
options.headerAttributesstringHeader cell attributes.
options.rowAttributesstringRow attributes.
options.cellAttributesstringCell 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 typeVersion rangeStatusFixtures
n8n-nodes-base.html1unverified

Item Lists (legacy)

core.item_lists · version 3.1 · Transform

Older all-in-one list node: split, aggregate, deduplicate, sort, limit or summarize.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"splitOutItems"One of splitOutItems, aggregateItems, removeDuplicates, sort, limit, summarize.
fieldToSplitOutstringyesoperation = splitOutItemsField to Split Out. List field to split; separate several with commas to split them side by side.
includeoptions"noOtherFields"operation = splitOutItemsOne of noOtherFields, allOtherFields, selectedOtherFields.
fieldsToIncludestringinclude = selectedOtherFields; operation = splitOutItemsFields to Include. Comma-separated fields copied onto every new item.
optionscollectionoperation = splitOutItems
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.destinationFieldNamestringDestination Field Name. Where each element is written; one name per split field.
options.includeBinarybooleanfalseInclude Binary. Copy the item’s binary data onto every new item.
aggregateoptions"aggregateIndividualFields"operation = aggregateItemsOne of aggregateIndividualFields, aggregateAllItemData.
fieldsToAggregatefixed_collectionaggregate = aggregateIndividualFields; operation = aggregateItemsFields.
fieldsToAggregate.fieldToAggregatestringyesInput Field.
fieldsToAggregate.renameFieldbooleanfalseRename Output.
fieldsToAggregate.outputFieldNamestringrenameField = trueOutput Field.
destinationFieldNamestring"data"aggregate = aggregateAllItemData; operation = aggregateItemsPut Items In Field.
includeoptions"allFields"aggregate = aggregateAllItemData; operation = aggregateItemsOne of allFields, specifiedFields, allFieldsExcept.
fieldsToIncludestringinclude = specifiedFields; operation = aggregateItemsFields to Include.
fieldsToExcludestringinclude = allFieldsExcept; operation = aggregateItemsFields to Exclude.
optionscollectionoperation = aggregateItems
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.mergeListsbooleanfalseFlatten Lists. When a value is itself a list, add its elements instead of the list.
options.keepMissingbooleanfalseKeep Missing Values. Add null for items that lack the field.
options.includeBinariesbooleanfalseInclude Binaries.
options.keepOnlyUniquebooleanfalseincludeBinaries = trueUnique Binaries Only.
compareoptions"allFields"operation = removeDuplicatesOne of allFields, allFieldsExcept, selectedFields.
fieldsToExcludestringcompare = allFieldsExcept; operation = removeDuplicatesFields to Ignore.
fieldsToComparestringcompare = selectedFields; operation = removeDuplicatesFields to Compare.
optionscollectionoperation = removeDuplicates
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.removeOtherFieldsbooleanfalsecompare = selectedFieldsKeep Only Compared Fields.
typeoptions"simple"operation = sortOne of simple, random, code.
sortFieldsUifixed_collectionoperation = sort; type = simpleSort Fields.
sortFieldsUi.fieldNamestringyesField.
sortFieldsUi.orderoptions"ascending"One of ascending, descending.
codecodeoperation = sort; type = codeComparison Code. JavaScript body comparing items a and b; return a negative number to put a first.
optionscollectionoperation = sort
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
maxItemsnumber1operation = limitMax Items. Items beyond this count are dropped.
keepoptions"firstItems"operation = limitOne of firstItems, lastItems.
fieldsToSummarizefixed_collectionoperation = summarizeSummaries.
fieldsToSummarize.aggregationoptions"count"Function. One of count, countUnique, sum, average, min, max, concatenate, append.
fieldsToSummarize.fieldstringyes
fieldsToSummarize.includeEmptybooleanfalseInclude Empty Values.
fieldsToSummarize.separateByoptions","aggregation = concatenateSeparator. One of ,, , , , ``, , other.
fieldsToSummarize.customSeparatorstringseparateBy = otherCustom Separator.
fieldsToSplitBystringoperation = summarizeGroup By. Comma-separated fields; one result per distinct combination.
optionscollectionoperation = summarize
options.continueIfFieldNotFoundbooleanfalseIgnore Missing Fields.
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.outputFormatoptions"separateItems"Output. One of separateItems, singleItem.
options.skipEmptySplitFieldsbooleanfalseSkip 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 typeVersion rangeStatusFixtures
n8n-nodes-base.itemLists1unverified
n8n-nodes-base.itemLists2unverified
n8n-nodes-base.itemLists>=3 <4unverified

Limit

core.limit · version 1 · Transform

Pass on at most a given number of items.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
maxItemsnumber1Max Items. Items beyond this count are dropped.
keepoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.limit1unverified

Markdown

core.markdown · version 1 · Transform

Convert between Markdown and HTML.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"htmlToMarkdown"One of markdownToHtml, htmlToMarkdown.
markdownstring""mode = markdownToHtml
htmlstring""mode = htmlToMarkdownHTML.
destinationKeystring"data"Output field.
optionscollection{}
options.tablesbooleanfalse
options.strikethroughbooleanfalse
options.tasklistsbooleanfalseTask lists.
options.noHeaderIdbooleanfalseNo heading ids.
options.ghCompatibleHeaderIdbooleanfalseGitHub-style heading ids.
options.prefixHeaderIdstring""Heading id prefix.
options.headerLevelStartnumber1First heading level.
options.openLinksInNewWindowbooleanfalseOpen links in a new window.
options.simpleLineBreaksbooleanfalseLine breaks as <br>.
options.simplifiedAutoLinkbooleanfalseLink bare URLs.
options.completeHTMLDocumentbooleanfalseFull HTML document.
options.bulletMarkerstring"*"Bullet marker.
options.codeFencestring"```"Code fence.
options.emDelimiterstring"_"Emphasis delimiter.
options.strongDelimiterstring"**"Strong delimiter.
options.ignorestring""Elements to skip.
options.keepDataImagesbooleanfalseKeep data: images.
options.maxConsecutiveNewlinesnumber3Max consecutive newlines.
options.useInlineLinksbooleantrueInline 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 typeVersion rangeStatusFixtures
n8n-nodes-base.markdown1unverified

Remove Duplicates

core.remove_duplicates · version 2 · Transform

Drop items that repeat, in this input or across runs.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"removeDuplicateInputItems"One of removeDuplicateInputItems, removeItemsSeenInPreviousExecutions, clearDeduplicationHistory.
compareoptions"allFields"One of allFields, allFieldsExcept, selectedFields.
fieldsToExcludestringcompare = allFieldsExceptFields to Ignore.
fieldsToComparestringcompare = selectedFieldsFields to Compare.
optionscollection
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.removeOtherFieldsbooleanfalsecompare = selectedFieldsKeep Only Compared Fields.
logicoptions"removeItemsWithAlreadySeenKeyValues"operation = removeItemsSeenInPreviousExecutionsKeep Items When. One of removeItemsWithAlreadySeenKeyValues, removeItemsUpToStoredIncrementalKey, removeItemsUpToStoredDate.
dedupeValuestringlogic = removeItemsWithAlreadySeenKeyValuesKey. Usually an expression such as the record id.
incrementalDedupeValuenumberlogic = removeItemsUpToStoredIncrementalKeyNumber.
dateDedupeValuedatetimelogic = removeItemsUpToStoredDateDate.
modeoptions"cleanDatabase"operation = clearDeduplicationHistoryClear. One of cleanDatabase.
optionscollectionoperation = removeItemsSeenInPreviousExecutionsHistory Options.
options.scopeoptions"node"Shared By. One of node, workflow.
options.historySizenumber10000History 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 typeVersion rangeStatusFixtures
n8n-nodes-base.removeDuplicates1unverified
n8n-nodes-base.removeDuplicates2unverified

Rename Keys

core.rename_keys · version 1 · Transform

Rename fields on every item.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
keysfixed_collection
keys.currentKeystringyesCurrent Name. Field to rename; a.b addresses nested fields.
keys.newKeystringyesNew Name.
additionalOptionscollectionOptions.
additionalOptions.regexReplacementfixed_collectionPattern Rename.
additionalOptions.regexReplacement.searchRegexstringPattern. Regular expression matched against each key.
additionalOptions.regexReplacement.replaceRegexstringReplace With. Replacement; $1 inserts the first captured group.
additionalOptions.regexReplacement.optionscollection
additionalOptions.regexReplacement.options.caseInsensitivebooleanfalseIgnore Case.
additionalOptions.regexReplacement.options.depthnumber-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 typeVersion rangeStatusFixtures
n8n-nodes-base.renameKeys1unverified

Sort

core.sort · version 1 · Transform

Reorder items by field values, randomly, or with a custom comparison.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
typeoptions"simple"One of simple, random, code.
sortFieldsUifixed_collectiontype = simpleSort Fields.
sortFieldsUi.fieldNamestringyesField.
sortFieldsUi.orderoptions"ascending"One of ascending, descending.
codecodetype = codeComparison Code. JavaScript body comparing items a and b; return a negative number to put a first.
optionscollection
options.disableDotNotationbooleanfalseDisable 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 typeVersion rangeStatusFixtures
n8n-nodes-base.sort1unverified

Split Out

core.split_out · version 1 · Transform

Turn a list inside each item into one item per element.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
fieldToSplitOutstringyesField to Split Out. List field to split; separate several with commas to split them side by side.
includeoptions"noOtherFields"One of noOtherFields, allOtherFields, selectedOtherFields.
fieldsToIncludestringinclude = selectedOtherFieldsFields to Include. Comma-separated fields copied onto every new item.
optionscollection
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.destinationFieldNamestringDestination Field Name. Where each element is written; one name per split field.
options.includeBinarybooleanfalseInclude 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 typeVersion rangeStatusFixtures
n8n-nodes-base.splitOut1unverified

Spreadsheet File (legacy)

core.spreadsheet_file · version 2 · Transform

Read or write CSV and spreadsheet files.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"fromFile"One of fromFile, toFile.
fileFormatoptions"autodetect"Format. One of autodetect, csv, html, ods, xls, xlsx.
binaryPropertyNamestring"data"Binary property.
optionscollection{}
options.fileNamestringFile name.
options.sheetNamestring"Sheet"Sheet name.
options.headerRowbooleantrueHeader row.
options.includeEmptyCellsbooleanfalseInclude empty cells.
options.rawDatabooleanfalseRaw cell values.
options.readAsStringbooleanfalseRead values as text.
options.rangestring
options.delimiterstring","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 typeVersion rangeStatusFixtures
n8n-nodes-base.spreadsheetFile1unverified
n8n-nodes-base.spreadsheetFile2unverified

Summarize

core.summarize · version 1 · Transform

Count, total or collect field values, optionally grouped by other fields.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
fieldsToSummarizefixed_collectionSummaries.
fieldsToSummarize.aggregationoptions"count"Function. One of count, countUnique, sum, average, min, max, concatenate, append.
fieldsToSummarize.fieldstringyes
fieldsToSummarize.includeEmptybooleanfalseInclude Empty Values.
fieldsToSummarize.separateByoptions","aggregation = concatenateSeparator. One of ,, , , , ``, , other.
fieldsToSummarize.customSeparatorstringseparateBy = otherCustom Separator.
fieldsToSplitBystringGroup By. Comma-separated fields; one result per distinct combination.
optionscollection
options.continueIfFieldNotFoundbooleanfalseIgnore Missing Fields.
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.outputFormatoptions"separateItems"Output. One of separateItems, singleItem.
options.skipEmptySplitFieldsbooleanfalseSkip 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 typeVersion rangeStatusFixtures
n8n-nodes-base.summarize1unverified

XML

core.xml · version 1 · Transform

Convert between JSON and XML.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"jsonToxml"One of jsonToxml, xmlToJson.
dataPropertyNamestring"data"Property.
optionscollection{}
options.attrkeystring"$"Attribute key.
options.charkeystring"_"Text key.
options.explicitArraybooleanfalseAlways use arrays for children.
options.explicitRootbooleantrueKeep root element.
options.ignoreAttrsbooleanfalseIgnore attributes.
options.mergeAttrsbooleantrueMerge attributes into the element.
options.normalizebooleanfalseCollapse whitespace.
options.normalizeTagsbooleanfalseLowercase tag names.
options.trimbooleanfalseTrim text.
options.rootNamestring"root"Root element name.
options.headlessbooleanfalseOmit XML declaration.
options.cdatabooleanfalseWrap 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 typeVersion rangeStatusFixtures
n8n-nodes-base.xml1unverified

ClickHouse

proto.clickhouse · version 1 · Action

Run queries against ClickHouse and insert rows over its HTTP interface.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
clickhouseproto.clickhouseyes

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"executeQuery"One of executeQuery, insert.
querycodeyesoperation = executeQuerySQL to run. Reference parameters as {name:Type}.
tableresource_locatoryesoperation = insert
columnsfixed_collectionoperation = insert
columns.mappingModeoptions"autoMapInputData"Mapping. One of autoMapInputData, defineBelow.
columns.valuejsonValues.
optionscollection
options.queryParametersfixed_collectionQuery Parameters.
options.queryParameters.namestring
options.queryParameters.valuestring
options.timeoutnumber300Timeout (Seconds).
options.largeNumbersOutputoptions"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

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
ftpproto.ftp
sftpproto.sftp

Parameters

NameTypeDefaultRequiredShown whenDescription
protocoloptions"ftp"One of ftp, sftp.
operationoptions"download"One of download, upload, list, delete, rename.
pathstringyesoperation = download, upload, list, delete
recursivebooleanfalseoperation = list
binaryDatabooleantrueoperation = uploadUpload Binary Data.
binaryPropertyNamestring"data"operation = upload, downloadBinary Field.
fileContentstringoperation = uploadText Content.
oldPathstringyesoperation = renameCurrent Path.
newPathstringyesoperation = renameNew Path.
optionscollection
options.folderbooleanfalseIs Folder.
options.recursivebooleanfalseDelete Contents.
options.createDirectoriesbooleanfalseCreate 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 typeVersion rangeStatusFixtures
n8n-nodes-base.ftp1unverified

HTTP Request

core.http_request · version 4.2 · Action

Call any HTTP API and use the response in the workflow.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
httpAuthhttp.basic, http.bearer, http.header, http.query, http.custom, http.digest, http.oauth2, http.oauth1

Parameters

NameTypeDefaultRequiredShown whenDescription
methodoptions"GET"HTTP method to use. One of GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS.
urlstring""yesURL. Address to call, including the scheme.
authenticationoptions"none"How to authenticate the request. One of none, genericCredentialType, predefinedCredentialType.
genericAuthTypeoptionsauthentication = genericCredentialTypeGeneric auth type. Kind of generic credential. One of httpBasicAuth, httpDigestAuth, httpHeaderAuth, httpQueryAuth, httpCustomAuth, httpBearerAuth, oAuth1Api, oAuth2Api.
nodeCredentialTypestringauthentication = predefinedCredentialTypeCredential type. Integration credential type to reuse for this request.
sendQuerybooleanfalseSend query parameters. Add query parameters to the URL.
queryParametersfixed_collectionsendQuery = trueQuery parameters. Name/value pairs.
queryParameters.parameterscollectionParameter. One name/value pair.
queryParameters.parameters.namestring""Parameter name.
queryParameters.parameters.valuestring""Parameter value.
sendHeadersbooleanfalseSend headers. Add request headers.
headerParametersfixed_collectionsendHeaders = trueHeaders. Name/value pairs.
headerParameters.parameterscollectionParameter. One name/value pair.
headerParameters.parameters.namestring""Parameter name.
headerParameters.parameters.valuestring""Parameter value.
sendBodybooleanfalseSend body. Send a request body.
contentTypeoptions"json"sendBody = trueBody content type. How the body is encoded. One of json, form-urlencoded, multipart-form-data, raw, binaryData.
specifyBodyoptions"keypair"sendBody = trueSpecify body. Enter fields one by one or as JSON. One of keypair, json, string.
bodyParametersfixed_collectionspecifyBody = keypairBody fields. Name/value pairs.
bodyParameters.parameterscollectionParameter. One name/value pair.
bodyParameters.parameters.namestring""Parameter name.
bodyParameters.parameters.valuestring""Parameter value.
jsonBodyjson""specifyBody = jsonJSON body. Body as JSON.
rawContentTypestring""contentType = rawRaw content type. Content-Type sent with a raw body.
bodystring""contentType = rawRaw body text.
inputDataFieldNamebinary_property"data"contentType = binaryDataBinary property. Binary property of the input item to send.
optionscollectionAdditional request options.
options.timeoutnumber300000Timeout (ms). Abort the request after this many milliseconds.
options.allowUnauthorizedCertsbooleanfalseIgnore TLS certificate errors. Accept invalid or self-signed certificates.
options.proxystring""HTTP proxy URL, for example http://proxy:8080.
options.queryParameterArraysoptions"brackets"Array format in query. How array values are written in the query string.
options.batchingfixed_collectionSend items in batches: batchSize items, then wait batchInterval ms.
options.redirectfixed_collectionRedirects. followRedirects and maxRedirects.
options.responsefixed_collectionresponseFormat (autodetect, json, text, file), fullResponse, neverError, outputPropertyName.
options.paginationfixed_collectionRepeat the request for further pages using $response and $pageCount.
options.retrycollectionRetry (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 typeVersion rangeStatusFixtures
n8n-nodes-base.httpRequest1unverified
n8n-nodes-base.httpRequest2unverified
n8n-nodes-base.httpRequest3unverified
n8n-nodes-base.httpRequest>=4 <5unverified

MySQL

proto.mysql · version 2.6 · Action

Query, insert, update and delete rows in a MySQL or MariaDB database.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
mySqlproto.mysqlyes

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"insert"One of executeQuery, insert, update, upsert, select, deleteTable.
tableresource_locatoryesoperation = insert, update, upsert, select, deleteTableValues from lookup mysql.tables.
querycodeyesoperation = executeQuerySQL to run. Use $1, $2, … for values listed under Query Parameters.
columnsfixed_collectionoperation = insert, update, upsertHow item fields map to table columns: map automatically by name, or set each column. Values from lookup mysql.columns.
columns.mappingModeoptions"defineBelow"Mapping. One of autoMapInputData, defineBelow.
columns.valuejsonValues.
columns.matchingColumnsmulti_optionsColumns to Match On. Values from lookup mysql.columns.
returnAllbooleanfalseoperation = selectReturn All Rows.
limitnumber50operation = select
deleteCommandoptions"truncate"operation = deleteTableCommand. One of truncate, delete, drop.
wherefixed_collectionoperation = select, deleteTableConditions.
where.columnoptionsValues from lookup mysql.columns.
where.conditionoptionsOperator. One of equal, !=, LIKE, >, <, >=, <=, IS NULL, IS NOT NULL.
where.valuestring
combineConditionsoptions"AND"operation = select, deleteTableCombine Conditions. One of AND, OR.
sortfixed_collectionoperation = select
sort.columnoptionsValues from lookup mysql.columns.
sort.directionoptionsOne of ASC, DESC.
optionscollection
options.queryBatchingoptions"single"Query Batching. One of single, independently, transaction.
options.queryReplacementstringQuery Parameters. Comma-separated values, or an expression returning an array, used for $1, $2, …
options.outputColumnsmulti_optionsOutput Columns. Values from lookup mysql.columns.
options.connectionTimeoutnumber30Connection Timeout (Seconds).
options.largeNumbersOutputoptions"text"Large Numbers. One of text, numbers.
options.replaceEmptyStringsbooleanfalseWrite Empty Strings as NULL.
options.skipOnConflictbooleanfalseSkip Rows That Conflict.
options.treatQueryParametersInSingleQuotesAsTextbooleanfalseReplace 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 typeVersion rangeStatusFixtures
n8n-nodes-base.mySql1unverified
n8n-nodes-base.mySql>=2 <3unverified

Postgres

proto.postgres · version 2.6 · Action

Query, insert, update and delete rows in a PostgreSQL database.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
postgresproto.postgresyes

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"insert"One of executeQuery, insert, update, upsert, select, deleteTable.
schemaresource_locator{"__rl":true,"mode":"list","value":"public"}operation = insert, update, upsert, select, deleteTableValues from lookup postgres.schemas.
tableresource_locatoryesoperation = insert, update, upsert, select, deleteTableValues from lookup postgres.tables.
querycodeyesoperation = executeQuerySQL to run. Use $1, $2, … for values listed under Query Parameters.
columnsfixed_collectionoperation = insert, update, upsertHow item fields map to table columns: map automatically by name, or set each column. Values from lookup postgres.columns.
columns.mappingModeoptions"defineBelow"Mapping. One of autoMapInputData, defineBelow.
columns.valuejsonValues.
columns.matchingColumnsmulti_optionsColumns to Match On. Values from lookup postgres.columns.
returnAllbooleanfalseoperation = selectReturn All Rows.
limitnumber50operation = select
deleteCommandoptions"truncate"operation = deleteTableCommand. One of truncate, delete, drop.
wherefixed_collectionoperation = select, deleteTableConditions.
where.columnoptionsValues from lookup postgres.columns.
where.conditionoptionsOperator. One of equal, !=, LIKE, >, <, >=, <=, IS NULL, IS NOT NULL.
where.valuestring
combineConditionsoptions"AND"operation = select, deleteTableCombine Conditions. One of AND, OR.
sortfixed_collectionoperation = select
sort.columnoptionsValues from lookup postgres.columns.
sort.directionoptionsOne of ASC, DESC.
optionscollection
options.queryBatchingoptions"single"Query Batching. One of single, independently, transaction.
options.queryReplacementstringQuery Parameters. Comma-separated values, or an expression returning an array, used for $1, $2, …
options.outputColumnsmulti_optionsOutput Columns. Values from lookup postgres.columns.
options.connectionTimeoutnumber30Connection Timeout (Seconds).
options.largeNumbersOutputoptions"text"Large Numbers. One of text, numbers.
options.replaceEmptyStringsbooleanfalseWrite Empty Strings as NULL.
options.skipOnConflictbooleanfalseSkip Rows That Conflict.
options.treatQueryParametersInSingleQuotesAsTextbooleanfalseReplace Parameters Inside Quotes.
options.cascadebooleanfalse

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 typeVersion rangeStatusFixtures
n8n-nodes-base.postgres1unverified
n8n-nodes-base.postgres>=2 <3unverified

Redis

proto.redis · version 1 · Action

Read, write and publish data in a Redis server.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
redisproto.redisyes

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"info"One of delete, get, incr, info, keys, pop, publish, push, set.
propertyNamestring"propertyName"operation = get, popOutput Field. Field of the output item that receives the value; dots create nested fields.
keystringyesoperation = get, set, delete, incr
keyTypeoptions"automatic"operation = get, setKey Type. One of automatic, hash, list, sets, string.
valuestringoperation = set
valueIsJSONbooleantrueoperation = setValue Is JSON. Parse the value as JSON for hash, list and set keys.
expirebooleanfalseoperation = set, incrSet Expiry.
ttlnumber60operation = set, incrTTL (seconds).
keyPatternstringyesoperation = keysKey Pattern. Glob-style pattern such as user:*.
getValuesbooleantrueoperation = keysInclude Values.
channelstringyesoperation = publish
liststringyesoperation = push, pop
messageDatastringoperation = publish, pushData.
tailbooleanfalseoperation = push, popFrom/To Tail. Use the end of the list instead of the start.
optionscollection
options.dotNotationbooleantrueDot 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 typeVersion rangeStatusFixtures
n8n-nodes-base.redis1unverified

S3

proto.s3 · version 2 · Action

Manage buckets and objects on AWS S3 or any S3-compatible storage.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
s3proto.s3, proto.awsyes

Parameters

NameTypeDefaultRequiredShown whenDescription
resourceoptions"file"One of bucket, file, folder.
operationoptions"download"One of create, delete, getAll, search, upload, download, copy.
namestringyesoperation = create, delete; resource = bucketBucket Name.
bucketNamestringyesoperation = search, upload, download, delete, getAll, create; resource = file, folder, bucketBucket Name.
fileKeystringyesoperation = download, delete; resource = fileFile Key.
fileNamestringyesoperation = upload; resource = fileFile Name.
binaryDatabooleantrueoperation = uploadUpload Binary Data.
binaryPropertyNamestring"data"operation = upload, downloadBinary Field. Binary field of the item to upload, or to write the download to.
fileContentstringoperation = uploadText Content.
sourcePathstringyesoperation = copySource Path. /bucket/key of the object to copy.
destinationPathstringyesoperation = copyDestination Path. /bucket/key of the new object.
folderNamestringyesoperation = create; resource = folderFolder Name.
folderKeystringyesoperation = delete; resource = folderFolder Key.
returnAllbooleanfalseoperation = getAll, searchReturn All.
limitnumber100operation = getAll, search
tagsUifixed_collectionoperation = uploadTags.
tagsUi.tagsValuescollectionTag.
tagsUi.tagsValues.keystring
tagsUi.tagsValues.valuestring
additionalFieldscollectionAdditional Fields.
additionalFields.acloptionsAccess Control. One of private, publicRead, publicReadWrite, authenticatedRead, awsExecRead, bucketOwnerRead, bucketOwnerFullControl.
additionalFields.parentFolderKeystringParent Folder Key.
additionalFields.regionstring
additionalFields.storageClassoptionsStorage Class. One of standard, standardIA, onezoneIA, intelligentTiering, glacier, deepArchive, reducedRedundancy.
additionalFields.serverSideEncryptionoptionsServer-Side Encryption. One of AES256, aws:kms.
additionalFields.requesterPaysbooleanRequester Pays.
additionalFields.prefixstring
additionalFields.delimiterstring
additionalFields.startAfterstringStart After.
additionalFields.fetchOwnerbooleanFetch Owner.
optionscollection
options.folderKeystringFolder Key.
options.fetchOwnerbooleanFetch Owner.
options.versionIdstringVersion 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 typeVersion rangeStatusFixtures
n8n-nodes-base.awsS31unverified
n8n-nodes-base.awsS32unverified
n8n-nodes-base.s31unverified

SSH

proto.ssh · version 1 · Action · exec capability

Run commands and transfer files on a remote host over SSH.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
sshPasswordproto.ssh_password
sshPrivateKeyproto.ssh_private_key

Parameters

NameTypeDefaultRequiredShown whenDescription
authenticationoptions"password"One of password, privateKey.
resourceoptions"command"One of command, file.
operationoptions"execute"One of execute, upload, download.
commandstringyesoperation = execute
cwdstring"/"operation = executeWorking Directory.
pathstringyesresource = fileRemote Path. Target directory for uploads, file path for downloads.
binaryPropertyNamestring"data"resource = fileBinary Field.
optionscollection
options.fileNamestringFile 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 typeVersion rangeStatusFixtures
n8n-nodes-base.ssh1unverified

Send Email (SMTP)

proto.smtp_send · version 2.1 · Action

Send an email through any SMTP server.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
smtpproto.smtpyes

Parameters

NameTypeDefaultRequiredShown whenDescription
fromEmailstringyesFrom. Sender address, optionally with a name: Jane <[email protected]>.
toEmailstringyesTo. Comma-separated recipient addresses.
subjectstring
emailFormatoptions"html"Format. One of text, html, both.
textstringemailFormat = text, bothText Body.
htmlstringemailFormat = html, bothHTML Body.
optionscollection
options.attachmentsstringComma-separated binary fields of the item to attach.
options.ccEmailstringCC.
options.bccEmailstringBCC.
options.replyTostringReply To.
options.allowUnauthorizedCertsbooleanfalseAccept 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 typeVersion rangeStatusFixtures
n8n-nodes-base.emailSend1unverified
n8n-nodes-base.emailSend>=2 <3unverified

AI Agent

ai.agent · version 2 · AI

Answers a prompt with a chat model that can call connected tools in a loop.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
input 2ai_memory1
input 3ai_tool
input 4ai_outputParser1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
promptTypeoptions"auto"Prompt Source. One of auto, define.
textstringpromptType = definePrompt.
hasOutputParserbooleanfalseRequire Specific Output Format.
optionscollection
options.systemMessagestring"You are a helpful assistant."System Message.
options.maxIterationsnumber10Max Iterations. Maximum number of model calls per item.
options.returnIntermediateStepsbooleanfalseReturn Intermediate Steps.
options.passthroughBinaryImagesbooleantrueSend 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.agent1unverified
@n8n/n8n-nodes-langchain.agent>=2 <3unverified

Basic LLM Chain

ai.chain_llm · version 1.7 · AI

Sends a prompt to a chat model and returns its answer.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
input 2ai_outputParser1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
promptTypeoptions"auto"Prompt Source. One of auto, define.
textstringpromptType = definePrompt.
hasOutputParserbooleanfalseRequire Specific Output Format.
messagesfixed_collectionChat Messages.
messages.messageValuescollectionMessage.
messages.messageValues.typeoptions"SystemMessagePromptTemplate"Role. One of SystemMessagePromptTemplate, HumanMessagePromptTemplate, AIMessagePromptTemplate.
messages.messageValues.messageTypeoptions"text"Content Type. One of text, imageBinary, imageUrl.
messages.messageValues.messagestring
messages.messageValues.binaryImageDataKeystring"data"Binary Field.
messages.messageValues.imageUrlstringImage 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.chainLlm1unverified

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

PortKindLabelRequiredMax connections
input 0ai_embeddingEmbeddingyes1
output 0ai_vectorStore

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"retrieve"Operation Mode. One of insert, load, retrieve, retrieve-as-tool.
toolNamestringmode = retrieve-as-toolTool Name. Name the agent sees for this tool.
toolDescriptionstringmode = retrieve-as-toolTool Description. Tell the agent what this knowledge base contains and when to search it.
promptstringmode = loadQuery. Text to search for.
topKnumber4mode = load, retrieve-as-toolLimit. How many matching documents to return.
includeDocumentMetadatabooleantruemode = load, retrieve-as-toolInclude Metadata.
memoryKeystring"vector_store_key"Store Key. Nodes using the same key share the same documents (within a project).
clearStorebooleanfalsemode = insertClear 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.vectorStoreInMemory1unverified

Information Extractor

ai.information_extractor · version 1.2 · AI

Extracts structured fields from text.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
textstringyesThe text to extract information from.
schemaTypeoptions"fromAttributes"Schema Source. One of fromAttributes, fromJson, manual.
attributesfixed_collectionschemaType = fromAttributes
attributes.attributescollectionAttribute.
attributes.attributes.namestring
attributes.attributes.typeoptions"string"One of string, number, boolean, date.
attributes.attributes.descriptionstring
attributes.attributes.requiredbooleanfalse
jsonSchemaExamplejsonschemaType = fromJsonJSON Example.
inputSchemajsonschemaType = manualJSON Schema.
optionscollection
options.systemPromptTemplatestring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.informationExtractor1unverified

Postgres PGVector Store

ai.vector_store_pgvector · version 1 · AI

Not available: this build was compiled without the ‘pgvector’ feature.

Ports

PortKindLabelRequiredMax connections
input 0ai_embeddingEmbeddingyes1
output 0ai_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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.vectorStorePGVector1unverified

Qdrant Vector Store

ai.vector_store_qdrant · version 1.3 · AI

Store and search document embeddings in a Qdrant collection.

Ports

PortKindLabelRequiredMax connections
input 0ai_embeddingEmbeddingyes1
output 0ai_vectorStore

The number of ports depends on the parameters; the table shows the default set.

Credentials

SlotAccepted kindsRequired
qdrantApiqdrant/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modeoptions"retrieve"Operation Mode. One of insert, load, retrieve, retrieve-as-tool.
toolNamestringmode = retrieve-as-toolTool Name. Name the agent sees for this tool.
toolDescriptionstringmode = retrieve-as-toolTool Description. Tell the agent what this knowledge base contains and when to search it.
promptstringmode = loadQuery. Text to search for.
topKnumber4mode = load, retrieve-as-toolLimit. How many matching documents to return.
includeDocumentMetadatabooleantruemode = load, retrieve-as-toolInclude Metadata.
qdrantCollectionresource_locatoryesCollection. Collection to use; created with cosine distance on first insert if missing.
optionscollection{}
options.searchFilterJsonjsonSearch Filter. Qdrant filter object applied to searches, e.g. {“must”: […]}.
options.collectionConfigjsonCollection 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.vectorStoreQdrant1unverified

Question and Answer Chain

ai.chain_retrieval_qa · version 1.5 · AI

Answers questions from documents found by a retriever.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
input 2ai_retrieveryes1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
promptTypeoptions"auto"Prompt Source. One of auto, define.
textstringpromptType = defineQuestion.
optionscollection
options.systemPromptTemplatestring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.chainRetrievalQa1unverified

Sentiment Analysis

ai.sentiment_analysis · version 1.1 · AI

Routes items by the sentiment of a text.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
inputTextstringyesText to Analyze.
optionscollection
options.categoriesstring"Positive, Neutral, Negative"Sentiment Categories. Comma-separated; each gets its own output.
options.includeDetailedResultsbooleanfalseInclude Strength and Confidence.
options.systemPromptTemplatestring"Determine the sentiment the author expresses in the user's text."System Prompt.
options.enableAutoFixingbooleantrueRetry 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.sentimentAnalysis1unverified

Summarization Chain

ai.chain_summarization · version 2 · AI

Summarizes text, splitting long inputs into chunks.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1
input 2ai_document1
input 3ai_textSplitter1
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationModeoptions"nodeInputJson"Data to Summarize. One of nodeInputJson, nodeInputBinary, documentLoader.
chunkingModeoptions"simple"Chunking. One of simple, advanced.
chunkSizenumber1000chunkingMode = simpleChunk Size.
chunkOverlapnumber200chunkingMode = simpleChunk Overlap.
optionscollection
options.summarizationMethodAndPromptsfixed_collectionMethod and Prompts.
options.summarizationMethodAndPrompts.valuescollection
options.summarizationMethodAndPrompts.values.summarizationMethodoptions"map_reduce"Method. One of map_reduce, refine, stuff.
options.summarizationMethodAndPrompts.values.promptstring"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.combineMapPromptstring"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.refinePromptstring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.chainSummarization1unverified
@n8n/n8n-nodes-langchain.chainSummarization>=2 <3unverified

Text Classifier

ai.text_classifier · version 1.1 · AI

Sorts items into categories with a chat model.

Ports

PortKindLabelRequiredMax connections
input 0main
input 1ai_languageModelyes1

The number of ports depends on the parameters; the table shows the default set.

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
inputTextstringyesText to Classify.
categoriesfixed_collection
categories.categoriescollectionCategory.
categories.categories.categorystringName.
categories.categories.descriptionstring
optionscollection
options.allowMultipleClassesMatchbooleanfalseAllow Multiple Categories.
options.fallbackoptions"discard"When Nothing Matches. One of discard, other.
options.systemPromptTemplatestring"Decide which of the categories below the user's text belongs to. Judge only by the text and the category descriptions."System Prompt.
options.enableAutoFixingbooleantrueRetry 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.textClassifier1unverified

Anthropic Chat Model

ai.lm_chat_anthropic · version 1 · AI sub-node

Claude models through the Anthropic Messages API.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
anthropicApianthropic/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"claude-sonnet-4-6"Identifier of the model to call, as listed by the provider. Values from lookup anthropic.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.topKnumberTop K. Only sample from this many most likely tokens.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatAnthropic1unverified

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

PortKindLabelRequiredMax connections
input 0ai_languageModelyes1
input 1ai_outputParseryes1
output 0ai_outputParser

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
optionscollection
options.promptstring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.outputParserAutofixing1unverified

Calculator

ai.tool_calculator · version 1 · AI sub-node

Lets the model evaluate arithmetic expressions.

Ports

PortKindLabelRequiredMax connections
output 0ai_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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolCalculator1unverified

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

PortKindLabelRequiredMax connections
output 0ai_textSplitter

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
separatorstring"\n\n"Text to split on; leave empty to split between every character.
chunkSizenumber1000Chunk Size. Largest chunk to produce, measured in the splitter’s unit.
chunkOverlapnumber0Chunk 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter1unverified

Code Tool

ai.tool_code · version 1.1 · AI sub-node

Lets the model run a JavaScript function you write.

Ports

PortKindLabelRequiredMax connections
output 0ai_tool

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
namestringTool Name. Name the model uses to call the tool.
descriptionstringyesTells the model what the tool does and when to use it.
languageoptions"javaScript"One of javaScript.
jsCodecode"// The model's input is in `query`.\nreturn String(query).toUpperCase();"JavaScript.
specifyInputSchemabooleanfalseDefine Argument Schema.
schemaTypeoptions"fromJson"specifyInputSchema = trueSchema Source. One of fromJson, manual.
jsonSchemaExamplejsonschemaType = fromJson; specifyInputSchema = trueJSON Example.
inputSchemajsonschemaType = manual; specifyInputSchema = trueJSON 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolCode1unverified

DeepSeek Chat Model

ai.lm_chat_deepseek · version 1 · AI sub-node

DeepSeek chat and reasoning models.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
deepSeekApideepseek/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"deepseek-chat"Identifier of the model to call, as listed by the provider. Values from lookup deepseek.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatDeepSeek1unverified

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

PortKindLabelRequiredMax connections
input 0ai_textSplitterText Splitter1
output 0ai_document

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
dataTypeoptions"json"Type of Data. One of json, binary.
jsonModeoptions"allInputData"dataType = jsonMode. One of allInputData, expressionData.
jsonDatastringjsonMode = expressionDataData. Value to turn into a document, usually an expression.
binaryModeoptions"allInputData"dataType = binaryMode. One of allInputData, specificField.
binaryDataKeystring"data"binaryMode = specificFieldBinary Property.
loaderoptions"auto"dataType = binaryData Format. One of auto, csvLoader, jsonLoader, pdfLoader, textLoader.
textSplittingModeoptions"simple"Text Splitting. One of simple, custom.
optionscollection{}
options.metadatafixed_collectionExtra metadata fields to attach to every document.
options.splitPagesbooleantrueSplit Pages. For PDF files, create one document per page.
options.separatorstring","CSV Separator.
options.columnstringCSV 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.documentDefaultDataLoader1unverified

Google Gemini Chat Model

ai.lm_chat_gemini · version 1 · AI sub-node

Gemini models through the Google Generative Language API.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
googlePalmApigoogle_gemini/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelNamestring"models/gemini-2.5-flash"Model. Identifier of the model to call, as listed by the provider. Values from lookup gemini.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.topKnumberTop K. Only sample from this many most likely tokens.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatGoogleGemini1unverified

Google Gemini Embeddings

ai.embeddings_gemini · version 1 · AI sub-node

Text embeddings from the Google Generative Language API.

Ports

PortKindLabelRequiredMax connections
output 0ai_embedding

Credentials

SlotAccepted kindsRequired
googlePalmApigoogle_gemini/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelNamestring"models/gemini-embedding-001"Model. Identifier of the model to call, as listed by the provider. Values from lookup gemini.models.
optionscollection{}Optional settings.
options.dimensionsnumberShorten vectors to this many dimensions when the model supports it.
options.batchSizenumber512Batch Size. How many texts to send per request.
options.stripNewLinesbooleantrueStrip New Lines. Replace line breaks with spaces before embedding.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini1unverified

Groq Chat Model

ai.lm_chat_groq · version 1 · AI sub-node

Open-weight models served on Groq hardware.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
groqApigroq/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"llama-3.3-70b-versatile"Identifier of the model to call, as listed by the provider. Values from lookup groq.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatGroq1unverified

HTTP Request Tool

ai.tool_http_request · version 1.1 · AI sub-node

Lets the model call an HTTP API.

Ports

PortKindLabelRequiredMax connections
output 0ai_tool

Credentials

SlotAccepted kindsRequired
httpHeaderAuthhttp.header
httpQueryAuthhttp.query
httpBasicAuthhttp.basic
httpBearerAuthhttp.bearer

Parameters

NameTypeDefaultRequiredShown whenDescription
toolDescriptionstringyesDescription. Tells the model what the API does and when to call it.
methodoptions"GET"One of GET, POST, PUT, PATCH, DELETE, HEAD.
urlstringyesURL. Use {name} for values the model fills in.
authenticationoptions"none"One of none, genericCredentialType.
genericAuthTypeoptionsauthentication = genericCredentialTypeCredential Type. One of httpHeaderAuth, httpQueryAuth, httpBasicAuth, httpBearerAuth.
sendQuerybooleanfalseSend Query.
specifyQueryoptions"keypair"sendQuery = trueQuery Format. One of keypair, json, model.
parametersQueryfixed_collectionsendQuery = true; specifyQuery = keypairQuery Parameters.
parametersQuery.valuescollection
parametersQuery.values.namestring
parametersQuery.values.valueProvideroptions"modelRequired"Value Source. One of modelRequired, modelOptional, fieldValue.
parametersQuery.values.valuestring
jsonQueryjsonsendQuery = true; specifyQuery = jsonQuery JSON.
sendHeadersbooleanfalseSend Headers.
specifyHeadersoptions"keypair"sendHeaders = trueHeaders Format. One of keypair, json, model.
parametersHeadersfixed_collectionsendHeaders = true; specifyHeaders = keypairHeaders Parameters.
parametersHeaders.valuescollection
parametersHeaders.values.namestring
parametersHeaders.values.valueProvideroptions"modelRequired"Value Source. One of modelRequired, modelOptional, fieldValue.
parametersHeaders.values.valuestring
jsonHeadersjsonsendHeaders = true; specifyHeaders = jsonHeaders JSON.
sendBodybooleanfalseSend Body.
specifyBodyoptions"keypair"sendBody = trueBody Format. One of keypair, json, model.
parametersBodyfixed_collectionsendBody = true; specifyBody = keypairBody Parameters.
parametersBody.valuescollection
parametersBody.values.namestring
parametersBody.values.valueProvideroptions"modelRequired"Value Source. One of modelRequired, modelOptional, fieldValue.
parametersBody.values.valuestring
jsonBodyjsonsendBody = true; specifyBody = jsonBody JSON.
placeholderDefinitionsfixed_collectionPlaceholder Definitions.
placeholderDefinitions.valuescollectionPlaceholder.
placeholderDefinitions.values.namestring
placeholderDefinitions.values.descriptionstring
placeholderDefinitions.values.typeoptions"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolHttpRequest1unverified

Item List Output Parser

ai.output_parser_item_list · version 1 · AI sub-node

Makes the model answer with a list of items.

Ports

PortKindLabelRequiredMax connections
output 0ai_outputParser

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
optionscollection
options.numberOfItemsnumber-1Number of Items. Maximum number of items to return; -1 for no limit.
options.separatorstring"\\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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.outputParserItemList1unverified

MCP Client Tool

ai.mcp_client_tool · version 1 · AI sub-node

Give an agent the tools of a Model Context Protocol server.

Ports

PortKindLabelRequiredMax connections
output 0ai_tool

Credentials

SlotAccepted kindsRequired
httpBearerAuthhttp.bearer
httpHeaderAuthhttp.header
mcpOAuth2Apimcp/oauth2

Parameters

NameTypeDefaultRequiredShown whenDescription
serverTransportoptions"httpStreamable"Transport. One of httpStreamable, sse, stdio.
endpointUrlstringserverTransport = httpStreamable, sseEndpoint. URL of the MCP server endpoint.
commandstringserverTransport = stdioProgram that starts the MCP server; requires exec permission.
argsstringserverTransport = stdioArguments. Arguments for the command, separated by spaces (quotes allowed).
envstringserverTransport = stdioEnvironment. Extra environment variables for the process, one NAME=value per line.
authenticationoptions"none"serverTransport = httpStreamable, sseOne of none, bearerAuth, headerAuth, mcpOAuth2Api.
includeoptions"all"Tools to Include. One of all, selected, except.
includeToolsmulti_optionsinclude = selectedTools to Include.
excludeToolsmulti_optionsinclude = exceptTools to Exclude.
optionscollection{}
options.timeoutnumber60000Timeout (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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.mcpClientTool1unverified

Mistral Chat Model

ai.lm_chat_mistral · version 1 · AI sub-node

Chat models hosted by Mistral AI.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
mistralCloudApimistral/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"mistral-small-latest"Identifier of the model to call, as listed by the provider. Values from lookup mistral.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.safeModebooleanfalseSafe Mode. Prepend the provider’s safety prompt.
options.randomSeednumberRandom Seed. Seed for reproducible sampling.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatMistralCloud1unverified

Mistral Embeddings

ai.embeddings_mistral · version 1 · AI sub-node

Text embeddings from Mistral AI.

Ports

PortKindLabelRequiredMax connections
output 0ai_embedding

Credentials

SlotAccepted kindsRequired
mistralCloudApimistral/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"mistral-embed"Identifier of the model to call, as listed by the provider. Values from lookup mistral.models.
optionscollection{}Optional settings.
options.dimensionsnumberShorten vectors to this many dimensions when the model supports it.
options.batchSizenumber512Batch Size. How many texts to send per request.
options.stripNewLinesbooleantrueStrip New Lines. Replace line breaks with spaces before embedding.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.embeddingsMistralCloud1unverified

Ollama Chat Model

ai.lm_chat_ollama · version 1 · AI sub-node

Local models served by an Ollama instance.

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
ollamaApiollama/api

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"llama3.2"Identifier of the model to call, as listed by the provider. Values from lookup ollama.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.topKnumberTop K. Only sample from this many most likely tokens.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.numCtxnumberContext Length. Context window size in tokens.
options.keepAlivestringKeep Alive. How long the model stays loaded after the request (for example 5m).
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatOllama1unverified

Ollama Embeddings

ai.embeddings_ollama · version 1 · AI sub-node

Text embeddings from a local Ollama instance.

Ports

PortKindLabelRequiredMax connections
output 0ai_embedding

Credentials

SlotAccepted kindsRequired
ollamaApiollama/api

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"nomic-embed-text"Identifier of the model to call, as listed by the provider. Values from lookup ollama.models.
optionscollection{}Optional settings.
options.dimensionsnumberShorten vectors to this many dimensions when the model supports it.
options.batchSizenumber512Batch Size. How many texts to send per request.
options.stripNewLinesbooleantrueStrip New Lines. Replace line breaks with spaces before embedding.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.embeddingsOllama1unverified

OpenAI Chat Model

ai.lm_chat_openai · version 1 · AI sub-node

Chat completions from OpenAI models (Chat Completions or Responses API).

Ports

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
openAiApiopenai/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"gpt-4o-mini"Identifier of the model to call, as listed by the provider. Values from lookup openai.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.reasoningEffortstringReasoning Effort. For reasoning models: how much effort to spend thinking (low, medium, high).
options.responsesApiEnabledbooleanfalseUse Responses API. Call the Responses endpoint instead of Chat Completions.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatOpenAi1unverified

OpenAI Embeddings

ai.embeddings_openai · version 1 · AI sub-node

Text embeddings from OpenAI.

Ports

PortKindLabelRequiredMax connections
output 0ai_embedding

Credentials

SlotAccepted kindsRequired
openAiApiopenai/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"text-embedding-3-small"Identifier of the model to call, as listed by the provider. Values from lookup openai.models.
optionscollection{}Optional settings.
options.dimensionsnumberShorten vectors to this many dimensions when the model supports it.
options.batchSizenumber512Batch Size. How many texts to send per request.
options.stripNewLinesbooleantrueStrip New Lines. Replace line breaks with spaces before embedding.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.embeddingsOpenAi1unverified

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

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
openAiCompatibleApiopenai_compatible/api

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstringyesIdentifier of the model to call, as listed by the provider. Values from lookup openai_compatible.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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

PortKindLabelRequiredMax connections
output 0ai_embedding

Credentials

SlotAccepted kindsRequired
openAiCompatibleApiopenai_compatible/api

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstringyesIdentifier of the model to call, as listed by the provider. Values from lookup openai_compatible.models.
optionscollection{}Optional settings.
options.dimensionsnumberShorten vectors to this many dimensions when the model supports it.
options.batchSizenumber512Batch Size. How many texts to send per request.
options.stripNewLinesbooleantrueStrip New Lines. Replace line breaks with spaces before embedding.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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

PortKindLabelRequiredMax connections
output 0ai_languageModel

Credentials

SlotAccepted kindsRequired
openRouterApiopenrouter/api_keyyes

Parameters

NameTypeDefaultRequiredShown whenDescription
modelstring"openai/gpt-4o-mini"Identifier of the model to call, as listed by the provider. Values from lookup openrouter.models.
optionscollection{}Optional settings.
options.temperaturenumberSampling Temperature. Higher values make answers more varied; lower values more deterministic.
options.maxTokensnumberMaximum Tokens. Upper bound on the number of tokens the model may generate.
options.topPnumberTop P. Nucleus sampling: only consider tokens within this cumulative probability.
options.frequencyPenaltynumberFrequency Penalty. Discourage repeating the same tokens.
options.presencePenaltynumberPresence Penalty. Encourage the model to introduce new topics.
options.responseFormatoptions"text"Response Format. Ask the model for free text or for a JSON object. One of text, json_object.
options.baseURLstringBase URL. Send requests to this API root instead of the provider default.
options.timeoutnumber600000Timeout (ms). Give up on a single request after this many milliseconds.
options.maxRetriesnumber2Max 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.lmChatOpenRouter1unverified

Postgres Chat Memory

ai.memory_postgres · version 1.3 · AI sub-node

Stores chat history in a Postgres table.

Ports

PortKindLabelRequiredMax connections
output 0ai_memory

Credentials

SlotAccepted kindsRequired
postgresproto.postgres, postgresyes

Parameters

NameTypeDefaultRequiredShown whenDescription
sessionIdTypeoptions"fromInput"Session ID. One of fromInput, customKey.
sessionKeystring"={{ $json.sessionId }}"sessionIdType = customKeySession Key.
contextWindowLengthnumber5Context Window Length. How many past exchanges are given to the model.
tableNamestring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.memoryPostgresChat1unverified

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

PortKindLabelRequiredMax connections
output 0ai_textSplitter

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
chunkSizenumber1000Chunk Size. Largest chunk to produce, measured in the splitter’s unit.
chunkOverlapnumber0Chunk Overlap. How much of the end of one chunk is repeated at the start of the next.
optionscollection{}
options.splitCodeoptionsSplit Code. Use separators that follow the structure of this language. 16 values, listed below.

Values of options.splitCode

ValueLabel
cppC++
goGo
javaJava
jsJavaScript
phpPHP
protoProtocol Buffers
pythonPython
rstreStructuredText
rubyRuby
rustRust
scalaScala
swiftSwift
markdownMarkdown
latexLaTeX
htmlHTML
solSolidity

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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter1unverified

Redis Chat Memory

ai.memory_redis · version 1.4 · AI sub-node

Stores chat history in Redis.

Ports

PortKindLabelRequiredMax connections
output 0ai_memory

Credentials

SlotAccepted kindsRequired
redisproto.redis, redisyes

Parameters

NameTypeDefaultRequiredShown whenDescription
sessionIdTypeoptions"fromInput"Session ID. One of fromInput, customKey.
sessionKeystring"={{ $json.sessionId }}"sessionIdType = customKeySession Key.
contextWindowLengthnumber5Context Window Length. How many past exchanges are given to the model.
sessionTTLnumber0Session 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.memoryRedisChat1unverified

Structured Output Parser

ai.output_parser_structured · version 1.3 · AI sub-node

Makes the model answer with JSON matching a schema.

Ports

PortKindLabelRequiredMax connections
input 0ai_languageModel1
output 0ai_outputParser

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
schemaTypeoptions"fromJson"Schema Source. One of fromJson, manual.
jsonSchemaExamplejson"{\n \"answer\": \"text\"\n}"schemaType = fromJsonJSON Example.
inputSchemajsonschemaType = manualJSON Schema.
autoFixbooleanfalseRepair Invalid Output. Ask the connected model to repair output that does not match the schema.
promptstringautoFix = trueRepair 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.outputParserStructured1unverified

Think

ai.tool_think · version 1 · AI sub-node

Gives the model a scratchpad to reason before it acts.

Ports

PortKindLabelRequiredMax connections
output 0ai_tool

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
descriptionstring"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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolThink1unverified

Token Text Splitter

ai.text_splitter_token · version 1 · AI sub-node

Split text into windows of model tokens (cl100k_base encoding).

Ports

PortKindLabelRequiredMax connections
output 0ai_textSplitter

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
chunkSizenumber1000Chunk Size. Largest chunk to produce, measured in the splitter’s unit.
chunkOverlapnumber0Chunk 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter1unverified

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

PortKindLabelRequiredMax connections
input 0ai_vectorStoreVector Storeyes1
input 1ai_languageModelModelyes1
output 0ai_tool

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
namestringData Name. Short name of the data, used as the tool name.
descriptionstringDescription of Data. Tell the agent what the documents contain and when to ask about them.
topKnumber4Limit. 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolVectorStore1unverified

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

PortKindLabelRequiredMax connections
input 0ai_vectorStoreVector Storeyes1
output 0ai_retriever

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
topKnumber4Limit. 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.retrieverVectorStore1unverified

Window Buffer Memory

ai.memory_buffer_window · version 1.3 · AI sub-node

Keeps recent chat history in process memory.

Ports

PortKindLabelRequiredMax connections
output 0ai_memory

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
sessionIdTypeoptions"fromInput"Session ID. One of fromInput, customKey.
sessionKeystring"={{ $json.sessionId }}"sessionIdType = customKeySession Key.
contextWindowLengthnumber5Context 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.memoryBufferWindow1unverified

Workflow Tool

ai.tool_workflow · version 2 · AI sub-node

Lets the model run another workflow.

Ports

PortKindLabelRequiredMax connections
output 0ai_tool

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
namestringTool Name.
descriptionstringyesTells the model what the workflow does and when to use it.
sourceoptions"database"One of database, parameter.
workflowIdresource_locatorsource = databaseWorkflow.
workflowJsonjsonsource = parameterWorkflow JSON.
workflowInputsresource_mapperWorkflow Inputs. Values passed to the workflow; use $fromAI() for values the model decides.
responsePropertyNamestring"response"Field to Return.
fieldsfixed_collectionExtra Fields.
fields.valuescollectionField.
fields.values.namestring
fields.values.typeoptions"stringValue"One of stringValue, numberValue, booleanValue, arrayValue, objectValue.
fields.values.stringValuestringValue.
specifyInputSchemabooleanfalseDefine Argument Schema.
schemaTypeoptions"fromJson"specifyInputSchema = trueSchema Source. One of fromJson, manual.
jsonSchemaExamplejsonschemaType = fromJson; specifyInputSchema = trueJSON Example.
inputSchemajsonschemaType = manual; specifyInputSchema = trueJSON 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 typeVersion rangeStatusFixtures
@n8n/n8n-nodes-langchain.toolWorkflow1unverified
@n8n/n8n-nodes-langchain.toolWorkflow>=2 <3unverified

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_version internally. Their mapping files only declare target kind + version ranges.
  • SaaS integrations are declarative connectors: kind connector.<id> (actions) and connector.<id>_trigger (triggers). Their parameters are {resource, operation, ...connector params}; mapping files in mappings/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)

n8ntappet
base.manualTriggercore.manual_trigger
base.webhookcore.webhook
base.respondToWebhookcore.respond_to_webhook
base.scheduleTriggercore.schedule_trigger
base.croncore.cron
base.intervalcore.interval
base.executeWorkflowTriggercore.execute_workflow_trigger
base.errorTriggercore.error_trigger
base.formTriggercore.form_trigger
base.waitcore.wait
base.ifcore.if
base.switchcore.switch
base.mergecore.merge
base.filtercore.filter
base.splitInBatchescore.split_in_batches
base.noOpcore.no_op
base.stopAndErrorcore.stop_and_error
base.executeWorkflowcore.execute_workflow
base.setcore.set
base.renameKeyscore.rename_keys
base.splitOutcore.split_out
base.aggregatecore.aggregate
base.summarizecore.summarize
base.sortcore.sort
base.limitcore.limit
base.removeDuplicatescore.remove_duplicates
base.compareDatasetscore.compare_datasets
base.itemListscore.item_lists
base.dateTimecore.date_time
base.cryptocore.crypto
base.xmlcore.xml
base.htmlcore.html
base.markdowncore.markdown
base.convertToFilecore.convert_to_file
base.extractFromFilecore.extract_from_file
base.spreadsheetFilecore.spreadsheet_file
base.codecore.code
base.functioncore.function
base.functionItemcore.function_item
base.stickyNotecore.sticky_note
base.executeCommandcore.execute_command (exec class)
base.readWriteFilecore.read_write_file (exec class)
base.httpRequestcore.http_request (crate tappet-http)

Protocol (crate tappet-proto)

n8ntappet
base.postgresproto.postgres
base.postgresTriggerproto.postgres_trigger
base.mySqlproto.mysql
base.microsoftSqlproto.mssql
base.mongoDbproto.mongodb
base.redisproto.redis
base.redisTriggerproto.redis_trigger
base.awsS3 / base.s3proto.s3
base.emailSendproto.smtp_send
base.emailReadImapproto.imap_trigger
base.ftpproto.ftp
base.sshproto.ssh (exec class)
base.kafka / base.kafkaTriggerproto.kafka / proto.kafka_trigger
base.rabbitmq / base.rabbitmqTriggerproto.rabbitmq / proto.rabbitmq_trigger
base.mqtt / base.mqttTriggerproto.mqtt / proto.mqtt_trigger
(none)proto.clickhouse

AI (crate tappet-ai)

n8ntappet
lc.agentai.agent
lc.chainLlmai.chain_llm
lc.chainRetrievalQaai.chain_retrieval_qa
lc.chainSummarizationai.chain_summarization
lc.informationExtractorai.information_extractor
lc.textClassifierai.text_classifier
lc.sentimentAnalysisai.sentiment_analysis
lc.chatTriggerai.chat_trigger
lc.mcpTriggerai.mcp_trigger
lc.lmChatOpenAiai.lm_chat_openai
lc.lmChatAnthropicai.lm_chat_anthropic
lc.lmChatGoogleGeminiai.lm_chat_gemini
lc.lmChatMistralCloudai.lm_chat_mistral
lc.lmChatGroqai.lm_chat_groq
lc.lmChatOllamaai.lm_chat_ollama
lc.lmChatOpenRouterai.lm_chat_openrouter
lc.lmChatDeepSeekai.lm_chat_deepseek
lc.embeddingsOpenAiai.embeddings_openai
lc.embeddingsGoogleGeminiai.embeddings_gemini
lc.embeddingsMistralCloudai.embeddings_mistral
lc.embeddingsOllamaai.embeddings_ollama
lc.memoryBufferWindowai.memory_buffer_window
lc.memoryPostgresChatai.memory_postgres
lc.memoryRedisChatai.memory_redis
lc.outputParserStructuredai.output_parser_structured
lc.outputParserAutofixingai.output_parser_autofixing
lc.outputParserItemListai.output_parser_item_list
lc.toolWorkflowai.tool_workflow
lc.toolHttpRequestai.tool_http_request
lc.toolCodeai.tool_code
lc.toolCalculatorai.tool_calculator
lc.toolThinkai.tool_think
lc.toolVectorStoreai.tool_vector_store
lc.mcpClientToolai.mcp_client_tool
lc.vectorStoreQdrantai.vector_store_qdrant
lc.vectorStorePGVectorai.vector_store_pgvector
lc.vectorStoreInMemoryai.vector_store_memory
lc.retrieverVectorStoreai.retriever_vector_store
lc.documentDefaultDataLoaderai.document_default_loader
lc.textSplitterRecursiveCharacterTextSplitterai.text_splitter_recursive
lc.textSplitterCharacterTextSplitterai.text_splitter_character
lc.textSplitterTokenSplitterai.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.

ConnectorIDCategoriesOperationsTriggersImport
AssemblyAIassemblyaiai132none
Coherecohereai80none
Deepgramdeepgramai112none
Discorddiscordcommunication361unverified 1, >=2 <3
Gmailgmailcommunication, email291unverified >=2 <3, >=1 <2
Google BigQuerygoogle_bigquerydata, database120unverified >=1 <2, >=2 <3
Google Calendargoogle_calendarproductivity, calendar165unverified >=1 <1.3, >=1.3 <2, >=1 <2
Google Docsgoogle_docsproductivity, documents40unverified >=1 <3
Google Drivegoogle_drivestorage, productivity193unverified >=3 <4, >=1 <2
Google Sheetsgoogle_sheetsproductivity, data152unverified >=4 <5, >=1 <2
Google Tasksgoogle_tasksproductivity, tasks132unverified >=1 <2
HTTPBin Examplehttpbin_exampledeveloper_tools142none
Hacker Newshacker_newsnews, social41none
Hugging Facehugging_faceai81none
Matrixmatrixcommunication271unverified 1
Mattermostmattermostcommunication402unverified 1
Mistral AImistralai171unverified >=1 <2
OpenWeatherMapopenweathermapweather, data30none
Perplexityperplexityai50unverified >=1 <2
Pineconepineconeai, database160none
Replicatereplicateai242none
Slackslackcommunication474unverified 1, >=2 <3
Telegramtelegramcommunication302unverified >=1 <2
YouTubeyoutubesocial, video232unverified >=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

MethodCredential kindAuth kindFieldsTest request
API keyassemblyai/api_keyapi_keyapi_key (secret), regionyes

Actions

Node type connector.assemblyai. Choose a resource and an operation; each operation has its own parameters.

Transcript

OperationIDEffectPaginatedCassette tests
Submit audio from a URLtranscript.createwrites3
Submit an audio filetranscript.create_from_filewrites1
Transcribe and waittranscript.transcribewrites2
Get a transcripttranscript.getreads1
List transcriptstranscript.listreadsyes1
Delete a transcripttranscript.deletewrites1
Get sentencestranscript.get_sentencesreads1
Get paragraphstranscript.get_paragraphsreads1
Get subtitlestranscript.get_subtitlesreads1
Search wordstranscript.word_searchreads1
Get redacted audio URLtranscript.get_redacted_audioreads1

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.

NameTypeDefaultRequiredShown whenDescription
audio_urlstringyesAudio URL.
optionscollection
options.speech_modelsstringComma-separated, in order of preference (for example assemblyai-stt-3-7).
options.language_codestring
options.language_detectionbooleanfalseDetect language.
options.speaker_labelsbooleanfalse
options.speakers_expectednumberExpected speakers.
options.multichannelbooleanfalse
options.punctuatebooleantrue
options.format_textbooleantrue
options.keyterms_promptstringKey terms. Comma-separated domain terms.
options.promptstringContext prompt. Context for the speech model (assemblyai-stt-3-7 only).
options.audio_start_fromnumberStart at (ms).
options.audio_end_atnumberEnd at (ms).
options.sentiment_analysisbooleanfalse
options.entity_detectionbooleanfalse
options.iab_categoriesbooleanfalseTopic detection.
options.content_safetybooleanfalseContent moderation.
options.auto_highlightsbooleanfalseKey phrases.
options.redact_piibooleanfalseRedact PII.
options.redact_pii_policiesmulti_optionsPII policies. 14 values, listed below.
options.redact_pii_suboptionsPII substitution. One of entity_name, hash.
options.redact_pii_audiobooleanfalseCreate redacted audio.
options.webhook_urlstringWebhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL).
options.webhook_auth_header_namestring"X-Webhook-Token"Webhook auth header.
options.webhook_auth_header_valuestringWebhook auth value.
Values of options.redact_pii_policies
ValueLabel
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.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.
optionscollection
options.speech_modelsstringComma-separated, in order of preference (for example assemblyai-stt-3-7).
options.language_codestring
options.language_detectionbooleanfalseDetect language.
options.speaker_labelsbooleanfalse
options.speakers_expectednumberExpected speakers.
options.multichannelbooleanfalse
options.punctuatebooleantrue
options.format_textbooleantrue
options.keyterms_promptstringKey terms. Comma-separated domain terms.
options.promptstringContext prompt. Context for the speech model (assemblyai-stt-3-7 only).
options.audio_start_fromnumberStart at (ms).
options.audio_end_atnumberEnd at (ms).
options.sentiment_analysisbooleanfalse
options.entity_detectionbooleanfalse
options.iab_categoriesbooleanfalseTopic detection.
options.content_safetybooleanfalseContent moderation.
options.auto_highlightsbooleanfalseKey phrases.
options.redact_piibooleanfalseRedact PII.
options.redact_pii_policiesmulti_optionsPII policies. 14 values, listed below.
options.redact_pii_suboptionsPII substitution. One of entity_name, hash.
options.redact_pii_audiobooleanfalseCreate redacted audio.
options.webhook_urlstringWebhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL).
options.webhook_auth_header_namestring"X-Webhook-Token"Webhook auth header.
options.webhook_auth_header_valuestringWebhook auth value.
Values of options.redact_pii_policies
ValueLabel
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.

NameTypeDefaultRequiredShown whenDescription
sourceoptions"url"Audio from. One of url, binary.
audio_urlstringyessource = urlAudio URL.
binary_propertybinary_property"data"yessource = binaryInput binary field.
optionscollection
options.speech_modelsstringComma-separated, in order of preference (for example assemblyai-stt-3-7).
options.language_codestring
options.language_detectionbooleanfalseDetect language.
options.speaker_labelsbooleanfalse
options.speakers_expectednumberExpected speakers.
options.multichannelbooleanfalse
options.punctuatebooleantrue
options.format_textbooleantrue
options.keyterms_promptstringKey terms. Comma-separated domain terms.
options.promptstringContext prompt. Context for the speech model (assemblyai-stt-3-7 only).
options.audio_start_fromnumberStart at (ms).
options.audio_end_atnumberEnd at (ms).
options.sentiment_analysisbooleanfalse
options.entity_detectionbooleanfalse
options.iab_categoriesbooleanfalseTopic detection.
options.content_safetybooleanfalseContent moderation.
options.auto_highlightsbooleanfalseKey phrases.
options.redact_piibooleanfalseRedact PII.
options.redact_pii_policiesmulti_optionsPII policies. 14 values, listed below.
options.redact_pii_suboptionsPII substitution. One of entity_name, hash.
options.redact_pii_audiobooleanfalseCreate redacted audio.
options.webhook_urlstringWebhook URL. AssemblyAI POSTs {transcript_id, status} here when done (for example this connector’s trigger URL).
options.webhook_auth_header_namestring"X-Webhook-Token"Webhook auth header.
options.webhook_auth_header_valuestringWebhook auth value.
poll_interval_secondsnumber3Poll every (seconds).
timeout_secondsnumber1800Give up after (seconds).
simplifybooleanfalseSimplify output. Return id, status, text, utterances, language and duration only.
Values of options.redact_pii_policies
ValueLabel
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.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.
simplifybooleanfalseSimplify output. Return id, status, text, utterances, language and duration only.

List transcripts

Operation transcript.list. Newest first; covers the last 30 days.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
statusoptionsOne of queued, processing, completed, error.
created_onstringCreated on (YYYY-MM-DD).

Delete a transcript

Operation transcript.delete. Removes the transcript text and audio from AssemblyAI; the id remains with status deleted.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.

Get sentences

Operation transcript.get_sentences.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.

Get paragraphs

Operation transcript.get_paragraphs.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.

Get subtitles

Operation transcript.get_subtitles.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.
formatoptions"srt"One of srt, vtt.
chars_per_captionnumberCharacters per caption.

Search words

Operation transcript.word_search.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.
wordsstringyesComma-separated words or phrases.

Get redacted audio URL

Operation transcript.get_redacted_audio.

NameTypeDefaultRequiredShown whenDescription
transcript_idresource_locatoryesTranscript. Values from lookup transcripts.

File

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites1

Upload a file

Operation file.upload. Uploads audio to AssemblyAI storage and returns a private upload_url usable as audio_url.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.

LLM Gateway

OperationIDEffectPaginatedCassette tests
Prompt a modelllm.chatwrites1

Prompt a model

Operation llm.chat. Chat completion through the LLM Gateway, optionally with a transcript’s text as context.

NameTypeDefaultRequiredShown whenDescription
modelstringyes
transcript_idresource_locatorTranscript as context. Its text is added as a system message before your messages. Values from lookup transcripts.
messagesfixed_collectionyes
messages.roleoptions"user"One of system, user, assistant.
messages.contentstringyes
max_tokensnumber1000
temperaturenumber
simplifybooleantrueSimplify output.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
transcriptsclient-side{{ item.audio_url }}

Triggers

Node type connector.assemblyai_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On transcript webhooktranscript_webhookwebhooktokenmanual0
On transcript finishedtranscript_completedpoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
tokenstringyesWebhook token. Must equal the Webhook auth value sent with the transcript.
statusesmulti_options["completed","error"]One of completed, error.

Trigger: On transcript finished

Polls recent transcripts and emits each one once it completes (or fails).

NameTypeDefaultRequiredShown whenDescription
statusoptions"completed"One of completed, error.

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API keycohere/api_keybearertoken (secret)yes

Actions

Node type connector.cohere. Choose a resource and an operation; each operation has its own parameters.

Chat

OperationIDEffectPaginatedCassette tests
Send chat messageschat.completewrites3

Send chat messages

Operation chat.complete. Generates a reply with a Command model, optionally grounded on documents with citations.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"command-a-03-2025"yesValues from lookup chat_models.
messagesfixed_collectionyes
messages.roleoptions"user"One of system, user, assistant.
messages.contentstringyes
documentsjsonGrounding documents. JSON array of strings or {id, data} objects the reply may cite.
optionscollection
options.temperaturenumber
options.max_tokensnumber
options.pnumberTop P.
options.knumberTop K.
options.seednumber
options.stop_sequencesstringComma-separated (up to 5).
options.frequency_penaltynumber
options.presence_penaltynumber
options.safety_modeoptionsOne of CONTEXTUAL, STRICT, OFF.
options.citation_modeoptionsOne of FAST, ACCURATE, OFF.
options.json_outputbooleanfalseJSON output.
options.json_schemajsonJSON schema. Schema the JSON output must follow (requires JSON output).
options.thinkingoptionsReasoning. One of enabled, disabled.
options.thinking_budgetnumberReasoning token budget.
simplifybooleantrueSimplify output. Return reply text, citations and usage only.

Embedding

OperationIDEffectPaginatedCassette tests
Create embeddingsembedding.createreads2

Create embeddings

Operation embedding.create.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"embed-v4.0"yesValues from lookup embed_models.
input_typeoptions"search_document"yesOne of search_document, search_query, classification, clustering.
input_modeoptions"single"Input. One of single, batch.
textstringyesinput_mode = single
textsjsonyesinput_mode = batchJSON array of up to 96 strings.
embedding_typeoptions"float"One of float, int8, uint8, binary, ubinary, base64.
output_dimensionoptionsembed-v4.0 and newer only. One of 256, 512, 1024, 1536.
truncateoptions"END"One of NONE, START, END.

Rerank

OperationIDEffectPaginatedCassette tests
Rerank documentsrerank.runreads1

Rerank documents

Operation rerank.run. Orders documents by relevance to a query. One output item per returned document.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"rerank-v3.5"yesValues from lookup rerank_models.
querystringyes
documentsjsonyesJSON array of strings (structured documents should be serialized to YAML or text first).
top_nnumberTop N. Return only the best N documents.
max_tokens_per_docnumber4096Max tokens per document.

Classification

OperationIDEffectPaginatedCassette tests
Classify textclassification.classifyreads1

Classify text

Operation classification.classify. Labels text using a fine-tuned classifier or few-shot examples.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup classify_models.
inputsjsonyesTexts. JSON array of strings to classify (up to 96).
examplesfixed_collectionLabeled examples, needed when the model is not a fine-tuned classifier.
examples.textstringyes
examples.labelstringyes
truncateoptions"END"One of NONE, START, END.

Tokenizer

OperationIDEffectPaginatedCassette tests
Tokenize texttokenizer.tokenizereads1
Detokenize tokenstokenizer.detokenizereads1

Tokenize text

Operation tokenizer.tokenize.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup chat_models.
textstringyes

Detokenize tokens

Operation tokenizer.detokenize.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup chat_models.
tokensjsonyesJSON array of token ids.

Model

OperationIDEffectPaginatedCassette tests
List modelsmodel.listreadsyes1
Get a modelmodel.getreads1

List models

Operation model.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
endpointoptionsCompatible with. One of chat, embed, classify, rerank, generate, summarize.

Get a model

Operation model.get.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup chat_models.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
chat_modelsclient-side
embed_modelsclient-side
rerank_modelsclient-side
classify_modelsclient-side

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API keydeepgram/api_keyapi_keyapi_key (secret)yes
Temporary access token (JWT)deepgram/access_tokenbearertoken (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.

OperationIDEffectPaginatedCassette tests
Transcribe audio from a URLtranscription.transcribe_urlwrites3
Transcribe an audio filetranscription.transcribe_binarywrites1

Transcribe audio from a URL

Operation transcription.transcribe_url.

NameTypeDefaultRequiredShown whenDescription
urlstringyesAudio URL.
modelresource_locator"nova-3"Values from lookup stt_models.
optionscollection
options.languagestringLanguage (BCP-47).
options.detect_languagebooleanfalse
options.smart_formatbooleantrueSmart formatting.
options.punctuatebooleanfalsePunctuation.
options.paragraphsbooleanfalse
options.utterancesbooleanfalse
options.utt_splitnumberUtterance split (seconds).
options.diarizebooleanfalseSpeaker diarization.
options.multichannelbooleanfalse
options.numeralsbooleanfalse
options.profanity_filterbooleanfalse
options.filler_wordsbooleanfalse
options.measurementsbooleanfalse
options.dictationbooleanfalseDictation commands.
options.redactmulti_optionsOne of pci, pii, numbers.
options.keytermstringKey terms (Nova-3). Comma-separated terms to boost.
options.keywordsstringKeywords (older models). Comma-separated, optionally with intensifiers such as word:2.
options.searchstringSearch terms. Comma-separated.
options.replacestringReplacements. Comma-separated find:replace pairs.
options.summarizebooleanfalse
options.topicsbooleanfalse
options.intentsbooleanfalse
options.sentimentbooleanfalse
options.detect_entitiesbooleanfalseEntities.
options.tagstringUsage tag.
options.callbackstringCallback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL).
options.callback_secretstringEchoed back in metadata.extra.callback_secret so the receiver can check it.
options.mip_opt_outbooleanfalseOpt out of model improvement.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.

Transcribe an audio file

Operation transcription.transcribe_binary.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.
modelresource_locator"nova-3"Values from lookup stt_models.
optionscollection
options.languagestringLanguage (BCP-47).
options.detect_languagebooleanfalse
options.smart_formatbooleantrueSmart formatting.
options.punctuatebooleanfalsePunctuation.
options.paragraphsbooleanfalse
options.utterancesbooleanfalse
options.utt_splitnumberUtterance split (seconds).
options.diarizebooleanfalseSpeaker diarization.
options.multichannelbooleanfalse
options.numeralsbooleanfalse
options.profanity_filterbooleanfalse
options.filler_wordsbooleanfalse
options.measurementsbooleanfalse
options.dictationbooleanfalseDictation commands.
options.redactmulti_optionsOne of pci, pii, numbers.
options.keytermstringKey terms (Nova-3). Comma-separated terms to boost.
options.keywordsstringKeywords (older models). Comma-separated, optionally with intensifiers such as word:2.
options.searchstringSearch terms. Comma-separated.
options.replacestringReplacements. Comma-separated find:replace pairs.
options.summarizebooleanfalse
options.topicsbooleanfalse
options.intentsbooleanfalse
options.sentimentbooleanfalse
options.detect_entitiesbooleanfalseEntities.
options.tagstringUsage tag.
options.callbackstringCallback URL. Process asynchronously and POST the result here (for example the Deepgram trigger URL).
options.callback_secretstringEchoed back in metadata.extra.callback_secret so the receiver can check it.
options.mip_opt_outbooleanfalseOpt out of model improvement.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.

Speech

Text to speech with Aura voices.

OperationIDEffectPaginatedCassette tests
Convert text to speechspeech.synthesizewrites1

Convert text to speech

Operation speech.synthesize.

NameTypeDefaultRequiredShown whenDescription
textstringyes
modelresource_locator"aura-2-thalia-en"yesVoice. Values from lookup tts_models.
encodingoptions"mp3"One of mp3, linear16, flac, mulaw, alaw, opus, aac.
containeroptionsOnly for linear16/mulaw/alaw (wav) and opus (ogg). One of none, wav, ogg.
sample_ratenumber
bit_ratenumber
speednumberSpeaking rate multiplier.
output_propertystring"data"Output binary field.

Text intelligence

OperationIDEffectPaginatedCassette tests
Analyze texttext.analyzereads1

Analyze text

Operation text.analyze. Summary, topics, intents and sentiment for a text or a URL to a text document.

NameTypeDefaultRequiredShown whenDescription
sourceoptions"text"One of text, url.
textstringyessource = text
urlstringyessource = urlURL.
languagestring"en"
summarizebooleantrue
topicsbooleanfalse
intentsbooleanfalse
sentimentbooleanfalse

Project

OperationIDEffectPaginatedCassette tests
List projectsproject.listreads1
Get a projectproject.getreads1
Get balancesproject.get_balancesreads1
List API keysproject.list_keysreads1

List projects

Operation project.list.

This node has no parameters.

Get a project

Operation project.get.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

Get balances

Operation project.get_balances.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

List API keys

Operation project.list_keys.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.

Request log

Past API requests of a project, with their results.

OperationIDEffectPaginatedCassette tests
List requestsrequest_log.listreadsyes1
Get a requestrequest_log.getreads1

List requests

Operation request_log.list.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
return_allbooleanfalse
limitnumber50return_all = false
startdatetimeFrom.
enddatetimeTo.
statusoptionsOne of succeeded, failed.

Get a request

Operation request_log.get.

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
request_idstringyesRequest ID.

Model

OperationIDEffectPaginatedCassette tests
List modelsmodel.listreads1

List models

Operation model.list.

NameTypeDefaultRequiredShown whenDescription
kindoptions"all"One of all, stt, tts.
include_outdatedbooleanfalseInclude outdated versions.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
projectsclient-side
stt_modelsclient-side
tts_modelsclient-side

Triggers

Node type connector.deepgram_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On transcription callbacktranscription_callbackwebhookmanual0
On API request completedrequest_completedpoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
callback_secretstringMust match the secret sent with the transcription request. Leave empty to accept any callback.
simplifybooleantrueSimplify output. Return transcript, confidence, words and analysis results only.
optionscollection
options.multichannelbooleanfalseMultichannel output.

Trigger: On API request completed

Polls a project’s request log and emits each finished request (for example transcriptions run elsewhere).

NameTypeDefaultRequiredShown whenDescription
project_idresource_locatoryesProject. Values from lookup projects.
statusoptionsOne of succeeded, failed.

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Bot tokendiscord/bot_tokenbearertoken (secret)yes
OAuth2 (user access)discord/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Webhook URLdiscord/webhookapi_keywebhook_url (secret)yes
No credential (webhook URL parameter)discord/nonenone

Actions

Node type connector.discord. Choose a resource and an operation; each operation has its own parameters.

Message

OperationIDEffectPaginatedCassette tests
Send a messagemessage.sendwrites3
Send a message with a filemessage.send_filewrites1
Get a messagemessage.getreads2
List messagesmessage.listreadsyes1
Edit a messagemessage.updatewrites1
Delete a messagemessage.deletewrites1
Delete many messagesmessage.bulk_deletewrites1
Add a reactionmessage.reactwrites2
Remove own reactionmessage.remove_reactionwrites1
Pin a messagemessage.pinwrites1
Unpin a messagemessage.unpinwrites1
List pinned messagesmessage.list_pinsreadsyes1

Send a message

Operation message.send.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorServer whose channels are listed in the channel picker. Values from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
contentstringMessage text (up to 2000 characters).
embedsjsonArray of up to 10 embed objects.
componentsjsonArray of action rows (buttons, select menus).
reply_tostringID of a message to reply to.
ttsbooleanfalse
suppress_embedsbooleanfalse
silentbooleanfalseSend without a push notification.
flagsmulti_optionsMessage flags by name (same effect as the switches above). One of SUPPRESS_EMBEDS, SUPPRESS_NOTIFICATIONS.
allowed_mentionsjsonAllowed mentions object, for example {“parse”: [“users”]}.
sticker_idsjsonUp to 3 sticker IDs.

Send a message with a file

Operation message.send_file.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
binary_propertybinary_property"data"yes
file_namestringDefaults to the binary file name.
file_descriptionstringAlt text for the attachment.
contentstring
embedsjson
reply_tostring
silentbooleanfalse

Get a message

Operation message.get.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.

List messages

Operation message.list. Lists channel messages, newest first.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
beforestringOnly messages older than this message ID.
return_allbooleanfalse
limitnumber50return_all = false

Edit a message

Operation message.update.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.
contentstring
embedsjson
componentsjson
suppress_embedsboolean

Delete a message

Operation message.delete.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends 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.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messagesstringyesMessage IDs as an array or a comma-separated list (2 to 100).

Add a reaction

Operation message.react.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.
emojistringyesUnicode emoji, or name:id for a custom emoji.

Remove own reaction

Operation message.remove_reaction.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.
emojistringyes

Pin a message

Operation message.pin.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.

Unpin a message

Operation message.unpin.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
messageresource_locatoryesDepends on channel. Values from lookup messages.

List pinned messages

Operation message.list_pins.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
return_allbooleanfalse
limitnumber50return_all = false

Channel

OperationIDEffectPaginatedCassette tests
Create a channelchannel.createwrites1
Get a channelchannel.getreads1
List server channelschannel.listreads1
Update a channelchannel.updatewrites1
Delete a channelchannel.deletewrites1

Create a channel

Operation channel.create.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
namestringyes
typeoptions0One of 0, 2, 4, 5, 13, 15.
topicstring
parent_idstringID of the category to place the channel in.
nsfwboolean
rate_limit_per_usernumberSlow mode in seconds (0-21600).
positionnumber

Get a channel

Operation channel.get.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.

List server channels

Operation channel.list.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
typesmulti_optionsOnly these channel types. Leave empty for all. One of 0, 2, 4, 5, 13, 15.
return_allbooleantrue
limitnumber50return_all = false

Update a channel

Operation channel.update.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.
namestring
topicstring
parent_idstringID of the category to move the channel to.
nsfwboolean
rate_limit_per_usernumber
positionnumber

Delete a channel

Operation channel.delete.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends on guild. Values from lookup channels.

Member

OperationIDEffectPaginatedCassette tests
List server membersmember.listreadsyes1
Search server membersmember.searchreads1
Get a membermember.getreads1
Add roles to a membermember.add_rolewrites1
Remove roles from a membermember.remove_rolewrites1
Remove a member from the servermember.kickwrites1
Ban a usermember.banwrites1
Remove a banmember.unbanwrites1

List server members

Operation member.list. Needs the Server Members privileged intent enabled for the bot.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
return_allbooleanfalse
limitnumber50return_all = false

Search server members

Operation member.search.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
querystringyesMatches the start of usernames and nicknames.
limitnumber50

Get a member

Operation member.get.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.

Add roles to a member

Operation member.add_role.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.
rolesmulti_optionsyesDepends on guild. Values from lookup roles.

Remove roles from a member

Operation member.remove_role.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.
rolesmulti_optionsyesDepends on guild. Values from lookup roles.

Remove a member from the server

Operation member.kick.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.
reasonstringShown in the audit log.

Ban a user

Operation member.ban.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.
delete_message_secondsnumber0Delete their messages from this many seconds back (max 604800).
reasonstring

Remove a ban

Operation member.unban.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
userstringyesID of the banned user.

Server

OperationIDEffectPaginatedCassette tests
List the bot’s serversguild.listreadsyes1
Get a serverguild.getreads1

List the bot’s servers

Operation guild.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleantrue
limitnumber50return_all = false

Get a server

Operation guild.get.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.
with_countsbooleantrueInclude approximate member and presence counts.

Role

OperationIDEffectPaginatedCassette tests
List server rolesrole.listreads1

List server roles

Operation role.list.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatoryesValues from lookup guilds.

User

OperationIDEffectPaginatedCassette tests
Get the current user or botuser.get_mereads2
Get a useruser.getreads1
Send a direct messageuser.send_dmwrites1

Get the current user or bot

Operation user.get_me.

This node has no parameters.

Get a user

Operation user.get.

NameTypeDefaultRequiredShown whenDescription
userstringyesUser ID.

Send a direct message

Operation user.send_dm. Opens (or reuses) the DM channel with a user and posts a message to it.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorServer whose members are listed in the user picker. Values from lookup guilds.
userresource_locatoryesDepends on guild. Values from lookup members.
contentstring
embedsjson
componentsjson

Webhook

Posts through a channel webhook URL; no bot needed.

OperationIDEffectPaginatedCassette tests
Send a messagewebhook.sendwrites2
Send a message with a filewebhook.send_filewrites1
Get a webhook messagewebhook.get_messagereads1
Edit a webhook messagewebhook.edit_messagewrites1
Delete a webhook messagewebhook.delete_messagewrites1

Send a message

Operation webhook.send.

NameTypeDefaultRequiredShown whenDescription
webhook_urlstringOverrides the URL stored in the webhook credential.
contentstring
usernamestringOverride the webhook’s name.
avatar_urlstring
embedsjson
componentsjsonOnly for webhooks owned by an application.
ttsbooleanfalse
allowed_mentionsjson
thread_idstringPost into this thread of the webhook’s channel.
thread_namestringCreate a forum post with this name (forum channels).
silentbooleanfalse
suppress_embedsbooleanfalse
flagsmulti_optionsMessage 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.

NameTypeDefaultRequiredShown whenDescription
webhook_urlstring
binary_propertybinary_property"data"yes
file_namestring
contentstring
usernamestring
avatar_urlstring
thread_idstring

Get a webhook message

Operation webhook.get_message.

NameTypeDefaultRequiredShown whenDescription
webhook_urlstring
messagestringyes
thread_idstring

Edit a webhook message

Operation webhook.edit_message.

NameTypeDefaultRequiredShown whenDescription
webhook_urlstring
messagestringyes
contentstring
embedsjson
thread_idstring

Delete a webhook message

Operation webhook.delete_message.

NameTypeDefaultRequiredShown whenDescription
webhook_urlstring
messagestringyes
thread_idstring

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
guildsclient-side
channelsguildclient-side
messageschannelclient-side
rolesguildclient-side
membersguildclient-side@{{ item.user.username }}

Triggers

Node type connector.discord_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New message in channel (polling)new_messagepoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
guildresource_locatorValues from lookup guilds.
channelresource_locatoryesDepends 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 typeVersion rangeStatusFixtures
n8n-nodes-base.discord1unverified
n8n-nodes-base.discord>=2 <3unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)gmail/oauth2oauth2_auth_codeclient_id, client_secret (secret), scopesyes
Service account (Workspace)gmail/service_accountjwt_service_accountclient_email, private_key (secret), subject, scopesyes

Actions

Node type connector.gmail. Choose a resource and an operation; each operation has its own parameters.

Message

OperationIDEffectPaginatedCassette tests
Send an emailmessage.sendwrites4
Reply to an emailmessage.replywrites1
Get an emailmessage.getreads2
Get email attachmentsmessage.get_attachmentsreads1
Search emailsmessage.listreadsyes2
Add labels to an emailmessage.add_labelswrites1
Remove labels from an emailmessage.remove_labelswrites1
Mark as readmessage.mark_readwrites1
Mark as unreadmessage.mark_unreadwrites1
Move to trashmessage.trashwrites1
Restore from trashmessage.untrashwrites1
Delete permanentlymessage.deletewrites1

Send an email

Operation message.send.

NameTypeDefaultRequiredShown whenDescription
tostringyesComma-separated recipients.
subjectstring
email_typeoptions"html"Body format. One of html, text.
messagestringBody. Message body in the chosen format.
text_alternativestringemail_type = htmlPlain-text alternative. Optional plain-text version sent alongside the HTML.
ccstringComma-separated recipients.
bccstringComma-separated recipients.
fromstringA send-as alias configured in Gmail (default: the account address).
reply_tostringReply-To.
attachmentsstringComma-separated binary property names to attach (a list of names also works).
headersjsonExtra headers. Object of additional header names and values.
thread_idstringThread 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).

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.
email_typeoptions"html"Body format. One of html, text.
messagestringBody. Message body in the chosen format.
text_alternativestringemail_type = htmlPlain-text alternative. Optional plain-text version sent alongside the HTML.
reply_allbooleanfalseReply to all. Also copy the original To and Cc recipients (except yourself).
ccstringComma-separated recipients.
bccstringComma-separated recipients.
fromstringA send-as alias configured in Gmail (default: the account address).
attachmentsstringComma-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.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.
formatoptions"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).

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Search emails

Operation message.list. Lists messages matching a Gmail search query and labels, newest first.

NameTypeDefaultRequiredShown whenDescription
querystringSearch. Gmail search syntax.
label_idsmulti_optionsLabels. Only messages that have all of these labels. Values from lookup labels.
include_spam_trashbooleanfalseInclude spam and trash.
formatoptions"metadata"One of metadata, full, minimal.
return_allbooleanfalse
limitnumber50return_all = false

Add labels to an email

Operation message.add_labels.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.
label_idsmulti_optionsyesLabels. Values from lookup labels.

Remove labels from an email

Operation message.remove_labels.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.
label_idsmulti_optionsyesLabels. Values from lookup labels.

Mark as read

Operation message.mark_read.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Mark as unread

Operation message.mark_unread.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Move to trash

Operation message.trash.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Restore from trash

Operation message.untrash.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Delete permanently

Operation message.delete. Deletes the message immediately, skipping the trash. Needs the https://mail.google.com/ scope.

NameTypeDefaultRequiredShown whenDescription
message_idstringyesMessage ID.

Thread

OperationIDEffectPaginatedCassette tests
Get a threadthread.getreads1
Search threadsthread.listreadsyes1
Add labels to a threadthread.add_labelswrites1
Remove labels from a threadthread.remove_labelswrites1
Move a thread to trashthread.trashwrites1
Restore a thread from trashthread.untrashwrites1
Delete a thread permanentlythread.deletewrites1

Get a thread

Operation thread.get. Returns one item per message in the thread, oldest first.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.
formatoptions"full"One of full, metadata, raw.

Search threads

Operation thread.list.

NameTypeDefaultRequiredShown whenDescription
querystringSearch. Gmail search syntax.
label_idsmulti_optionsLabels. Only messages that have all of these labels. Values from lookup labels.
include_spam_trashbooleanfalseInclude spam and trash.
return_allbooleanfalse
limitnumber50return_all = false

Add labels to a thread

Operation thread.add_labels.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.
label_idsmulti_optionsyesLabels. Values from lookup labels.

Remove labels from a thread

Operation thread.remove_labels.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.
label_idsmulti_optionsyesLabels. Values from lookup labels.

Move a thread to trash

Operation thread.trash.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.

Restore a thread from trash

Operation thread.untrash.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.

Delete a thread permanently

Operation thread.delete. Needs the https://mail.google.com/ scope.

NameTypeDefaultRequiredShown whenDescription
threadstringyesThread ID.

Draft

OperationIDEffectPaginatedCassette tests
Create a draftdraft.createwrites1
Get a draftdraft.getreads1
List draftsdraft.listreadsyes1
Send a draftdraft.sendwrites1
Delete a draftdraft.deletewrites1

Create a draft

Operation draft.create.

NameTypeDefaultRequiredShown whenDescription
tostringComma-separated recipients.
subjectstring
email_typeoptions"html"Body format. One of html, text.
messagestringBody. Message body in the chosen format.
text_alternativestringemail_type = htmlPlain-text alternative. Optional plain-text version sent alongside the HTML.
ccstringComma-separated recipients.
bccstringComma-separated recipients.
fromstringA send-as alias configured in Gmail (default: the account address).
reply_tostringReply-To.
attachmentsstringComma-separated binary property names to attach (a list of names also works).
thread_idstringThread ID. Create the draft as a reply inside this thread.

Get a draft

Operation draft.get.

NameTypeDefaultRequiredShown whenDescription
draftstringyesDraft ID.
formatoptions"full"One of full, metadata.

List drafts

Operation draft.list.

NameTypeDefaultRequiredShown whenDescription
querystringSearch. Gmail search syntax.
include_spam_trashbooleanfalseInclude spam and trash.
return_allbooleanfalse
limitnumber50return_all = false

Send a draft

Operation draft.send.

NameTypeDefaultRequiredShown whenDescription
draftstringyesDraft ID.

Delete a draft

Operation draft.delete.

NameTypeDefaultRequiredShown whenDescription
draftstringyesDraft ID.

Label

OperationIDEffectPaginatedCassette tests
Create a labellabel.createwrites1
Get a labellabel.getreads1
List labelslabel.listreads2
Update a labellabel.updatewrites1
Delete a labellabel.deletewrites1

Create a label

Operation label.create.

NameTypeDefaultRequiredShown whenDescription
namestringyesUse slashes for nesting, e.g. Clients/Acme.
label_list_visibilityoptions"labelShow"Show in label list. One of labelShow, labelShowIfUnread, labelHide.
message_list_visibilityoptions"show"Show in message list. One of show, hide.
background_colorstringOne of the colors Gmail offers.
text_colorstring

Get a label

Operation label.get.

NameTypeDefaultRequiredShown whenDescription
labeloptionsyesValues from lookup labels.

List labels

Operation label.list.

This node has no parameters.

Update a label

Operation label.update.

NameTypeDefaultRequiredShown whenDescription
labeloptionsyesValues from lookup labels.
namestringNew name.
label_list_visibilityoptionsShow in label list. One of labelShow, labelShowIfUnread, labelHide.
message_list_visibilityoptionsShow in message list. One of show, hide.
background_colorstringOne of the colors Gmail offers.
text_colorstring

Delete a label

Operation label.delete. Removes the label from all messages and deletes it.

NameTypeDefaultRequiredShown whenDescription
labeloptionsyesValues from lookup labels.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
labelsclient-side{{ ‘System label’ if item.type == ‘system’ else ‘Your label’ }}

Triggers

Node type connector.gmail_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New emailmessage_receivedpoll{{ '' 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.

NameTypeDefaultRequiredShown whenDescription
labeloptionsOnly with label. For example INBOX; leave empty to watch every new message. Values from lookup labels.
include_sentbooleanfalseInclude messages you send.
include_spam_trashbooleanfalseInclude 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 typeVersion rangeStatusFixtures
n8n-nodes-base.gmail>=2 <3unverified
n8n-nodes-base.gmailTrigger>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_bigquery/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service accountgoogle_bigquery/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes

Actions

Node type connector.google_bigquery. Choose a resource and an operation; each operation has its own parameters.

Query

OperationIDEffectPaginatedCassette tests
Execute a queryquery.executewritesyes5
Get query resultsquery.get_resultsreadsyes1

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.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
sqlcodeyesSQL query.
use_legacy_sqlbooleanfalseUse legacy SQL.
default_datasetresource_locatorDataset assumed for unqualified table names. Depends on project. Values from lookup datasets.
locationstringLocation of the referenced datasets when it is not US or EU multi-region.
query_parametersjsonArray of BigQuery QueryParameter objects for @name or ? placeholders.
parameter_modeoptions"NAMED"One of NAMED, POSITIONAL.
maximum_bytes_billedstringFail the query instead of billing more than this many bytes.
use_query_cachebooleantrue
dry_runbooleanfalseValidate the query and estimate bytes processed without running it.
labelsjsonObject of job labels.
timeout_msnumber60000How long each request waits for the query to finish.
return_allbooleanfalse
limitnumber50return_all = false
output_modeoptions"rows"One of rows, raw.

Get query results

Operation query.get_results. Reads the result rows of an earlier query job.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
job_idstringyesJob ID.
locationstringLocation of the job when it is not US or EU multi-region.
return_allbooleanfalse
limitnumber50return_all = false

Job

OperationIDEffectPaginatedCassette tests
Get a jobjob.getreads1
List jobsjob.listreadsyes1
Cancel a jobjob.cancelwrites1

Get a job

Operation job.get.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
job_idstringyesJob ID.
locationstringLocation of the job when it is not US or EU multi-region.

List jobs

Operation job.list.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
state_filtermulti_optionsOne of done, pending, running.
all_usersbooleanfalse
min_creation_timestringMilliseconds since the epoch.
max_creation_timestringMilliseconds since the epoch.
projectionoptions"minimal"One of minimal, full.
return_allbooleanfalse
limitnumber50return_all = false

Cancel a job

Operation job.cancel.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
job_idstringyesJob ID.
locationstringLocation of the job when it is not US or EU multi-region.

Table

OperationIDEffectPaginatedCassette tests
Insert rows (all input items)table.insert_rowswrites2
Insert a row per itemtable.insert_rowwrites3
List table rowstable.list_rowsreadsyes2
Get a tabletable.getreads2
List tablestable.listreadsyes1

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.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.
tableresource_locatoryesDepends on project, dataset. Values from lookup tables.
batch_sizenumber500Rows per request (Google recommends at most 500).
insert_id_fieldstringDeduplication ID field. Input field whose value is sent as insertId for best-effort deduplication.
skip_invalid_rowsbooleanfalseInsert the valid rows even when some rows are invalid.
ignore_unknown_valuesbooleanfalseDrop fields that are not in the table schema instead of failing.
template_suffixstringInsert into the table named <table><suffix>, created from the table’s schema.
trace_idstring

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.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.
tableresource_locatoryesDepends on project, dataset. Values from lookup tables.
data_modeoptions"auto"One of auto, define, json.
columnsstringdata_mode = autoComma separated input fields to send. Empty sends all fields.
valuesfixed_collectiondata_mode = defineColumn values.
values.fieldIdstringColumn.
values.fieldValuestringValue.
rowjsondata_mode = json
insert_idstringDeduplication ID.
skip_invalid_rowsbooleanfalseInsert the valid rows even when some rows are invalid.
ignore_unknown_valuesbooleanfalseDrop fields that are not in the table schema instead of failing.
template_suffixstringInsert into the table named <table><suffix>, created from the table’s schema.
trace_idstring

List table rows

Operation table.list_rows. Reads rows straight from a table (no query cost) as column name to value items.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.
tableresource_locatoryesDepends on project, dataset. Values from lookup tables.
selected_fieldsstringComma separated columns to return.
start_indexnumberZero-based row to start at.
return_allbooleanfalse
limitnumber50return_all = false

Get a table

Operation table.get.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.
tableresource_locatoryesDepends on project, dataset. Values from lookup tables.

List tables

Operation table.list.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.
return_allbooleanfalse
limitnumber50return_all = false

Dataset

OperationIDEffectPaginatedCassette tests
Get a datasetdataset.getreads1
List datasetsdataset.listreadsyes1

Get a dataset

Operation dataset.get.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
datasetresource_locatoryesDepends on project. Values from lookup datasets.

List datasets

Operation dataset.list.

NameTypeDefaultRequiredShown whenDescription
projectresource_locatoryesValues from lookup projects.
allbooleanfalseInclude hidden datasets.
filterstringLabel filter.
return_allbooleanfalse
limitnumber50return_all = false

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
projectsclient-side{{ item.projectReference.projectId }}
datasetsprojectclient-side{{ item.location }}
tablesproject, datasetclient-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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleBigQuery>=1 <2unverified
n8n-nodes-base.googleBigQuery>=2 <3unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_calendar/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service accountgoogle_calendar/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes

Actions

Node type connector.google_calendar. Choose a resource and an operation; each operation has its own parameters.

Calendar

OperationIDEffectPaginatedCassette tests
Check availabilitycalendar.availabilityreads3
Query free/busy for several calendarscalendar.query_free_busyreads1
Get a calendarcalendar.getreads2
List calendarscalendar.listreadsyes1
Create a calendarcalendar.createwrites1
Update a calendarcalendar.updatewrites1
Delete a secondary calendarcalendar.deletewrites1
Clear the primary calendarcalendar.clearwrites1

Check availability

Operation calendar.availability. Ask whether one calendar is free during a time window, or list its busy slots.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
time_mindatetimeyesStart of window.
time_maxdatetimeyesEnd of window.
time_zonestringIANA time zone used for times in the response. Defaults to UTC.
output_formatoptions"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.

NameTypeDefaultRequiredShown whenDescription
calendarsstringyesComma separated calendar IDs or group emails.
time_mindatetimeyesStart of window.
time_maxdatetimeyesEnd of window.
time_zonestring
group_expansion_maxnumberMaximum calendars returned for one group (max 100).
calendar_expansion_maxnumberMaximum calendars to return in total (max 50).

Get a calendar

Operation calendar.get.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.

List calendars

Operation calendar.list. Calendars on the user’s calendar list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
min_access_roleoptionsOnly return calendars where the user has at least this role. One of freeBusyReader, reader, writer, owner.
show_hiddenbooleanfalse
show_deletedbooleanfalse

Create a calendar

Operation calendar.create.

NameTypeDefaultRequiredShown whenDescription
summarystringyesTitle.
descriptionstring
locationstring
time_zonestring

Update a calendar

Operation calendar.update.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locatoryesValues from lookup calendars.
summarystringTitle.
descriptionstring
locationstring
time_zonestring

Delete a secondary calendar

Operation calendar.delete.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locatoryesValues from lookup calendars.

Clear the primary calendar

Operation calendar.clear. Deletes every event on the account’s primary calendar.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.

Event

OperationIDEffectPaginatedCassette tests
Create an eventevent.createwrites3
Get an eventevent.getreads2
List eventsevent.listreadsyes2
List instances of a recurring eventevent.instancesreadsyes1
Update an eventevent.updatewrites2
Delete an eventevent.deletewrites1
Move an event to another calendarevent.movewrites1
Quick add from textevent.quick_addwrites1

Create an event

Operation event.create.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
summarystringTitle.
startdatetimeyesRFC 3339 date-time, or a date for all-day events.
enddatetimeyesExclusive end. For all-day events use the day after the last day.
all_daybooleanfalse
time_zonestringIANA time zone for start and end. Defaults to the calendar’s own time zone.
descriptionstring
locationstring
attendeesstringComma separated attendee emails.
color_idoptionsColor. One of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.
visibilityoptionsOne of default, public, private, confidential.
transparencyoptionsShow me as. One of opaque, transparent.
recurrencestringOne RRULE, EXRULE, RDATE or EXDATE line. Pass an array of lines from an expression for several.
repeat_frequencyoptionsSimple repeat rule when no recurrence lines are given. One of daily, weekly, monthly, yearly.
repeat_countnumberNumber of occurrences for the simple repeat rule.
repeat_untildatetimeLast occurrence for the simple repeat rule.
guests_can_modifyboolean
guests_can_invite_othersboolean
guests_can_see_other_guestsboolean
use_default_remindersbooleantrue
remindersfixed_collectionReminder overrides (at most five).
reminders.methodoptions"popup"One of popup, email.
reminders.minutesnumber10
add_google_meetbooleanfalseAdd Google Meet link.
conference_solutionoptionsConference type to attach. Setting it implies a conference is created. One of hangoutsMeet, eventHangout, eventNamedHangout.
event_idstringOptional custom ID (base32hex characters, 5 to 1024 long).
send_updatesoptionsOne of all, externalOnly, none.
max_attendeesnumber

Get an event

Operation event.get.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
event_idresource_locatoryesEvent. Depends on calendar. Values from lookup events.
time_zonestringTime zone used in the response.
max_attendeesnumber

List events

Operation event.list.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
return_allbooleanfalse
limitnumber50return_all = false
time_mindatetimeAfter. Only events ending after this time.
time_maxdatetimeBefore. Only events starting before this time.
querystringSearch text. Free text search over summary, description, location and attendees.
single_eventsbooleanfalseExpand recurring events.
order_byoptionsOne of startTime, updated.
show_deletedbooleanfalse
show_hidden_invitationsbooleanfalse
updated_mindatetimeUpdated after.
time_zonestringTime zone used in the response.
ical_uidstringiCalendar UID.
max_attendeesnumber
event_typesmulti_optionsOne of default, birthday, focusTime, fromGmail, outOfOffice, workingLocation.

List instances of a recurring event

Operation event.instances.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
event_idresource_locatoryesEvent. Depends on calendar. Values from lookup events.
return_allbooleanfalse
limitnumber50return_all = false
time_mindatetimeAfter.
time_maxdatetimeBefore.
show_deletedbooleanfalse
time_zonestring

Update an event

Operation event.update. Changes only the fields that are set; attendees, when set, replace the current list.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
event_idresource_locatoryesEvent. Depends on calendar. Values from lookup events.
summarystringTitle.
startdatetime
enddatetime
all_daybooleanfalse
time_zonestringIANA time zone for start and end. Defaults to the calendar’s own time zone.
descriptionstring
locationstring
attendeesstringComma separated attendee emails.
color_idoptionsColor. One of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.
visibilityoptionsOne of default, public, private, confidential.
transparencyoptionsShow me as. One of opaque, transparent.
recurrencestringOne RRULE, EXRULE, RDATE or EXDATE line. Pass an array of lines from an expression for several.
repeat_frequencyoptionsSimple repeat rule when no recurrence lines are given. One of daily, weekly, monthly, yearly.
repeat_countnumberNumber of occurrences for the simple repeat rule.
repeat_untildatetimeLast occurrence for the simple repeat rule.
guests_can_modifyboolean
guests_can_invite_othersboolean
guests_can_see_other_guestsboolean
use_default_remindersboolean
remindersfixed_collectionReminder overrides (at most five).
reminders.methodoptions"popup"One of popup, email.
reminders.minutesnumber10
statusoptionsOne of confirmed, tentative, cancelled.
send_updatesoptionsOne of all, externalOnly, none.
max_attendeesnumber

Delete an event

Operation event.delete.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
event_idresource_locatoryesEvent. Depends on calendar. Values from lookup events.
send_updatesoptionsOne of all, externalOnly, none.

Move an event to another calendar

Operation event.move.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
event_idresource_locatoryesEvent. Depends on calendar. Values from lookup events.
destinationresource_locatoryesDestination calendar. Values from lookup calendars.
send_updatesoptionsOne 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”.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
textstringyes
send_updatesoptionsOne of all, externalOnly, none.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
calendarsclient-side{{ item.accessRole }}{{ ’ (primary)’ if item.primary else ‘’ }}
eventscalendarserver-side

Triggers

Node type connector.google_calendar_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Event createdevent_createdpoll{{ item.id }}0
Event updatedevent_updatedpoll{{ item.id }}@{{ item.updated }}0
Event cancelledevent_cancelledpoll{{ item.id }}0
Event startedevent_startedpoll{{ item.id }}@{{ item.start.dateTime or item.start.date }}0
Event endedevent_endedpoll{{ item.id }}@{{ item.end.dateTime or item.end.date }}0

Trigger: Event created

Emits events created on the calendar since the last check.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
querystringOnly events matching. Free text filter.

Trigger: Event updated

Emits events that were created or changed since the last check (one item per change).

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
querystringOnly events matching. Free text filter.

Trigger: Event cancelled

Emits events that were cancelled or deleted since the last check.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
querystringOnly events matching. Free text filter.

Trigger: Event started

Emits events whose start time passed since the last check. Recurring events are expanded.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
querystringOnly events matching. Free text filter.

Trigger: Event ended

Emits events whose end time passed since the last check. Recurring events are expanded.

NameTypeDefaultRequiredShown whenDescription
calendarresource_locator"primary"yesValues from lookup calendars.
querystringOnly 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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleCalendar>=1 <1.3unverified
n8n-nodes-base.googleCalendar>=1.3 <2unverified
n8n-nodes-base.googleCalendarTrigger>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_docs/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service accountgoogle_docs/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes

Actions

Node type connector.google_docs. Choose a resource and an operation; each operation has its own parameters.

Document

OperationIDEffectPaginatedCassette tests
Create a documentdocument.createwrites2
Get a documentdocument.getreads2
Get document textdocument.get_textreads1
Update a documentdocument.updatewrites4

Create a document

Operation document.create. Creates a document, optionally inside a Drive folder and with initial text.

NameTypeDefaultRequiredShown whenDescription
titlestringyes
folderresource_locator"root"Drive folder (or shared drive folder) to create the document in. Values from lookup folders.
contentstringInitial text. Text inserted into the new document body.

Get a document

Operation document.get. Returns the full document structure.

NameTypeDefaultRequiredShown whenDescription
documentresource_locatoryesDocument ID, or a docs.google.com document URL. Values from lookup documents.
include_tabsbooleanfalseInclude all tabs.
suggestions_view_modeoptionsOne 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).

NameTypeDefaultRequiredShown whenDescription
documentresource_locatoryesDocument 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.

NameTypeDefaultRequiredShown whenDescription
documentresource_locatoryesDocument ID, or a docs.google.com document URL. Values from lookup documents.
actionsfixed_collectionEdits applied in order. Indexes are UTF-16 offsets as reported by Get a document.
actions.actionoptions"insert"One of insert, replaceAll, delete.
actions.objectoptions"text"One of text, pageBreak, table, contentRange.
actions.textstringText to insert, or the text to find for Replace all.
actions.replaceTextstringReplace with.
actions.matchCasebooleanfalseMatch case.
actions.searchByRegexbooleanfalseUse regular expression.
actions.locationChoiceoptions"endOfSegmentLocation"Insert at. One of endOfSegmentLocation, location.
actions.indexnumber
actions.startIndexnumber
actions.endIndexnumber
actions.rowsnumber
actions.columnsnumber
actions.segmentIdstringHeader/footer/footnote ID.
actions.tabIdstringTab ID.
requestsjsonRaw requests. Array of Docs API Request objects sent as one batch. Used instead of the edits list.
write_controloptionsOne of requiredRevisionId, targetRevisionId.
revision_idstring

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
documentsclient-side{{ item.modifiedTime }}
foldersclient-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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleDocs>=1 <3unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_drive/oauth2oauth2_auth_codeclient_id, client_secret (secret), scopesyes
Service accountgoogle_drive/service_accountjwt_service_accountclient_email, private_key (secret), subject, scopesyes

Actions

Node type connector.google_drive. Choose a resource and an operation; each operation has its own parameters.

File

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites2
Create a file from textfile.create_from_textwrites1
Download a filefile.downloadreads2
Get file detailsfile.getreads3
Search files and foldersfile.listreadsyes2
Update file detailsfile.updatewrites1
Replace file contentfile.update_contentwrites1
Copy a filefile.copywrites1
Move a filefile.movewrites1
Delete a filefile.deletewrites2
Share a filefile.sharewrites1

Upload a file

Operation file.upload. Uploads binary data from the input item. Files over 5 MB use a resumable session.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"Name of the binary property on the input item.
file_namestringName in Drive (default the binary’s file name).
folderresource_locatorParent 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_tooptions""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.
descriptionstring
mime_typestringMIME 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.

NameTypeDefaultRequiredShown whenDescription
file_namestringyes
contentstringyes
folderresource_locatorParent 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_docbooleanfalseConvert to Google Docs.
mime_typestring"text/plain"Text MIME type.
descriptionstring

Download a file

Operation file.download. Downloads file content into a binary property. Google Workspace documents are exported to the format chosen below.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
binary_propertystring"data"Put into binary property.
file_namestringOverride the file name of the binary.
docs_formatoptions"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_formatoptions"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_formatoptions"application/vnd.openxmlformats-officedocument.presentationml.presentation"Google Slides as. One of application/vnd.openxmlformats-officedocument.presentationml.presentation, application/pdf, text/plain.
drawings_formatoptions"image/png"Google Drawings as. One of image/png, image/jpeg, image/svg+xml, application/pdf.

Get file details

Operation file.get.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
fieldsstringComma-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.

NameTypeDefaultRequiredShown whenDescription
name_containsstring
folderresource_locatorIn folder. Only direct children of this folder. Values from lookup folders.
mime_typeoptions""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.
querystringExtra query. Additional Drive search clauses, combined with the filters using and.
include_trashedbooleanfalseInclude trashed items.
driveresource_locatorShared drive. Search only this shared drive (default: everything the account can see). Values from lookup drives.
order_bystring"modifiedTime desc"
fieldsstringComma-separated file fields to return (default: the common ones; * for all).
return_allbooleanfalse
limitnumber50return_all = false

Update file details

Operation file.update. Renames a file or changes its description, star or content restrictions.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
namestringNew name.
descriptionstring
starredboolean
writers_can_sharebooleanEditors can share.
copy_requires_writer_permissionbooleanDisable download and copy for viewers.
keep_revision_foreverbooleanfalseKeep this revision forever.

Replace file content

Operation file.update_content. Uploads new content for an existing file as a new revision (resumable, any size).

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
binary_propertybinary_property"data"Name of the binary property on the input item.
file_namestringNew name.
keep_revision_foreverbooleanfalseKeep this revision forever.

Copy a file

Operation file.copy.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
namestringName of the copy. Default: Drive’s ‘Copy of’ name.
folderresource_locatorParent folder. Default: the original’s folder. Values from lookup folders.
descriptionstring

Move a file

Operation file.move. Moves a file (or folder) into another folder, removing it from its current folders.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
folderresource_locatoryesDestination folder. Values from lookup folders.

Delete a file

Operation file.delete. Moves the file to the trash, or deletes it permanently.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
permanentlybooleanfalseDelete 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.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesPick a file, paste its URL or enter its ID. Values from lookup files.
roleoptions"reader"One of reader, commenter, writer, fileOrganizer, organizer, owner.
typeoptions"user"Share with. One of user, group, domain, anyone.
emailstringtype = user, groupEmail address.
domainstringtype = domain
allow_file_discoverybooleanfalsetype = domain, anyoneFindable in search.
send_notificationbooleantruetype = user, groupSend notification email.
email_messagestringtype = user, groupMessage.
expiration_timedatetimeExpires at. Access ends at this time (RFC 3339).

Folder

OperationIDEffectPaginatedCassette tests
Create a folderfolder.createwrites1
Delete a folderfolder.deletewrites1
Share a folderfolder.sharewrites1

Create a folder

Operation folder.create.

NameTypeDefaultRequiredShown whenDescription
namestringyes
folderresource_locatorParent folder. Default: My Drive root. Values from lookup folders.
colorstringFolder color as a hex RGB value.
descriptionstring

Delete a folder

Operation folder.delete. Moves the folder and its contents to the trash, or deletes it permanently.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesFolder. Pick a folder, paste its URL or enter its ID. Values from lookup folders.
permanentlybooleanfalseDelete permanently. Skip the trash (cannot be undone).

Share a folder

Operation folder.share.

NameTypeDefaultRequiredShown whenDescription
fileresource_locatoryesFolder. Pick a folder, paste its URL or enter its ID. Values from lookup folders.
roleoptions"reader"One of reader, commenter, writer, fileOrganizer, organizer, owner.
typeoptions"user"Share with. One of user, group, domain, anyone.
emailstringtype = user, groupEmail address.
domainstringtype = domain
allow_file_discoverybooleanfalsetype = domain, anyoneFindable in search.
send_notificationbooleantruetype = user, groupSend notification email.
email_messagestringtype = user, groupMessage.
expiration_timedatetimeExpires at. Access ends at this time (RFC 3339).

Shared drive

OperationIDEffectPaginatedCassette tests
Create a shared drivedrive.createwrites1
Get a shared drivedrive.getreads1
List shared drivesdrive.listreadsyes2
Update a shared drivedrive.updatewrites1
Delete a shared drivedrive.deletewrites1

Create a shared drive

Operation drive.create.

NameTypeDefaultRequiredShown whenDescription
namestringyes
hiddenbooleanfalse

Get a shared drive

Operation drive.get.

NameTypeDefaultRequiredShown whenDescription
driveresource_locatoryesShared drive. Pick a shared drive, paste its URL or enter its ID. Values from lookup drives.

List shared drives

Operation drive.list.

NameTypeDefaultRequiredShown whenDescription
querystringDrive search query for shared drives.
return_allbooleanfalse
limitnumber50return_all = false

Update a shared drive

Operation drive.update.

NameTypeDefaultRequiredShown whenDescription
driveresource_locatoryesShared drive. Pick a shared drive, paste its URL or enter its ID. Values from lookup drives.
namestringNew name.
colorstringTheme color as a hex RGB value.
restrictionscollection
restrictions.adminManagedRestrictionsbooleanOnly managers change restrictions.
restrictions.copyRequiresWriterPermissionbooleanViewers cannot download or copy.
restrictions.domainUsersOnlybooleanOnly domain users have access.
restrictions.driveMembersOnlybooleanOnly members have access.

Delete a shared drive

Operation drive.delete. The shared drive must be empty.

NameTypeDefaultRequiredShown whenDescription
driveresource_locatoryesShared 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.

LookupDepends onSearchDescription
foldersclient-side
filesclient-side{{ item.mimeType }}
drivesclient-side

Triggers

Node type connector.google_drive_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
File createdfile_createdpoll{{ item.id }}0
File updatedfile_updatedpoll{{ item.id ~ '@' ~ item.modifiedTime }}0
Folder createdfolder_createdpoll{{ item.id }}0

Trigger: File created

Emits files created since the previous poll, optionally only inside one folder or of one type.

NameTypeDefaultRequiredShown whenDescription
folderresource_locatorIn folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders.
mime_typestringFile type. Only files of this MIME type.
driveresource_locatorShared 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).

NameTypeDefaultRequiredShown whenDescription
folderresource_locatorIn folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders.
mime_typestringFile type. Only files of this MIME type.
driveresource_locatorShared drive. Watch only this shared drive. Values from lookup drives.

Trigger: Folder created

Emits folders created since the previous poll.

NameTypeDefaultRequiredShown whenDescription
folderresource_locatorIn folder. Watch only direct children of this folder (default: the whole Drive). Values from lookup folders.
driveresource_locatorShared 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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleDrive>=3 <4unverified
n8n-nodes-base.googleDriveTrigger>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_sheets/oauth2oauth2_auth_codeclient_id, client_secret (secret), scopesyes
Service accountgoogle_sheets/service_accountjwt_service_accountclient_email, private_key (secret), subject, scopesyes

Actions

Node type connector.google_sheets. Choose a resource and an operation; each operation has its own parameters.

Spreadsheet

OperationIDEffectPaginatedCassette tests
Create a spreadsheetspreadsheet.createwrites1
Get spreadsheet detailsspreadsheet.getreads1
Search spreadsheetsspreadsheet.listreadsyes1
Delete a spreadsheetspreadsheet.deletewrites1

Create a spreadsheet

Operation spreadsheet.create.

NameTypeDefaultRequiredShown whenDescription
titlestringyesName of the new spreadsheet.
sheetsstringComma-separated titles of the sheets to create (default: one sheet named by Google).
localestringLocale used for formatting, as an ISO 639-1 language and ISO 3166-1 country code.
time_zonestringTime zone in CLDR format.

Get spreadsheet details

Operation spreadsheet.get. Returns the spreadsheet title, settings and the list of sheets.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick 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.

NameTypeDefaultRequiredShown whenDescription
name_containsstring
include_shared_drivesbooleantrue
return_allbooleanfalse
limitnumber50return_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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.

Sheet

A tab inside a spreadsheet.

OperationIDEffectPaginatedCassette tests
List sheetssheet.listreads2
Add a sheetsheet.createwrites1
Rename or change a sheetsheet.updatewrites1
Delete a sheetsheet.deletewrites2
Clear sheet datasheet.clearwrites2

List sheets

Operation sheet.list.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.

Add a sheet

Operation sheet.create.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
titlestringyesTitle of the new sheet.
indexnumberZero-based position among the tabs (default last).
hiddenbooleanfalse
right_to_leftbooleanfalse

Rename or change a sheet

Operation sheet.update.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
titlestringNew title.
indexnumberNew zero-based position.
hiddenboolean

Delete a sheet

Operation sheet.delete.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet 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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
clearoptions"whole_sheet"What to clear. One of whole_sheet, keep_header, range.
header_rownumber1clear = keep_header
rangestringclear = rangeRange in A1 notation, without the sheet name.

Row

Rows of a sheet, read and written as objects keyed by the header row.

OperationIDEffectPaginatedCassette tests
Append a rowrow.appendwrites3
Update a rowrow.updatewrites3
Append or update a rowrow.append_or_updatewrites2
Get rowsrow.getreads3
Delete rowsrow.deletewrites1

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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
mapping_modeoptions"auto"Column values from. One of auto, manual, raw.
fieldsjson{}mapping_mode = manualColumns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}.
valuesjsonmapping_mode = rawArray of cell values, or array of rows.
header_rownumber1Row number that holds the column names.
value_input_optionoptions"USER_ENTERED"Interpret values. One of USER_ENTERED, RAW.
insert_data_optionoptions"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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
match_columnoptionsyesColumn to match on. Header name, or row_number Depends on spreadsheet, sheet. Values from lookup columns.
match_valuestringValue to match. Leave empty to use the value of the match column from the input item (or from Columns).
mapping_modeoptions"auto"Column values from. One of auto, manual.
fieldsjson{}mapping_mode = manualColumns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}.
header_rownumber1Row number that holds the column names.
value_input_optionoptions"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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
match_columnoptionsyesColumn to match on. Header name, or row_number Depends on spreadsheet, sheet. Values from lookup columns.
match_valuestringValue to match. Leave empty to use the value of the match column from the input item (or from Columns).
mapping_modeoptions"auto"Column values from. One of auto, manual.
fieldsjson{}mapping_mode = manualColumns. Object of header name to cell value, e.g. {“Name”: “Ada”, “Score”: 3}.
header_rownumber1Row number that holds the column names.
value_input_optionoptions"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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
rangestringRange in A1 notation without the sheet name (default: the whole sheet). The header row is counted from the top of this range.
header_rownumber1Row number that holds the column names.
filtersfixed_collectionKeep only rows where every listed column equals its value (or any, see Combine filters).
filters.columnoptionsyesDepends on spreadsheet, sheet. Values from lookup columns.
filters.valuestring
combine_filtersoptions"and"One of and, or.
value_render_optionoptions"FORMATTED_VALUE"Cell values as. One of FORMATTED_VALUE, UNFORMATTED_VALUE, FORMULA.
date_time_render_optionoptions"FORMATTED_STRING"Dates as. One of FORMATTED_STRING, SERIAL_NUMBER.
return_allbooleanfalse
limitnumber50return_all = falseMaximum rows to return when no filters are set.

Delete rows

Operation row.delete. Deletes whole rows; the rows below move up.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
start_rownumberyesFirst row. Row number of the first row to delete (1 is the top row).
countnumber1Number of rows.

Column

OperationIDEffectPaginatedCassette tests
Delete columnscolumn.deletewrites1

Delete columns

Operation column.delete. Deletes whole columns; the columns to the right move left.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
start_columnstringyesFirst column. Column letter of the first column to delete.
countnumber1Number of columns.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
spreadsheetsclient-side
sheetsspreadsheetclient-side
columnsspreadsheet, sheetclient-side

Triggers

Node type connector.google_sheets_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Row addedrow_addedpoll0
Row added or updatedrow_added_or_updatedpoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
header_rownumber1Row number that holds the column names.
value_render_optionoptions"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.

NameTypeDefaultRequiredShown whenDescription
spreadsheetresource_locatoryesPick a spreadsheet, paste its URL or enter its ID. Values from lookup spreadsheets.
sheetresource_locatoryesSheet title, or a sheet ID as gid=<id> Depends on spreadsheet. Values from lookup sheets.
header_rownumber1Row number that holds the column names.
value_render_optionoptions"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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleSheets>=4 <5unverified
n8n-nodes-base.googleSheetsTrigger>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)google_tasks/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service accountgoogle_tasks/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes

Actions

Node type connector.google_tasks. Choose a resource and an operation; each operation has its own parameters.

Task list

OperationIDEffectPaginatedCassette tests
Get a task listtask_list.getreads1
List task liststask_list.listreadsyes1
Create a task listtask_list.createwrites1
Rename a task listtask_list.updatewrites1
Delete a task listtask_list.deletewrites1
Clear completed taskstask_list.clear_completedwrites1

Get a task list

Operation task_list.get.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

List task lists

Operation task_list.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Create a task list

Operation task_list.create.

NameTypeDefaultRequiredShown whenDescription
titlestringyes

Rename a task list

Operation task_list.update.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locatoryesValues from lookup task_lists.
titlestringyes

Delete a task list

Operation task_list.delete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locatoryesValues 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).

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

Task

OperationIDEffectPaginatedCassette tests
Create a tasktask.createwrites1
Get a tasktask.getreads2
List taskstask.listreadsyes2
Update a tasktask.updatewrites1
Mark a task completedtask.completewrites1
Delete a tasktask.deletewrites1
Move a tasktask.movewrites1

Create a task

Operation task.create.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
titlestringyes
notesstring
duedatetimeDue date. Only the date part is used by Google Tasks.
statusoptionsOne of needsAction, completed.
completeddatetimeCompleted at.
parentresource_locatorParent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks.
previousresource_locatorAfter task. Place after this sibling task. Depends on task_list. Values from lookup tasks.

Get a task

Operation task.get.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.

List tasks

Operation task.list.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
return_allbooleanfalse
limitnumber50return_all = false
show_completedbooleantrue
show_hiddenbooleanfalseInclude completed tasks that were cleared or completed in the apps.
show_deletedbooleanfalse
show_assignedbooleanfalseInclude tasks assigned from Docs or Chat spaces.
due_mindatetimeDue after.
due_maxdatetimeDue before.
completed_mindatetimeCompleted after.
completed_maxdatetimeCompleted before.
updated_mindatetimeUpdated after.

Update a task

Operation task.update. Changes only the fields that are set.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.
titlestring
notesstring
duedatetimeDue date. Only the date part is used by Google Tasks.
statusoptionsOne of needsAction, completed.
completeddatetimeCompleted at.
deletedbooleanSet true to move the task to the trash.

Mark a task completed

Operation task.complete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.

Delete a task

Operation task.delete.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends 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.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.
taskresource_locatoryesDepends on task_list. Values from lookup tasks.
parentresource_locatorParent task. Create as a subtask of this task. Depends on task_list. Values from lookup tasks.
previousresource_locatorAfter task. Place after this sibling task. Depends on task_list. Values from lookup tasks.
destination_task_listresource_locatorValues from lookup task_lists.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
task_listsclient-side
taskstask_listclient-side{{ (’due ’ ~ item.due[:10]) if item.due else ‘’ }}

Triggers

Node type connector.google_tasks_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Task created or updatedtask_updatedpoll{{ item.id }}@{{ item.updated }}0
Task completedtask_completedpoll{{ 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).

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues from lookup task_lists.

Trigger: Task completed

Emits tasks completed since the last check.

NameTypeDefaultRequiredShown whenDescription
task_listresource_locator"@default"yesValues 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 typeVersion rangeStatusFixtures
n8n-nodes-base.googleTasks>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
No authenticationhttpbin_example/nonenone
Bearer tokenhttpbin_example/bearerbearertoken (secret)yes
Username and passwordhttpbin_example/basicbasicusername, password (secret)yes
API key headerhttpbin_example/api_keyapi_keyapi_key (secret)yes
HMAC signed requestshttpbin_example/signedhmac_headersecret (secret)yes

Actions

Node type connector.httpbin_example. Choose a resource and an operation; each operation has its own parameters.

Request

OperationIDEffectPaginatedCassette tests
Send a GET requestrequest.getreads1
Send JSONrequest.post_jsonwrites1
Send a formrequest.post_formwrites1
Upload a filerequest.uploadwrites1
Upload raw bytesrequest.put_rawwrites1
Send an email messagerequest.send_emailwrites1
Two dependent requestsrequest.chainreads1
One request per valuerequest.fan_outreads1

Send a GET request

Operation request.get. Sends query parameters and returns what the server received.

NameTypeDefaultRequiredShown whenDescription
queryjson{}Object of query parameters.
tagstring

Send JSON

Operation request.post_json.

NameTypeDefaultRequiredShown whenDescription
namestringyes
countnumber
notestring
tagsmulti_optionsOne of red, green, blue.

Send a form

Operation request.post_form.

NameTypeDefaultRequiredShown whenDescription
fieldsjsonyes
styleoptions"brackets"One of brackets, repeat, comma, indices.

Upload a file

Operation request.upload.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"
titlestring

Upload raw bytes

Operation request.put_raw.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"

Send an email message

Operation request.send_email. Builds a MIME message and posts it base64url encoded, like mail APIs expect.

NameTypeDefaultRequiredShown whenDescription
tostringyes
subjectstringyes
textstring

Two dependent requests

Operation request.chain.

NameTypeDefaultRequiredShown whenDescription
valuestringyes

One request per value

Operation request.fan_out.

NameTypeDefaultRequiredShown whenDescription
valuesjsonyes

Status code

OperationIDEffectPaginatedCassette tests
Return a status codestatus.getreads2

Return a status code

Operation status.get.

NameTypeDefaultRequiredShown whenDescription
codenumber200yes

Authentication check

OperationIDEffectPaginatedCassette tests
Check bearer tokenauth.bearerreads1
Check username and passwordauth.basicreads1
Show request headersauth.headersreads2

Check bearer token

Operation auth.bearer.

This node has no parameters.

Check username and password

Operation auth.basic.

NameTypeDefaultRequiredShown whenDescription
userstringyes
passwordstringyes

Show request headers

Operation auth.headers.

This node has no parameters.

File

OperationIDEffectPaginatedCassette tests
Download a PNG imagefile.download_pngreads1

Download a PNG image

Operation file.download_png.

NameTypeDefaultRequiredShown whenDescription
binary_propertystring"data"

Slide

OperationIDEffectPaginatedCassette tests
List slidesslide.listreadsyes2

List slides

Operation slide.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
slidesclient-side

Triggers

Node type connector.httpbin_example_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New UUIDnew_uuidpoll{{ item.uuid }}0
Signed eventeventwebhookhmac_sha256automatic0

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.

NameTypeDefaultRequiredShown whenDescription
secretstringyesShared 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

MethodCredential kindAuth kindFieldsTest request
Public API (no sign-in)hacker_news/nonenone

Actions

Node type connector.hacker_news. Choose a resource and an operation; each operation has its own parameters.

Item

OperationIDEffectPaginatedCassette tests
Get an itemitem.getreads2

Get an item

Operation item.get. Fetch a story, comment, job, poll or poll option by its ID.

NameTypeDefaultRequiredShown whenDescription
idnumberyesNumeric item ID.

User

OperationIDEffectPaginatedCassette tests
Get a useruser.getreads1

Get a user

Operation user.get.

NameTypeDefaultRequiredShown whenDescription
idstringyesCase-sensitive username.

Story

OperationIDEffectPaginatedCassette tests
List stories from a feedstory.listreads1

List stories from a feed

Operation story.list. Fetch the newest entries of a story feed with their details.

NameTypeDefaultRequiredShown whenDescription
listoptions"top"Feed. One of top, new, best, ask, show, job.
limitnumber10Number of stories to fetch (each is one request).
OperationIDEffectPaginatedCassette tests
Search stories and commentssearch.queryreadsyes1

Search stories and comments

Operation search.query.

NameTypeDefaultRequiredShown whenDescription
querystringyes
tagsoptions"story"One of story, comment, ask_hn, show_hn, front_page.
sortoptions"relevance"One of relevance, date.

Triggers

Node type connector.hacker_news_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New storynew_storypoll{{ item.objectID }}0

Trigger: New story

Emits stories posted since the previous poll, optionally matching keywords.

NameTypeDefaultRequiredShown whenDescription
querystringOnly 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

MethodCredential kindAuth kindFieldsTest request
User access tokenhugging_face/access_tokenbearertoken (secret)yes
OAuth2 (Sign in with Hugging Face)hugging_face/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes

Actions

Node type connector.hugging_face. Choose a resource and an operation; each operation has its own parameters.

Chat

OperationIDEffectPaginatedCassette tests
Send chat messageschat.completewrites3

Send chat messages

Operation chat.complete. OpenAI-compatible chat completion routed to a provider that serves the model.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup chat_models.
routingoptions"default"Provider selection. One of default, fastest, cheapest, provider.
providerstringyesrouting = provider
messagesfixed_collectionyes
messages.roleoptions"user"One of system, user, assistant.
messages.contentstringyes
optionscollection
options.temperaturenumber
options.max_tokensnumber
options.top_pnumberTop P.
options.seednumber
options.stopstringStop sequences. Comma-separated.
options.frequency_penaltynumber
options.presence_penaltynumber
options.json_schemajsonJSON schema. Structured output (only providers that support it).
simplifybooleantrueSimplify output.

Embedding

OperationIDEffectPaginatedCassette tests
Create embeddingsembedding.createreads2

Create embeddings

Operation embedding.create. Feature extraction on HF Inference.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"BAAI/bge-small-en-v1.5"yesValues from lookup embedding_models.
input_modeoptions"single"Input. One of single, batch.
textstringyesinput_mode = single
textsjsonyesinput_mode = batchJSON array of strings.
normalizebooleantrue
prompt_namestringName of a prompt from the model’s sentence-transformers config, such as query.
truncatebooleantrueTruncate long inputs.

Inference

Call any model hosted on HF Inference with a task payload.

OperationIDEffectPaginatedCassette tests
Run a model (JSON input)inference.runwrites2
Run a model (file input)inference.run_binarywrites1

Run a model (JSON input)

Operation inference.run. Sends inputs and task parameters to a model and returns its raw result.

NameTypeDefaultRequiredShown whenDescription
taskoptions"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.
modelresource_locatoryesDepends on task. Values from lookup models.
inputsjsonyesA string, or the JSON object the task expects (for example {question, context}).
parametersjsonTask 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.

NameTypeDefaultRequiredShown whenDescription
taskoptions"automatic-speech-recognition"One of automatic-speech-recognition, audio-classification, image-classification, object-detection, image-segmentation, image-to-text.
modelresource_locatoryesDepends on task. Values from lookup models.
binary_propertybinary_property"data"yesInput binary field.

Image

OperationIDEffectPaginatedCassette tests
Generate an imageimage.generatewrites1

Generate an image

Operation image.generate. Text-to-image on HF Inference; the image is written to a binary field.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"black-forest-labs/FLUX.1-schnell"yesValues from lookup image_models.
promptstringyes
optionscollection
options.negative_promptstring
options.widthnumber
options.heightnumber
options.num_inference_stepsnumberSteps.
options.guidance_scalenumber
options.seednumber
output_propertystring"data"Output binary field.

Hub model

OperationIDEffectPaginatedCassette tests
Search modelsmodel.searchreadsyes1
Get a modelmodel.getreads1

Search models

Operation model.search.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
searchstringName contains.
authorstringAuthor or organization.
pipeline_tagstringTask.
inference_provideroptions""Served by. One of ``, all, hf-inference.
sortoptions"trendingScore"Sort by. One of trendingScore, downloads, likes, lastModified, createdAt.

Get a model

Operation model.get.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup hub_models.
include_providersbooleanfalseInclude provider mapping.

Account

OperationIDEffectPaginatedCassette tests
Get the current accountuser.whoamireads1

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.

LookupDepends onSearchDescription
chat_modelsclient-side{{ (item.providers | map(attribute=‘provider’) | join(’, ’)) if item.providers else ‘’ }}
modelstaskserver-side
hub_modelsserver-side
embedding_modelsserver-side
image_modelsserver-side

Triggers

Node type connector.hugging_face_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On repository eventrepo_eventwebhooktokenautomatic0

Trigger: On repository event

Registers a Hub webhook and starts the workflow on commits, settings changes, discussions or comments.

NameTypeDefaultRequiredShown whenDescription
watched_typeoptions"model"Watch. One of model, dataset, space, user, org.
watched_namestringyesName. Repository id (owner/name), or a user or organization name.
domainsmulti_options["repo"]yesEvent domains. One of repo, discussion.
scopesmulti_optionsOnly these event scopes. Leave empty to receive every event of the chosen domains. One of repo, repo.content, repo.config, discussion, discussion.comment.
secretstringyesWebhook 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:

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

MethodCredential kindAuth kindFieldsTest request
Access tokenmatrix/access_tokenbearerhomeserver_url, token (secret)yes

Actions

Node type connector.matrix. Choose a resource and an operation; each operation has its own parameters.

Message

OperationIDEffectPaginatedCassette tests
Send a text messagemessage.send_textwrites5
Send a filemessage.send_filewrites3
List room messagesmessage.listreadsyes1
Edit a messagemessage.editwrites1
React to a messagemessage.reactwrites1
Redact (delete) an eventmessage.redactwrites1

Send a text message

Operation message.send_text.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
textstringyesPlain text body (also the fallback when HTML is given).
htmlstringOptional HTML version (org.matrix.custom.html).
msgtypeoptions"m.text"One of m.text, m.notice, m.emote.
reply_tostringEvent ID to reply to.
thread_rootstringEvent ID of a thread root to post in.
mentionsjsonm.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.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
binary_propertybinary_property"data"yes
file_namestringDefaults to the binary file name.
msgtypeoptionsLeave 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.
captionstringText shown with the media.
thread_rootstring

List room messages

Operation message.list. Reads the room timeline, newest first by default.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
diroptions"b"One of b, f.
filterjsonRoomEventFilter, for example {“types”: [“m.room.message”]}.
return_allbooleanfalse
limitnumber50return_all = false

Edit a message

Operation message.edit.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_idstringyesThe original message’s event ID.
textstringyes
htmlstring

React to a message

Operation message.react.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_idstringyes
keystringyesThe reaction, usually an emoji.

Redact (delete) an event

Operation message.redact.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_idstringyes
reasonstring

Event

OperationIDEffectPaginatedCassette tests
Get an eventevent.getreads1
Send a custom eventevent.sendwrites1
Get a state eventevent.get_statereads1
Set a state eventevent.set_statewrites1

Get an event

Operation event.get.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_idstringyes

Send a custom event

Operation event.send.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_typestringyes
contentjsonyes

Get a state event

Operation event.get_state.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_typestringyes
state_keystring""

Set a state event

Operation event.set_state.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_typestringyes
state_keystring""
contentjsonyes

Room

OperationIDEffectPaginatedCassette tests
Create a roomroom.createwrites1
Join a roomroom.joinwrites1
Leave a roomroom.leavewrites1
Invite a userroom.invitewrites1
Kick a userroom.kickwrites1
Ban a userroom.banwrites1
Unban a userroom.unbanwrites1
List joined roomsroom.list_joinedreads1
List room membersroom.membersreads1
Rename a roomroom.set_namewrites1
Set the room topicroom.set_topicwrites1
Resolve a room aliasroom.resolve_aliasreads1

Create a room

Operation room.create.

NameTypeDefaultRequiredShown whenDescription
namestring
topicstring
presetoptions"private_chat"One of private_chat, trusted_private_chat, public_chat.
visibilityoptions"private"One of private, public.
room_alias_namestringLocal alias part, for example ops gives #ops:server.
invitestringUser IDs to invite (array or comma-separated).
is_directbooleanfalse

Join a room

Operation room.join.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesRoom ID (!…) or alias (#…). Values from lookup public_rooms.

Leave a room

Operation room.leave.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
reasonstring

Invite a user

Operation room.invite.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
user_idstringyes
reasonstring

Kick a user

Operation room.kick.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
user_idresource_locatoryesDepends on room. Values from lookup members.
reasonstring

Ban a user

Operation room.ban.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
user_idresource_locatoryesDepends on room. Values from lookup members.
reasonstring

Unban a user

Operation room.unban.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
user_idstringyes
reasonstring

List joined rooms

Operation room.list_joined.

This node has no parameters.

List room members

Operation room.members.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
membershipoptions"join"One of join, invite, leave, ban, knock.

Rename a room

Operation room.set_name.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
namestringyes

Set the room topic

Operation room.set_topic.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
topicstringyes

Resolve a room alias

Operation room.resolve_alias.

NameTypeDefaultRequiredShown whenDescription
aliasstringyes

User

OperationIDEffectPaginatedCassette tests
Get the authenticated useruser.whoamireads1
Get a user profileuser.get_profilereads1
Search the user directoryuser.searchreads1

Get the authenticated user

Operation user.whoami.

This node has no parameters.

Get a user profile

Operation user.get_profile.

NameTypeDefaultRequiredShown whenDescription
user_idstringyes

Search the user directory

Operation user.search.

NameTypeDefaultRequiredShown whenDescription
termstringyes
limitnumber10

Media

OperationIDEffectPaginatedCassette tests
Upload mediamedia.uploadwrites1
Download mediamedia.downloadreads1

Upload media

Operation media.upload. Stores binary data in the homeserver’s media repository and returns its mxc:// URI.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yes
file_namestring

Download media

Operation media.download.

NameTypeDefaultRequiredShown whenDescription
mxc_uristringyes
file_namestringFile name for the binary data.
binary_propertystring"data"

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
roomsclient-side
public_roomsclient-side{{ item.topic[:80] if item.topic else ‘’ }}
membersroomclient-side{{ item.state_key }}

Triggers

Node type connector.matrix_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New event in room (polling)new_eventpoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
roomresource_locatoryesValues from lookup rooms.
event_typesmulti_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 typeVersion rangeStatusFixtures
n8n-nodes-base.matrix1unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Personal access token or bot tokenmattermost/access_tokenbearerbase_url, token (secret)yes
OAuth2 (Mattermost OAuth 2.0 app)mattermost/oauth2oauth2_auth_codebase_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

OperationIDEffectPaginatedCassette tests
Create a postpost.createwrites3
Create an ephemeral postpost.create_ephemeralwrites1
Get a postpost.getreads1
Edit a postpost.updatewrites1
Delete a postpost.deletewrites1
List channel postspost.listreadsyes1
Get a threadpost.threadreads1
Search postspost.searchreads1
Pin a postpost.pinwrites1
Unpin a postpost.unpinwrites1

Create a post

Operation post.create.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorTeam whose channels are listed in the channel picker. Values from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
messagestringyesMarkdown text.
root_idstringPost ID to reply to in its thread.
file_idsstringUp to 5 uploaded file IDs (array or comma-separated).
attachmentsjsonMessage attachments array (stored in props.attachments).
propsjsonAdditional post properties.
priorityoptionsOne of important, urgent.
request_ackbooleanfalseAsk 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).

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
userresource_locatoryesValues from lookup users.
messagestringyes

Get a post

Operation post.get.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

Edit a post

Operation post.update.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes
messagestring
propsjson
file_idsstring

Delete a post

Operation post.delete.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

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).

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
return_allbooleanfalse
limitnumber50return_all = false

Get a thread

Operation post.thread. Returns the root post and all replies.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

Search posts

Operation post.search.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
termsstringyesSearch terms; supports from:, in:, before:, after: and quoted phrases.
is_or_searchbooleanfalse
include_deleted_channelsbooleanfalse
time_zone_offsetnumber0

Pin a post

Operation post.pin.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

Unpin a post

Operation post.unpin.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

Reaction

OperationIDEffectPaginatedCassette tests
Add a reactionreaction.addwrites2
Remove a reactionreaction.removewrites1
List reactions of a postreaction.listreads1

Add a reaction

Operation reaction.add.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes
emoji_namestringyesEmoji name without colons, for example thumbsup.
userresource_locatorReact as this user (needs permission). Leave empty for the credential’s own user. Values from lookup users.

Remove a reaction

Operation reaction.remove.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes
emoji_namestringyes
userresource_locatorRemove 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.

NameTypeDefaultRequiredShown whenDescription
post_idstringyes

Channel

OperationIDEffectPaginatedCassette tests
Create a channelchannel.createwrites1
Get a channelchannel.getreads1
Get a channel by namechannel.get_by_namereads1
List public channels of a teamchannel.listreadsyes1
Search channels of a teamchannel.searchreads1
Update a channelchannel.updatewrites1
Archive a channelchannel.deletewrites1
Restore an archived channelchannel.restorewrites1
Add a user to a channelchannel.add_memberwrites1
Remove a user from a channelchannel.remove_memberwrites1
List channel memberschannel.membersreadsyes1
Get channel statisticschannel.statsreads1

Create a channel

Operation channel.create.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
display_namestringyes
namestringyesURL name: lowercase letters, digits, - and _.
typeoptions"O"One of O, P.
purposestring
headerstring

Get a channel

Operation channel.get.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.

Get a channel by name

Operation channel.get_by_name.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
namestringyesThe channel’s URL name.

List public channels of a team

Operation channel.list.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
return_allbooleanfalse
limitnumber50return_all = false

Search channels of a team

Operation channel.search.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
termstringyesMatches channel names and display names.
return_allbooleantrue
limitnumber50return_all = false

Update a channel

Operation channel.update.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
display_namestring
namestring
purposestring
headerstring

Archive a channel

Operation channel.delete.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.

Restore an archived channel

Operation channel.restore.

NameTypeDefaultRequiredShown whenDescription
channelstringyesID of the archived channel.

Add a user to a channel

Operation channel.add_member.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
userresource_locatoryesValues from lookup users.

Remove a user from a channel

Operation channel.remove_member.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
userresource_locatoryesValues from lookup users.

List channel members

Operation channel.members.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
return_allbooleanfalse
limitnumber50return_all = false

Get channel statistics

Operation channel.stats.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.

User

OperationIDEffectPaginatedCassette tests
Get a useruser.getreads1
Get the authenticated useruser.get_mereads2
Get a user by emailuser.get_by_emailreads1
Get a user by usernameuser.get_by_usernamereads1
List usersuser.listreadsyes1
Search usersuser.searchreads1
Create a useruser.createwrites1
Deactivate a useruser.deactivatewrites1
Invite users to a team by emailuser.invitewrites1

Get a user

Operation user.get.

NameTypeDefaultRequiredShown whenDescription
userresource_locatoryesValues 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.

NameTypeDefaultRequiredShown whenDescription
emailstringyes

Get a user by username

Operation user.get_by_username.

NameTypeDefaultRequiredShown whenDescription
usernamestringyes

List users

Operation user.list.

NameTypeDefaultRequiredShown whenDescription
in_teamresource_locatorOnly members of this team. Values from lookup teams.
in_channelstringOnly members of this channel ID.
statusoptions"all"One of all, active, inactive.
sortoptionsOne of last_activity_at, create_at, status.
return_allbooleanfalse
limitnumber50return_all = false

Search users

Operation user.search.

NameTypeDefaultRequiredShown whenDescription
termstringyesMatches usernames, full names, nicknames and email.
teamresource_locatorValues from lookup teams.
allow_inactivebooleanfalse
limitnumber100

Create a user

Operation user.create.

NameTypeDefaultRequiredShown whenDescription
emailstringyes
usernamestringyes
passwordstringyes
first_namestring
last_namestring
nicknamestring
localestring

Deactivate a user

Operation user.deactivate.

NameTypeDefaultRequiredShown whenDescription
userresource_locatoryesValues from lookup users.

Invite users to a team by email

Operation user.invite.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
emailsstringyesEmail addresses (array or comma-separated).

Team

OperationIDEffectPaginatedCassette tests
List my teamsteam.listreads1
Get a teamteam.getreads1
Add a user to a teamteam.add_memberwrites1

List my teams

Operation team.list.

This node has no parameters.

Get a team

Operation team.get.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.

Add a user to a team

Operation team.add_member.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
userresource_locatoryesValues from lookup users.

File

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites1
Get file detailsfile.get_inforeads1
Download a filefile.downloadreads1

Upload a file

Operation file.upload. Uploads a file to a channel; attach it to a post with the returned file ID.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends on team. Values from lookup channels.
binary_propertybinary_property"data"yes
file_namestringDefaults to the binary file name.

Get file details

Operation file.get_info.

NameTypeDefaultRequiredShown whenDescription
file_idstringyes

Download a file

Operation file.download.

NameTypeDefaultRequiredShown whenDescription
file_idstringyes
binary_propertystring"data"

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
teamsclient-side{{ item.name }}
channelsteamclient-side{{ {‘O’: ‘Public’, ‘P’: ‘Private’, ‘D’: ‘Direct message’, ‘G’: ‘Group message’}[item.type] }}
usersclient-side@{{ item.username }}

Triggers

Node type connector.mattermost_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Message with trigger word or in channel (outgoing webhook)outgoing_webhookwebhookautomatic0
New post in channel (polling)new_postpoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatoryesValues from lookup teams.
channelresource_locatorPublic channel to watch. Required when no trigger words are set. Depends on team. Values from lookup channels.
trigger_wordsstringComma-separated words; a message must start with one of them.
trigger_whenoptions0One of 0, 1.
display_namestring"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.

NameTypeDefaultRequiredShown whenDescription
teamresource_locatorValues from lookup teams.
channelresource_locatoryesDepends 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 typeVersion rangeStatusFixtures
n8n-nodes-base.mattermost1unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API keymistral/api_keybearertoken (secret)yes

Actions

Node type connector.mistral. Choose a resource and an operation; each operation has its own parameters.

Chat

OperationIDEffectPaginatedCassette tests
Send chat messageschat.completewrites2

Send chat messages

Operation chat.complete. Generates the next assistant message for a conversation.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"mistral-small-latest"yesValues from lookup models.
messagesfixed_collectionyes
messages.roleoptions"user"One of system, user, assistant.
messages.contentstringyes
optionscollection
options.temperaturenumber
options.top_pnumberTop P.
options.max_tokensnumber
options.random_seednumberSeed.
options.stopstringStop sequences. Comma-separated.
options.presence_penaltynumber
options.frequency_penaltynumber
options.nnumberNumber of completions.
options.safe_promptbooleanfalsePrepend safety prompt.
options.response_formatoptionsOne of text, json_object.
options.json_schemajsonJSON schema. Forces the reply to match this schema. Overrides Response format.
simplifybooleantrueSimplify output. Return the reply text and usage only.

Embedding

OperationIDEffectPaginatedCassette tests
Create embeddingsembedding.createreads2

Create embeddings

Operation embedding.create. Returns one item per input text with its vector.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"mistral-embed"yesValues from lookup models.
input_modeoptions"single"Input. One of single, batch.
inputstringyesinput_mode = singleText.
inputsjsonyesinput_mode = batchTexts. JSON array of strings.
output_dimensionnumberOnly for models that support reduced dimensions.
output_dtypeoptions"float"Output data type. One of float, int8, uint8, binary, ubinary.

Document

Optical character recognition for PDFs, slides and images.

OperationIDEffectPaginatedCassette tests
Extract text from a URLdocument.ocrreads2
Extract text from a filedocument.ocr_binarywrites1

Extract text from a URL

Operation document.ocr. Runs OCR on a public document or image URL and returns Markdown.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"mistral-ocr-latest"yesValues from lookup models.
document_typeoptions"document_url"One of document_url, image_url.
urlstringyesURL.
optionscollection
options.pagesstringZero-based pages to process, for example 0,2-4.
options.include_image_base64booleanfalseInclude images.
options.image_limitnumberMax images.
options.image_min_sizenumberMin image size (px).
options.table_formatoptionsOne of markdown, html.
options.extract_headerbooleanfalseSeparate headers.
options.extract_footerbooleanfalseSeparate footers.
options.annotation_schemajsonDocument annotation schema. JSON Schema for structured data extracted from the whole document.
options.annotation_promptstringDocument annotation prompt.
output_modeoptions"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.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"mistral-ocr-latest"yesValues from lookup models.
binary_propertybinary_property"data"yesInput binary field.
optionscollection
options.pagesstringZero-based pages to process, for example 0,2-4.
options.include_image_base64booleanfalseInclude images.
options.image_limitnumberMax images.
options.image_min_sizenumberMin image size (px).
options.table_formatoptionsOne of markdown, html.
options.extract_headerbooleanfalseSeparate headers.
options.extract_footerbooleanfalseSeparate footers.
options.annotation_schemajsonDocument annotation schema. JSON Schema for structured data extracted from the whole document.
options.annotation_promptstringDocument annotation prompt.
output_modeoptions"document"Output. One of document, pages.
delete_afterbooleantrueDelete uploaded file.

Moderation

OperationIDEffectPaginatedCassette tests
Moderate textmoderation.classifyreads1

Moderate text

Operation moderation.classify. Scores text against Mistral’s moderation categories.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"mistral-moderation-latest"yesValues from lookup models.
inputstringyesText.

File

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites1
List filesfile.listreadsyes1
Get a filefile.getreads1
Delete a filefile.deletewrites1
Download a filefile.downloadreads1
Get a download linkfile.get_signed_urlreads1

Upload a file

Operation file.upload.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.
purposeoptions"ocr"yesOne of ocr, batch, fine-tune.
visibilityoptions"workspace"One of workspace, user.

List files

Operation file.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
purposeoptionsOne of ocr, batch, fine-tune.
searchstringName contains.

Get a file

Operation file.get.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.

Delete a file

Operation file.delete.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.

Download a file

Operation file.download.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.
output_propertystring"data"Output binary field.

Operation file.get_signed_url.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.
expiry_hoursnumber24Expires after (hours). 1 to 168.

Model

OperationIDEffectPaginatedCassette tests
List modelsmodel.listreads1
Get a modelmodel.getreads1

List models

Operation model.list.

This node has no parameters.

Get a model

Operation model.get.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.

Batch job

Run many requests asynchronously at reduced cost.

OperationIDEffectPaginatedCassette tests
Create a batch jobbatch_job.createwrites1
Get a batch jobbatch_job.getreads1
List batch jobsbatch_job.listreadsyes1
Cancel a batch jobbatch_job.cancelwrites1

Create a batch job

Operation batch_job.create.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.
endpointoptions"/v1/chat/completions"yesOne 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.
sourceoptions"file"Requests from. One of file, inline.
input_fileresource_locatoryessource = fileValues from lookup files.
requestsjsonyessource = inlineJSON array of {custom_id, body} objects.
metadatajson
timeout_hoursnumber24Timeout (hours).

Get a batch job

Operation batch_job.get.

NameTypeDefaultRequiredShown whenDescription
job_idresource_locatoryesBatch job. Values from lookup batch_jobs.

List batch jobs

Operation batch_job.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
statusmulti_optionsOne of QUEUED, RUNNING, SUCCESS, FAILED, TIMEOUT_EXCEEDED, CANCELLATION_REQUESTED, CANCELLED.
modelstring

Cancel a batch job

Operation batch_job.cancel.

NameTypeDefaultRequiredShown whenDescription
job_idresource_locatoryesBatch job. Values from lookup batch_jobs.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
modelsclient-side{{ item.description }}
filesserver-side
batch_jobsclient-side

Triggers

Node type connector.mistral_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On batch job finishedbatch_job_finishedpoll{{ item.id }}0

Trigger: On batch job finished

Emits a batch job once it reaches a final state.

NameTypeDefaultRequiredShown whenDescription
statusesmulti_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 typeVersion rangeStatusFixtures
n8n-nodes-base.mistralAi>=1 <2unverified

Provenance

Written from the vendor’s documentation:

OpenWeatherMap

connector.openweathermap · weather, data

Current weather, 5 day forecasts and place lookups from OpenWeatherMap.

Vendor API documentation: https://openweathermap.org/api

Authentication

MethodCredential kindAuth kindFieldsTest request
API keyopenweathermap/api_keyapi_keyapi_key (secret)yes

Actions

Node type connector.openweathermap. Choose a resource and an operation; each operation has its own parameters.

Current weather

OperationIDEffectPaginatedCassette tests
Get current weatherweather.currentreads3

Get current weather

Operation weather.current.

NameTypeDefaultRequiredShown whenDescription
location_byoptions"city"One of city, coordinates, city_id, zip.
citystringlocation_by = cityCity name, optionally with country code (Paris,FR).
latitudenumberlocation_by = coordinates
longitudenumberlocation_by = coordinates
city_idnumberlocation_by = city_idCity ID.
zipstringlocation_by = zipZIP code. ZIP with country code (94040,US).
unitsoptions"metric"One of standard, metric, imperial.
languagestringTwo-letter language code for descriptions.

Forecast

OperationIDEffectPaginatedCassette tests
Get the 5 day forecastforecast.five_dayreads1

Get the 5 day forecast

Operation forecast.five_day. One item per 3-hour step.

NameTypeDefaultRequiredShown whenDescription
location_byoptions"city"One of city, coordinates, city_id, zip.
citystringlocation_by = city
latitudenumberlocation_by = coordinates
longitudenumberlocation_by = coordinates
city_idnumberlocation_by = city_idCity ID.
zipstringlocation_by = zipZIP code.
unitsoptions"metric"One of standard, metric, imperial.
languagestring
stepsnumberNumber of 3-hour steps (max 40).

Location

OperationIDEffectPaginatedCassette tests
Find places by namelocation.searchreads1

Find places by name

Operation location.search.

NameTypeDefaultRequiredShown whenDescription
querystringyesCity name, state code and country code, comma separated.
limitnumber5

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API keyperplexity/api_keybearertoken (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.

OperationIDEffectPaginatedCassette tests
Ask a questionagent.askwrites3
Get a responseagent.getreads1
Cancel a background responseagent.cancelwrites1

Ask a question

Operation agent.ask. Sends a prompt to the Agent API and returns the answer with its sources.

NameTypeDefaultRequiredShown whenDescription
inputstringyesPrompt. The question or task for the agent.
effortoptions"fast"Preset that trades speed for depth of research. One of fast, low, medium, high, xhigh.
modelstringModel override. Run a specific model instead of an effort preset. Leave empty to use the preset.
instructionsstringSystem guidance applied to the whole response.
searchcollectionWeb search.
search.domain_filterstringDomains. Comma-separated domains to search. Prefix a domain with - to exclude it.
search.recencyoptionsPublished within. One of hour, day, week, month, year.
search.after_datestringPublished after (MM/DD/YYYY).
search.before_datestringPublished before (MM/DD/YYYY).
search.max_resultsnumber1 to 50.
search.countrystringUser country (ISO code).
include_imagesbooleanfalseInclude image results.
optionscollection
options.max_output_tokensnumber
options.temperaturenumber0 to 2. Ignored by some models.
options.top_pnumberTop P.
options.language_preferencestringResponse language (ISO 639-1).
options.previous_response_idstringContinue from response ID.
options.json_schemajsonStructured output schema. JSON Schema the answer must follow.
options.backgroundbooleanfalseRun in background. Return immediately with a queued response; fetch the result later with Get a response.
simplifybooleantrueSimplify 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.

NameTypeDefaultRequiredShown whenDescription
response_idstringyesResponse ID.
simplifybooleantrueSimplify output.

Cancel a background response

Operation agent.cancel.

NameTypeDefaultRequiredShown whenDescription
response_idstringyesResponse ID.

Chat

Message-list chat interface kept for workflows built against the retired Sonar chat completions API.

OperationIDEffectPaginatedCassette tests
Send chat messageschat.completewrites1

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).

NameTypeDefaultRequiredShown whenDescription
modeloptions"sonar"One of sonar, sonar-pro, sonar-reasoning, sonar-reasoning-pro, sonar-deep-research.
messagesfixed_collectionyes
messages.roleoptions"user"One of system, user, assistant.
messages.contentstringyes
optionscollection
options.max_tokensnumber
options.temperaturenumber
options.top_pnumberTop P.
options.search_domain_filterstringDomains. Comma-separated domains; prefix with - to exclude.
options.search_recency_filteroptionsPublished within. One of hour, day, week, month, year.
options.return_imagesbooleanfalse
simplifybooleantrueSimplify output. Return the answer text and sources only.

Ranked web results without an LLM answer.

OperationIDEffectPaginatedCassette tests
Search the websearch.queryreads2

Search the web

Operation search.query.

NameTypeDefaultRequiredShown whenDescription
querystringyesUp to 5 queries can be sent as a comma-separated list when Multiple queries is on.
multiple_queriesbooleanfalseSplit the query on commas and run each one.
max_resultsnumber101 to 20 (up to 50 for people search).
search_typeoptions"web"One of web, fast, people.
filterscollection
filters.countrystringCountry (ISO 3166-1 alpha-2).
filters.languagesstringLanguages (comma-separated ISO 639-1).
filters.domainsstringComma-separated; prefix with - to exclude.
filters.recencyoptionsPublished within. One of hour, day, week, month, year.
filters.after_datestringPublished after (MM/DD/YYYY).
filters.before_datestringPublished before (MM/DD/YYYY).
filters.updated_afterstringUpdated after (MM/DD/YYYY).
filters.updated_beforestringUpdated before (MM/DD/YYYY).
filters.snapshot_as_ofdatetimeSnapshot 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 typeVersion rangeStatusFixtures
n8n-nodes-base.perplexity>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API keypinecone/api_keyapi_keyapi_key (secret)yes

Actions

Node type connector.pinecone. Choose a resource and an operation; each operation has its own parameters.

Vector

OperationIDEffectPaginatedCassette tests
Upsert vectorsvector.upsertwrites3
Queryvector.queryreads2
Fetch by IDvector.fetchreads1
Fetch by metadatavector.fetch_by_metadatareadsyes1
Updatevector.updatewrites2
Deletevector.deletewrites2
List record IDsvector.list_idsreadsyes1

Upsert vectors

Operation vector.upsert. Writes one record per input item, or a batch from a JSON array. Existing ids are overwritten.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
modeoptions"single"Input. One of single, batch.
idstringyesmode = singleID.
valuesjsonmode = singleDense vector as a JSON array of numbers.
sparse_valuesjsonmode = single{indices: […], values: […]}.
metadatajsonmode = single
vectorsjsonyesmode = batchRecords. 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.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
top_knumber10yesTop K.
query_byoptions"vector"One of vector, id.
vectorjsonyesquery_by = vector
sparse_vectorjsonquery_by = vector{indices, values} for hybrid or sparse indexes.
idstringyesquery_by = idRecord ID.
filterjsonMetadata filter.
include_metadatabooleantrue
include_valuesbooleanfalse

Fetch by ID

Operation vector.fetch.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
idsstringyesIDs. Comma-separated record ids (up to 1000).

Fetch by metadata

Operation vector.fetch_by_metadata.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
filterjsonyesMetadata filter.
return_allbooleanfalse
limitnumber50return_all = false

Update

Operation vector.update. Update one record by id, or set metadata on every record matching a filter.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
targetoptions"id"Update. One of id, filter.
idstringyestarget = idID.
valuesjsontarget = idNew values.
sparse_valuesjsontarget = idNew sparse values.
filterjsonyestarget = filterMetadata filter.
set_metadatajsonFields to add or overwrite.
dry_runbooleanfalsetarget = filterDry run (count matches only).

Delete

Operation vector.delete.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
targetoptions"ids"Delete. One of ids, filter, all.
idsstringyestarget = idsIDs. Comma-separated (up to 1000).
filterjsonyestarget = filterMetadata filter.

List record IDs

Operation vector.list_ids. Serverless indexes only. One item per id.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator""Empty for the default namespace. Depends on index_host. Values from lookup namespaces.
prefixstringID prefix.
return_allbooleanfalse
limitnumber100return_all = false

Record (integrated embedding)

OperationIDEffectPaginatedCassette tests
Search with textrecord.searchreads1

Search with text

Operation record.search. Semantic search on an index with integrated embedding; Pinecone embeds the query text. One item per hit.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locator"__default__"yesDepends on index_host. Values from lookup namespaces.
textstringyesQuery text.
top_knumber10yesTop K.
filterjsonMetadata filter.
fieldsstringFields to return. Comma-separated; empty returns all.
rerank_modelresource_locatorRerank with model. Values from lookup rerank_models.
rank_fieldsstring"text"Rerank fields. Comma-separated record fields the reranker reads.
rerank_top_nnumberRerank top N.

Index

OperationIDEffectPaginatedCassette tests
Get index statisticsindex.describe_statsreads1
List indexesindex.listreads1
Describe an indexindex.describereads2

Get index statistics

Operation index.describe_stats.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
filterjsonMetadata filter. Pod-based indexes only.

List indexes

Operation index.list.

This node has no parameters.

Describe an index

Operation index.describe.

NameTypeDefaultRequiredShown whenDescription
index_nameresource_locatoryesIndex. Values from lookup index_names.

Namespace

OperationIDEffectPaginatedCassette tests
List namespacesnamespace.listreadsyes1
Describe a namespacenamespace.describereads1
Delete a namespacenamespace.deletewrites1

List namespaces

Operation namespace.list.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
prefixstringName prefix.
return_allbooleanfalse
limitnumber100return_all = false

Describe a namespace

Operation namespace.describe.

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locatoryesDepends on index_host. Values from lookup namespaces.

Delete a namespace

Operation namespace.delete. Permanently deletes the namespace and all its records (serverless indexes).

NameTypeDefaultRequiredShown whenDescription
index_hostresource_locatoryesIndex. The index host (select an index or paste its host). Values from lookup indexes.
namespaceresource_locatoryesDepends on index_host. Values from lookup namespaces.

Inference

Hosted embedding and reranking models.

OperationIDEffectPaginatedCassette tests
Create embeddingsinference.embedreads2
Rerank documentsinference.rerankreads1

Create embeddings

Operation inference.embed.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"llama-text-embed-v2"yesValues from lookup embed_models.
input_typeoptions"passage"One of passage, query.
input_modeoptions"single"Input. One of single, batch.
textstringyesinput_mode = single
inputsjsonyesinput_mode = batchJSON array of {“text”: “…”} objects (up to the model’s batch size).
dimensionnumberFor models with selectable dimensions.
truncateoptions"END"One of END, NONE.

Rerank documents

Operation inference.rerank.

NameTypeDefaultRequiredShown whenDescription
modelresource_locator"bge-reranker-v2-m3"yesValues from lookup rerank_models.
querystringyes
documentsjsonyesJSON array of strings, or of objects with the fields to rank on.
rank_fieldsstring"text"Comma-separated (objects only).
top_nnumberTop N.
return_documentsbooleantrue

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
indexesclient-side{{ item.spec.serverless.cloud ~ ’ ’ ~ item.spec.serverless.region if item.spec.serverless else (item.deployment.deployment_type or ‘’) }}
index_namesclient-side
namespacesindex_hostclient-side
embed_modelsclient-side{{ item.short_description }}
rerank_modelsclient-side{{ item.short_description }}

Import

No exported node type imports to this node.

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
API tokenreplicate/api_tokenbearertoken (secret)yes

Actions

Node type connector.replicate. Choose a resource and an operation; each operation has its own parameters.

Prediction

OperationIDEffectPaginatedCassette tests
Create a predictionprediction.createwrites4
Run a model and waitprediction.runwrites2
Get a predictionprediction.getreads1
Cancel a predictionprediction.cancelwrites1
List predictionsprediction.listreadsyes1

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.

NameTypeDefaultRequiredShown whenDescription
targetoptions"model"Run. One of model, version, deployment.
modelresource_locatoryestarget = model, versionValues from lookup models.
versionresource_locatoryestarget = versionDepends on model. Values from lookup model_versions.
deploymentresource_locatoryestarget = deploymentValues from lookup deployments.
inputjsonyesThe model’s input object, for example {“prompt”: “a red fox”}.
wait_secondsnumber60Wait up to (seconds). 1 to 60. 0 returns immediately.
optionscollection
options.webhookstringWebhook URL. Replicate POSTs the prediction here as it progresses (use the Replicate trigger’s URL).
options.webhook_events_filtermulti_optionsWebhook events. One of start, output, logs, completed.
options.cancel_afterstringMaximum 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.

NameTypeDefaultRequiredShown whenDescription
targetoptions"model"Run. One of model, version, deployment.
modelresource_locatoryestarget = model, versionValues from lookup models.
versionresource_locatoryestarget = versionDepends on model. Values from lookup model_versions.
deploymentresource_locatoryestarget = deploymentValues from lookup deployments.
inputjsonyes
poll_interval_secondsnumber2Poll every (seconds).
timeout_secondsnumber900Give up after (seconds).
cancel_on_timeoutbooleantrue
fail_on_errorbooleantrueFail the node when the prediction fails.
download_outputbooleanfalseDownload output files.
output_propertystring"data"download_output = trueOutput binary field prefix.

Get a prediction

Operation prediction.get.

NameTypeDefaultRequiredShown whenDescription
prediction_idresource_locatoryesPrediction. Values from lookup predictions.

Cancel a prediction

Operation prediction.cancel.

NameTypeDefaultRequiredShown whenDescription
prediction_idresource_locatoryesPrediction. Values from lookup predictions.

List predictions

Operation prediction.list. Newest first.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
created_afterdatetime
created_beforedatetime
sourceoptionsCreated from. One of api, web.

Model

OperationIDEffectPaginatedCassette tests
Get a modelmodel.getreads1
Search modelsmodel.searchreads1
List public modelsmodel.listreadsyes1
List model versionsmodel.list_versionsreadsyes1
Get a model versionmodel.get_versionreads1

Get a model

Operation model.get.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.

Search models

Operation model.search.

NameTypeDefaultRequiredShown whenDescription
querystringyes
max_resultsnumber201 to 50.

List public models

Operation model.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false
sort_byoptions"latest_version_created_at"One of model_created_at, latest_version_created_at.
sort_directionoptions"desc"Direction. One of asc, desc.

List model versions

Operation model.list_versions.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.
return_allbooleanfalse
limitnumber50return_all = false

Get a model version

Operation model.get_version.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.
versionresource_locatoryesDepends on model. Values from lookup model_versions.

Collection

OperationIDEffectPaginatedCassette tests
List collectionscollection.listreadsyes1
Get a collectioncollection.getreads1

List collections

Operation collection.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Get a collection

Operation collection.get. Returns the collection with its models.

NameTypeDefaultRequiredShown whenDescription
collectionresource_locatoryesValues from lookup collections.

Deployment

OperationIDEffectPaginatedCassette tests
List deploymentsdeployment.listreadsyes1
Get a deploymentdeployment.getreads1

List deployments

Operation deployment.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Get a deployment

Operation deployment.get.

NameTypeDefaultRequiredShown whenDescription
deploymentresource_locatoryesValues from lookup deployments.

Training

OperationIDEffectPaginatedCassette tests
Create a trainingtraining.createwrites1
Get a trainingtraining.getreads1
List trainingstraining.listreadsyes1
Cancel a trainingtraining.cancelwrites1

Create a training

Operation training.create.

NameTypeDefaultRequiredShown whenDescription
modelresource_locatoryesValues from lookup models.
versionresource_locatoryesBase version. Depends on model. Values from lookup model_versions.
destinationstringyesDestination model.
inputjsonyesTraining input.
webhookstringWebhook URL.
webhook_events_filtermulti_optionsWebhook events. One of start, output, logs, completed.

Get a training

Operation training.get.

NameTypeDefaultRequiredShown whenDescription
training_idresource_locatoryesTraining. Values from lookup trainings.

List trainings

Operation training.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Cancel a training

Operation training.cancel.

NameTypeDefaultRequiredShown whenDescription
training_idresource_locatoryesTraining. Values from lookup trainings.

File

Files up to 100 MB that can be passed to model inputs by URL.

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites1
List filesfile.listreadsyes1
Get a filefile.getreads1
Delete a filefile.deletewrites1

Upload a file

Operation file.upload.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yesInput binary field.
metadatajson

List files

Operation file.list.

NameTypeDefaultRequiredShown whenDescription
return_allbooleanfalse
limitnumber50return_all = false

Get a file

Operation file.get.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.

Delete a file

Operation file.delete.

NameTypeDefaultRequiredShown whenDescription
file_idresource_locatoryesFile. Values from lookup files.

Account

OperationIDEffectPaginatedCassette tests
Get the current accountaccount.getreads1

Get the current account

Operation account.get.

This node has no parameters.

Hardware

OperationIDEffectPaginatedCassette tests
List hardwarehardware.listreads1

List hardware

Operation hardware.list.

This node has no parameters.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
modelsserver-side{{ item.model.description }}
model_versionsmodelclient-side
deploymentsclient-side
predictionsclient-side
trainingsclient-side
filesclient-side
collectionsclient-side{{ item.description }}

Triggers

Node type connector.replicate_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
On prediction finishedprediction_completedpoll{{ item.id }}:{{ item.status }}0
On prediction webhookprediction_webhookwebhookhmac_sha256automatic0

Trigger: On prediction finished

Polls recent predictions and emits each one once it has finished.

NameTypeDefaultRequiredShown whenDescription
statusesmulti_options["succeeded","failed","canceled"]One of succeeded, failed, canceled.
modelstringOnly 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.

NameTypeDefaultRequiredShown whenDescription
eventsmulti_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:

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

MethodCredential kindAuth kindFieldsTest request
Bot or user tokenslack/bot_tokenbearertoken (secret), signing_secret (secret)yes
OAuth2 (install a Slack app)slack/oauth2oauth2_auth_codeclient_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

OperationIDEffectPaginatedCassette tests
Send a messagemessage.postwrites3
Send an ephemeral messagemessage.post_ephemeralwrites1
Update a messagemessage.updatewrites1
Delete a messagemessage.deletewrites1
Get a message permalinkmessage.get_permalinkreads1
Schedule a messagemessage.schedulewrites1
Search messagesmessage.searchreadsyes1

Send a message

Operation message.post. Posts a message to a channel, private group, DM or thread.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesChannel, DM or user ID. A user ID opens a DM with that user. Values from lookup channels.
textstringMessage text (mrkdwn). Used as the notification fallback when blocks are given.
blocksjsonBlock Kit blocks as a JSON array (an object with a blocks key, as Block Kit Builder exports it, is accepted too).
attachmentsjsonLegacy secondary attachments as a JSON array.
thread_tsstringTimestamp of the parent message to reply in its thread.
reply_broadcastbooleanfalseAlso show the thread reply in the channel.
mrkdwnbooleantrue
unfurl_linksboolean
unfurl_mediaboolean
link_namesboolean
usernamestringCustom bot name (needs chat:write.customize).
icon_emojistring
icon_urlstring
metadatajsonMessage metadata object ({ event_type, event_payload }).

Send an ephemeral message

Operation message.post_ephemeral. Shows a message only to one user in a channel.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
userresource_locatoryesUser who will see the message. Values from lookup users.
textstring
blocksjson
thread_tsstring

Update a message

Operation message.update.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyesTimestamp of the message to change.
textstring
blocksjson
attachmentsjson
link_namesboolean
reply_broadcastboolean

Delete a message

Operation message.delete.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes

Operation message.get_permalink.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes

Schedule a message

Operation message.schedule.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
post_atnumberyesUnix timestamp (seconds) when the message is sent.
textstring
blocksjson
thread_tsstring

Search messages

Operation message.search. Searches messages in the workspace. Needs a user token with the search:read scope.

NameTypeDefaultRequiredShown whenDescription
querystringyes
sortoptions"score"One of score, timestamp.
sort_diroptions"desc"One of asc, desc.
return_allbooleanfalse
limitnumber50return_all = false

Channel

OperationIDEffectPaginatedCassette tests
List channelschannel.listreadsyes2
Get a channelchannel.getreads2
Create a channelchannel.createwrites1
Archive a channelchannel.archivewrites1
Unarchive a channelchannel.unarchivewrites1
Rename a channelchannel.renamewrites1
Set the channel topicchannel.set_topicwrites1
Set the channel descriptionchannel.set_purposewrites1
Invite users to a channelchannel.invitewrites1
Remove a user from a channelchannel.kickwrites1
Join a channelchannel.joinwrites1
Leave a channelchannel.leavewrites1
Open a direct messagechannel.openwrites1
Close a direct messagechannel.closewrites1
Get channel historychannel.historyreadsyes1
Get thread replieschannel.repliesreadsyes1
List channel memberschannel.membersreadsyes1

List channels

Operation channel.list.

NameTypeDefaultRequiredShown whenDescription
typesmulti_options["public_channel"]One of public_channel, private_channel, mpim, im.
exclude_archivedbooleantrue
return_allbooleanfalse
limitnumber50return_all = false

Get a channel

Operation channel.get.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
include_num_membersbooleanfalse

Create a channel

Operation channel.create.

NameTypeDefaultRequiredShown whenDescription
namestringyesLowercase, no spaces or periods, at most 80 characters.
visibilityoptions"public"One of public, private.
team_idstringWorkspace ID (only for org-wide apps).

Archive a channel

Operation channel.archive.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

Unarchive a channel

Operation channel.unarchive.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

Rename a channel

Operation channel.rename.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
namestringyes

Set the channel topic

Operation channel.set_topic.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
topicstringyes

Set the channel description

Operation channel.set_purpose.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
purposestringyes

Invite users to a channel

Operation channel.invite.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
usersmulti_optionsyesUser IDs to add (up to 1000). Values from lookup users.

Remove a user from a channel

Operation channel.kick.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
userresource_locatoryesValues from lookup users.

Join a channel

Operation channel.join.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

Leave a channel

Operation channel.leave.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

Open a direct message

Operation channel.open. Opens (or resumes) a DM or multi-person DM and returns its channel.

NameTypeDefaultRequiredShown whenDescription
usersmulti_optionsyesOne user for a DM, or 2 to 8 users for a group DM. Values from lookup users.

Close a direct message

Operation channel.close.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

Get channel history

Operation channel.history. Lists messages in a channel, newest first.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
oldeststringOnly messages after this timestamp (Unix seconds or message ts).
lateststringOnly messages before this timestamp.
inclusivebooleanfalse
return_allbooleanfalse
limitnumber50return_all = false

Get thread replies

Operation channel.replies.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyesTimestamp of the thread’s parent message.
oldeststring
lateststring
return_allbooleanfalse
limitnumber50return_all = false

List channel members

Operation channel.members.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
return_allbooleanfalse
limitnumber50return_all = false

File

OperationIDEffectPaginatedCassette tests
Upload a filefile.uploadwrites2
Get file detailsfile.getreads1
Download a filefile.downloadreads1
List filesfile.listreadsyes1
Delete a filefile.deletewrites1

Upload a file

Operation file.upload. Uploads binary data with Slack’s external upload flow and optionally shares it in a channel or thread.

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"yes
file_namestringDefaults to the binary file name.
titlestring
channelresource_locatorChannel to share the file in. Leave empty to keep it private. Values from lookup channels.
thread_tsstringShare as a reply in this thread.
initial_commentstringMessage text posted with the file.
alt_textstringImage description for screen readers.
snippet_typestringSyntax type for text snippets, for example python.

Get file details

Operation file.get.

NameTypeDefaultRequiredShown whenDescription
filestringyesFile ID (F…).

Download a file

Operation file.download. Fetches the file details and stores the file content as binary data.

NameTypeDefaultRequiredShown whenDescription
filestringyesFile ID (F…).
binary_propertystring"data"Binary property to write the file to.

List files

Operation file.list.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatorOnly files shared in this channel. Values from lookup channels.
userresource_locatorOnly files created by this user. Values from lookup users.
typesmulti_optionsOne of all, spaces, snippets, images, gdocs, zips, pdfs.
ts_fromstringOnly files created after this Unix timestamp.
ts_tostringOnly files created before this Unix timestamp.
show_files_hidden_by_limitbooleanfalse
return_allbooleanfalse
limitnumber50return_all = false

Delete a file

Operation file.delete.

NameTypeDefaultRequiredShown whenDescription
filestringyes

Reaction

OperationIDEffectPaginatedCassette tests
Add a reactionreaction.addwrites1
Remove a reactionreaction.removewrites1
Get reactions of a messagereaction.getreads1

Add a reaction

Operation reaction.add.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyesTimestamp of the message.
namestringyesEmoji name without colons, for example thumbsup.

Remove a reaction

Operation reaction.remove.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes
namestringyes

Get reactions of a message

Operation reaction.get.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes
fullbooleantrueReturn the complete list of users per reaction.

Pin

OperationIDEffectPaginatedCassette tests
Pin a messagepin.addwrites1
Unpin a messagepin.removewrites1
List pinned itemspin.listreads1

Pin a message

Operation pin.add.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes

Unpin a message

Operation pin.remove.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
tsstringyes

List pinned items

Operation pin.list.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.

User

OperationIDEffectPaginatedCassette tests
Get a useruser.getreads2
List usersuser.listreadsyes1
Find a user by emailuser.lookup_by_emailreads2
Get a user’s presenceuser.get_presencereads1
Get a user’s profileuser.get_profilereads1
Update a user’s profileuser.update_profilewrites1

Get a user

Operation user.get.

NameTypeDefaultRequiredShown whenDescription
userresource_locatoryesValues from lookup users.
include_localebooleanfalse

List users

Operation user.list.

NameTypeDefaultRequiredShown whenDescription
include_localebooleanfalse
return_allbooleanfalse
limitnumber50return_all = false

Find a user by email

Operation user.lookup_by_email.

NameTypeDefaultRequiredShown whenDescription
emailstringyes

Get a user’s presence

Operation user.get_presence.

NameTypeDefaultRequiredShown whenDescription
userresource_locatoryesValues from lookup users.

Get a user’s profile

Operation user.get_profile.

NameTypeDefaultRequiredShown whenDescription
userresource_locatorLeave empty for the token’s own user. Values from lookup users.
include_labelsbooleanfalse

Update a user’s profile

Operation user.update_profile. Changes profile fields. Needs a user token with users.profile:write.

NameTypeDefaultRequiredShown whenDescription
userresource_locatorLeave empty for the token’s own user (other users need an admin token). Values from lookup users.
first_namestring
last_namestring
display_namestring
titlestring
phonestring
emailstring
pronounsstring
status_textstring
status_emojistring
status_expirationnumberUnix timestamp when the status clears (0 = never).
fieldsjsonCustom profile fields as an object keyed by field ID: { “Xf123”: { “value”: “…” } }.

User group

OperationIDEffectPaginatedCassette tests
List user groupsuser_group.listreads1
Create a user groupuser_group.createwrites1
Update a user groupuser_group.updatewrites1
Set the members of a user groupuser_group.update_userswrites1
Disable a user groupuser_group.disablewrites1
Enable a user groupuser_group.enablewrites1

List user groups

Operation user_group.list.

NameTypeDefaultRequiredShown whenDescription
include_disabledbooleanfalse
include_countbooleanfalse
include_usersbooleanfalse

Create a user group

Operation user_group.create.

NameTypeDefaultRequiredShown whenDescription
namestringyes
handlestringMention handle without the @.
descriptionstring
channelsmulti_optionsDefault channels for the group. Values from lookup channels.
include_countbooleanfalse

Update a user group

Operation user_group.update.

NameTypeDefaultRequiredShown whenDescription
user_groupresource_locatoryesValues from lookup user_groups.
namestring
handlestring
descriptionstring
channelsmulti_optionsValues from lookup channels.

Set the members of a user group

Operation user_group.update_users.

NameTypeDefaultRequiredShown whenDescription
user_groupresource_locatoryesValues from lookup user_groups.
usersmulti_optionsyesThe complete new member list. Values from lookup users.

Disable a user group

Operation user_group.disable.

NameTypeDefaultRequiredShown whenDescription
user_groupresource_locatoryesValues from lookup user_groups.

Enable a user group

Operation user_group.enable.

NameTypeDefaultRequiredShown whenDescription
user_groupresource_locatoryesValues from lookup user_groups.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
channelsclient-side{{ item.purpose.value if item.purpose else ‘’ }}
usersclient-side@{{ item.name }}
user_groupsclient-side@{{ item.handle }}

Triggers

Node type connector.slack_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Workspace eventeventswebhookhmac_sha256manual0
Interaction (buttons, menus, modals, shortcuts)interactionwebhookhmac_sha256manual0
Slash commandslash_commandwebhookhmac_sha256manual0
New message in channel (polling)new_messagepoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
eventsmulti_options["any"]Event types to accept. Message subtypes such as bot_message or file_share are matched too. 16 values, listed below.
channelresource_locatorOnly events in this channel. Leave empty for the whole workspace. Values from lookup channels.
ignore_retriesbooleanfalseAcknowledge Slack’s redelivery attempts without starting the workflow again.

Values of events

ValueLabel
anyAny event
messageNew message
app_mentionBot mentioned
bot_messageMessage posted by a bot
file_shareMessage with a file
reaction_addedReaction added
reaction_removedReaction removed
channel_createdChannel created
channel_archiveChannel archived
member_joined_channelUser joined a channel
member_left_channelUser left a channel
team_joinNew workspace member
file_sharedFile shared
file_publicFile made public
pin_addedMessage pinned
app_home_openedApp 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.

NameTypeDefaultRequiredShown whenDescription
typesmulti_options["any"]One of any, block_actions, view_submission, view_closed, shortcut, message_action.
action_idstringOnly block actions with this action_id.
callback_idstringOnly 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.

NameTypeDefaultRequiredShown whenDescription
commandstringOnly 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.

NameTypeDefaultRequiredShown whenDescription
channelresource_locatoryesValues from lookup channels.
include_botsbooleantrueAlso 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 typeVersion rangeStatusFixtures
n8n-nodes-base.slack1unverified
n8n-nodes-base.slack>=2 <3unverified
n8n-nodes-base.slackTrigger1unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Bot tokentelegram/bot_tokenapi_keytoken (secret), base_urlyes

Actions

Node type connector.telegram. Choose a resource and an operation; each operation has its own parameters.

Message

OperationIDEffectPaginatedCassette tests
Send a text messagemessage.send_textwrites4
Send a photomessage.send_photowrites2
Send a documentmessage.send_documentwrites2
Send an audio filemessage.send_audiowrites1
Send a videomessage.send_videowrites1
Send an animation (GIF or silent video)message.send_animationwrites1
Send a voice messagemessage.send_voicewrites1
Send a stickermessage.send_stickerwrites1
Send an albummessage.send_media_groupwrites1
Send a locationmessage.send_locationwrites1
Edit a message textmessage.edit_textwrites2
Delete a messagemessage.deletewrites1
Forward a messagemessage.forwardwrites1
Copy a messagemessage.copywrites1
Pin a messagemessage.pinwrites1
Unpin a messagemessage.unpinwrites1

Send a text message

Operation message.send_text.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
textstringyes1 to 4096 characters after entity parsing.
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
disable_web_page_previewbooleanfalse
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send a photo

Operation message.send_photo.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
has_spoilerbooleanfalse
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send a document

Operation message.send_document.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
disable_content_type_detectionbooleanfalse
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send an audio file

Operation message.send_audio.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
durationnumber
performerstring
titlestring
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send a video

Operation message.send_video.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
durationnumber
widthnumber
heightnumber
supports_streamingbooleanfalse
has_spoilerbooleanfalse
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send an animation (GIF or silent video)

Operation message.send_animation.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
durationnumber
widthnumber
heightnumber
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send a voice message

Operation message.send_voice.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
captionstring
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
durationnumber
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline keyboard, custom reply keyboard, keyboard removal or force-reply object.

Send a sticker

Operation message.send_sticker.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesChat ID, or @username of a public channel or group.
binary_databooleanfalseUpload the file from a binary property instead of sending a file_id or URL.
binary_propertybinary_property"data"binary_data = true
filestringbinary_data = falsefile_id of a file already on Telegram’s servers, or an HTTP URL for Telegram to fetch.
emojistringEmoji associated with a newly uploaded sticker.
message_thread_idnumberForum topic to post in.
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber
reply_markupjsonInline 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.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
mediajsonyesArray of InputMedia objects, for example [{“type”: “photo”, “media”: “https://…”, “caption”: “…”}].
message_thread_idnumber
disable_notificationbooleanfalse
protect_contentbooleanfalse
reply_to_message_idnumber

Send a location

Operation message.send_location.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
latitudenumberyes
longitudenumberyes
horizontal_accuracynumberRadius of uncertainty in meters (0-1500).
live_periodnumberSeconds the location stays live (60-86400).
message_thread_idnumber
disable_notificationbooleanfalse
reply_to_message_idnumber
reply_markupjson

Edit a message text

Operation message.edit_text.

NameTypeDefaultRequiredShown whenDescription
message_typeoptions"message"One of message, inline_message.
chat_idstringmessage_type = message
message_idnumbermessage_type = message
inline_message_idstringmessage_type = inline_message
textstringyes
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
disable_web_page_previewbooleanfalse
reply_markupjsonInline keyboard to show under the message.

Delete a message

Operation message.delete.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
message_idnumberyes

Forward a message

Operation message.forward.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyesTarget chat.
from_chat_idstringyesChat the message is in.
message_idnumberyes
message_thread_idnumber
disable_notificationbooleanfalse
protect_contentbooleanfalse

Copy a message

Operation message.copy. Sends a copy of a message without the link to the original.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
from_chat_idstringyes
message_idnumberyes
captionstringNew caption for media (keeps the original when empty).
parse_modeoptionsOne of HTML, MarkdownV2, Markdown.
message_thread_idnumber
disable_notificationbooleanfalse
reply_markupjson

Pin a message

Operation message.pin.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
message_idnumberyes
disable_notificationbooleanfalse

Unpin a message

Operation message.unpin.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
message_idnumberLeave empty to unpin the most recent pinned message.

Chat

OperationIDEffectPaginatedCassette tests
Get a chatchat.getreads1
List chat administratorschat.get_administratorsreads1
Get a chat memberchat.get_memberreads1
Count chat memberschat.get_member_countreads1
Leave a chatchat.leavewrites1
Set the chat titlechat.set_titlewrites1
Set the chat descriptionchat.set_descriptionwrites1
Show a chat actionchat.send_actionwrites1

Get a chat

Operation chat.get.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes

List chat administrators

Operation chat.get_administrators.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes

Get a chat member

Operation chat.get_member.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
user_idnumberyes

Count chat members

Operation chat.get_member_count.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes

Leave a chat

Operation chat.leave.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes

Set the chat title

Operation chat.set_title.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
titlestringyes

Set the chat description

Operation chat.set_description.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
descriptionstring0 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.

NameTypeDefaultRequiredShown whenDescription
chat_idstringyes
actionoptions"typing"yesOne 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_idnumber

Callback

OperationIDEffectPaginatedCassette tests
Answer a callback querycallback.answer_querywrites1
Answer an inline querycallback.answer_inline_querywrites1

Answer a callback query

Operation callback.answer_query. Acknowledges an inline keyboard button press, optionally showing a notification or alert.

NameTypeDefaultRequiredShown whenDescription
query_idstringyescallback_query.id from the update.
textstringNotification text (0-200 characters).
show_alertbooleanfalse
urlstringURL to open (game or t.me deep link).
cache_timenumber

Answer an inline query

Operation callback.answer_inline_query.

NameTypeDefaultRequiredShown whenDescription
query_idstringyesinline_query.id from the update.
resultsjsonyesArray of InlineQueryResult objects (at most 50).
cache_timenumber
is_personalbooleanfalse
next_offsetstring

File

OperationIDEffectPaginatedCassette tests
Get file detailsfile.getreads1
Download a filefile.downloadreads1

Get file details

Operation file.get. Returns the file path and size; the download link is valid for at least one hour.

NameTypeDefaultRequiredShown whenDescription
file_idstringyes

Download a file

Operation file.download. Downloads a file (up to 20 MB on the public Bot API server) into a binary property.

NameTypeDefaultRequiredShown whenDescription
file_idstringyes
binary_propertystring"data"

Bot

OperationIDEffectPaginatedCassette tests
Get bot detailsbot.get_mereads1
Get webhook statusbot.get_webhook_inforeads1

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.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
Bot updateupdateswebhooktokenautomatic0
Bot update (polling)new_updatepoll{{ 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.

NameTypeDefaultRequiredShown whenDescription
updatesmulti_options["*"]Update types to receive. “All” asks for every type Telegram sends by default. 16 values, listed below.
chat_idsstringComma-separated chat IDs to accept. Leave empty for all chats.
user_idsstringComma-separated sender user IDs to accept. Leave empty for everyone.
drop_pending_updatesbooleanfalseDiscard updates that queued up while no webhook was registered.

Values of updates

ValueLabel
*All
messageMessage
edited_messageEdited message
channel_postChannel post
edited_channel_postEdited channel post
inline_queryInline query
chosen_inline_resultChosen inline result
callback_queryCallback query
shipping_queryShipping query
pre_checkout_queryPre-checkout query
pollPoll
poll_answerPoll answer
my_chat_memberBot membership changed
chat_memberChat member changed
chat_join_requestJoin request
message_reactionReaction 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.

NameTypeDefaultRequiredShown whenDescription
updatesmulti_options["*"]14 values, listed below.

Values of updates

ValueLabel
*
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 typeVersion rangeStatusFixtures
n8n-nodes-base.telegram>=1 <2unverified
n8n-nodes-base.telegramTrigger>=1 <2unverified

Provenance

Written from the vendor’s documentation:

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

MethodCredential kindAuth kindFieldsTest request
Google account (OAuth2)youtube/oauth2oauth2_auth_codeclient_id, client_secret (secret)yes
Google service account (public data only)youtube/service_accountjwt_service_accountclient_email, private_key (secret), subjectyes
API key (public data only)youtube/api_keyapi_keyapi_key (secret)yes

Actions

Node type connector.youtube. Choose a resource and an operation; each operation has its own parameters.

Channel

OperationIDEffectPaginatedCassette tests
Get a channelchannel.getreads1
List channelschannel.listreadsyes2
Update channel settingschannel.updatewrites1
Upload a channel bannerchannel.upload_bannerwrites1

Get a channel

Operation channel.get.

NameTypeDefaultRequiredShown whenDescription
channel_idresource_locatoryesChannel. Values from lookup my_channels.
partmulti_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.

NameTypeDefaultRequiredShown whenDescription
partmulti_options["snippet"]Parts to return. “*” returns every part listed here. One of *, brandingSettings, contentDetails, contentOwnerDetails, id, localizations, snippet, statistics, status, topicDetails.
minebooleanfalseOnly my channels. Also used when no other filter is set.
idsstringChannel IDs. Comma separated channel IDs.
for_handlestringHandle.
for_usernamestringLegacy username.
managed_by_mebooleanfalseContent owner accounts only.
languagestringLocalization language. Language code for localized titles and descriptions.
return_allbooleanfalse
limitnumber25return_all = false

Update channel settings

Operation channel.update. Changes the channel description, keywords, country, language or trailer; other branding settings are kept.

NameTypeDefaultRequiredShown whenDescription
channel_idresource_locatoryesChannel. Values from lookup my_channels.
descriptionstring
keywordsstringSpace separated; quote phrases that contain spaces.
countrystring
default_languagestring
unsubscribed_trailerstringTrailer video for non-subscribers.
tracking_analytics_account_idstringGoogle 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.

NameTypeDefaultRequiredShown whenDescription
channel_idresource_locatoryesChannel. Values from lookup my_channels.
binary_propertybinary_property"data"Input binary field.

Playlist

OperationIDEffectPaginatedCassette tests
Create a playlistplaylist.createwrites1
Get a playlistplaylist.getreads1
List playlistsplaylist.listreadsyes2
Update a playlistplaylist.updatewrites1
Delete a playlistplaylist.deletewrites1

Create a playlist

Operation playlist.create.

NameTypeDefaultRequiredShown whenDescription
titlestringyes
descriptionstring
privacy_statusoptionsOne of private, public, unlisted.
tagsstringComma separated tags.
default_languagestring

Get a playlist

Operation playlist.get.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. Values from lookup my_playlists.
partmulti_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.

NameTypeDefaultRequiredShown whenDescription
partmulti_options["snippet"]One of *, contentDetails, id, localizations, player, snippet, status.
channel_idresource_locatorChannel. Leave empty for your own playlists. Values from lookup my_channels.
idsstringPlaylist IDs. Comma separated playlist IDs.
return_allbooleanfalse
limitnumber25return_all = false

Update a playlist

Operation playlist.update. Changes the fields that are set and keeps the others.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. Values from lookup my_playlists.
titlestring
descriptionstring
privacy_statusoptionsOne of private, public, unlisted.
tagsstringComma separated tags.
default_languagestring

Delete a playlist

Operation playlist.delete.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. Values from lookup my_playlists.

Playlist item

OperationIDEffectPaginatedCassette tests
Add a video to a playlistplaylist_item.addwrites1
Get a playlist itemplaylist_item.getreads1
List playlist itemsplaylist_item.listreadsyes1
Remove a video from a playlistplaylist_item.deletewrites1

Add a video to a playlist

Operation playlist_item.add.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. Values from lookup my_playlists.
video_idresource_locatoryesVideo. Values from lookup my_videos.
positionnumberZero-based position. Appends when empty.
notestringA note for this item (shown for some playlist types).

Get a playlist item

Operation playlist_item.get.

NameTypeDefaultRequiredShown whenDescription
playlist_item_idstringyesPlaylist item ID.
partmulti_options["snippet"]One of *, contentDetails, id, snippet, status.

List playlist items

Operation playlist_item.list.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. Values from lookup my_playlists.
partmulti_options["snippet"]One of *, contentDetails, id, snippet, status.
video_idstringOnly this video.
return_allbooleanfalse
limitnumber25return_all = false

Remove a video from a playlist

Operation playlist_item.delete.

NameTypeDefaultRequiredShown whenDescription
playlist_item_idstringyesPlaylist item ID.

Video

OperationIDEffectPaginatedCassette tests
Upload a videovideo.uploadwrites1
Get a videovideo.getreads2
List videosvideo.listreadsyes2
Search videosvideo.searchreadsyes2
Update a videovideo.updatewrites1
Delete a videovideo.deletewrites1
Rate a videovideo.ratewrites1
Get my rating of videosvideo.get_ratingreads1
Set a custom thumbnailvideo.set_thumbnailwrites1

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).

NameTypeDefaultRequiredShown whenDescription
binary_propertybinary_property"data"Input binary field.
titlestringyes
descriptionstring
tagsstringComma separated tags.
region_codestring"US"Region used to list video categories.
category_idoptions"22"Category. Depends on region_code. Values from lookup video_categories.
privacy_statusoptions"private"One of private, public, unlisted.
publish_atdatetimeScheduled publish time; requires privacy status private.
embeddableboolean
licenseoptionsOne of youtube, creativeCommon.
public_stats_viewableboolean
made_for_kidsboolean
default_languagestring
recording_datedatetime
notify_subscribersbooleantrue

Get a video

Operation video.get.

NameTypeDefaultRequiredShown whenDescription
video_idresource_locatoryesVideo. Values from lookup my_videos.
partmulti_options["snippet"]14 values, listed below.
Values of part
ValueLabel
*
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.

NameTypeDefaultRequiredShown whenDescription
partmulti_options["snippet"]14 values, listed below.
filteroptions"ids"One of ids, most_popular, liked, disliked.
idsstringfilter = idsVideo IDs. Comma separated video IDs.
region_codestringfilter = most_popular
video_category_idoptionsfilter = most_popularCategory. Depends on region_code. Values from lookup video_categories.
return_allbooleanfalse
limitnumber25return_all = false
Values of part
ValueLabel
*
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).

NameTypeDefaultRequiredShown whenDescription
querystring
channel_idstringChannel.
for_minebooleanfalseOnly my videos.
orderoptionsOne of date, rating, relevance, title, videoCount, viewCount.
published_afterdatetime
published_beforedatetime
region_codestring
relevance_languagestring
safe_searchoptionsOne of moderate, none, strict.
video_category_idstring
video_durationoptionsOne of any, long, medium, short.
video_definitionoptionsOne of any, high, standard.
video_typeoptionsOne of any, episode, movie.
event_typeoptionsLive status. One of completed, live, upcoming.
video_embeddablebooleanfalseOnly embeddable.
return_allbooleanfalse
limitnumber25return_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).

NameTypeDefaultRequiredShown whenDescription
video_idresource_locatoryesVideo. Values from lookup my_videos.
titlestring
descriptionstring
tagsstringComma separated tags.
region_codestring"US"Region used to list video categories.
category_idoptionsCategory. Depends on region_code. Values from lookup video_categories.
privacy_statusoptionsOne of private, public, unlisted.
publish_atdatetimeScheduled publish time; requires privacy status private.
embeddableboolean
licenseoptionsOne of youtube, creativeCommon.
public_stats_viewableboolean
made_for_kidsboolean
default_languagestring

Delete a video

Operation video.delete.

NameTypeDefaultRequiredShown whenDescription
video_idresource_locatoryesVideo. Values from lookup my_videos.

Rate a video

Operation video.rate.

NameTypeDefaultRequiredShown whenDescription
video_idresource_locatoryesVideo. Values from lookup my_videos.
ratingoptions"like"yesOne of like, dislike, none.

Get my rating of videos

Operation video.get_rating.

NameTypeDefaultRequiredShown whenDescription
idsstringyesVideo 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.

NameTypeDefaultRequiredShown whenDescription
video_idresource_locatoryesVideo. Values from lookup my_videos.
binary_propertybinary_property"data"Input binary field.

Video category

OperationIDEffectPaginatedCassette tests
List video categoriesvideo_category.listreads1

List video categories

Operation video_category.list.

NameTypeDefaultRequiredShown whenDescription
region_codestring"US"yes
languagestringLanguage for the category titles.
assignable_onlybooleanfalseOnly categories that can be assigned to uploads.

Lookups

Lookups fill dropdowns and resource pickers in the editor from the vendor API.

LookupDepends onSearchDescription
my_channelsclient-side{{ item.snippet.customUrl }}
my_playlistsclient-side
my_videosserver-side{{ item.snippet.publishedAt }}
video_categoriesregion_codeclient-side

Triggers

Node type connector.youtube_trigger.

TriggerIDKindDeduplication keySignatureWebhook registrationCassette tests
New video on a channelnew_videopoll{{ item.videoId }}0
New video in a playlistnew_playlist_itempoll{{ 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).

NameTypeDefaultRequiredShown whenDescription
channel_idresource_locatoryesChannel. Channel ID starting with UC. Values from lookup my_channels.

Trigger: New video in a playlist

Emits videos newly added to a playlist.

NameTypeDefaultRequiredShown whenDescription
playlist_idresource_locatoryesPlaylist. 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 typeVersion rangeStatusFixtures
n8n-nodes-base.youTube>=1 <2unverified

Provenance

Written from the vendor’s documentation:

Configuration

Tappet is configured through TAPPET_* environment variables and, optionally, a tappet.toml file. Command-line flags override both.

Precedence, highest first:

  1. Command-line flags (--port, --host, --log-format, --log-level, --concurrency, …).
  2. Environment variables. An empty value counts as unset.
  3. tappet.toml.
  4. Built-in defaults.

tappet reads exactly one configuration file, the first that exists of:

  1. the path given with --config FILE;
  2. the path in TAPPET_CONFIG;
  3. ./tappet.toml in the working directory;
  4. ${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

TypeAccepted values
booleantrue/false, 1/0, yes/no, on/off (case-insensitive)
sizebytes, or a number with KB, MB, GB, TB (binary: 1 MB = 1024 KB; KiB/MiB also accepted). 1.5MB is allowed.
durationa number with ms, s, m, h, d or w (500ms, 30s, 14d). A bare number uses the unit given in the table below.
listcomma-separated (a,b,c) or a TOML array

General

VariableDefaultDescription
TAPPET_CONFIG(search, see above)Path of the tappet.toml to load. Environment only.
TAPPET_ENVdevelopmentdevelopment 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_URLsqlite://${TAPPET_DATA}/tappet.dbsqlite://path (single node) or postgres://user:pass@host/db (required for serve --role api + worker deployments).
TAPPET_BLOBS_URLs3:// URL when TAPPET_S3_BUCKET is set, else file://${TAPPET_DATA}/blobsBinary data and large-payload spill store.
TAPPET_HOST127.0.0.1Listen address. Use 0.0.0.0 in containers. localhost is accepted.
TAPPET_PORT5678Listen port.
TAPPET_PUBLIC_URLunsetExternally 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_PROJECTowner’s first project, else defaultProject id or name used by CLI commands run without --project.

Encryption

VariableDefaultDescription
TAPPET_ENCRYPTION_KEYunsetKey-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_VERSION1 (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

VariableDefaultDescription
TAPPET_LOG_FORMATtexttext or json (one JSON object per line). Logs always go to standard error.
TAPPET_LOG_LEVELinfo for serve/worker, warn for other commandstracing filter directive, e.g. info,tappet_engine=debug. RUST_LOG takes precedence when set; --log-level overrides both.
TAPPET_OTEL_ENDPOINTunsetOTLP collector endpoint (http://otel-collector:4317). Used by builds with OTLP export.
TAPPET_OTEL_SERVICE_NAMEtappetservice.name resource attribute for exported traces.

Security

VariableDefaultDescription
TAPPET_EGRESS_POLICYlocal; strict in multi-tenant modeOutbound 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_ALLOWemptyHosts, IPs or CIDRs always allowed (overrides blocks, including metadata addresses listed explicitly). *.example.com matches subdomains.
TAPPET_EGRESS_DENYemptyExtra hosts, IPs or CIDRs to block.
TAPPET_ALLOW_EXECfalseEnables exec-class nodes (Execute Command, SSH, local files, MCP stdio). Ignored in multi-tenant mode.
TAPPET_MULTI_TENANTfalseMulti-tenant mode: forces the strict egress policy, disables exec-class nodes and $env by default.
TAPPET_EXPR_ALLOW_ENVtrue; false in multi-tenant modeExpose process environment variables to expressions as $env. TAPPET_* variables are never exposed.
TAPPET_EXPR_ENV_ALLOWLISTempty (all non-TAPPET_* variables)Limit $env to these names; an entry ending in * matches a prefix (API_*).
TAPPET_SECURE_COOKIESderived from TAPPET_PUBLIC_URL (https means secure)Force the Secure attribute on session cookies on or off.
TAPPET_SESSION_TTL7d (bare number: hours)Lifetime of a login session.
TAPPET_CORS_ORIGINSempty (no cross-origin access)Origins allowed to call the REST API from a browser.
TAPPET_UI_ENABLEDtrueServe the embedded web UI.

Limits

VariableDefaultDescription
TAPPET_QUEUE_MAX_DEPTH100000Durable queue depth at which webhooks answer 503 with Retry-After.
TAPPET_INFLIGHT_BYTES256MBBudget for request payloads parsed in memory at once.
TAPPET_WEBHOOK_BODY_MAX16MBLargest accepted webhook body.
TAPPET_API_BODY_MAX16MBLargest accepted REST API body (workflow imports).
TAPPET_BINARY_INLINE_MAX64KBBinary data up to this size is kept inline with the item; larger data goes to the blob store.
TAPPET_JSON_SPILL_THRESHOLD2MBNode outputs larger than this are stored in the blob store and loaded on demand.
TAPPET_MAX_NODE_RUNS10000Loop guard: maximum runs of one node in one execution.
TAPPET_MAX_SUB_WORKFLOW_DEPTH10Maximum nesting of Execute Workflow calls.
TAPPET_MAX_ITEMS_PER_OUTPUT1000000Maximum items a single node may output.

Executions

VariableDefaultDescription
TAPPET_EXECUTIONS_TTL14d (bare number: days)Executions older than this are pruned. Rounded up to whole days.
TAPPET_EXECUTIONS_MAX_COUNTunset (no cap)Keep at most this many executions.
TAPPET_WORKER_CONCURRENCY64Executions one process runs at a time (serve --role all and worker; --concurrency overrides).
TAPPET_LEASE_TTL60s (bare number: seconds)Worker lease on a running execution; an execution whose lease expires is recovered by another worker. Minimum 5 s.
TAPPET_CHECKPOINTevery_nodeevery_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_TIMEOUT300s (bare number: seconds)How long lastNode/responseNode webhooks wait for the workflow.
TAPPET_TIMEZONEUTCTimezone for workflows that do not set one (IANA name, e.g. Europe/Berlin).
TAPPET_SHUTDOWN_TIMEOUT30s (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)

VariableDefaultDescription
TAPPET_JS_MEMORY_LIMIT64MBMemory cap of each JavaScript runtime.
TAPPET_EXPR_TIMEOUT1s (bare number: milliseconds)Budget for one expression evaluation.
TAPPET_CODE_TIMEOUT5s (bare number: milliseconds)Budget for one Code node run.
TAPPET_JS_RUNTIMES8Maximum JavaScript runtimes alive at once (memory bound = runtimes x memory limit).

Catalogs

VariableDefaultDescription
TAPPET_CONNECTORS_DIRunsetDirectory of <id>/connector.yaml files loaded on top of the embedded connectors (same id replaces).
TAPPET_MAPPINGS_DIRunsetDirectory 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.

VariableDefaultDescription
TAPPET_S3_BUCKETunsetBucket name.
TAPPET_S3_PREFIXunsetKey prefix inside the bucket (leading and trailing slashes are removed).
TAPPET_S3_REGIONprovider defaultRegion, e.g. eu-central-1.
TAPPET_S3_ENDPOINTAWSEndpoint URL for S3-compatible services (MinIO, R2, …).
TAPPET_S3_ACCESS_KEY_IDambient credentialsAccess key id.
TAPPET_S3_SECRET_ACCESS_KEYambient credentialsSecret access key. Never logged.
TAPPET_S3_FORCE_PATH_STYLEfalseUse 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.

VariableDefaultDescription
TAPPET_OIDC_ISSUERunsetIssuer URL (discovery document at {issuer}/.well-known/openid-configuration).
TAPPET_OIDC_CLIENT_IDrequired with an issuerClient id registered with the provider.
TAPPET_OIDC_CLIENT_SECRETunset (public client)Client secret. Never logged.
TAPPET_OIDC_SCOPESopenid,email,profileRequested scopes; openid is always included.
TAPPET_OIDC_ROLE_CLAIMunsetClaim holding group or role names (e.g. groups).
TAPPET_OIDC_ROLE_MAPunsetClaim value to instance role, ops=admin,staff=member. Roles: owner, admin, member.

External tools

VariableDefaultDescription
TAPPET_CLOUDFLARED_BINcloudflared on PATHExecutable used by tappet serve --tunnel cloudflared.
TAPPET_PARITY_BINparity/harness/... in the working directory, then tappet-parity on PATHParity harness used by tappet parity.

Command-line exit codes

CodeMeaning
0Success.
1The 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.
2Usage 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.

Variabletappet.toml keyNotesSummary
TAPPET_CONFIGenvironment onlypath to tappet.toml
TAPPET_ENVenvdevelopment | production
TAPPET_DATAdatadata directory
TAPPET_DATABASE_URLdatabase_urlsqlite:// or postgres:// URL
TAPPET_BLOBS_URLblobs_urlspill/blob store URL (file:// or s3://)
TAPPET_HOSThostlisten address
TAPPET_PORTportlisten port
TAPPET_PUBLIC_URLpublic_urlexternally reachable base URL
TAPPET_INSTANCE_IDinstance_idunique id of this process
TAPPET_DEFAULT_PROJECTdefault_projectproject used by CLI commands without –project
TAPPET_ENCRYPTION_KEYencryption_keysecretbase64 32-byte key-encryption key
TAPPET_ENCRYPTION_KEY_VERSIONencryption_key_versionversion number of the KEK
TAPPET_LOG_FORMATlog_formattext | json
TAPPET_LOG_LEVELlog_leveltracing filter directive
TAPPET_OTEL_ENDPOINTotel_endpointOTLP collector endpoint
TAPPET_OTEL_SERVICE_NAMEotel_service_nameservice.name resource attribute
TAPPET_EGRESS_POLICYegress_policylocal | strict
TAPPET_EGRESS_ALLOWegress_allowhosts/CIDRs always allowed
TAPPET_EGRESS_DENYegress_denyextra CIDRs to block
TAPPET_ALLOW_EXECallow_execenable exec-class nodes
TAPPET_MULTI_TENANTmulti_tenantmulti-tenant mode
TAPPET_EXPR_ALLOW_ENVexpr_allow_envexpose $env to expressions
TAPPET_EXPR_ENV_ALLOWLISTexpr_env_allowlistnames exposed through $env
TAPPET_SECURE_COOKIESsecure_cookiesforce Secure session cookies
TAPPET_SESSION_TTLsession_ttlsession lifetime
TAPPET_CORS_ORIGINScors_originsallowed CORS origins
TAPPET_UI_ENABLEDui_enabledserve the embedded web UI
TAPPET_QUEUE_MAX_DEPTHqueue_max_depthqueue depth that triggers 503
TAPPET_INFLIGHT_BYTESinflight_bytesin-memory payload budget
TAPPET_WEBHOOK_BODY_MAXwebhook_body_maxwebhook body cap
TAPPET_API_BODY_MAXapi_body_maxREST API body cap
TAPPET_BINARY_INLINE_MAXbinary_inline_maxinline binary threshold
TAPPET_JSON_SPILL_THRESHOLDjson_spill_thresholdnode output spill threshold
TAPPET_MAX_NODE_RUNSmax_node_runsloop guard per node
TAPPET_MAX_SUB_WORKFLOW_DEPTHmax_sub_workflow_depthsub-workflow nesting limit
TAPPET_MAX_ITEMS_PER_OUTPUTmax_items_per_outputmax items one node may emit
TAPPET_EXECUTIONS_TTLexecutions_ttlexecution retention
TAPPET_EXECUTIONS_MAX_COUNTexecutions_max_countmax executions kept
TAPPET_WORKER_CONCURRENCYworker_concurrencyconcurrent executions per process
TAPPET_LEASE_TTLlease_ttlworker lease duration
TAPPET_CHECKPOINTcheckpointevery_node | wait_only
TAPPET_SYNC_WEBHOOK_TIMEOUTsync_webhook_timeoutmax wait for lastNode/responseNode webhooks
TAPPET_TIMEZONEtimezonedefault workflow timezone
TAPPET_SHUTDOWN_TIMEOUTshutdown_timeoutgraceful shutdown budget
TAPPET_JS_MEMORY_LIMITjs_memory_limitmemory cap per JS runtime
TAPPET_EXPR_TIMEOUTexpr_timeoutbudget per expression evaluation
TAPPET_CODE_TIMEOUTcode_timeoutbudget per Code node run
TAPPET_JS_RUNTIMESjs_runtimesmax concurrent JS runtimes
TAPPET_CONNECTORS_DIRconnectors_dirextra/override connector directory
TAPPET_MAPPINGS_DIRmappings_dirextra/override n8n mapping directory
TAPPET_S3_BUCKETs3_bucketS3 bucket for the blob store
TAPPET_S3_PREFIXs3_prefixkey prefix inside the bucket
TAPPET_S3_REGIONs3_regionS3 region
TAPPET_S3_ENDPOINTs3_endpointS3-compatible endpoint URL
TAPPET_S3_ACCESS_KEY_IDs3_access_key_idS3 access key id
TAPPET_S3_SECRET_ACCESS_KEYs3_secret_access_keysecretS3 secret access key
TAPPET_S3_FORCE_PATH_STYLEs3_force_path_styleuse path-style S3 URLs
TAPPET_OIDC_ISSUERoidc_issuerOIDC issuer URL
TAPPET_OIDC_CLIENT_IDoidc_client_idOIDC client id
TAPPET_OIDC_CLIENT_SECREToidc_client_secretsecretOIDC client secret
TAPPET_OIDC_SCOPESoidc_scopesrequested scopes
TAPPET_OIDC_ROLE_CLAIMoidc_role_claimclaim carrying group/role names
TAPPET_OIDC_ROLE_MAPoidc_role_mapclaim value to instance role mapping
TAPPET_CLOUDFLARED_BINcloudflared_bincloudflared executable
TAPPET_PARITY_BINparity_binparity 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

CodeMeaning
0Success.
1The operation failed: a workflow run did not succeed, a credential test failed, lint found errors, or an infrastructure error occurred.
2Usage 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.

Global options

These options are accepted by every command.

OptionDescription
--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

CommandDescription
tappet serveRun the HTTP server (API, webhooks, UI) and, with role all, the workers.
tappet workerRun a queue worker without the HTTP server (HA deployments).
tappet importImport an exported n8n workflow and print the compatibility report.
tappet exportExport a stored workflow as n8n JSON or tappet JSON.
tappet runExecute a workflow once and print the result as JSON.
tappet credentialsManage credentials.
tappet keysManage the credential key-encryption key.
tappet migrateApply database migrations and exit.
tappet connectorConnector authoring tools.
tappet lintRepository checks.
tappet parityBehavioral parity harness against a reference n8n instance.
tappet configPrint the effective configuration as JSON (secrets redacted).
tappet versionPrint version information.

tappet serve

Run the HTTP server (API, webhooks, UI) and, with role all, the workers.

tappet serve [OPTIONS]
OptionDescription
--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]
OptionDescription
--concurrency <CONCURRENCY>Concurrent executions (overrides TAPPET_WORKER_CONCURRENCY).

tappet import

Import an exported n8n workflow and print the compatibility report.

tappet import [OPTIONS] <FILE>
ArgumentDescription
<FILE>Exported workflow JSON file (- reads standard input). Required.
OptionDescription
--project <PROJECT>Target project id or name (default: TAPPET_DEFAULT_PROJECT or the owner’s first project).
--activateActivate 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>
ArgumentDescription
<ID>Workflow id. Required.
OptionDescription
--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>
ArgumentDescription
<TARGET>Stored workflow id, or a path to a workflow JSON file (n8n export or tappet format). Required.
OptionDescription
--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.
--fullInclude the full per-node run data in the output.
--forceRun even when the import reports unsupported nodes.

tappet credentials

Manage credentials.

tappet credentials [OPTIONS] <COMMAND>
CommandDescription
tappet credentials listList credentials (secrets are never shown).
tappet credentials createCreate a credential. Prefer –data-file (or - for stdin) over –data so secrets stay out of shell history.
tappet credentials testRun the credential’s test request.
tappet credentials linkPoint a workflow’s imported credential placeholders at a stored credential.

tappet credentials list

List credentials (secrets are never shown).

tappet credentials list [OPTIONS]
OptionDescription
--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>
OptionDescription
--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>
ArgumentDescription
<ID>Required.

Point a workflow’s imported credential placeholders at a stored credential.

tappet credentials link [OPTIONS] --credential <CREDENTIAL> <WORKFLOW>
ArgumentDescription
<WORKFLOW>Workflow id. Required.
OptionDescription
--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.
--relinkAlso replace slots that are already linked to another credential.

tappet keys

Manage the credential key-encryption key.

tappet keys [OPTIONS] <COMMAND>
CommandDescription
tappet keys generatePrint a new random base64 key suitable for TAPPET_ENCRYPTION_KEY.
tappet keys rotateRe-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]
OptionDescription
--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>
CommandDescription
tappet connector lintValidate connector definitions.
tappet connector testValidate a connector’s cassette tests.
tappet connector newScaffold a new connector directory.

tappet connector lint

Validate connector definitions.

tappet connector lint [OPTIONS] [ID]
ArgumentDescription
<ID>Connector id (default: every connector).
OptionDescription
--dir <DIR>Default: connectors.

tappet connector test

Validate a connector’s cassette tests.

tappet connector test [OPTIONS] <ID>
ArgumentDescription
<ID>Required.
OptionDescription
--dir <DIR>Default: connectors.

tappet connector new

Scaffold a new connector directory.

tappet connector new [OPTIONS] <ID>
ArgumentDescription
<ID>Required.
OptionDescription
--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>
CommandDescription
tappet lint provenanceCheck 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]
OptionDescription
--root <ROOT>Repository root. Default: ..
--strictTreat 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>
CommandDescription
tappet parity captureRecord golden traces from the reference instance.
tappet parity runRun fixtures in tappet and compare with the goldens.

tappet parity capture

Record golden traces from the reference instance.

tappet parity capture [OPTIONS] [-- <REST>...]
ArgumentDescription
<REST>Extra arguments passed to the harness after --.
OptionDescription
--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>...]
ArgumentDescription
<REST>Extra arguments passed to the harness after --.
OptionDescription
--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]
OptionDescription
--jsonMachine-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

MethodUse
API keyScripts, 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 cookieThe 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

PathPurpose
/api/v1/workflowsList, create, update, delete workflows; versions and rollback
/api/v1/workflows/{id}/activate, /deactivateActivation
/api/v1/workflows/{id}/runStart a manual execution
/api/v1/workflows/import/n8nImport n8n-format JSON, returns the diagnostics report
/api/v1/workflows/{id}/export/n8nExport in n8n format
/api/v1/executionsList and inspect executions, per-node run data
/api/v1/executions/{id}/retry, /cancelRetry from the failed node, cancel
/api/v1/executions/{id}/streamLive events over Server-Sent Events
/api/v1/credentialsCredentials (secret fields are write-only), test, OAuth2 connect
/api/v1/connectorsConnector catalog and lookups (/connectors/{id}/lookups/{lookup})
/api/v1/node-typesNode descriptors used by the editor
/api/v1/projectsProjects, members, variables
/api/v1/users, /api/v1/api-keysUsers and API keys
/api/v1/auditAudit log

Endpoints outside /api/v1

PathPurpose
/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)
/mcpMCP server endpoint (Streamable HTTP) for workflows exposed as tools
/healthzLiveness and readiness check, no authentication
/metricsPrometheus metrics (see Metrics)

Streaming execution events

GET /api/v1/executions/{id}/stream returns text/event-stream. Events:

EventData
node_startedNode name, run index
node_finishedNode name, run index, item counts per output
node_failedNode name, run index, redacted error
execution_finishedFinal 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 limit and an opaque cursor; the response includes next_cursor when there are more results.
  • Errors use a consistent body with a machine-readable code and a human message. 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

MethodPathSummaryPermission
GET/api/v1/api-keysList your API keysauthenticated
POST/api/v1/api-keysCreate an API key (the secret is shown once)authenticated
DELETE/api/v1/api-keys/{id}Revoke one of your API keysauthenticated

System

MethodPathSummaryPermission
GET/api/v1/auditAudit log, newest firstaudit:read
GET/api/v1/healthReadiness check including the storepublic
GET/api/v1/openapi.jsonThis OpenAPI documentpublic
GET/api/v1/settingsPublic instance settings for the UIpublic
GET/api/v1/versionServer versionpublic

Auth

MethodPathSummaryPermission
POST/api/v1/auth/loginSign in with email and passwordpublic
POST/api/v1/auth/logoutSign out of the current sessionauthenticated
GET/api/v1/auth/meCurrent user, CSRF token and project rolesauthenticated
POST/api/v1/auth/passwordChange your own passwordauthenticated
GET/api/v1/auth/setupWhether first-run owner setup is pendingpublic
POST/api/v1/auth/setupCreate the first owner account and sign inpublic

Connectors

MethodPathSummaryPermission
GET/api/v1/connectorsList connectorsauthenticated
GET/api/v1/connectors/{id}Get a connector definitionauthenticated
POST/api/v1/connectors/{id}/lookups/{lookup}Run a connector lookup for dropdowns and resource locatorscredential:use
GET/api/v1/node-typesList node type descriptorsauthenticated
GET/api/v1/node-types/{type}Get one node type descriptorauthenticated

Credentials

MethodPathSummaryPermission
GET/api/v1/credential-kindsAvailable credential kinds and the OAuth redirect URIauthenticated
GET/api/v1/credentialsList credentials (metadata only)credential:read
POST/api/v1/credentialsCreate a credentialcredential:write
GET/api/v1/credentials/{id}Get a credential with masked secretscredential:read
PATCH/api/v1/credentials/{id}Update a credentialcredential:write
DELETE/api/v1/credentials/{id}Delete a credentialcredential:write
POST/api/v1/credentials/{id}/oauth2/startBegin the OAuth2 authorization flowcredential:write
POST/api/v1/credentials/{id}/testTest a credential against the servicecredential:use
GET/api/v1/oauth2/callbackOAuth2 redirect target (authenticated by the signed state parameter)public

Executions

MethodPathSummaryPermission
GET/api/v1/executionsList executions, newest firstexecution:read
GET/api/v1/executions/{id}Get an execution, optionally with run dataexecution:read
DELETE/api/v1/executions/{id}Delete a finished executionexecution:delete
POST/api/v1/executions/{id}/cancelCancel a queued, running or waiting executionexecution:manage
GET/api/v1/executions/{id}/nodesPer-node run summariesexecution:read
GET/api/v1/executions/{id}/nodes/{node}Full run data of one nodeexecution:read
POST/api/v1/executions/{id}/retryRetry a failed execution from the failed nodeexecution:manage

Projects

MethodPathSummaryPermission
GET/api/v1/projectsProjects you belong toauthenticated
POST/api/v1/projectsCreate a projectproject:create
GET/api/v1/projects/{id}Get a projectproject:read
GET/api/v1/projects/{id}/membersList project membersproject:read
PUT/api/v1/projects/{id}/members/{user_id}Add a member or change their roleproject:manage
DELETE/api/v1/projects/{id}/members/{user_id}Remove a memberproject:manage

Variables

MethodPathSummaryPermission
GET/api/v1/projects/{id}/variablesList project variablesvariable:read
PUT/api/v1/projects/{id}/variables/{key}Create or update a variablevariable:write
DELETE/api/v1/projects/{id}/variables/{key}Delete a variablevariable:write

Users

MethodPathSummaryPermission
GET/api/v1/usersList usersuser:read
POST/api/v1/usersCreate a useruser:manage
GET/api/v1/users/{id}Get a useruser:read
PATCH/api/v1/users/{id}Update a user’s role, status, name or passworduser:manage

Workflows

MethodPathSummaryPermission
GET/api/v1/workflowsList workflows you can readworkflow:read
POST/api/v1/workflowsCreate a workflowworkflow:write
POST/api/v1/workflows/import/n8nImport an n8n workflow export and return the diagnostics reportworkflow:write
GET/api/v1/workflows/{id}Get a workflow with its current definitionworkflow:read
PUT/api/v1/workflows/{id}Save a new version of a workflowworkflow:write
DELETE/api/v1/workflows/{id}Delete a workflowworkflow:write
POST/api/v1/workflows/{id}/activateActivate triggers and webhooksworkflow:activate
POST/api/v1/workflows/{id}/deactivateDeactivate triggers and webhooksworkflow:activate
GET/api/v1/workflows/{id}/exportExport the Tappet definitionworkflow:read
GET/api/v1/workflows/{id}/export/n8nExport in n8n workflow formatworkflow:read
POST/api/v1/workflows/{id}/rollbackCreate a new version copying an older oneworkflow:write
POST/api/v1/workflows/{id}/runRun manually, optionally with pin data or as a partial executionworkflow:execute
POST/api/v1/workflows/{id}/test-webhookListen on test webhook URLs for one editor runworkflow:execute
GET/api/v1/workflows/{id}/versionsList workflow versionsworkflow:read
GET/api/v1/workflows/{id}/versions/{version}Get one workflow versionworkflow: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

  1. 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.
  2. Scaffold and write the file.
    tappet connector new acme_tasks
    $EDITOR connectors/acme_tasks/connector.yaml
    tappet connector lint acme_tasks
    
    Lint checks the schema, every template’s syntax, references between params, lookups, steps and auth alternatives, URL patterns, and the presence of provenance:.
  3. 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
    
  4. Try it for real. Run Tappet with TAPPET_CONNECTORS_DIR=./connectors so your working copy overrides the embedded catalog, create a credential, and run each operation from the editor.
  5. 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.
  6. Parity. tappet parity run --connector acme_tasks must pass before imported nodes of this service can be reported as exact.

Pages in this section

PageWhat it covers
TutorialBuilding a complete connector step by step: auth, CRUD operations, pagination, lookups, an upload, a poll trigger, a webhook trigger, and tests
File format referenceEvery key of connector.yaml, the template language and its scope
AuthenticationAll auth kinds with examples, credential fields, test requests
Pagination and lookupsPagination strategies, return_all / limit, dropdowns, resource locators, URL patterns
Multi-step operations and uploadssteps:, for_each, resumable and chunked uploads
TriggersPoll triggers, vendor webhooks, signature verification, handshakes
Native hooksWriting a Rust hook for one operation or a custom signer
Cassette testsThe test format and how to record good cassettes
Mapping filesHow 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

EndpointBehavior
GET /v2/meReturns 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}/tasksCreates 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_url is prepended to every path:. Absolute url: values bypass it.
  • rate_limit retries 429 and 5xx up to five times, honoring Retry-After, and limits each credential to 10 requests per second.
  • errors.message turns the vendor’s error body into the node error message; vendor_code is 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.title is already a plain value even if the user wrote an expression.
  • A template that is exactly one {{ }} keeps its type: priority stays a string, a numeric parameter would stay a number.
  • omit_empty: true drops fields whose value is null or empty, so optional fields that the user left blank are not sent.
  • urlencode protects the path from IDs with special characters.
  • output.select picks the task out of the response envelope. split: false keeps 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.value sends a whole object (the update collection) instead of listing fields.
  • delete returns no body, so output.value builds the output item from parameters.
  • list declares paginate. With return_all: true the runtime follows next_cursor until it is missing; otherwise it stops after limit items. Each element of $.data becomes one output item. The safety cap is 100 pages unless the operation sets max_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: none on the put step prevents the API key from being sent to the storage host.
  • raw_binary streams 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_key it has already emitted, and stores the newest created_at as 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, check looks for an existing registration (when static data has one), and create registers webhook_url with the service and stores the returned ID and signing secret in static data. TAPPET_PUBLIC_URL must be set for webhook_url to exist.
  • On deactivation, delete removes the registration. 404 and 410 count as already removed.
  • Each delivery is processed in this order:
    1. respond rules 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.
    2. The signature in X-Acme-Signature is verified with a constant-time comparison. A missing or wrong signature is answered with 401 and never starts the workflow.
    3. filter acknowledges (with 200) events the user did not select, without starting the workflow.
    4. output shapes 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

KeyTypeRequiredDescription
idstringyesLowercase snake_case connector ID. Node kinds are connector.<id> and connector.<id>_trigger.
format_versionintegeryes1.
display_namestringyesName shown in the node picker.
descriptionstringnoOne sentence shown under the name.
categorylist of stringsnoPicker categories, for example [communication], [crm, sales].
iconstringnosimple-icons:<slug> or lucide:<name>.
docs_urlstringnoThe vendor’s developer documentation home.
provenancelist of URLsyesVendor pages the connector was written from. Enforced by tappet lint provenance.
base_urlstringnoPrefix for every request path. May be a template over credential (for per-account hosts).
authlistnoAuthentication alternatives. See Authentication. Omit for public APIs.
defaultsobjectnoheaders, query and timeout_ms applied to every request.
rate_limitobjectnoRetry and throttling policy. See Errors, retries and rate limits.
errorsobjectnoHow to detect failures and extract messages.
resourcesmapnoResources and their operations.
lookupsmapnoDynamic dropdowns and resource-locator lists. See Pagination and lookups.
url_patternsmapnoRegexes that turn pasted URLs into IDs, per parameter name.
triggersmapnoPoll 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.

KeyDefaultDescription
side_effectfalseThe 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_itemtrueRun once per input item. false runs once per node run, with all items in items.
requestA single HTTP request.
stepsSeveral requests in sequence. See Multi-step operations.
nativeName of a registered Rust hook. See Native hooks.
paginatePagination for list operations. Adds return_all / limit handling.
outputwhole bodyHow 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: []
TypeValueNotes
stringstring
numbernumber
booleanboolean
optionsone valueoptions: lists scalars or { value, label, description }; or lookup: for dynamic options.
multi_optionsarraySame option sources.
jsonany JSONEdited as JSON.
datetimeISO 8601 string
resource_locatorstring IDList mode uses lookup:; URL mode uses url_patterns.<name>; ID mode passes through. Imported { "__rl": true, ... } values are unwrapped before the connector sees them.
collectionobjectOptional fields grouped under one parameter (fields: lists them).
fixed_collectionarray of objectsRepeatable groups (fields: lists the group’s fields).
binary_propertystringName of a binary property on the input item, usually defaulting to data.
codestringMulti-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
EncoderSends
noneNo body.
jsonapplication/json.
form_urlencodedapplication/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_formmultipart/form-data. fields become text parts; each entry of files (name, binary_property, optional file_name, mime_type) becomes a streamed file part.
multipart_relatedmultipart/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_binaryThe bytes of binary_property, streamed, with its MIME type.
xmlXML built from value or fields, under root.
rfc2822_mimeA 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_when defaults to response.status < 400. Use it for APIs that return 200 with an error flag in the body.
  • retryable_when defaults to 429, connection errors, and 5xx except for non-idempotent requests of side_effect operations. Retries use exponential backoff with jitter and honor Retry-After (unless strategy: backoff). If the vendor supports idempotency keys, send one (for example Idempotency-Key: "{{ params.idempotency_key }}") and set retryable_when explicitly so 5xx responses are retried safely.
  • A 401 on an OAuth2 credential triggers one single-flight token refresh and a retry.
  • Errors surface in workflows as node errors with http_status, vendor_code, message and 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

VariableAvailable inValue
paramseverywhereResolved parameters of the node
credentialrequests, auth templatesCredential fields (secret fields included; never logged)
inputoperationsJSON of the current input item
binaryoperationsBinary properties of the current item: file_name, mime_type, file_size, file_extension
item_indexoperationsIndex of the current input item
itemsper_item: false operations; trigger cursorAll input items / all polled items
steps.<id>multi-step operationsEarlier step responses: status, headers, body, url
each, each_indexfor_each stepsCurrent element and its index
responseerrors, output, success_when, store, exists_whenstatus, headers (lowercase names), body, url
pagepaginated requestsindex, number, offset, cursor
item, indexoutput.map, output.filter, lookups, dedupe_keyCurrent element
statictriggersThe trigger’s stored state (registration IDs, secrets, cursor)
webhook_urltriggersPublic URL the vendor should call
triggerpoll triggerscursor, last_poll_at, last_poll_unix, first_poll, now
previouspoll trigger cursorThe previous cursor
requestwebhook triggersmethod, path, headers, query, body (parsed), raw_body
enveverywhereAllowlisted environment values (empty in multi-tenant mode)

Filters and functions

NameExampleResult
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 keyMeaning
nameKey used in templates as credential.<name>
display_name, descriptionForm label and help text
secretEncrypted at rest, write-only through the API, redacted everywhere
requiredForm validation
defaultPrefilled 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

StrategyKeysTypical API
cursorcursor_from (JSONPath in the body, or header:<name>), cursor_param, cursor_in (query or body)next_cursor, response_metadata.next_cursor, after
token_in_bodySame as cursor, with the token in the request bodypageToken in a POST search body
next_urlnext_url_from (JSONPath to an absolute URL)"next": "https://api.example.com/items?page=3"
link_headernoneLink: <...>; rel="next" (RFC 8288)
offset_limitoffset_param, limit_param, page_size, start (default 0)?offset=200&limit=100
page_numberpage_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_more is given and evaluates to false,
  • a page is shorter than page_size (when page_size is set),
  • max_pages (default 100; hard cap 10,000) or max_items is reached,
  • limit is reached when return_all is 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
KeyDescription
request, paginateAs for operations. Lookups go through the same auth, rate limits and egress policy.
itemsJSONPath to the array of entries.
label, valueTemplates over item.
description, urlOptional templates shown in the list.
searchclient filters the fetched entries by label; server sends the search text as search_param.
search_paramQuery parameter for server-side search.
depends_onParameters 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:

ModeValue sent to the connector
From listThe value of the chosen lookup entry
By IDThe typed ID
By URLThe 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>.headers and steps.<id>.body.

  • If a step fails (per errors), the operation fails with that step’s error; later steps do not run. A step can override errors: for itself.

  • output reads the last step’s response unless from_step names 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:

KindProtocol
requestA normal request (default).
google_resumableGoogle resumable upload: initiate a session with metadata, upload in chunks, resume from the last acknowledged byte on retry.
msgraph_upload_sessionMicrosoft Graph upload session: create the session, upload byte ranges, resume on retry.
s3_multipartS3 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
KeyDescription
request, paginate, outputAs for operations.
dedupe_keyTemplate over item. Entries whose key was already emitted are skipped. The last keys are kept in static data (bounded).
cursorTemplate 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_pollfalse (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_key too, because timestamps are often second-granular and inclusive.
  • APIs that only list newest first: no cursor; rely on dedupe_key with 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

HookWhenNotes
checkActivation, when static data already has a registrationIf exists_when (default: status below 400) is truthy, nothing else happens.
createActivation, when there is no live registrationValues in store are saved to static data, for example the registration ID and a signing secret the vendor generated.
deleteDeactivation404 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:

  1. respond: each rule’s when is evaluated over request. The first match is answered with its status (default 200), body (a string is sent as text/plain, anything else as JSON) and optional content_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.
  2. verify: the signature is checked. On failure Tappet answers 401 and does not start the workflow; the reason is written to the execution log, not to the response.
  3. filter: if falsy, Tappet answers 200 with an empty body and does not start the workflow.
  4. output: the body (or output.value) is turned into items. If there are none, Tappet answers 200; 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
  • token compares the header with the secret directly (for services that send a shared token).
  • payload builds the signed string from body (the raw body as text) and timestamp (the value of timestamp_header). With a timestamp header, requests older or newer than tolerance_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:

  1. <connector id>::<name> (here acme_tasks::import_csv), a hook for this connector only,
  2. <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:

FieldContents
operationresource.operation being run
paramsResolved parameters for this item
clientThe connector’s HTTP client: auth, retries, rate limits, egress policy, refresh-on-401
item, items, item_indexThe 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 NodeError with the right kind (config for bad parameters, remote with 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

  1. The runner loads the connector and builds the node for operation.
  2. Every outbound request is redirected to a local mock server. The original URL is preserved for matching.
  3. Requests must arrive in the order of exchanges. Each request is matched against its request block; the response block is served back.
  4. 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

ValueRuns
resource.operationAn 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>:activateWebhook trigger activation (check / create lifecycle hooks).
trigger:<name>:deactivateWebhook 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

KeyAsserts
outputThe 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.containsThe run failed and the error message (or its description) contains this text.
static_dataSubset of the trigger’s stored state after the run (null asserts a key was cleared).
binaryBinary properties of the first output item (file_name, mime_type, text or base64).
response_status, response_bodyWebhook 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_empty and defaults work.
  • Pagination: at least one cassette with two pages and one with return_all: false and a limit smaller 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 429 with Retry-After if the API rate limits.
  • OAuth2 refresh: a 401 followed by a retry with refreshed_credential.
  • Each lookup, including depends_on parameters.
  • 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: input with a binary property, and expect.binary for 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 name that says what is being proven.

  • For webhook signatures, use webhook.body with 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: [ ... ]
KeyDescription
n8n_typeFull node type from the export.
connectorTarget connector ID. The node becomes connector.<id> (or connector.<id>_trigger for trigger types).
credentialsMaps credential type names in the export to auth alternatives, so imported placeholders are created with the right kind.
versions[].rangeVersion range, for example ">=2 <3" or ">=4.2". Ranges must not overlap.
rules[].matchParameter values that select this rule (usually resource and operation).
rules[].toTarget operation.
rules[].paramsTarget parameter name to source path. from is a dot path into the exported parameters; resource_locator: true unwraps locator objects.
rules[].defaultsValues for parameters the export omitted because they were at their default. Only values observed in fixtures.
rules[].unsupportedSource paths that have no equivalent. If set in a workflow, the node gets PARAM_UNSUPPORTED for that path.
rules[].evidenceParity fixture IDs that verify this rule.

How the importer applies a mapping

  1. Find the mapping file for the node’s type. None: UNSUPPORTED_NODE.
  2. Pick the version range containing the node’s typeVersion. If the version is above every range, use the nearest lower range and add TYPEVERSION_UNVERIFIED. If it is below the lowest range: UNSUPPORTED_NODE.
  3. Pick the first rule whose match values all equal the node’s parameters.
  4. Build the target parameters from params, then fill absent ones from defaults. Nested collections in the export (option groups, repeatable groups) are flattened by the from paths.
  5. Report PARAM_UNSUPPORTED for every unsupported path that is set, and PARAM_UNVERIFIED for every used parameter when the rule has no evidence.
  6. The node is NATIVE_EXACT only 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.

PageCovers
Outbound network policySSRF protection for every outbound connection
Exec capabilityShell, SSH, local files, MCP stdio
Credentials vaultEnvelope encryption, key sources, OAuth2 tokens, rotation
Users, roles and SSOLocal users, API keys, RBAC, OIDC

To report a vulnerability, see SECURITY.md.

What we protect against

ThreatControls
A workflow (or an editor) reaching internal services or cloud metadata endpointsEgress 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 hostQuickJS sandbox without network, file or process access; memory cap; interrupt-based time budget; JS on dedicated threads
Editors running commands on the hostExec-class nodes disabled unless the instance enables them
Credential theft from the database or a backupEnvelope encryption with per-credential keys; the key-encryption key is never stored with the data
Secrets leaking through logs, execution data or error messagesRedaction of every resolved secret in all its encodings
Users seeing or changing other teams’ workflows and credentialsProjects and RBAC, checked on every API route
Forged webhook deliveriesPer-trigger signature verification with constant-time comparison and replay windows
Denial of service through large or many requestsBody 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

ControlSingle user (default)Team (production)Multi-tenant (TAPPET_MULTI_TENANT=true)
Egress policylocal: metadata ranges blocked, private and loopback allowedstrict recommendedstrict required
Exec-class nodesDisabled unless TAPPET_ALLOW_EXEC=trueSame; admins enable per projectDisabled; only the instance owner can override per project
$env in expressionsAllowedConsider disablingDisabled
Encryption keyAuto-generated file in dev modeTAPPET_ENCRYPTION_KEY required (TAPPET_ENV=production)Required; KMS or Vault Transit recommended
Sign-inLocal owner accountLocal users, API keys, OIDCOIDC 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

LimitDefaultVariable
Webhook request body16 MBTAPPET_WEBHOOK_BODY_MAX
In-memory payload budget256 MBTAPPET_INFLIGHT_BYTES
Queue depth before 503100,000TAPPET_QUEUE_MAX_DEPTH
Runs of one node per execution10,000TAPPET_MAX_NODE_RUNS
Items per node output1,000,000TAPPET_MAX_ITEMS_PER_OUTPUT
Sub-workflow depth10TAPPET_MAX_SUB_WORKFLOW_DEPTH
JavaScript memory64 MBTAPPET_JS_MEMORY_LIMIT
Code node time budget5 sTAPPET_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_URL to the https:// URL.
  • TAPPET_ENV=production and TAPPET_ENCRYPTION_KEY from a secret store, backed up separately from the database.
  • TAPPET_EGRESS_POLICY=strict, with an allowlist for the internal hosts workflows need.
  • TAPPET_ALLOW_EXEC unset 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:

RangeWhy
169.254.0.0/16Link-local, including the cloud metadata service at 169.254.169.254
fd00:ec2::254AWS metadata service over IPv6
100.100.100.200Alibaba Cloud metadata service
0.0.0.0/8, ::Unspecified addresses (often routed to localhost)
::ffff:0:0/96 forms of the aboveIPv4-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:

RangeMeaning
127.0.0.0/8, ::1Loopback
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Private IPv4
100.64.0.0/10Carrier-grade NAT (also used by some VPNs)
fc00::/7Unique local IPv6
fe80::/10Link-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 strict for 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 optional NetworkPolicy.

Exec capability

Some nodes act on the machine Tappet runs on rather than on remote APIs. They are grouped as exec-class nodes:

NodeWhat 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 stdioStart 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

SettingEffect
TAPPET_ALLOW_EXEC=trueExec-class nodes may be enabled. Without it, they are refused everywhere.
Project setting Allow exec-class nodesEnables them for one project. Only instance admins can change it.
TAPPET_MULTI_TENANT=trueExec-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_DISABLED in 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/systemd creates 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 ReadWritePaths or 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 in authorized_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

SourceConfigurationNotes
Environment variableTAPPET_ENCRYPTION_KEY: base64 of 32 random bytesSimplest. Inject from your secret manager.
Key file (development only)Generated at ${TAPPET_DATA}/encryption.key with mode 0600Only when TAPPET_ENV is not production.
HashiCorp Vault TransitVault address, token or auth method, key nameThe KEK never leaves Vault; Tappet asks Vault to wrap and unwrap DEKs.
AWS KMSKMS key ARN, standard AWS credentialsBuilt 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 state parameter 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 to needs_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

MethodUsed byDetails
Local accountsPeopleEmail and password, hashed with Argon2id. The first account created is the instance owner.
Session cookiesThe web UIHttpOnly, Secure (behind HTTPS), SameSite=Lax, with a CSRF token for state-changing requests.
API keysScripts, CLI, MCP clientsSent as Authorization: Bearer <key>. Stored hashed, scoped, optionally expiring, with last-used time recorded.
OIDC single sign-onPeopleAny 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

RoleCan
ownerEverything, including instance settings, key rotation and multi-tenant overrides. One or more owners.
adminManage users, projects and project membership; enable exec-class nodes for projects; read the audit log.
memberUse the projects they are a member of.

Project roles

RoleWorkflowsExecutionsCredentialsMembers and settings
adminCreate, edit, activate, deleteView, retry, cancelCreate, edit, delete, useManage
editorCreate, edit, activate, deleteView, retry, cancelCreate, useView
operatorView, run, activate and deactivateView, retry, cancelUse (through workflows)View
viewerViewViewSee names onlyView

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 with TAPPET_OIDC_LINK_BY_EMAIL=true and 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_ROLE applies; none refuses the sign-in.
  • TAPPET_OIDC_COOKIE_KEY signs 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

ProviderIssuerGroup claim
Keycloakhttps://<host>/realms/<realm>Add a “Group Membership” mapper to the client scope, claim name groups.
Oktahttps://<org>.okta.com/oauth2/defaultAdd a groups claim to the authorization server.
Auth0https://<tenant>.auth0.com/Add roles to the ID token with an Action, under a namespaced claim.
Googlehttps://accounts.google.comNo group claim; map by email domain or assign roles in Tappet.
Microsoft Entra IDhttps://login.microsoftonline.com/<tenant>/v2.0Enable 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,
  • $env unavailable in expressions,
  • connector template env empty,
  • project isolation enforced for every lookup cache and blob reference.

Operations

This section is for the people who run Tappet in production.

PageCovers
DeploymentChoosing a topology; Docker Compose, Kubernetes (Helm and manifests), systemd, Fly.io, Render; reverse proxies
Backups and restoreWhat to back up, SQLite and Postgres procedures, restore drills
Key rotationRotating the encryption key
Scaling and high availabilityAPI and worker processes, leader election, sizing
Metrics, logs and tracingPrometheus metrics, OpenTelemetry, logs, alerts
RetentionExecution pruning, blob garbage collection, database size
UpgradingVersioning, migrations, rolling upgrades

What Tappet stores

DataWhereNotes
Workflows, versions, credentials (encrypted), users, projects, executions, queue, audit logThe database: SQLite file (${TAPPET_DATA}/tappet.db) or Postgres (TAPPET_DATABASE_URL)Back up.
Large payloads and binary filesBlob store: ${TAPPET_DATA}/blobs or S3 (TAPPET_BLOBS_URL)Back up together with the database.
Encryption keyTAPPET_ENCRYPTION_KEY, or ${TAPPET_DATA}/encryption.key in development modeBack up separately. Without it, credentials are lost.
ConfigurationEnvironment variables and optional tappet.tomlKeep in version control, secrets in a secret store.

Health and lifecycle

  • GET /healthz returns 200 when 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 migrate to run them as a separate step.
  • On SIGTERM, Tappet stops accepting new executions, finishes or checkpoints running ones within TAPPET_SHUTDOWN_TIMEOUT, releases its leases and exits. Give orchestrators a termination grace period longer than that timeout.

Resource guidance

WorkloadCPUMemoryNotes
Personal, a few dozen workflows1 vCPU256 MBIdle memory is under 50 MB with SQLite.
Team, thousands of executions per hour2 vCPU1 GBSQLite on local SSD is fine; keep execution retention modest.
High volume webhooks4 vCPU4 GBTested target: 5,000 concurrent 100 KB webhook requests with peak memory under 300 MB.
HA2+ API, 2+ workers, Postgres512 MB to 2 GB per processSize 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

TopologyProcessesDatabaseBlob storeUse when
Single nodeOne tappet serveSQLiteLocal directoryMost installs. Simple, fast, one volume to back up.
Single node on PostgresOne tappet servePostgresLocal directory or S3You already operate Postgres and want its backup tooling.
HAN x tappet serve --role api, M x tappet workerPostgresS3, or a volume shared by all processesZero-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

VariableWhy
TAPPET_ENV=productionRefuses to start without a real encryption key, and enables production defaults.
TAPPET_ENCRYPTION_KEYKey-encryption key for credentials (tappet keys generate or openssl rand -base64 32). Back it up separately.
TAPPET_PUBLIC_URLThe external https:// URL. Webhook URLs, resume URLs, OAuth2 and OIDC redirect URIs are built from it.
TAPPET_HOST=0.0.0.0In containers. The default is 127.0.0.1.
TAPPET_DATABASE_URLFor Postgres: postgres://user:pass@host:5432/tappet. Defaults to SQLite in the data directory.
TAPPET_DATAData 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

DirectoryContents
deploy/docker-compose/single-nodeOne container with a volume. Optional Caddy for automatic HTTPS.
deploy/docker-compose/haPostgres, a migration job, an API service, two workers and Caddy.
deploy/helm/tappetHelm 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/kubernetesPlain manifests (with Kustomize) for single node and HA.
deploy/systemdHardened systemd units for tappet serve and tappet worker.
deploy/reverse-proxyCaddy, nginx and Traefik configurations.
deploy/flyFly.io app with a volume.
deploy/renderRender 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:

ConcernSetting
Request body sizeAt least TAPPET_WEBHOOK_BODY_MAX (16 MB by default) for /webhook/, /webhook-test/ and /webhook-waiting/. The API needs less.
Streaming responsesDisable response buffering for /api/v1/executions/*/stream (Server-Sent Events) and /mcp.
Long requestsRead 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 headersPass X-Forwarded-For and X-Forwarded-Proto, and Host unchanged.
MetricsDo not expose /metrics publicly.

Examples in deploy/reverse-proxy/:

  • Caddy: flush_interval -1 disables buffering for the stream endpoints; request_body max_size sets the body limit.
  • nginx: client_max_body_size 16m, and proxy_buffering off plus proxy_read_timeout 1h on the stream locations.
  • Traefik: a buffering middleware with maxRequestBodyBytes, 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 api and worker.
  • 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 aarch64 static 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.

PartContainsHow often
DatabaseWorkflows, versions, encrypted credentials, users, executions, queue, audit logContinuously or at least daily
Blob storeLarge execution payloads and binary files referenced by executionsWith the database
Encryption keyThe KEK that unwraps credential keysOnce, 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:

  1. Restore the database and blobs.
  2. 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.
  3. 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)

  1. Generate the new key and store it in your secret manager next to the current one:

    tappet keys generate
    
  2. 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.

  3. Re-wrap, from any machine with the current configuration and database access:

    export TAPPET_NEW_ENCRYPTION_KEY='<new key>'
    tappet keys rotate
    

    The 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-file instead of the environment variable if you prefer a file.

  4. Switch every process to the new key:

    TAPPET_ENCRYPTION_KEY='<new key>'
    TAPPET_ENCRYPTION_KEY_VERSION=<printed version>
    

    and restart all tappet serve and tappet worker processes. With Kubernetes, update the secret and run kubectl rollout restart deployment -l app.kubernetes.io/name=tappet.

  5. Verify: test a few credentials (tappet credentials test <id>) and check that recent executions succeed. The audit log records the rotation.

  6. 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

SecretHow
A credential’s own secret (API key, password)Edit the credential and paste the new value. OAuth2 credentials: reconnect.
API keysCreate a new key, update clients, revoke the old key.
TAPPET_OIDC_CLIENT_SECRETRotate in the identity provider, update the variable, restart API processes.
TAPPET_OIDC_COOKIE_KEYUpdate and restart API processes; sign-ins in progress at that moment must be restarted.
Database passwordUpdate the database user and TAPPET_DATABASE_URL, then restart.

Scaling and high availability

How work is divided

ProcessCommandDoes
All-in-onetappet serveAPI, UI, webhooks, triggers, timers and workers in one process.
APItappet serve --role apiAPI, UI, webhook gateway, SSE, MCP. Enqueues executions; runs none.
Workertappet 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_KEY set 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:

WorkloadStarting concurrency per worker (2 vCPU)
API calls, light transforms64 to 128
Heavy Code nodes, large item lists8 to 16
AI agents with long LLM calls32 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_only checkpointing (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.

MetricTypeLabelsMeaning
tappet_executions_totalcounterstatus, modeFinished executions by final status (success, error, canceled) and mode (manual, trigger, webhook, retry, sub)
tappet_execution_duration_secondshistogramExecution wall time
tappet_node_duration_secondshistogramnode_typeNode run time by node type
tappet_queue_depthgaugeExecutions waiting to be claimed
tappet_workers_busygaugeExecutions currently running in this process
tappet_webhook_requests_totalcounterstatusWebhook requests by response status
tappet_oauth_refresh_totalcounterresultOAuth2 token refreshes by outcome
tappet_rss_bytesgaugeResident memory of the process
tappet_js_evals_totalcounterExpression and Code evaluations
tappet_spill_bytesgaugeBytes 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:

VariableValues
TAPPET_LOG_FORMATtext (default, human readable) or json (one object per line)
TAPPET_LOG_LEVELA 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

VariableDefaultMeaning
TAPPET_EXECUTIONS_TTL14dExecutions that finished longer ago than this are deleted.
TAPPET_EXECUTIONS_MAX_COUNTunsetIf 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:

SettingEffect
saveDataSuccessExecution: noneSuccessful executions keep only their summary (status, timing), not node data. Good for high-volume workflows.
saveDataErrorExecution: allKeep full data for failures, which is what you need for debugging.
saveManualExecutions: falseDo 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 with VACUUM INTO and 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_repack reclaims 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

  1. Read the changelog entries between your version and the target.

  2. Take a backup (see Backups).

  3. 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:

  1. Back up the database.

  2. Run migrations once, with the new version:

    tappet migrate
    

    With Helm, the chart runs this as a pre-upgrade hook Job when migrations.job.enabled is true.

  3. Roll the API processes one at a time. The load balancer drains each process; webhooks keep being accepted by the others.

  4. 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

Tappetn8nNode-REDActivepiecesWindmillHosted iPaaS (Zapier, Make)
DeliverySingle static binary or containerNode.js application or containerNode.js application or containerNode.js application or containerRust backend with workers, containerSaaS only
Visual workflow editorYesYesYes (flow-based)YesYes, plus scripts and appsYes
Self-hostedYesYesYesYesYesNo
LicenseApache-2.0, all featuresSource-available (Sustainable Use License), some features under a separate enterprise licenseApache-2.0MIT for the community edition, commercial license for some featuresAGPLv3 core, commercial license for some featuresProprietary
Runs n8n workflow JSONYes, natively, with a diagnostics reportYes (its own format)NoNoNoNo
Required servicesNone (SQLite embedded); Postgres for HADatabase; Redis for its queue modeNonePostgres and RedisPostgresn/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

  1. The reference matches the binary it documents. No hand-maintained parameter, option or endpoint tables.
  2. Output is deterministic: running the generator twice on the same tree produces identical bytes, so CI can fail when the committed pages are stale.
  3. 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.
  4. 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

InputSourceUsed for
Node descriptorsNodeRegistry built by tappet_cli::wiring::build_registry, the same function tappet serve usesBuilt-in node pages and the node index
Connector definitionsConnectorCatalog::embedded()Connector pages and the connector index
Connector load errorsConnectorCatalog::load_issues()The list of connectors that did not load
Cassette testsconnectors/<id>/tests/*.cassette.yaml (operation: or trigger: key)Test count per operation and trigger
Mapping filesmappings/n8n/*.yamlImport sections and the import column of the indexes
Parity fixture indexDirectory names under parity/fixtures/Resolving evidence: ids to verified or unverified
Command definitionstappet_cli::cli::Cli through clapCommand reference in reference/cli.md
Configuration variablestappet_cli::config::vars::VARS and the headings of configuration.mdreference/config-vars.md
API routestappet_server::api::openapi_document()api/openapi.json and reference/api-endpoints.md
Design tokensui/src/lib/tokens.csstheme/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 collection and fixed_collection children are listed under the parent with a dotted name (options.timeout).
  • Shown when renders show_when as operation = 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’s evidence: 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.md does 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.
  • \n line 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.