n8n workflows
Step-by-step examples: list channels, create drafts, schedule with media.
These examples use a Manual Trigger so you can click Execute while learning. Swap it for a Schedule, Webhook, or other trigger when you go live.
Example A — List channels
- Manual Trigger → Socioi
- Resource: Channel · Operation: Get Many
- Select your Socioi API credential
- Execute step
Copy a channel id from the output — you need it for posts.
Optional: add a second Socioi node with Channel → Get Quota to see plan limits.
Example B — Create a draft
- Keep Example A, or paste a known channel ID
- Add another Socioi node (or reuse one):
| Field | Value |
|---|---|
| Resource | Post |
| Operation | Create |
| Type | Draft |
| Content | Your caption |
| Channel IDs | Comma-separated IDs (e.g. clx_abc) |
| Media IDs | Leave empty for text-only |
- Execute — response includes the post
id - Open https://socioi.com — the draft appears in your calendar / drafts
Drafts never publish until you schedule or change type to Now in Socioi or via the API.
Example C — Schedule a post with an image
- Socioi → Resource Media · Operation Upload From URL
- URL: a publicly reachable image (
https://…/photo.jpg) - Execute → copy the media
id
- URL: a publicly reachable image (
- Socioi → Resource Channel · Get Many → copy channel
id - Socioi → Resource Post · Create:
| Field | Value |
|---|---|
| Type | Schedule |
| Content | Caption |
| Channel IDs | Channel id(s) |
| Date | UTC date/time (n8n date-time picker) |
| Media IDs | Media id from step 1 |
- Execute — status should be scheduled; the worker publishes when
dateis due
Example D — Publish now
Same as create, but Type = Now. The post is queued for publishing immediately (subject to provider limits and connected channels).
Chaining tips
- Use expressions to pass IDs: e.g. Channel Get Many output →
{{ $json.id }}(adjust to your item shape) - For multiple channels, join IDs with commas
- Prefer Draft while testing; switch to Schedule / Now when ready
- Failures return API errors — see Errors & limits
Full operations list
See Operations.