n8n

Build ngram workflows in n8n

The ngram community node, verified by n8n, lets n8n workflows create videos and react to render events. Install it from the Nodes panel on self-hosted n8n or n8n Cloud, add an API key from Settings, and drop the nodes into a workflow.

Read before this

Read these direct prerequisites in order. Each guide lists any earlier context it assumes.

  1. 1Integration accessUnderstand current connection surfaces, authentication paths, and coming-soon states.
  2. 2API keysCreate, copy, rotate, and revoke a self-service API key in Settings.

Overview

ngram publishes a community node package, n8n-nodes-ngram, that adds video actions and event triggers to n8n. It calls the same public API as the other automation surfaces and uses an API key you create in ngram Settings.

Install the community node

The easiest way to get started is from ngram's verified integration page on n8n.io - it walks you through installing the node on your instance and lists everything the integration can do.

Or install it from inside n8n: click + in the top right of the editor to open the Nodes panel and search Ngram. It's a verified community node, so it's discoverable directly on both self-hosted n8n and n8n Cloud - an instance owner approves it once, and anyone on the instance can add it after that.

For reference, see the package on npm and n8n's community node install guide.

Add your credential

Create a credential from Settings → API Keys, then add it to n8n Credentials. The node sends the credential as Authorization: Bearer ngs_… on every call, so a single credential covers every ngram node in your workflows.

Nodes

NodeTypeWhat it does
Create VideoActionStart a render from a prompt, with optional website, voice, style, aspect ratio and duration.
Create From TextActionTurn a prompt or source text into a video.
Create From URLActionResearch a webpage, article, product page or doc and create a video from it.
Get StatusActionFetch a video's status and finished MP4 URL by id.
On Video ReadyTriggerFires when a render finishes, on the video.completed event.
On Video FailedTriggerFires when a render fails, on the video.failed event.

Example workflow

A minimal render-and-notify workflow looks like this:

  1. A Webhook or Schedule node kicks the workflow off.
  2. Create Video starts the render with your prompt and options.
  3. On Video Ready fires when the render finishes.
  4. An HTTP Request or Slack node posts the MP4 URL wherever you need it.

n8n FAQ

Continue in ngram

Open the workspace and put this guide into practice with your own project.