Generate UGC Video Ad Prompts
Creates detailed UGC-style video ad prompts by analyzing product images and campaign inputs, then formats them for AI video generation on TikTok and Reels.
AI-Powered UGC Ads Generator
This workflow creates User Generated Content (UGC) style video ad prompts designed for short-form platforms like TikTok, Instagram Reels, and YouTube Shorts. It analyzes a product image, takes in your campaign details, and produces vivid, diverse video prompt scripts that capture authentic, casual conversations about your product.
What It Does
- Starts manually — A manual trigger kicks off the workflow.
- Configures campaign inputs — A code node sets up all the key parameters: product name, description, reference image URL, target audience, dialogue script, number of videos, and special scene/actor requests.
- Analyzes the product image — An AI agent uses a web browsing tool to view the product image and extract design elements like colors, branding, typography, and packaging style.
- Generates UGC video prompts — A second AI agent creates multiple unique, detailed video prompts based on the campaign inputs and image analysis. Each prompt describes a scene with a specific actor, setting, lighting, camera angle, and the exact dialogue.
- Formats the prompts — A code node structures each prompt with the target model and aspect ratio for downstream use.
- Reviews prompt quality — An AI agent scores and optimizes each prompt in parallel, checking for visual detail, natural UGC feel, and brand consistency.
- Submits to video API — An HTTP request sends each finalized prompt to a video generation endpoint.
- Extracts task IDs — A code node parses the API responses into structured results with status and video URLs.
- Aggregates results — A final code node compiles a summary of submitted and failed tasks.
- Sends email notification — A Gmail node sends an HTML email with the campaign results, video URLs, and success/failure summary.
What You Need
- A Needle platform account with access to AI nodes
- Access to the Needle Browse Web tool (used for product image analysis)
- A publicly accessible product image URL
- Your campaign details ready (product name, description, target audience, dialogue, ad length, special requests)
- A Gmail connection configured in Needle (for the email notification step)
- Optionally, a real video generation API endpoint to replace the placeholder
Workflow Steps
| Step | Node Type | What It Does |
|---|---|---|
| 1 | Manual Trigger | Starts the workflow on demand |
| 2 | Code | Sets campaign config: product info, image URL, dialogue, actor/scene requests, video count, aspect ratio |
| 3 | AI Agent | Browses and analyzes the product image, extracting colors, branding, packaging, and visual identity |
| 4 | AI Agent | Generates multiple unique UGC video prompts with diverse actors, scenes, and natural dialogue |
| 5 | Code | Formats each prompt into a structured object with model and aspect ratio |
| 6 | AI Agent | Reviews and scores each prompt for quality, optimizing where needed |
| 7 | HTTP Request | Posts each finalized prompt to a video generation API |
| 8 | Code | Parses API responses into task IDs, statuses, and video URLs |
| 9 | Code | Aggregates all results into a campaign summary |
| 10 | Gmail | Sends an HTML email notification with the full results |
Output
At the end of the workflow, you receive:
- A structured list of quality-reviewed UGC video prompts, each tailored with a unique actor, scene, and setting
- API submission results with task IDs and statuses
- An email summary with video URLs and success/failure counts
The prompts are ready to feed into any compatible AI video generation tool for producing authentic short-form ad videos.
Notes
- The workflow expects a downloadable product image URL. Make sure your image link is publicly accessible.
- Be specific with your dialogue script and special requests (actor age, gender diversity, scene types) for the best results.
- Prompts are generated for vertical video (9:16 aspect ratio), standard for TikTok and Instagram Reels.
- You can adjust the number of videos by changing the
how_many_videosparameter in the campaign config node. - The HTTP request step currently uses a placeholder API URL. Replace it with your actual video generation API endpoint and credentials for production use.
- Update the Gmail recipient address to your own before running the workflow.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
