Skip to content
No-code automation 5 min read · LogicSpoke PDF

Managing document processing for multiple clients without a separate account each

TL;DR: Agencies managing multiple clients in n8n/Make already scope credentials per client per connector (Twilio-ClientA, Twilio-ClientB) to keep data isolated — real, well-documented operational overhead. This doesn't solve that problem for your other connectors. What it does: LogicSpoke's Workspaces mean your document-processing step doesn't need a separate account and API key per client — one key, one workspace per client, isolated data.

If you run an automation agency, this is already familiar: managing multiple clients' workflows in n8n or Make means scoping credentials per client, per connector — not one "Twilio" credential, but "Twilio-ClientA," "Twilio-ClientB," and so on for every service each workflow touches. That's real, well-documented operational overhead, and it's not something this post fixes. Running a fleet of per-client instances, credentials, and webhook endpoints is a genuine ops burden regardless of what document-processing API you use.

What this does address is narrower and honest about it: if part of your client workflows involves parsing or generating documents through LogicSpoke, that piece doesn't have to be one more thing you duplicate per client. You don't need a separate LogicSpoke account and API key for every client — one account, one API key, one workspace per client.

What a workspace actually does

A workspace is a data-isolation boundary inside a single LogicSpoke account. Documents, templates and parse history created under one workspace are invisible to another — including to the account's own default (no-workspace) data. You're not managing 10 accounts to keep 10 clients' documents apart; you're managing 10 workspaces under one account.

Using it

Every request carries an X-Workspace-Id header. Create a workspace once per client, then scope calls to it:

# One-time: create a workspace for this client
curl -X POST "https://api.logicspoke.com/pdf/v1/workspaces" \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{ "name": "Client A" }'
# Response: { "id": "ws_clienta123", "name": "Client A", ... }

# Every subsequent call for this client includes the workspace header
curl -X POST "https://api.logicspoke.com/pdf/v1/pdf/parse/sync" \
     -H "Authorization: Bearer YOUR_API_KEY" \
     -H "X-Workspace-Id: ws_clienta123" \
     -F "[email protected]" \
     -F "schemaId=sys_invoice"

In Make.com or n8n, this is one extra header on the same HTTP module you're already using — no separate connection/credential object per client for this specific API, unlike connectors that require a fully separate OAuth credential per client.

Node SDK

The SDK didn't have a clean way to do this until this post needed it to — forWorkspace() returns a client that sends the header automatically on every call:

// The Node SDK is coming soon; until it is out, the same calls go to the REST API.
import { LogicSpokePDF } from '@logicspoke-pdf/sdk';

const sdk = new LogicSpokePDF(process.env.LOGICSPOKE_API_KEY);

const clientA = sdk.forWorkspace('ws_clienta123');
const clientB = sdk.forWorkspace('ws_clientb456');

// Same account, same API key, completely isolated data per client
await clientA.parse.sync('./invoice.pdf', { schemaId: 'sys_invoice' });
await clientB.parse.sync('./invoice.pdf', { schemaId: 'sys_invoice' });

What this doesn't solve

To be direct about the boundary: this is one service's worth of the multi-tenant problem, not the whole thing. Your Gmail, Slack, Twilio, or any other connector credentials still need whatever per-client scoping strategy you already use in n8n/Make — nothing here touches those. Workspaces isolate data within LogicSpoke, for LogicSpoke calls, and nothing else in your stack.

Questions

Is there a limit to how many workspaces one account can have?

No — workspaces are unlimited on every account.

Can a workspace's data ever leak into another workspace's results, or into the account's default data?

No — workspace scoping is enforced server-side on every query; a request scoped to one workspace never returns another workspace's (or the account's default) data, and vice versa.

Do I need a separate billing/credit balance per workspace?

No — credits are shared at the account level regardless of which workspace a job runs under. Workspaces isolate data, not billing.

One API key. Isolated data per client.

Starter credits included on signup. No card required.