Package Exports
- @postnitro/n8n-nodes-postnitro-ai
- @postnitro/n8n-nodes-postnitro-ai/dist/nodes/PostNitro/PostNitro.node.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@postnitro/n8n-nodes-postnitro-ai) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
n8n-nodes-postnitro-ai
This is an n8n community node. It lets you use PostNitro in your n8n workflows.
PostNitro.ai is a platform for creating and publishing social media carousels and visuals.
The PostNitro Embed API is an embed-friendly API to generate carousel posts, images, and PDFs using AI or imported slide content to create carousels.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
The PostNitro node supports:
- Generate Carousel from Text (AI)
- Generate Carousel from Article URL (AI)
- Generate Carousel from X (Twitter) Post (AI)
- Import Carousel Slides
Optional behaviors:
- Wait for completion: Poll the post status until it completes or fails
- On complete: Return status only, or fetch the generated output
- Download output as binary: Attach the generated file(s) to the workflow item
Credentials
This node requires API credentials for the PostNitro Embed API.
Prerequisites:
- A PostNitro account and API key
Setup in n8n:
- Create credentials of type
PostNitro Embed API - Fields:
- API Base URL: Base URL of the PostNitro Embed API (for example,
https://embed-api.postnitro.ai) - API Key: Your API key (sent as
embed-api-keyheader)
- API Base URL: Base URL of the PostNitro Embed API (for example,
Compatibility
- Minimum n8n version: 1.0+
- Tested with
n8n-workflow^1.40.0 and TypeScript ^5.4.0
Usage
Basic flow:
- Choose an operation (AI generation from Text/Article/X, or Import Slides)
- Provide required fields such as
templateId,brandId, and (for AI flows)presetId - Optionally enable "Wait for Completion" to poll status and then fetch output
- If you choose to fetch output, you can return just the JSON or download the file(s) as binary
Output formats:
- PDF: Single file
- PNG: Multiple images (array). If "Download Output as Binary" is enabled, multiple binary properties will be attached (e.g.,
data1,data2, ...)
Resources
Version history
- 0.1.0: Initial release with AI generation (Text/Article/X), Import Slides, status polling, and binary download options.
- 0.1.1: postType drop down set to CAROUSEL type only
- 0.1.2: implemented fixes suggested in node review