n8nIntegration

Build social media workflows powered by n8n and Aidelly.

Use n8n's HTTP Request node to call the Aidelly REST API from any workflow. Post to Instagram, TikTok, YouTube, X, LinkedIn, and Facebook triggered by databases, AI nodes, webhooks, or cron jobs.

Set up the Aidelly HTTP Request node

1

Generate an Aidelly API key

In your Aidelly dashboard, go to Settings → API Keys and create a new key. API access requires an active paid plan see plans.

2

Create a Header Auth credential in n8n

Go to Credentials → New and search for Header Auth. Set name to Authorization and value to Bearer YOUR_API_KEY.

3

Add an HTTP Request node to your workflow

In your workflow editor, click + and search for HTTP Request. Connect it after your trigger or content-generation step.

4

Configure the HTTP Request node

Set these fields in the node:

MethodPOST
URLhttps://api.aidelly.ai/v1/posts
AuthenticationHeader Auth (select your credential)
Body Content TypeJSON
Specify BodyUsing JSON
5

Set the JSON body

Paste this into the JSON body field. Use n8n expressions to map values from upstream nodes:

{
  "content": "={{ $node['AI'].json.caption }}",
  "platforms": ["instagram", "linkedin", "tiktok"],
  "schedule_at": "={{ $node['Trigger'].json.post_time }}"
}

Replace node names with your actual upstream node names. Omit schedule_at to publish immediately.

What you can build

AI-generated content pipeline

Combine the AI node (OpenAI/Claude) with the Aidelly HTTP node. Feed a topic in, get a caption out, post automatically.

Schedule from a database

Read rows from Postgres, MySQL, or Airtable, then loop through them and send each post to Aidelly on a cron schedule.

Cross-post new content automatically

Trigger on RSS feed updates, new YouTube uploads, or GitHub releases and push announcements to all social channels.

Multi-account agency workflows

Use n8n's Switch node to route content to different Aidelly API keys per client account, all from a single workflow.

Common questions

Does n8n have a native Aidelly node?

Not yet. Use the built-in HTTP Request node it handles all REST API calls and is fully supported in both n8n Cloud and self-hosted instances.

How do I store my API key securely in n8n?

Create a Credential of type "Header Auth" in n8n with the name "Authorization" and value "Bearer YOUR_API_KEY". Then select it in the HTTP Request node under Authentication.

Can I use expressions to build dynamic post content?

Yes. n8n's expression editor lets you reference any upstream node's data with {{ $node["NodeName"].json.field }}. Build your content string dynamically from any source.

Does this work on self-hosted n8n?

Yes. The HTTP Request node works identically on n8n Cloud and self-hosted. As long as your n8n instance has outbound internet access, it can reach api.aidelly.ai.