Skip to content
v1

Guides n8n

n8n

Connect a self-hosted n8n workflow to the Totem API with the public Totem Studio node and a saved API credential.

Install on self-hosted n8n

In n8n, open Settings → Community nodes → Install and enter n8n-nodes-totem-studio. Your n8n host needs Node.js 24.18.0 or a newer Node.js 24 release and must allow community packages. The published package on npm lists the current version and its supported operations.

Version 0.13.0 on npm includes the Totem Studio action node, with CRM reads and writes, calls and bookings reads, notifications and the changes feed. The expanded action set and Events polling trigger are prepared in the official repository for 1.0.0. Publication of that version on npm and verification for the n8n Cloud catalogue are pending.

One saved credential

  1. Create an integration key in Settings → Totem API. Choose the read or CRM write permissions your workflow needs. Note contents and inbound intake require separate grants.
  2. In n8n, create a Totem Studio Public API credential and enter the tsk_live_… key. Its connection test calls GET /v1/me.
  3. Add Totem Studio, choose a resource/operation and, for team-scoped operations, an authorized workspace.

Select the same saved credential on every node sharing that integration. Updating that credential updates its references, without putting keys in workflow JSON, fields or URLs. The node uses the fixed public API origin; internal Totem runtime credentials are not public API keys.

CRM writes

The Fields (JSON) input accepts documented API fields. For Create or Resolve, an inert import can use:

JSON
{"origin":"import","email":"alex.rivera@example.com","external_id":"crm-contact-001"}

Existing upserts fill missing identities and preserve human values. Resolve first and then use Update with the current ETag to change pipeline fields, tags or other existing values. CRM writes and notes defines the exact contract. Imports cannot activate outreach.

Update, Archive, Update Note and Delete Note require If-Match. Copy the response etag including its quotes. Lead and note validators are distinct. Review a 412 conflict against the newest resource before making a new logical change.

The node generates an idempotency key per execution item and retains it for identical retries. Its result includes idempotencyKey. To resume the same write in a different execution, provide the original Idempotency Key, identical fields and original If-Match. outcome_unknown stops blind automatic repetitions; reconcile first. Notes write receipts contain metadata only; note reads and note feed items require the explicit content grant.

Follow queued actions and events in the prepared 1.0.0 release

An asynchronous action returns its operation ID and actual state. Read that same operation to observe completion or request cancellation where supported; never submit the action again to poll it. Wait for Completion is an explicit option, off by default, with a bounded wait; reaching its deadline returns the latest known state. A pending answer is not completed work.

The Events trigger polls supported business events using the same saved key and its event permission. Deduplicate event IDs and read current resources when needed; events are separate from the full CRM changes feed. If a write returns outcome_unknown, keep its original operation and idempotency details for reconciliation.

Keep a copy in sync

Lists and the changes feed return one page with data, has_more and next_cursor. Apply each page durably before saving the next cursor. Continue with the same operation and workspace; a full resync uses the sync guide, including removals and version checks. The node does not replace your storage or retention policy.

API version 1.0.0