> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mallary.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Social Media n8n Community Node

> You can now post your social media content, manage your replies, and trigger workflows from n8n with Mallary.

Social media has always been central to automation, and when you combine the reliability and developer-first experience of Mallary, with the composability of n8n, something genuinely useful emerges.

You can now post, schedule, manage comments, trigger workflows from events, and much more, all from within n8n.

![n8n workflow interface](https://mintcdn.com/mallary/HPTGYN-sYh9Jj5ZY/images/n8n-1.png?fit=max\&auto=format\&n=HPTGYN-sYh9Jj5ZY\&q=85\&s=72d54dbd0a01cdc528a2cc8f4922eaea)

n8n has quietly become one of the most powerful workflow automation platforms available today. Whether you are syncing CRMs, building approval pipelines, or reacting to events in real time, n8n gives developers and teams the flexibility to automate almost anything without being locked into a single vendor.

## Things you can do with n8n and Mallary

* create and schedule social media posts
* upload image and video files to Mallary
* use platform-specific captions with `platform_options`
* list grouped posts and publishing jobs
* get platform post IDs and post URLs
* list your comments on published posts
* post comment replies using your workflow
* pull analytics into reports
* list profiles and your connected social platforms
* manage Mallary webhooks
* start workflows from Mallary webhook events

## Install

Self-hosted n8n users can install it from npm:

```bash theme={null}
npm install @mallary/n8n-nodes-mallary
```

or via Settings > Community nodes:

![The Community nodes page in n8n settings](https://mintcdn.com/mallary/HPTGYN-sYh9Jj5ZY/images/n8n-step1.png?fit=max\&auto=format\&n=HPTGYN-sYh9Jj5ZY\&q=85\&s=9352ff1d5013baad00de53b1960aeafe)

Click the "Install a community node" button:

![The Install a community node button in n8n](https://mintcdn.com/mallary/HPTGYN-sYh9Jj5ZY/images/n8n-step2.png?fit=max\&auto=format\&n=HPTGYN-sYh9Jj5ZY\&q=85\&s=b605709f04ec3fb5dc0038610f2f010f)

Enter the npm package name "@mallary/n8n-nodes-mallary" in the box. Then click Install:

![The n8n community node install dialog with the Mallary package name entered](https://mintcdn.com/mallary/HPTGYN-sYh9Jj5ZY/images/n8n-step3.png?fit=max\&auto=format\&n=HPTGYN-sYh9Jj5ZY\&q=85\&s=3b47f6fd88572b189b66738c38a627d6)

Create a new workflow. Open the nodes panel with + or the Tab key. Then search for Mallary:

![The n8n nodes panel with Mallary in the search box](https://mintcdn.com/mallary/HPTGYN-sYh9Jj5ZY/images/n8n-step4.png?fit=max\&auto=format\&n=HPTGYN-sYh9Jj5ZY\&q=85\&s=a99fc7604ff94daa3f97fe613279b410)

## Credentials

Get your API key from the [Mallary dashboard](https://mallary.ai/dashboard). Then add it as a Mallary API credential.

Keep your API key private. It can publish posts, reply to comments, read account data, and manage webhooks. Store it only in n8n credentials.

# Node Types:

## Mallary node

Use the Mallary action node when a workflow must perform an action in Mallary.

Common workflows include:

* publish one post to many platforms
* upload a video and schedule it across YouTube, TikTok, Instagram, and LinkedIn
* send new comments to Slack or a CRM
* draft a reply with an AI step, then post that exact reply through Mallary
* build a weekly social media analytics report

## Mallary Trigger

Use the Mallary Trigger node when a Mallary event must start an n8n workflow.

Supported events:

* `post.scheduled`
* `post.published`
* `post.failed`
* `post.partial`
* `auto_reply.posted`
* `*`

When you activate the workflow, the trigger registers the n8n webhook URL with Mallary. When you deactivate the workflow, the trigger removes that webhook.

## Platform options

The node includes common fields for platform-specific messages. It also supports advanced `platform_options` JSON for fields such as:

* Instagram post type
* TikTok direct post options
* YouTube title and visibility
* Pinterest board ID
* Reddit subreddit
* platform-specific captions

Explicit n8n fields override matching values in the advanced JSON field.

For the full API request shape, see [Create Post](https://docs.mallary.ai/api-reference/endpoint/create.md).

## Safe use

* Do not use production profiles for test posts unless you want public posts.
* Do not upload private or sensitive files unless Mallary must host them.
* Do not print or log your Mallary API key.
* Review workflows that delete posts, disconnect platforms, or update settings.
* Use test accounts before turning on scheduled or automatic workflows.

## Links

* npm package: [https://www.npmjs.com/package/@mallary/n8n-nodes-mallary](https://www.npmjs.com/package/@mallary/n8n-nodes-mallary)
* GitHub repo: [https://github.com/mallarylabs/n8n-nodes-mallary](https://github.com/mallarylabs/n8n-nodes-mallary)

> [!TIP]
>
> If you build something cool with it, we'd love to hear about it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.