Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-sociallabs
Community node for the SocialLabs Design Studio API. Built from the n8n-nodes-starter layout.
Operations:
| Operation | API |
|---|---|
| Get Designs | GET /public/studio |
| Get Metadata | GET /public/studio/:id |
| Render | POST /public/studio/:id/download |
Auth: credential SocialLabs Studio API (X-API-Key). Create a key in Profile or Studio API docs.
Local development
Requires Node.js 22+.
cd n8n-plugin
npm install
npm run build # dipakai docker n8n (N8N_CUSTOM_EXTENSIONS)
npm run dev # n8n terpisah + hot reload, http://localhost:5678
npm run dev builds the node, starts n8n, and opens http://localhost:5678.
Install into an existing n8n
From the n8n data folder (or via Settings → Community nodes if you publish to npm):
cd n8n-plugin
npm install
npm run build
Stack SocialLabs: ./dev.sh up mount n8n-plugin ke n8n. Atau:
N8N_CUSTOM_EXTENSIONS=/absolute/path/to/n8n-plugin
Credential
- API Key:
sl_… - Base URL:
https://sociallabs.codelabs.id/api/v1(local:http://localhost:9000/api/v1)
Render fields
Only send keys you want to change (page_1_text_1, page_1_image_1, …). Empty values are omitted so the saved design defaults stay. For image fields, pass an existing public URL in Fields / Fields JSON.
Render output is binary (default property data) plus json metadata (filename, contentType, bytes).