wyro

Blog · 2026-10-26 · Markdown

Automate Instagram, TikTok and LinkedIn with n8n (template included)

n8n is ideal for automating content: a trigger, an AI node that writes and... the trouble starts when it's time to publish. Each network wants its own app, its own permissions and its own format. In this article we build a workflow that publishes to multiple networks with a single HTTP node.

The workflow

Trigger → AI writes the post → HTTP Request to wyro

Template ready to import: wyro-publicar.json

1. Test key

curl -X POST https://wyroapi.com/v1/sandbox

Free, no sign-up. With this key everything is simulated: perfect for building the workflow without worrying about publishing something by mistake.

2. Import the template

In n8n: Workflows → Import from File and pick wyro-publicar.json. In the Publicar con wyro node, replace TU_CLAVE in the Authorization header with your key.

3. The node that publishes

It's a regular HTTP Request:

{ "text": "{{ $json.texto }}", "platforms": ["linkedin", "instagram"], "media": [{ "url": "{{ $json.imagen }}" }] }

Instagram and Pinterest need an image or video; TikTok and YouTube need a video. If something's missing, the error tells you exactly what to add.

4. Let the AI write

Replace the text node with your AI node (OpenAI, Claude or Gemini) and a prompt like:

Write a LinkedIn post of no more than 600 characters about {{ $json.tema }}. Friendly, conversational tone, with 3 hashtags at the end.

And swap the manual trigger for a Schedule (every Monday at 10 a.m.) or a Webhook.

5. Check the result

The HTTP Request response includes preview_url: open it and you'll see how the post looks on each network. When you connect your real account (the link comes in next_step), the same workflow publishes for real.

With AI agents inside n8n

If you use the AI Agent node, add the MCP Client Tool with the endpoint https://wyroapi.com/mcp (HTTP Streamable, Bearer with your key). The agent decides when and where to publish.

More: https://wyroapi.com/en/n8n

Try it, no sign-up
curl -X POST https://wyroapi.com/v1/sandbox