Setup

What You Receive in the Workflow Package #

When users download this workflow package, they receive three main files:

  1. Workflow JSON
    This file must be imported into n8n.
  2. Spreadsheet Template
    This is provided in Microsoft Excel (.xlsx) format. Users can either import it into Google Sheets or rebuild the same structure manually.
  3. JSON2Video Template JSON
    This file contains the rendering template code used by the workflow. It must be added manually inside the user’s JSON2Video account before video rendering can work.

Required Services and Accounts #

Before activation, the user must prepare and connect all required external services.

ServiceWhy It Is NeededOfficial Link
n8nRuns the full workflow automationn8n
OpenAI APIGenerates ideas, video content, narration, audio, and imagesOpenAI API Platform
Google SheetsStores ideas, statuses, metadata, and publish trackingGoogle Sheets
Google DriveStores generated assets and final videosGoogle Drive
CloudinaryStores the generated voice file publiclyCloudinary
JSON2VideoRenders the final video from images and audioJSON2Video
YouTubePublishes the finished videoYouTube

Before You Start #

Make sure the following are ready before you test the workflow:

  • an n8n account or self-hosted instance
  • valid credentials for all external services
  • one Google Drive parent folder
  • one Google Sheet with the required structure
  • one JSON2Video template imported into your account
  • the workflow JSON imported into n8n but not activated yet

Step 1: Create the Google Drive Parent Folder #

The user must create one parent folder manually inside Google Drive before using the workflow.

Recommended approach #

  • Create a folder with a name such as: Short Video n8n
  • This parent folder will act as the main container for all generated video projects

What the workflow does automatically #

For every new produced idea, the workflow creates:

  • one new subfolder inside the parent folder
  • that subfolder is based on the Google Sheet row ID
  • inside it, the workflow creates internal folders for:
    • images
    • voice
    • final video storage

Important #

Only the parent folder should be created manually.
The workflow creates the internal project folders automatically.


Step 2: Prepare the Google Sheet #

The workflow requires a Google Sheet with the exact structure below.

Required columns #

Column NamePurpose
IDUnique row identifier used by the workflow
IdeaThe saved video idea
Production StatusTracks whether the idea has been produced
TitleFinal generated video title
CaptionFinal generated caption
Cover ImageSaved image link
Video URLFinal rendered video link
Posting StatusTracks whether the video has been published
Published DateDate the video was published

This structure is used by the workflow to track the full lifecycle of every content item from idea generation to final publishing.

Required dropdown values #

Two columns must use exact status values.

ColumnAllowed Values
Production StatusNot Produced, Produced
Posting StatusNot Published, Published

Important #

These values must match exactly.
If they are renamed, misspelled, or replaced with different wording, the workflow may fail to select or update rows correctly.


Step 3: Import the Excel Template into Google Sheets #

If the user wants to use the included spreadsheet template instead of building the sheet manually, follow these steps:

  1. Open Google Sheets
  2. Create a new blank spreadsheet or open an existing one
  3. Click File → Import
  4. Upload the included .xlsx spreadsheet file
  5. Choose the preferred import option
  6. Complete the import and save it as a Google Sheet in your Google account

After import, verify: #

  • all headers are still present
  • headers are in the correct order
  • dropdown fields are still correct
  • the sheet is connected to the Google account you plan to use in n8n

Alternative #

Users may also create the sheet manually, as long as the structure and values match the required setup exactly.


Step 4: Install the JSON2Video Template #

The workflow depends on a JSON2Video rendering template, and this must be added manually before the render step can work.

What the user receives #

Inside the workflow package, the user receives the JSON code for the template used by this workflow. This template is designed to:

  • accept 6 images
  • use the audio track
  • generate subtitles/captions from the audio during rendering

How to install it #

  1. Log in to your JSON2Video dashboard
  2. Go to Templates
  3. Create a new template
  4. Open the template editor
  5. At the top, next to the template name, open the dropdown menu
  6. Click Edit template JSON
  7. Delete the default JSON already in that editor
  8. Open the template JSON file included in this workflow package
  9. Copy its full contents
  10. Paste it into the Edit template JSON area
  11. Click Update JSON
  12. Save the template
  13. Copy the new template ID
  14. Use that template ID inside your workflow configuration

Important #

The workflow will not render final videos correctly until this template is installed and the correct template ID is added to the workflow.


Step 5: Import the Workflow into n8n #

Once the files and services are ready:

  1. Open your n8n workspace
  2. Import the workflow JSON file
  3. Review all nodes before activating anything
  4. Reconnect every credential using your own accounts
  5. Replace any IDs or references that still point to the original environment

Values you must update manually #

At minimum, confirm or replace:

  • Google Sheet ID
  • Google Drive parent folder ID
  • OpenAI credentials
  • Cloudinary credentials
  • JSON2Video API key
  • JSON2Video template ID
  • YouTube credentials
  • any other service references tied to the original setup

Do not activate immediately #

The workflow should be tested section by section first.


Step 6: Understand the Required Workflow Order #

The workflow schedule is flexible, but the logic order must always stay correct.

Dependency order #

  1. Idea Generation must run first
    This creates ideas in the Google Sheet.
  2. Video Creation can only run when ideas already exist and are marked Not Produced.
  3. Publishing can only run when a finished video already exists and the row is marked Not Published.

Simple rule #

  • no ideas = no video creation
  • no produced videos = no publishing

Example schedule logic #

A user might choose to:

  • generate 20 ideas every 20 days
  • create 1 video every morning
  • publish 1 completed video after that

The exact timing is customizable, but the sequence must always make sense for the available data.


Final Checklist Before Activation #

Before turning the workflow on, confirm all of the following:

  • spreadsheet is ready
  • parent Google Drive folder is ready
  • JSON2Video template has been imported
  • all external credentials are connected
  • all IDs and references point to your own environment
  • schedule order matches your content pipeline
  • each workflow section has been tested at least once

Recommended Testing Order #

To reduce errors, test the workflow in this order:

  1. Idea Generation
  2. Video Creation
  3. Publishing

This makes it easier to identify where a problem begins if something fails.


Setup Summary #

To use this workflow successfully, the user must do four things correctly:

  • prepare the required external accounts
  • import the spreadsheet and workflow files
  • install the JSON2Video template
  • reconnect credentials and replace environment-specific IDs

Once those are done, the workflow can be tested and then activated for regular use.

Was it helpful ?
Scroll to Top
👋 Welcome to Davix AI Engine!