Automate Luma AI Video Generation and Airtable Updates
detail.loadingPreview
Streamline your AI video creation workflow by automatically receiving video assets from Luma AI via webhook and updating your Airtable base. This workflow ensures your generated video content is immediately cataloged and accessible.
About This Workflow
This n8n workflow automates the process of handling video content generated by Luma AI. It begins by listening for incoming webhook data from Luma AI, specifically for video generation responses. Upon receiving data, it processes and extracts key information such as the video URL, thumbnail URL, and a unique generation ID. The workflow then intelligently checks if a video asset exists before proceeding to update an Airtable base with these details, marking the generation as 'Done'. This integration allows for seamless management of your AI-generated video library, ensuring all generated assets are tracked and readily available in your Airtable database for further use or analysis.
Key Features
- Webhook Integration: Seamlessly receive video generation data from Luma AI.
- Automatic Data Extraction: Extracts video URL, thumbnail URL, and generation ID from incoming payloads.
- Conditional Logic: Only proceeds to update Airtable if a video asset is present.
- Airtable Synchronization: Automatically adds generated video details to a specified Airtable table.
- Status Tracking: Updates video entries with a 'Done' status in Airtable.
How To Use
- Configure the Webhook Node: Ensure the webhook path ('luma-ai-response') matches the endpoint configured in your Luma AI settings.
- Set up Global Settings: In the 'Global SETTINGS' node, configure your Airtable Base ID and the specific Table IDs for 'generated_videos' and 'article_writer'.
- Define Video JSON Mapping: In the 'Video JSON' node, verify that the
video_json,luma_video,luma_thumb, andgen_idassignments correctly map to the expected data structure from the Luma AI webhook payload. - Configure Airtable Node: In the 'ADD Video and Thumbnail URL' node, ensure the Airtable Base and Table are correctly referenced using the global settings. Map the 'Thumb URL', 'Video URL', and 'Generation ID' fields to the corresponding extracted data from the 'If' node.
- Test the Workflow: Trigger a video generation in Luma AI and verify that the data is received and correctly posted to your Airtable base.
Apps Used
Workflow JSON
{
"id": "d71f40ac-847c-42fb-bfb8-044fb778916f",
"name": "Automate Luma AI Video Generation and Airtable Updates",
"nodes": 10,
"category": "Operations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: d71f40ac-847c...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Instant WooCommerce Order Notifications via Telegram
When a new order is placed on your WooCommerce store, instantly receive detailed notifications directly to your Telegram chat. Stay on top of your e-commerce operations with real-time alerts, including order specifics and a direct link to view the order.
On-Demand Microsoft SQL Query Execution
This workflow allows you to manually trigger and execute any SQL query against your Microsoft SQL Server database. Perfect for ad-hoc data lookups, administrative tasks, or quick tests, giving you direct control over your database operations.