# Post to X from n8n: coming soon

Source: https://postgale.com/guides/n8n/x

Not yet. X is coming soon to Postgale: X accounts cannot be connected today, so an n8n AI agent cannot post, reply or send direct messages on X through Postgale yet. An n8n AI agent can already connect to Postgale and work on Instagram, Facebook, Threads, TikTok, Telegram, Discord, Bluesky and Mastodon, and answer customers on WhatsApp Business.

## Can n8n post, reply or send direct messages on X through Postgale?

> Coming soon: X is not available yet. An X account cannot be connected in Postgale today, so nothing on this page works against X yet. What is planned may change before launch.

Postgale is the secure layer for AI agents on social media. MCP (Model Context Protocol) is the open standard that lets AI assistants such as Claude and Cursor use outside tools. An MCP server is what they connect to. Until X is live, Dashboard → Accounts shows X as “Coming soon”, and an n8n AI agent gets no X account to act on.

## What is planned for X?

The plan is the official X API v2, with the same approval, audit log and revocable access as the other platforms. Details may change before launch:

- Posts, threads, polls and quote posts with images, a GIF or a video.
- Replies, mentions and direct messages.
- Recent search and post metrics.
- X’s own rules applied before anything is sent, such as its 280 weighted-character limit.

## Set up n8n with Postgale today

| Use | Node | When |
| --- | --- | --- |
| Fixed steps | HTTP Request | Your workflow knows what to post (a new blog post, a product update, a form submission). Call `POST /api/v1/posts` with the content and the account ids. |
| An agent decides | MCP Client Tool attached to an AI Agent node | The model reads the input (an inbox, a brief, a trigger) and chooses among Postgale’s tools: list accounts, upload media, create or schedule posts, read and reply to comments and messages. |

## How do I set up the MCP Client Tool node?

1. In Postgale, open Dashboard → API keys, create a key and copy it (it starts with `sk_` and is shown once). Connect the social accounts the agent may use under Dashboard → Accounts.
2. Add an AI Agent node with your model, and attach an MCP Client Tool node to it.
3. In the MCP Client Tool node set the endpoint to `https://postgale.com/mcp`, the transport to HTTP streamable, and authentication to a Bearer or Header Auth credential carrying `Authorization: Bearer sk_…`.
4. Leave the tool list on “all” to start, or select only the read-only tools until you trust the workflow.
5. Give the agent a system prompt that states the account ids it may use and whether it must save drafts or may schedule.

> Ask your agent: “You manage the Northline accounts in Postgale (ids in the context). For each new blog post in the input, draft one Instagram caption with the cover image and one Threads post, save them as drafts, and reply with the Postgale post ids.”

## How do I set up the HTTP Request node?

1. In Postgale, open Dashboard → API keys, create a key and copy it (it starts with `sk_` and is shown once). Connect the social accounts the agent may use under Dashboard → Accounts.
2. In n8n create a credential of type Header Auth with name `Authorization` and value `Bearer sk_…` (your key).
3. Add an HTTP Request node: method POST, URL `https://postgale.com/api/v1/posts`, authentication Header Auth with that credential, body type JSON:

HTTP Request body (JSON):
```json
{
  "content": "{{ $json.caption }}",
  "scheduledFor": "{{ $json.publishAt }}",
  "platforms": [
    {
      "accountId": "acc_instagram",
      "platformSpecificData": {
        "mediaUrl": "{{ $json.imageUrl }}"
      }
    },
    {
      "accountId": "acc_threads"
    }
  ]
}
```

1. Get the account ids once with a GET to `https://postgale.com/api/v1/accounts` using the same credential.
2. Optional: send an `x-request-id` header built from your trigger id, so a re-run of the workflow returns the same post instead of a duplicate.
3. To know when the post is live, add a Webhook node and register its URL in Postgale (Dashboard → Webhooks); Postgale sends post.published or post.failed, signed with HMAC-SHA256.

## What can the agent do through Postgale today?

An agent can publish today on [Instagram](https://postgale.com/integrations/instagram), [Facebook Pages](https://postgale.com/integrations/facebook), [Threads](https://postgale.com/integrations/threads), [TikTok](https://postgale.com/integrations/tiktok), [Telegram](https://postgale.com/integrations/telegram), [Discord](https://postgale.com/integrations/discord), [Bluesky](https://postgale.com/integrations/bluesky) and [Mastodon](https://postgale.com/integrations/mastodon), and answer customers on [WhatsApp Business](https://postgale.com/integrations/whatsapp). X is coming soon.

Nothing has to go out unreviewed. Approval can be required per workspace, per connected account, per API key or per signed-in app; while it applies, posts wait as pending approval in the dashboard, and replies, direct messages and edits to live posts are refused. Every write the agent makes is kept in the audit log.

## Questions

### Can an n8n AI agent post, reply or send direct messages on X through Postgale?

Not yet. X is coming soon to Postgale: X accounts cannot be connected today, so an n8n AI agent cannot post, reply or send direct messages on X through Postgale yet. An n8n AI agent can already connect to Postgale and work on Instagram, Facebook, Threads, TikTok, Telegram, Discord, Bluesky and Mastodon, and answer customers on WhatsApp Business.

### When will X be available?

There is no public date yet. X is coming soon; until then it cannot be connected in Postgale.

### Is it worth connecting an n8n AI agent to Postgale now?

Yes, if you use any of the live networks: the same setup works for Instagram, Facebook, Threads, TikTok, Telegram, Discord, Bluesky and Mastodon and WhatsApp Business today, with approval and the audit log. When X goes live, an n8n AI agent uses it through the same connection.

## Related

- [X (Twitter): coming soon](https://postgale.com/integrations/x)
- [n8n guide](https://postgale.com/guides/n8n)
- [n8n and Instagram](https://postgale.com/guides/n8n/instagram)
- [n8n and Bluesky](https://postgale.com/guides/n8n/bluesky)
