Contents
Put a product photo, a name and a price in a Google Sheet, and a vertical video ad lands in your Google Drive. The photo moves, a voice reads a line about the product, and the name, the price and a “Shop now” button come in on top. The link to the MP4 goes back into the sheet.
This guide shows how to make AI product videos in n8n with a free workflow template made by Shotstack. It covers the setup, what each ad costs, and the one setup step that is easy to miss. This ad came from one row: a photo of a face serum, its name, $34 and one line of voiceover.
What one row becomes
Every ad the workflow makes has the same five parts:
| Part | What you get |
|---|---|
| Moving clip | The product photo, animated by an AI image-to-video model into a 6-second shot with a slow push-in |
| Name | The product name at the top of the frame |
| Price | The price in a red badge under the name |
| Voiceover | An AI voice that reads the row’s voiceover line, or the name and the price when the line is empty |
| Button | A white “Shop now” button at the bottom, from 3.5 seconds |
The file is an MP4, 720 x 1280, in the 9:16 shape of Reels, TikTok and Shorts.
Meta’s advice for Reels ads is the same shape with sound: “vertical video (9:16) with audio”. In research Meta commissioned with GWI in 2023, 61% of the people surveyed said Reels ads had led them to further consider a brand, product or service they were already aware of.
These three ads came from the workflow as published, one for each row of our test sheet:

The animation, the voice and the render all run on your Shotstack account. You don’t connect a separate video model or voice tool.
What you need and what an ad costs
- n8n, on n8n Cloud or on your own server.
- A Shotstack account. Create a free account if you don’t have one; new accounts include credits.
- A Google account for the product sheet and the Drive folder.
Shotstack charges credits for what each ad generates, and the animation is most of it. These are the API’s own price quotes at the time of writing:
| What | Credits |
|---|---|
| A 6-second animation at 720p, the template’s setting | 11.38 |
| A 6-second animation at 480p | 5.63 |
| An 8-second animation at 720p | 15.17 |
| The voiceover | about 0.02 |
| The render | by the length of the video |
Current rates are on the pricing page and in the AI generation pricing guide. The workflow also guards your credits on its own: it gets a free quote before each animation and skips any product above the limit you set.
Set up the workflow
1. Install the Shotstack node
In n8n, open the nodes panel with the plus button and type “Shotstack”. Select the node under More from the community and click Install. You need to be an owner or admin of the n8n instance.

2. Add the template
Open the product video ads template on n8n and click Use for free. The workflow opens on your canvas as “Turn product photos in Google Sheets into AI video ads with Shotstack”, in four parts: pick the products, write the copy and check the price, build the ad and keep it, and mark what was skipped.

3. Make the product sheet
Create a Google Sheet and put these nine column names in row 1, exactly as written:
sku name price image_url voiceover status note ad_url creditsThen add one row per product. You fill in the first five columns, and the workflow writes the last four. These were two of our rows:
| sku | name | price | image_url | voiceover |
|---|---|---|---|---|
| SKU-1001 | White leather sneakers | $120 | link to the photo | |
| SKU-1002 | Brightening face serum | $34 | link to the photo | A few drops every night. Our brightening face serum, just $34. |
skuis different on every row. The workflow finds the row again by its sku when it writes the result back.priceis shown and read as you write it. Write$34, not34.image_urlopens as just the image. Paste the link into a new browser tab. If you see only the photo, it’s the right kind of link. A link to a product page won’t work.voiceoveris optional. Leave it empty and the voice reads the name, then “Now just” and the price.statusstays empty. The workflow only picks up rows that have a photo and no status.
4. Connect Google and pick your sheet
Four steps use the sheet: Get the product rows, Save the ad to the sheet, Note it is over budget and Note what went wrong.
- Open Get the product rows. In Credential, choose Create new credential and sign in with Google. On self-hosted n8n, create a Google OAuth client first.
- In Document, pick your sheet from the list. In Sheet, pick the tab.
- Do the same in the other three steps, with the same credential.
Then open Save it to Google Drive, connect Google Drive the same way, and pick a folder in Parent Folder. Each ad is saved under its sku and name, for example SKU-1002 - Brightening face serum.mp4.

5. Put back what the three sheet steps write
This is the step that is easy to miss. When you pick your sheet in Save the ad to the sheet, Note it is over budget or Note what went wrong, n8n loads your columns and clears the step.
After that, Column to match on is blank and every box under Values to Send is empty. Run it like that and the first product is animated and rendered, then the run stops at the sheet.
In each of the three steps, set Column to match on to sku and fill in the values below. Leave the other boxes empty, because n8n only writes the ones you fill in.
A value with {{ }} in it is an expression. Hover the box, click Expression, then paste the value. If you type it into a plain box, the braces go into your sheet as text.
Save the ad to the sheet:
sku {{ $('Write the ad copy').first().json.sku }}
status done
ad_url https://drive.google.com/file/d/{{ $json.id }}/view
credits {{ $('Quote the animation').first().json.credits }}
Note it is over budget:
sku {{ $('Write the ad copy').first().json.sku }}
status over budget
note Quoted {{ $json.credits }} credits, above the limit of {{ $('Ad settings').first().json.max_credits }} in Ad settings.Note what went wrong:
sku {{ $('Write the ad copy').first().json.sku }}
status failed
note {{ ($json.error && $json.error.message) || $json.error || 'Shotstack could not finish this video. Open the execution for the reason.' }}6. Connect Shotstack
Open Quote the animation. In the credential dropdown choose Create new credential, paste your production API key, set Environment to Production and save. The key is under API Keys in the Shotstack dashboard.

Pick the same credential in Animate the product photo, Shotstack: build the ad and Wait for the finished ad.
7. Check Ad settings
Ad settings holds everything you would change between campaigns:
| Setting | As published | What it does |
|---|---|---|
max_credits | 15 | The most one animation may cost. A product quoted above it is skipped. |
products_per_run | 5 | How many new products one run makes |
video_model | seedance-2.0-image-to-video | The model that animates the photo, Seedance 2.0 |
motion_prompt | Slow cinematic push-in on the product… | How the photo moves |
clip_seconds | 6 | How long the animation is |
voice_model | elevenlabs-turbo-v2.5 | The model that reads the voiceover |
cta | Shop now | The words on the button |

8. Run it
Click Execute at the bottom of the canvas. The products go through one at a time.
What you should see: one MP4 per product in your Drive folder, and the last four columns filled in on each row:
| sku | status | note | ad_url | credits |
|---|---|---|---|---|
| SKU-1001 | done | https://drive.google.com/file/d/…/view | 11.3772 | |
| SKU-1002 | done | https://drive.google.com/file/d/…/view | 11.3772 |
How the budget check works
Before each animation, Quote the animation asks Shotstack what it will cost. A quote is free and reserves nothing. Within budget? compares the quote with max_credits:
- At or under the limit, the product is animated.
- Over the limit, nothing is made. The row gets
over budgetand a note likeQuoted 11.3772 credits, above the limit of 5 in Ad settings.
The quote depends on the model, the clip length and the resolution, not on the photo. With the template’s settings every product is quoted the same 11.3772 credits. Set max_credits just above the quote for the settings you use.
If you raise clip_seconds to 8, for example, the quote goes up to 15.17 and every product is skipped until you raise the limit too.

Keep the voiceover shorter than the clip
The ad is as long as its longest part. When the voice runs past the 6-second clip, the picture stops and the ad carries on over black, with only the name, the price and the button on screen. This line for the weekender bag ran to 7.1 seconds:
Packed for the weekend, built for years. The waxed canvas weekender, $145.
The voice starts half a second in, so a 6-second clip leaves about 5.5 seconds of speech. Count the price as the words it takes to say it, not as one word. These two lines fit:
- The default line, “White leather sneakers. Now just $120.”, ends at 3.7 seconds.
- “A few drops every night. Our brightening face serum, just $34.” ends at 5.4 seconds.
For a longer line, raise clip_seconds and max_credits together.
Choose photos that animate well
- A plain backdrop. The motion is a slow push-in, so the product fills more of the frame as the ad plays. A product on its own, on a plain background like the three here, keeps the whole shot on the product.
- Space above the product. The name and the price sit in the top third of the frame. As the camera moves in, a tall product moves up behind them, like the dropper of the serum above.
- Square photos are fine. All three photos in this guide were square. The model is asked for 9:16 and makes a vertical shot from them.
Spend less on each ad
The animation is almost all of the cost, and the resolution is the easiest saving. In Quote the animation and in Animate the product photo, open Model Options and change "resolution": "720p" to "resolution": "480p". Change both steps, so the quote is for the animation you get.
At 480p the quote is 5.63 credits instead of 11.38. The ad is still 720 x 1280, because Shotstack scales the clip up to fill the frame. On a phone the two are hard to tell apart:

Close up, the 480p clip is softer. Stitching and fine texture blur first:

To use another image-to-video model, change video_model in Ad settings and check the model’s options in the AI model catalog. Models take different options, and Shotstack refuses an option a model doesn’t have: a model without aspectRatio fails the quote with “Unknown option”.
Make Model Options match the new model in both steps, and look at a quote before you run it on your catalog.
When a product fails
A product that fails doesn’t stop the run. Note what went wrong writes failed and the error message in its row, and the workflow moves on to the next product. The note is short, for example The generation failed. For the full reason, open Executions in n8n, open the run and click the red step.
Two things are worth checking before a run:
- Every
image_urlopens as an image. The quote doesn’t open the photo, so a broken link gets through the budget check. - The three sheet steps have their values back (step 5). An error in a sheet step isn’t caught: the run stops there.
To make an ad again, clear the row’s status and note. The next run makes a new MP4 and saves it to the folder next to the old one, under the same name. The row links to the new file.
Make ads for a whole product catalog
The template is built to work through a catalog a few products at a time:
- Every day at nine starts a run each morning once the workflow is on. Click Publish at the top right of the canvas to turn it on.
- A few per run takes up to
products_per_runnew rows, 5 as published, and One product at a time makes them in order. - Only new rows are picked up. A row needs a photo and an empty status, so products you add to the sheet are made in the next run, and finished ones are never made twice.
At the template’s settings, five ads a day cost about 57 credits a day, plus the voices and renders. At 480p it’s about 28. To get through a large catalog faster, raise products_per_run, and the daily cost rises with it.
The same idea works outside n8n. Our guide to video automation with Make builds ads from a sheet of offers, and the Wan 3.0 guide animates product photos with a Python script. Our Google Sheets guide shows other ways to make a video for every row of a sheet: an Apps Script, a Python script or an AI assistant.
More n8n video workflows
Shotstack has more n8n workflows that you can use as they are:
- n8n video automation: the main guide to the Shotstack node. Install it, make your first render and build a review form that turns customer quotes into testimonial videos.
- Real estate videos with n8n: a row in Google Sheets becomes a narrated listing tour made from the listing’s photos, with an approval email for the agent.
- Add subtitles to a video with n8n: drop a video into a Google Drive folder and get a copy with burned-in subtitles in your font and colors.
- Faceless videos with n8n: paste a story and get a narrated Short with AI pictures, word-by-word captions and music.
Give every product in your sheet its own video ad
Install the node, add the template, make the sheet, connect Google and Shotstack, and put back the three sheet steps’ values. From then on, a product ad starts as a row: a photo, a name and a price.
The workflow quotes it, animates it, voices it and saves it to Drive, and the link is in the sheet the next morning.
Create a free Shotstack account to get your API key and starter credits, then open the product video ads template on n8n.
Frequently asked questions (FAQs)
Does it work on n8n Cloud?
Yes. The workflow saves the ads to Google Drive, not to the machine that runs n8n. On n8n Cloud you connect Google with a sign-in and don’t need to make an OAuth client.
Can I make ads from my Shopify products?
Yes. Export your products from Shopify as a CSV and copy the columns you need into the sheet. The export has an Image Src column with a direct link to each product’s image, which is what image_url needs. To make videos inside Shopify itself, see the Shotstack Shopify app.
Can the voiceover be in another language?
Yes. The voice model, ElevenLabs Turbo v2.5, covers 32 languages, so write the voiceover line in the language you want. Fill it in on every row: the line the workflow writes for an empty cell says “Now just” in English.
Can I choose a different voice?
The template doesn’t name a voice, so every ad uses the model’s default, Rachel. The model has 21 voices.
To pick one, open Shotstack: build the ad, find the "model" line of the audio clip, add a comma at the end of it, and add this line under it: "options": { "voice": "George" }. Use any of the voices on the model’s page.
Why is the credits column lower than what my account was charged?
The column holds the quote for the animation only. Each ad also has a voiceover, about 0.02 credits, and a render, which is charged by the length of the video. Your Shotstack dashboard shows the full usage.