Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-digital-organizing
n8n community nodes for the tools Digital Organizing works with, bundled
in one installable package instead of one package per tool.
| Node | Status | Credential |
|---|---|---|
| Do Counter | Implemented (counter, campaign, entry) | Do Counter API |
| Flyertool | Implemented (contacts, assignments, addresses) | Flyertool API |
| Flyertool Trigger | Implemented (static webhook) | – |
| Link Shortener | Implemented (links, shares, domains, groups, identity) | Link Shortener API |
| Payrexx | Implemented (transactions, subscriptions, QR codes, paylinks, invoices) | Payrexx API |
| Payrexx Trigger | Implemented (static webhook) | – |
| RaiseNow | Implemented (payments, supporters, subscriptions, plans, search, webhooks) | RaiseNow API |
| RaiseNow Trigger | Implemented (webhook endpoint + event subscriptions) | RaiseNow API |
| Cura Fundraising | Implemented (inbox contact submissions) | Cura Fundraising API |
| LibraCore | Campaign submissions + custom API call | LibraCore Service Platform API |
| Funtrade | Implemented (people, addresses, attributes, interactions, pledges, publications, tasks) | Funtrade API |
| Gravity Forms | Implemented (forms, entries, submissions) | Gravity Forms API |
| Gravity Forms Trigger | Implemented (polls for new entries) | Gravity Forms API |
| cevAPI | Implemented (ask, route with one output per option) | cevAPI API |
| Metricool | Implemented (posts, analytics, best times, competitors, brands) | Metricool API |
| Metricool Trigger | Implemented (polls the planner for post status changes) | Metricool API |
| Webling | Implemented (members, any object type, definitions, replication, transactions) | Webling API |
| Webling Trigger | Implemented (polls the revision log for changes) | Webling API |
| Address Cleanup | Implemented (match one address or a whole run, index status) | Address Cleanup API |
| Wissensmanagement | Implemented (documents, search, answers, chat sessions, jobs, prompts, webhooks) | Wissensmanagement API |
| Wissensmanagement Trigger | Implemented (signed, self-verifying webhook subscription) | Wissensmanagement API |
| Template Studio | Implemented (render a template to an image or link, list templates) | Template Studio API |
Every node also keeps a Custom API Call resource, for the long tail of endpoints
not worth modelling — see
Adding a resource to an existing node.
Installation
On a self-hosted n8n instance: Settings → Community nodes → Install, then enter
n8n-nodes-digital-organizing
Or install it into the n8n user folder directly:
cd ~/.n8n
npm install n8n-nodes-digital-organizing
Development
Requires Node.js >= 20.15.
npm install
npm run dev # starts a local n8n with this package linked, hot reloads on change
npm run lint # n8n node linter + eslint
npm run build # compiles to dist/
npm run dev boots an n8n instance at http://localhost:5678 with the nodes from
this repo already installed, so changes are visible after a save.
Repository layout
credentials/ one <Service>Api.credentials.ts per service
icons/ <service>.svg + <service>.dark.svg, 24x24, currentColor
openapi/ vendored API specs, for services that serve none
scripts/ maintenance scripts, e.g. refreshing a vendored spec
nodes/
shared/customApiCall.ts generic "Custom API Call" resource used by every node
shared/mergeJsonBody.ts preSend factory folding a JSON parameter into the body
DoCounter/
DoCounter.node.ts node description: resources, credentials, requestDefaults
shared/descriptions.ts properties reused across resources of this node
resources/<resource>/ one folder per resource, exporting its operations
Payrexx/ RaiseNow/ Cura/ same shape
shared/pagination.ts limit/offset paging over an items or results envelope,
plus a client-side limit for APIs with no paging at all
RaiseNowTrigger/ programmatic trigger: webhook lifecycle in webhookMethods
PayrexxTrigger/ static webhook trigger: no lifecycle, URL pasted by hand
GravityFormsTrigger/ polling trigger: poll() asks for the newest entries
LibraCore/ shared/mergeCustomFields.ts is a preSend action
Cevapi/ programmatic: Route builds one output per option
Metricool/ shared/scheduledPost.ts builds the nested post body
MetricoolTrigger/ polling trigger: poll() diffs per-network post statuses
Webling/ shared/descriptions.ts holds one CRUD shape for 25 types
WeblingTrigger/ polling trigger: poll() follows the revision log
AddressCleanup/ programmatic: Match sends a run as a few batch requests
Wissensmanagement/ programmatic: starts background jobs and polls them to the end
WissensmanagementTrigger/ webhook trigger that verifies its subscription and each signature
TemplateStudio/ programmatic: the fields of the chosen template feed a resource mapper
Nodes are written in n8n's declarative style: operations describe their HTTP
request via routing instead of implementing execute(). Reach for a programmatic
node only when routing genuinely cannot express the call.
Adding a node
mkdir -p nodes/MyTool/resources/customand copy theCuranode as a starting point.- Add
credentials/MyToolApi.credentials.ts. - Add
icons/mytool.svgandicons/mytool.dark.svg(24x24 viewBox; light usesfill="currentColor", dark usesfill="rgba(255,255,255,1)"). - Register both files in the
n8n.nodesandn8n.credentialsarrays inpackage.json
— a node that is not listed there is silently not loaded. npm run lint && npm run build.
Adding a resource to an existing node
- Create
nodes/<Node>/resources/<resource>/index.tsexporting aINodeProperties[]— anOperationoptions property plus the parameters for
each operation, each gated withdisplayOptions.show. - Spread it into
propertiesof the node description and add the resource to theResourceoptions list.
nodes/DoCounter/resources/counter/index.ts is the reference implementation.
Releasing
Publishing runs from GitHub Actions with npm provenance, which n8n requires for
community nodes. Locally:
npm run release
This lints, builds, prompts for the version bump, writes the changelog, commits,
tags and pushes. The pushed tag triggers .github/workflows/publish.yml, which
publishes to npm.
One-time npm setup is documented at the top of .github/workflows/publish.yml
(OIDC trusted publishing is preferred over an NPM_TOKEN secret).
Open items
- Payrexx: the operations are built from the reference docs but not yet exercised
against a live instance. The trigger cannot register itself — see below. - Cura: the API is one inbound endpoint, so there is nothing to read back —
a workflow cannot look a contact up, only submit one. - RaiseNow: webhook signature verification is not implemented, and the operations
are built from the spec but not yet exercised against a live account. - LibraCore: only the campaign submission endpoint is modelled — that is all our
Django integration used. Tenants may name the contact fields differently; theCustom FieldsJSON parameter covers the difference until we model more. - Do Counter: the standalone
n8n-nodes-do-counterpackage is superseded by this
one and should be deprecated on npm once instances have migrated. - Funtrade: the operations are built from the OpenAPI spec, which is marked
pre-release (0.9.0), and are not yet exercised against a live instance. The Events
half of the API is not modelled, and there is no trigger node — see below. - Metricool: the operations are built from the OpenAPI spec and are not yet
exercised against a live account. The spec is the whole product's backend rather
than a published contract — it declares no security scheme, types most values as
plain strings and documents the accepted ones only in prose — so the network and
metric lists in the node are read out of those descriptions and will drift. Media
uploads, the inbox, smart links, link-in-bio, reports and the agency endpoints are
not modelled; Custom API Call reaches them. - Webling: the operations are built from the published API documentation and are
not yet exercised against a live account. The docs never show aformat=fulllist
response, so whether those objects carry their ownidis unverified — the node
wraps bare IDs as{id}and passes full objects through as they come. File and
image uploads go through the base64contentfield rather than multipart, letters
and PDF generation are not modelled, and/object— which addresses fields by
their internal number instead of by name — is reachable only through Custom API
Call. - Gravity Forms: the operations are built from the REST API v2 reference and are
not yet exercised against a live site. Feeds and results — the add-on endpoints —
are not modelled, and file uploads needmultipart/form-data, which the Submission
resource does not send. - Address Cleanup: exercised against a live instance — single and chunked matching,
both input modes, the options, and the 401/413/empty-row paths. The service is
Swiss-only, so a foreign address comes back unmatched by design rather than as a gap
to fill, and the node does not geocode: the coordinates are the register's own, for
the matched entrance.
Template Studio notes
Built against our own Template Studio, which renders personalised images from Canva
designs. The credential takes the root URL, without /api, and a key from the
admin under API → API keys, sent as Authorization: Bearer <key>.
- The template list follows the key. A key limited to certain templates only
lists and renders those. - Fields come from the template. After a template is picked, the resource mapper
shows its text and image fields; required ones are marked. Change the fields in the
visual editor and refresh the list in the node to pick them up. A render looks the
template up once per run, so auto-mapping and binary fields follow the template as
it is now, also when the template comes from an expression. - An image field takes a URL, a base64 string or the name of a binary field of the
input item, such asdata. A binary field is sent base64 encoded in the JSON body,
or as a file upload with the option Send Files as Multipart Form, which is smaller
for large photos. A short value that is neither a URL nor a binary field of the item
fails in the node, with the binary fields the item does have. - Remove Background, Crop Around Face and Fit can be added per image field under
Add field. Left out, the template's own setting applies; the field name shows it,
as in Fit (template: cover). - A render can fail on what it reports. The options Fail on Text Overflow, Fail
if No Face Found and Fail if Field Not in Design stop the workflow before a bad
image goes out. The image is rendered all the same; the error carries its link. - Map Automatically sends the input properties named like a field and drops the
rest, because the API rejects keys it does not know. - Output is the image as binary data, with its public link in
url, or the link
alone for APIs that want an image URL. Links expire;expires_atsays when. - Exercised against a live instance through the built node (list, fields, render to
file and link, multipart upload, error messages), not yet clicked through in the n8n
editor.
Link Shortener notes
Built against the DRF API of link-shortener, which serves Swagger at/api/v1/docs/, Redoc at /api/v1/redoc/ and an OpenAPI schema at/api/v1/schema/ on your own instance.
The credential takes the root URL, without /api, and sends the admin-issued
key as Authorization: Api-Key <key>.
- A key carries its owner's groups. It only sees links filed under groups the
owner belongs to, and can only create links on domains those groups may use.
Naming a domain or group outside that set is a validation error, not a 403.
Keys can be given an expiry, after which every request answers 401. - Domain and group are referenced by name, not by ID —
example.comand the
group's name. Use the Domain and Group resources to discover what a key may use. - Links are read-write, domains and groups are read-only over the API.
- Share → Create takes a text, an optional URL and a list of platforms, and
makes one short link per platform that redirects to the platform's share URL
(wa.me/?text=…and so on). Slugs are random, optionally behind a Slug Prefix:my-campaign-x3k9qa. The output has thelinksand ashort_urlsmap, so a
later node can use{{$json.short_urls.whatsapp}}. Facebook and LinkedIn can
only share a link and answer 400 without a URL. Updating the text or URL of a
share rewrites all its links. Generate Links returns the share URLs without
storing anything. Needs a link-shortener with the/api/v1/shares/endpoint. - Slug and domain together must be unique. A clash answers 400 with the message
on the slug field. Leaving the slug empty generates a random one; slugs are
lowercased before saving. - Create scrapes the target by default. Fetch Metadata fills in any open graph
field you did not set yourself, and only applies when Custom Tags is on. On
update the flag is ignored — use Refresh Metadata instead, which re-scrapes and
overwrites. It answers 502 when the target yields nothing. og_imageandog_videofile uploads are not exposed. They are multipart
fields on the Django side; setog_image_urlandog_video_urlinstead.- Lists are paginated with
limit/offsetand answer a DRF{"count": n, "results": [...]}envelope. The node unwrapsresults, and
Return All follows the pages. - Identity → Who Am I answers with the username, superuser flag, groups and
domains behind the key. The API documents it as its own smoke test, and the
credential test uses it.
There is no trigger node: the app has no webhooks.
Flyertool notes
Built against the django-ninja API of flyertool-web, which serves interactive docs
at /api/docs and an OpenAPI schema at /api/openapi.json on your own instance.
The credential takes the root URL, without /api, because the node talks to two
routers: /api/flyertool for contacts and assignments, /api/egwr for addresses.
- A key carries a user's visibility. Keys are created in the Django admin under
API-Schlüssel and belong to a user; a key of a non-superuser only ever sees
contacts and assignments of campaigns that user owns. Anything outside them answers
404, so an empty result can mean the key is scoped too narrowly rather than that
nothing matched. Untick Aktiv to revoke a key. - Contacts have no create operation. They come from the public signup form. The
API reads, updates and deletes them. - Contacts are addressed by UUID, the identifier the webhook, the export and the
success redirect already use. Assignments are addressed by their numeric ID. - Updates are partial — only the fields you add to Update Fields are sent, and
only those change. Form Fields and UTM Parameters are the exception: they
replace the whole JSON object rather than merging into it. - Resetting a delivery address means sending an explicit
null, which a
collection field cannot express. Put{"delivery_address_id": null}in Additional
Fields; the contact then falls back to its own address. - Addresses are EGIDs from the Swiss building register. Address → Search is how
you find one for a contact update, and it can take a campaign ID to apply that
campaign's address filters. Both address endpoints are public on the Flyertool side;
the node sends the key anyway, which does no harm. - Lists are paginated with
limit/offsetand answer{"items": [...], "count": n}.
The node unwrapsitems, and Return All follows the pages. - Invalid payloads answer 422, and moving an assignment onto a cluster that is already
taken answers 409.
The trigger node
A campaign notifies one URL when someone signs up — its Webhook URL field in the
Flyertool admin. There is no API for setting that field, so the trigger registers
nothing: paste its Production URL into the campaign.
Things to know:
- One event only, a completed signup, fired from both the standalone and the
embedded form. Nothing fires on update or delete. - The URL is the only protection. Flyertool sends no secret and no signature, so
treat the webhook URL as a credential. - Deliveries are fire and forget. Flyertool posts with a five second timeout and
swallows failures without retrying, so a missed delivery is simply lost. The node
therefore acknowledges every request, including ones its campaign filter rejects. - The payload is flat and partial:
uuid,first_name,last_name,email,order,campaign(the name, not the slug or ID),address_id(EGID), the address
parts,fieldsandutm. It carries no delivery address and no assignments —
follow the trigger with Flyertool → Contact → Get on theuuidfor the full
record. - The Campaigns filter matches the
campaignname. Usually you can leave it
empty, since each campaign has its own webhook URL; it earns its keep only when you
point several campaigns at the same workflow.
Payrexx notes
Built from https://developers.payrexx.com/reference, against API v1.16 — the
version is part of the base URL and the credential lets you change it.
Authentication uses the X-API-KEY header, which Payrexx recommends over its olderApiSignature HMAC scheme. Same secret, no signing. The instance name is a query
parameter on every call, so the credential attaches it rather than every operation
repeating it.
Two naming traps in the API itself, kept as-is so requests match the docs:
- A paylink is
/Invoice/. - An invoice is
/Bill/.
Other things worth knowing:
- Amounts are in cents everywhere.
- Intervals — subscription payment interval, period, cancellation interval — are
PHPDateIntervalstrings:P1Mmonthly,P1Yyearly. - Get Many transactions: Payrexx documents its filters as a request body on a
GET. They are sent as query parameters, since a GET body is not reliably
forwarded and the query string is what Payrexx's own SDK builds. - Invoice create has a large nested payload. The common fields are modelled;
discounts, cash discounts, reminders, bank information and attachments go through
the Additional Fields JSON parameter. The same applies to a paylink's contactfieldslist.
The trigger node
Payrexx has no API for managing webhooks — no create, no list, no delete. So the
trigger registers nothing: it exposes a URL and you paste it into the Payrexx admin
under Settings → Integrations → Webhooks. That also means n8n cannot tell Payrexx
which events to send, so the Transaction Statuses filter runs on this side, after
delivery, and an unmatched delivery is acknowledged without starting the workflow.
Status values are free text rather than a dropdown: the reference documents the
webhook payload only by example, so a hardcoded list would be a guess.
RaiseNow notes
Built against the OpenAPI spec behind https://docs.raisenow.com/api
(https://assets.raisenow.io/specs/api-public.json). Authentication is an OAuth2
client-credentials grant against /oauth2/token; the credential exchanges client ID
and secret for a JWT and n8n refreshes it when a request comes back unauthorised.
Things worth knowing before wiring up a workflow:
- Amounts are in minor units.
1000means 10.00. Payment amounts are strings,
subscription amounts are integers — that is the API's own inconsistency, not ours. - Payment → Initialize is the entry point of a payment flow. For redirect-based
methods leave Payment Information empty and follow the action returned in the
response; fill it in only when passing an instrument directly. - Subscriptions need a payment source, which you get from a payment run with
Create Payment Source enabled. - Recurring intervals use a three-field day-of-month / month / weekday syntax:
1 * *is monthly on the 1st,15 3,6,9,12 *is quarterly on the 15th. - Search covers payment agreements, the one index the public API exposes. The
query object is passed through as-is in RaiseNow's own DSL. - Get Many operations page with
from/size; Return All follows the pages.
The trigger node
RaiseNow delivers events in two steps, and the trigger manages both:
- a webhook endpoint (
/webhooks) — just the URL registration, which on its own
receives nothing, and - one event subscription per event (
/event-subscriptions) pointing at that
endpoint.
Activating the node looks for an endpoint already registered for this workflow's URL
and reuses it, otherwise creates one, then creates any missing event subscriptions.
Deactivating removes the subscriptions it created, and the endpoint too unless it was
one it found rather than created.
Event names are free text (rnw.event.payment_gateway.payment.succeeded and friends)
rather than a dropdown — the list lives at https://docs.raisenow.com/events and
would go stale if it were hardcoded here.
The endpoint can carry an HMAC key so RaiseNow signs deliveries. The node stores the
key on the endpoint but does not verify incoming signatures — the algorithm is not
in the public spec. Treat the webhook URL as the secret until that is implemented.
Cura notes
Cura's interface is deliberately small: one inbound endpoint,POST /api/latest/inbox/receiver/, which drops a JSON payload into the Cura inbox
("Postfach"). Cura then creates a contact from it, or extends an existing one it
matches — on membership number first, then on a person match. Authentication is a
static token issued by Cura support, sent as Authorization: token <ID>.
- Nothing is required. Every documented key is optional, so the node has no
required fields on Contact → Send. Send what you have. - Unknown keys are kept, not rejected. They show up in the inbox but do not
affect processing unless Cura support has built a rule for them. That is what
Additional Payload is for. - Create Donation Letter sets
create_invoiceand needs a Campaign ID. It only
works if the campaign has both "QR-Rechnung automatisch erstellen…" and
"Angedrucktes Datum darf automatisch verändert werden" enabled in Cura. - Account → Who Am I is the identification echo Cura documents; the credential
test uses the same endpoint, which is why the credential holds the organisation
slug.
There is no read API — a workflow can submit to Cura but cannot query it. Cura also
offers an outgoing interface, but its scope and endpoints are defined per
organisation and would need to be built as a separate integration.
LibraCore notes
The LibraCore service platform authenticates through Auth0 with a client-credentials
grant: the credential exchanges client ID and secret for a bearer token scoped to an
audience, and n8n refreshes it automatically when a request comes back unauthorised.
This mirrors mv-mietzinsrechner/mv_api/services.py, which is where the integration
came from.
Base URL, audience and Auth0 domain are per customer and per environment. They take
this shape — the real values for each tenant live in that project's credentials, not
here:
| Setting | Value |
|---|---|
| Base URL | https://services-api-staging.example.ch/api/v1/yourtenant |
| Audience | same as the base URL (leave the field empty to default to it) |
| Auth0 domain | example.eu.auth0.com |
The credential test hits Auth0 rather than the service API, because the platform has
no read-only endpoint to probe without writing data — so a green test proves the
client credentials and audience are right, not that the base URL is.
The Campaign → Create operation posts to {base URL}/campaign (the endpoint path
is editable) with the contact and consent fields the platform accepts:email, first_name, last_name, anrede, zip_code, quelle, nl_abo,einwilligung_timestamp, einwilligung_ip, einwilligung_url. Campaign-specific
keys — the mzr_* fields of the Mietzinsrechner, for instance — go into the
Custom Fields JSON parameter and are merged into the body as-is.
Funtrade notes
funtrade is the CRM, fundraising and accounting system by
Arenae Consulting, used by Swiss NGOs for membership and donor management. The
end-user handbook is at https://docs.funtrade.ch/<version>/; the REST API has its
own ReDoc page at app.funtrade.ch/api/, which is
where the operations here come from.
That page embeds its OpenAPI document in a __redoc_state assignment rather than
linking one, so there is no spec URL to fetch. The document is checked in atopenapi/funtrade.json instead — it is what nodes/Funtrade was built against, and
having it in the tree is what makes a field name or an enum verifiable without
re-reading a 1 MB page. Refresh it with:
node scripts/fetch-funtrade-spec.mjs
and diff the result: a change there is the signal that an operation, a field or an
enum moved. The spec is marked pre-release (0.9.0) and the copy here was generated
by funtrade on 2026-01-05, so expect it to.
API keys are not self-service: they are requested from the assigned funtrade support
contact. The key goes in the apikey header (the API also accepts it as a query
parameter; the credential uses the header so it stays out of logs).
The node covers the CRM half of the API — a person and everything hanging off it:
| Resource | Operations |
|---|---|
| Person | Create, Delete, Get, Search, Update |
| Address | Create, Delete, Get Many, Update |
| Attribute | Create, Delete, Get Many, Update |
| Interaction | Create, Delete, Get Many, Record Refusal, Record Response |
| Pledge | Create, Delete, Exit, Get Many, Update |
| Publication | Get Many, Update |
| Task | Create, Get Many, Update |
The Events half (/api/v1.0/eventsapi/) is not modelled and is reachable through
Custom API Call.
Two things shape every write
Data quality checks. The API reuses the business logic behind the funtrade user
interface, so its data-validity checks apply here too: the ZIP has to exist, the
street has to exist at that ZIP, the house number in that street. A failing check
comes back as a 400 with a validationErrors list naming the field. Usually the
right answer is to correct the data; where it is not, each resource has a Data
Quality Overrides collection holding that endpoint's qc_ flags, which overrule a
single check for a single write.
Concurrent mutation check. Every update has to carry the version the record
had when it was read, and funtrade rejects the write if someone changed the record
in the meantime. So an update is always read-then-write: take Version from the
record the Get operation returned. The one exception is Publication → Update, whose
schema has no version field.
Other things worth knowing
- Nothing pages. Search and every Get Many answer with the full list. Return All
is therefore on by default, and Limit trims the response after it arrives rather
than asking the API for less. - Codes come from the instance. Salutations, titles, languages, address types,
channels, attributes, task types and the rest are configured per instance, so
those fields are dropdowns filled from the reference endpoints under/crmapi/
rather than hardcoded lists. - Pledge is wide.
PersonPledgehas around seventy fields, most of them
maintained by funtrade itself. The node models the ones a workflow sets when it
books a pledge; the rest go through Additional Fields, including the credit
card fields, which are deliberately left out of the typed UI. - Ending a pledge: Delete removes the record, Exit keeps it and records that
the person left. Exit is almost always the one you want. Itsactioncodes
(ACTION_S,ACTION_L) are documented by the API without saying what each means —
worth confirming with funtrade support before wiring into a live workflow. - Task field names differ between create and update —
emai_listvsemailList,time_unitvsunit,descriptionvstext. Those are the API's spellings; each
operation sends the one its own endpoint expects.
No trigger node
funtrade webhooks are generic inbound receivers: you define one in funtrade, it
generates an endpoint under /webhooks/v1.0/data/..., and anything posted there is
queued for asynchronous processing. They deliver into funtrade rather than out of
it, and there is no API to register one — so there is nothing for a trigger node to
subscribe to, the way the Payrexx and RaiseNow triggers do.
Gravity Forms notes
Built against REST API v2, which is part
of Gravity Forms core since 2.4 and has to be switched on under Forms → Settings →
REST API. There is no official n8n node and the one community package
(@jezweb/n8n-nodes-gravity-forms) has a deleted repository, so this is our own.
The credential takes the site URL, without /wp-json, and authenticates with HTTP
Basic. The two halves of a Gravity Forms key pair (ck_… / cs_…) go into Consumer
Key and Consumer Secret — or put a WordPress username there and an application
password from that user's profile page. Basic Auth only works over https.
- Capabilities decide what a key may do, because a request runs as the WordPress
user behind it. Reading forms needsgravityforms_edit_forms, reading entriesgravityforms_view_entries, writing themgravityforms_edit_entries— a key that
may read entries but not forms answers 401 on Form → Get Many. - Entries are flat, entry properties and submitted values in one object. Values are
keyed by field ID:"3"for a simple field,"1.3"and"1.6"for the first and
last name of a name field. Switch Include Labels on to get a_labelsmap back, or
read the field IDs off Form → Get. - Entry → Create writes straight to the database: no validation, no notifications,
no add-on feeds, no confirmation. Submission → Submit runs the values through the
form the way a visitor would, and that is usually the one you want. Its values are
keyed by input name —input_1,input_4_3— not by field ID. - A failed validation is a 200. Submission answers
is_valid: falsewithvalidation_messagesrather than an HTTP error, so branch on that field instead of
expecting the node to fail. Submission → Validate runs the checks alone, without
storing an entry. - Entry → Update replaces the whole entry. Values you leave out are blanked out, so
send the entry as Get returned it, changed. The same holds for Form → Update. - Delete trashes by default. Permanently Delete sets
force=1; without it a
second delete of an already trashed entry answers 410. - Searching is one
searchparameter, a JSON object the node assembles from the
Filters collection. Field Filters take a field ID or an entry property as the key
—date_created,payment_status— and Form → Get Field Filters lists what a given
form accepts. Start Date and End Date bounddate_created; they are not in the
REST reference but are part of the search criteria the endpoint passes down. - Lists page with
paging[page_size]andpaging[offset]and answer{"total_count": n, "entries": [...]}. The node unwrapsentries, and Return All
follows the pages. GET /formsanswers with an object keyed by form ID, not a list, and without
Form IDs it carries only ID, title and entry count. The node splits that object into
one item per form; name the forms under Form IDs to get their full definition.- File uploads are not modelled. They need
multipart/form-dataon the submissions
endpoint; use an HTTP Request node for those.
The trigger node
Gravity Forms core has no webhooks — the Webhooks add-on is an Elite licence feature,
and even there the URL is registered per form in the WordPress admin rather than over
the API. So the trigger polls: every tick asks for the newest entries, sorted
descending, and emits the ones it has not seen.
- It compares against the timestamp of the newest entry of the previous tick, read
from the API itself rather than from the n8n clock, so a WordPress server whose time
is off does not cost entries. - The first tick after activation only sets that mark. Entries that already existed are
not replayed. - Entry Created or Updated watches
date_updatedinstead, and fires again every time
an entry is edited. - One tick drains at most 1000 entries, ten pages of 100. A larger backlog is picked up
by the ticks after it. - If the site does run the Webhooks add-on, point it at a plain Webhook node instead —
that delivers on submission rather than on the next tick.
cevAPI notes
cevAPI is our own decision service (https://github.com/digital-organizing/cevapi): it
answers typed questions about a piece of content — yes/no, one of N, a level — and
returns a calibrated probability with every answer. It writes no text, so a decision
takes a few hundred milliseconds instead of an LLM call, and the answer is always one
of the values you defined.
The credential holds the instance's base URL and the token from its CEVAPI_TOKEN.
An instance started without that variable takes any request, so the key may stay empty.
Ask vs Route
Ask answers one or more questions and writes them into the item, under cevapi
by default:
{"cevapi": {"route": {"type": "choice", "value": "billing", "confidence": 0.89, "margin": 0.82},
"urgent": {"type": "bool", "value": true, "confidence": 0.6}}}
Route is the same call plus the branching: the node gets one output per option,
so it replaces an Ask followed by a Switch. Options can be defined in the node (label
plus an English criterion each) or taken from a profile on the server, in which case
the labels are listed here to fix their order. Two optional outputs:
- Fallback — no option reached Min Score. On without doing anything.
- Unsure — the answer came back below Min Confidence, or the gap to the
runner-up was below Min Margin. Off by default; switch it on to send doubtful
items to a human or an LLM instead of down a wrong branch.
Because outputs is computed from the parameters, this node is programmatic rather
than declarative, and the function that builds the outputs (resources/route.ts) is
serialised into an expression — it must stay self-contained: no imports, no module
constants, plain 'main' instead of the enum.
Writing criteria
A criterion is an English sentence that is true when the option applies ("The sender
writes about an invoice, a payment or a refund."). The content itself can be in any
language — German and French work well. Scores are independent probabilities per
criterion, so they do not add up to 1 across the options; margin is the better
signal for "was this ambiguous?".
Metricool notes
Metricool schedules and measures social media across the
networks a brand publishes on. Its API serves its own web app and is published as
an OpenAPI document at https://app.metricool.com/api/swagger.json — some 540
paths, most of which exist for the front end rather than for callers. It is fetched
live rather than vendored here, since unlike funtrade it has a stable spec URL.
The node models the part a workflow has a reason to reach for:
| Resource | Operations |
|---|---|
| Post | Create, Delete, Get, Get Many, Reschedule, Update |
| Analytics | Get Aggregate, Get Distribution, Get Posts, Get Timeline |
| Best Time | Get |
| Brand | Get, Get Many |
| Competitor | Create, Delete, Get Many |
Authentication and the brand
Three values identify a caller. Two are the credential, because they never change:
- User Token — the secret, from Account Settings → API in the web app. The node
sends it as theX-Mc-Authheader rather than theuserTokenquery parameter the
docs lead with, so it stays out of logs. - User ID — the account it belongs to, shown next to the token. It has no header
form and rides the query string.
The third, blogId, is a node parameter: one account manages many brands, and which
one an operation means is a per-call decision. The node calls it Brand and fills
the dropdown from the account's own list — which is also the only way to discover
one, since the ID is otherwise visible only in the web app's URL.
Things to know
- Every answer is wrapped in
{metadata, page, data}. The operations unwrapdata, so a workflow sees the rows. The one exception is Get Aggregate, whosedatais a bare number and cannot be an item of its own — it hands back the
envelope. - One post, many networks. A scheduled post carries one text and a list of
networks, so the same message to five accounts is one call. The answer has a status
per network inproviders, which is where a partial failure shows up: the post
succeeded, one network in it did not. - Update replaces, Reschedule moves.
PUToverwrites the whole post, so anything
not sent is dropped — read it with Get first. ThePATCHbehind Reschedule accepts
only a new publication date, which makes it the safe way to move a post; aimed at
the parent of a thread it moves the thread. - Dates come in two dialects. The scheduler — publication dates, the calendar
window, best times — takes a naive local date-time (2026-10-01T09:00:00) and reads
it in the timezone sent alongside, or the brand's own. Analytics takes ISO 8601 with
an offset. The node normalises the first kind by keeping the wall clock you picked
and dropping the offset, so 09:00 in the picker is 09:00 in Metricool. - Media is fetched, not uploaded. Put publicly reachable URLs in Media URLs and
Metricool downloads them; a URL behind a login will not do. The real upload path is
a multi-step S3 transaction and is not modelled. - Network-specific settings go in Network Data —
instagramData,tiktokData,youtubeDataand the rest are merged into the body as-is. - Metric names are per network, long, and documented only in the prose of the
spec'smetricparameter. Subject narrows them to a part of the network
(account,posts,reels,stories) and is mandatory for Instagram. - Analytics reads history. A post published minutes ago has no numbers yet;
Metricool backfills on its own schedule.
The trigger node
Metricool sends no webhooks — the /webhooks paths in its API are where TikTok and X
deliver to Metricool. So the trigger polls the planner and compares.
What it compares is the per-network status inside a post rather than the post itself,
since a post to three networks publishes three times and can fail on one while
succeeding on the others. Each tick emits one item per network that entered a watched
status, with network, status, detailedStatus and publicUrl lifted out ofproviders next to the post.
- Statuses defaults to Published and Error — the two worth reacting to.
- Lookback has to comfortably outlast the poll interval, and be long enough for
Metricool to have finished publishing. Lookahead only matters for watching
drafts and pending posts, which sit ahead of the clock. - The window is sent in UTC unless a timezone is set, because the endpoint reads
a naive window in whatever zone the query names: defaulting to the brand's own would
mean not knowing what was asked for, and silently missing the posts that just
published. - The first tick after activation only records what is already there. What it
remembers is the set of post/network/status triples in the window, rebuilt each
tick rather than accumulated — which bounds it, and is safe because the window only
moves forward.
Webling notes
Webling is the association management system Swiss clubs and
NGOs run their membership, accounting and correspondence on. Each account is its own
subdomain, so the credential takes the root URL (https://yourclub.webling.ch,
without /api). The documentation is served by every instance at /api/1 —
https://demo.webling.ch/api/1 is the public copy the node was built from.
An administrator generates the key under Administration → API. It carries that
administrator's permissions, so a key scoped to one member group sees nothing outside
it: an empty result can mean the key is scoped too narrowly rather than that nothing
matched. The node sends it as the apikey header rather than the query parameter the
docs lead with, so it stays out of logs.
One shape, twenty-five types
Webling's API is unusually uniform. Every documented object type — member, membergroup,
debitor, entry, entrygroup, document, period, user, vat and the rest — answers the same
five endpoints, takes the same query language and carries the same{properties, parents, links} body. So the node has two resources instead of
twenty-five:
| Resource | Operations |
|---|---|
| Member | Create, Delete, Get, Get Many, Update — with a member group dropdown for the parents |
| Record | The same five, with the object type as a parameter |
| Definition | Get (the field configuration of the account) |
| Replication | Get Current Revision, Get Changes Since Revision, Get Changes Since Timestamp |
| Transaction | Run (several writes as one atomic request) |
| Account | Who Am I, Get Quota |
Member gets a resource of its own only because it is the one everybody reaches for.
Things to know
- There is no fixed schema. A member's fields are configured per account and can be
renamed at any time —Vorname,NameandGeburtstagare the demo account's
fields, not part of the API. Writes therefore take a JSON Properties object rather
than a field list, and Definition → Get is how a workflow learns what this
account calls things.format=simpleis enough for names, datatypes and enum values. - Lists answer with IDs, not objects, until Full Objects is on. The node wraps
bare IDs as{"id": 536}so they are usable items either way. It also folds the ID
back into a single Get — a Webling object does not carry its own ID in the body,
so without that a workflow loses track of what it just read. - Empty is not the same as unset.
parents: []means "this object has no parents",
which Webling rejects for the types that need one. The node leaves Properties,
Parents and Links out of the request when you do not fill them in, so an update
touches only what you name. - The query language is the useful part. Property names go in backticks, and
special properties carry a leading$:member?filter=$parents.$id = 555&order=VornameASCreturns one group's members.FILTERmatches a prefix and is much faster thanCONTAINS;WITHties several
conditions to the same linked object. - The rate limit is real: 500 requests a minute, with a documented recommendation
to stay under 50. Both answers are in the node — Replication for reading (ask
what changed, not what exists) and Transaction for writing. - Transactions are atomic and can reference themselves. Give a request a
nameand
write{{name}}where a later one needs the ID it returned — the only way to create
objects that point at each other. Watch the status code, not the body: the call
answers with the status of the failed request, so only a transaction returning 200
was applied in full. - Files and images are written as
{"name": "…", "content": "<base64>"}inside
Properties, and read back as ahrefpointing at a separate download endpoint.
The trigger node
Webling has no webhooks, but it has something better than the usual polling
consolation prize: every write produces a numbered revision, and/replicate/{revision} answers exactly what changed since the one you hold. The
trigger remembers one number. There is no window to size, no timestamp to drift, and
no list of things already seen — nothing is emitted twice and nothing falls through a
gap, which is not true of any clock-based trigger. A quiet tick costs one request.
- Object Types filters what is emitted; empty watches everything.
- Fetch Full Objects reads each changed object and emits it whole. That is one
request per changed object, capped at 200 per tick so a bulk import cannot exhaust
the rate limit; turn it off to emit just the ID and type. - Deleted objects are emitted with
deleted: trueand never fetched — they cannot
be read back. - A revision of -1 means the key's permissions changed, so what it can see changed
too. The node re-marks from the current revision and emits nothing, rather than
reporting the newly visible half of the store as freshly changed. - The first tick after activation only records the current revision.
Address Cleanup notes
Address Cleanup is our own address service, chaddr
(https://github.com/digital-organizing/address-cleanup): it matches a manually typed
Swiss address against the federal building and dwelling register (GWR/MADD) and gives
back the canonical spelling, ZIP, locality, canton, municipality, the stableEGID/EGAID and WGS84 coordinates — or a verdict saying why it would not commit.
Typos, abbreviations and a dropped street type are corrected (Bahnhofstr. 12, 8001 Zurich, Palud 5, 1003 Lausanne), and the German, French and Italian names of the same
building resolve to the same one.
The credential holds the instance's base URL and one of the keys in itsCHADDR_API_KEYS, sent as X-API-Key. On a fresh volume the first start downloads the
1.6 GB register and builds the index, which takes a few minutes — until it is ready the
credential test and every match answer 503. The key is fine; the index is not there yet.
One address or thirty thousand
The same operation covers both, with nothing to switch on. Match reads every item of
the run, sends them to /v1/match/batch in chunks of Batch Size (100), and writes each
result back onto the item it came from. A run of a single item goes to /v1/match
instead, so a rejected address is reported as that address rather than as a batch of one.
The server is why this is worth batching: a match costs about a millisecond, so one
request per item spends its time on HTTP rather than on addresses. Measured against a
live instance over loopback, 300 items take 0.4 s as three requests — some 750 addresses
a second — against less than half that at Batch Size 1, and the gap widens as soon as
the service is a network hop away. Keep Batch Size under the server'sCHADDR_MAX_BATCH (1000) — a larger batch is rejected with 413, reported as
batch of 1001 exceeds the server limit of 1000.
Address the node from One Field (the whole address in one string, split by the
server) or from Separate Fields, which skips the parser and is the better choice when
the source already has separate columns.
What lands on the item
The best candidate, flattened, under Output Key (cleaned; empty writes it at the top
level), next to the fields the item already had:
{"cleaned": {"verdict": "exact", "matched": true, "score": 1.0,
"street": "Bahnhofstrasse", "houseNumber": "12", "zip": "8001",
"locality": "Zürich", "canton": "ZH", "municipality": "Zürich",
"municipalityNumber": 261, "egid": 2372894, "egaid": 101169008,
"edid": 0, "lat": 47.3682159, "lon": 8.5400088,
"components": {"street": 1.0, "locality": 1.0, "house_number": 1.0}}}
The keys are the same whether or not anything matched — an unmatched item carries them
all as null — so a mapping downstream does not break on the rows that need attention.
matched is true for the verdicts exact and match (confident after correcting a typo
or an abbreviation), false for candidate (plausible but unconfirmed), po_box andno_match. It is the field to branch an IF on. components says why something scored
low: a wrong house number on the right street looks nothing like a wrong street, and only
the second one means the address is unusable.
Options worth knowing:
- Include Candidates adds the whole scored list under
candidates, for a human or an
LLM to choose from. Include Parsed Address adds how the server read the input, which
explains a surprising match. - Minimum Score (0.5) drops weaker candidates, Candidates caps how many come back.
- Because one request covers many items, the options are read once, from the first
item. An expression in them that varies per item will not vary — per-item values
belong in the address fields, which are read per item.
Index
Index → Get Status returns the index statistics, the server's effective limits and the
state of the last refresh, including its error. The register re-fetches itself every 7
days; a scheduled workflow on this operation is how you find out that it stopped, rather
than noticing months later that the newest streets are missing.
Wissensmanagement notes
Wissensmanagement is our own knowledge base (RAG). You upload documents, and it splits
each one into chunks and indexes them. The index then answers searches and cited AI
questions. Every customer has their own instance, e.g. https://ses-wissen.ai-collab.ch,
so the credential's Base URL is the root of that instance, without /api/v1. The
instance serves its API reference at /api/docs/ and the OpenAPI schema at /api/schema/.
API keys
A staff user creates API keys in the instance's Django admin under API keys.
- The key is shown only once.
- It expires after 90 days unless another expiry was chosen.
- It is sent as
Authorization: Bearer wm_…. - It only carries the scopes picked when it was made, minus any that its owner lacks
permission for.
The credential test calls /me/, which needs no scope. Account → Get Me shows which
scopes and limits a key really has.
| Resource | Scopes |
|---|---|
| Document | documents:read; also documents:create to create, documents:write to update or replace the file, documents:process to reprocess, documents:delete to delete |
| Search / Answer | search:run / answers:run |
| Chat Session | chats:read, chats:write |
| Prompt | prompts:read |
| Webhook and Trigger | webhooks:read, webhooks:write; also documents:read for document events and for Fetch Resource |
Jobs, waiting and idempotency
Six operations do not answer right away; they start a background job instead:
- Document → Create
- Document → Replace File
- Document → Reprocess
- Search → Run
- Answer → Ask
- Chat Session → Send Message
The server picks up queued jobs every 15 seconds. With Wait for Completion on (the
default), the node polls the job until it finishes. It starts at 2 s and backs off to
30 s, and it respects Retry-After when rate-limited. It then outputs the result:
- Document operations output the processed document.
- Search outputs one item per passage found. Turn off Split Sources to get all
passages on one item. - Answer and Send Message output
answer,refusal,citationsandsources.
A failed job fails the item with its error_code. A job that is still running after
Timeout (300 s) also fails the item, and the error message includes the job ID. With
Wait for Completion off, the node outputs the queued job. You can pick it up later with
Job → Get, which can wait as well, or with the trigger.
Every job start sends an Idempotency-Key, and the API keeps each key for seven days:
- The same key with the same input returns the original job instead of starting a
second one. - The same key with different input is rejected with
409.
By default the node derives the key from the execution, the node and the item. This means
n8n's Retry On Fail does not upload a document twice, but a new execution starts a new
job. To make an ingest safe to re-run across executions, set Options → Idempotency
Key to something stable, e.g. {{ $json.fileId }}.
Things to know
Uploads are sent as multipart, from the binary field. The file extension decides how
the file is read:- PDF, DOCX, XLSX, PPTX
- TXT, MD, CSV, HTML
- common image formats, via OCR
An unknown extension is rejected with
415. The size limit is 200 MiB. Text input
is stored asdocument.txt.Tags are comma-separated in every field.
Get Many filters. In Get Many documents, a document has to carry all the tags
given. Status, stance and language each take a single value.Timestamp filters are sent as UTC. A date without a time zone is read in the n8n
instance's time zone.Stance means where a document's author stands relative to the customer: ally,
neutral or opposition. Search, Answer and Send Message can be restricted to some
stances and to specific document IDs.Errors carry the API's own message and code, plus the
request_idfor the logs of
the instance.
The trigger node
Activating the trigger does three things:
- It creates a webhook subscription for the selected events.
- It keeps the signing secret in the node's static data. The API shows the secret only
once. - It asks the instance to send a test event.
The instance delivers that test about 15 seconds later. The trigger answers 200 without
starting the workflow, and the instance marks the subscription as verified and enabled.
Deactivating the trigger deletes the subscription. A subscription on the same URL whose
secret the node does not hold is replaced, not reused.
Things to know:
- Only public HTTPS on port 443. The instance refuses other destinations, so a
localhostor plain-HTTP n8n cannot receive events. The test URL works only when n8n
itself is publicly reachable. - Every delivery is checked. The trigger checks the HMAC-SHA256 signature over
<timestamp>.<raw body>, accepting either signature while a secret is being rotated.
It also rejects timestamps more than five minutes off, and events whoseiddoes not
matchWebhook-Id. A delivery that fails these checks gets401and starts nothing. - Delivery is at least once, in no fixed order. A failing delivery is attempted up to 8
times over about a day. Deduplicate on the eventidif a double run matters. - Events carry IDs, not content. Each event looks like
{id, type, created_at, data: {job_id | document_id, status, url}}. Turn on Fetch
Resource to add the job or document underresource. Forjob.succeeded, that job
includes the answer or the sources.