> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.videogen.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.videogen.io/_mcp/server.

# n8n

> Use the n8n-nodes-videogen community node to start a VideoGen workflow and receive the finished MP4 in the same step.

[llms.txt](/llms.txt)

[`n8n-nodes-videogen`](https://www.npmjs.com/package/n8n-nodes-videogen) is the official [n8n](https://n8n.io) community node for VideoGen. It starts VideoGen workflows (script, voiceover, slideshow, and prompt to video) from n8n. Each operation always auto-exports and waits until the MP4 is ready.

The node is generated from the same curated surface as Zapier, Make, and Pipedream: workflow starts that return the project and the exported file, plus the `project_export.succeeded` trigger.

## Install

Follow the [community nodes installation guide](https://docs.n8n.io/integrations/community-nodes/installation/). In n8n, go to **Settings → Community Nodes → Install** and enter the package name:

```text
n8n-nodes-videogen
```

After n8n verifies the package, you can also search **VideoGen** in the nodes panel under **More from the community** and click **Install**.

Source: [github.com/video-gen/n8n-nodes-videogen](https://github.com/video-gen/n8n-nodes-videogen).

## Authenticate

The node supports two credential types:

* **OAuth2 (Sign in with VideoGen)** — connect your VideoGen account without copying keys.
* **API Key** — create one at [app.videogen.io/api](https://app.videogen.io/api) and paste it into a **VideoGen API** credential.

## The VideoGen node

Add the **VideoGen** node to a workflow, pick **Workflow**, then an operation:

| Operation                | What it does                              |
| ------------------------ | ----------------------------------------- |
| **Script to video**      | Narrated video from a script              |
| **Voiceover to video**   | Narrated video from an uploaded voiceover |
| **Slideshow to video**   | Narrated video from a PDF or PowerPoint   |
| **Prompt to video clip** | Short clip from a prompt                  |

The node waits until export finishes. Output includes `projectId`, `projectUrl` (editor link), `downloadUrl` (signed MP4), and `thumbnailUrl`.

## The VideoGen Trigger node

The **VideoGen Trigger** node starts when a project export succeeds (`project_export.succeeded`). Use it when you want a second workflow to continue from the finished MP4. Other webhook events are not in this node.

## Links

* [npm: n8n-nodes-videogen](https://www.npmjs.com/package/n8n-nodes-videogen)
* [GitHub: n8n-nodes-videogen](https://github.com/video-gen/n8n-nodes-videogen)
* [n8n community nodes docs](https://docs.n8n.io/integrations/community-nodes/)
* [REST API reference](/rest-api-reference)