Create
Query
database.sqlite
—
workflow_history
annotation_tag_entity
auth_identity
auth_provider_sync_history
chat_hub_agents
chat_hub_messages
chat_hub_sessions
credentials_entity
data_table
data_table_column
event_destinations
execution_annotation_tags
execution_annotations
execution_data
execution_entity
execution_metadata
folder
folder_tag
insights_by_period
insights_metadata
insights_raw
installed_nodes
installed_packages
invalid_auth_token
migrations
oauth_access_tokens
oauth_authorization_codes
oauth_clients
oauth_refresh_tokens
oauth_user_consents
processed_data
project
project_relation
role
role_scope
scope
settings
shared_credentials
shared_workflow
sqlite_sequence
tag_entity
test_case_execution
test_run
user
user_api_keys
variables
webhook_entity
workflow_dependency
workflow_entity
workflow_history
workflow_statistics
workflows_tags
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Update row ce334a5a-eb28-4b12-b1a0-1b96aa9fc68d in workflow_history
versionId
Primary key.
varchar(36) NOT NULL
workflowId
varchar(36) NOT NULL
authors
varchar(255) NOT NULL
createdAt
datetime(3) NOT NULL (default STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')
updatedAt
datetime(3) NOT NULL (default STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')
nodes
[{"parameters":{"rule":{"interval":[{}]}},"type":"n8n-nodes-base.scheduleTrigger","typeVersion":1.2,"position":[-1152,176],"id":"f5b0bf42-94d5-49d0-9fa5-fbfa0c9e5f56","name":"Schedule Trigger"},{"parameters":{"content":"## Save Content","height":520,"width":540,"color":3},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[144,32],"id":"4939fca2-bc76-4ddd-845b-77cb9572fa81","name":"Sticky Note3"},{"parameters":{"content":"## Create a Video","height":740,"width":320,"color":6},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-224,-112],"id":"473def2a-255d-4284-8412-8ae78f51925d","name":"Sticky Note2"},{"parameters":{"content":"# Input: Video Topic","height":520,"width":840,"color":5},"type":"n8n-nodes-base.stickyNote","typeVersion":1,"position":[-1200,32],"id":"f06c53eb-8f80-43d9-bfdc-c6ee92d7c9b4","name":"Sticky Note"},{"parameters":{"model":{"__rl":true,"mode":"list","value":"gpt-4o-mini"},"options":{}},"type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","typeVersion":1.2,"position":[-1072,368],"id":"acbcee00-89d0-4987-ae85-cd56d9e93882","name":"OpenAI Chat Model1"},{"parameters":{},"type":"@n8n/n8n-nodes-langchain.toolThink","typeVersion":1,"position":[-944,368],"id":"eca01b0a-e6e5-4836-920c-b27cff297d16","name":"Think1"},{"parameters":{"jsonSchemaExample":"{\n \"caption\": \"\",\n \"idea\": \"\",\n \"environment\": \"\",\n \"status\": \"\"\n}"},"type":"@n8n/n8n-nodes-langchain.outputParserStructured","typeVersion":1.2,"position":[-832,368],"id":"20d06661-23bc-407f-9b75-49302be094eb","name":"Structured Output Parser1"},{"parameters":{"model":{"__rl":true,"mode":"list","value":"gpt-4o-mini"},"options":{}},"type":"@n8n/n8n-nodes-langchain.lmChatOpenAi","typeVersion":1.2,"position":[-672,368],"id":"951a8f16-1afb-4349-aaf4-45377851b9f4","name":"OpenAI Chat Model"},{"parameters":{},"type":"@n8n/n8n-nodes-langchain.toolThink","typeVersion":1,"position":[-512,368],"id":"d098b11b-9634-4964-8ee1-bdc3f477aeb8","name":"Think"},{"parameters":{"promptType":"define","text":"Give me an idea to create the content about biblical characters speaking to thecamera and making a vlog","hasOutputParser":true,"options":{"systemMessage":"=** Purpose **\nYou generate viral short-form video ideas inspired by biblical characters or scenes, styled like modern TikTok vlogs. These should feel personal, emotional, and often humorous.\n\n** Think Tool Prompt (used before generation) **\n“How can I take a biblical moment or character and turn it into a relatable, viral, or funny TikTok-style video idea that feels natural, emotional, or modern?”\n\n** Output Requirements **\nYour response must include:\n\n- caption – Short, poetic or funny, TikTok-style. Include emojis and 3–5 hashtags (e.g., #biblevlog #foryou #holycomedy #ancientvibes).\n- idea – 1–2 sentence summary of the action, story, or twist in the video.\n- environment – Describe what the set looks like: light, textures, mood, setting. Think “GoPro meets ancient Jerusalem.”\n- status – Must be \"to create\", without quotation marks\n\n** JSON Output Parser **\nEvery output must strictly follow this format:\n\n{\n \"caption\": \"\",\n \"idea\": \"\",\n \"environment\": \"\",\n \"status\": \"\"\n}\n\n** Sample Outputs **\n\nExample 1\n{\n \"caption\": \"When Jesus gives you the silent treatment 🕊️😶 #jesusvlog #holycomedy\",\n \"idea\": \"Jesus calmly stares at the camera while the disciple keeps asking, 'Are we lost?' – awkward silence builds up.\",\n \"environment\": \"Desert trail, golden hour light, dry bushes around, warm rocky textures and wind softly blowing.\",\n \"status\": \"ready for production\"\n}\n\nExample 2\n{\n \"caption\": \"POV: You just met Mary Magdalene and she’s not what you expected 😳✨ #biblevlog #foryou\",\n \"idea\": \"A modern-style introduction of Mary Magdalene where she breaks the fourth wall with sarcasm and confidence.\",\n \"environment\": \"Dusty stone home with narrow light beams, clay walls, fabric drapes blowing slightly in the breeze.\",\n \"status\": \"ready for production\"\n}\n\nExample 3\n{\n \"caption\": \"Me trying to explain the flood before it happened 🌧️🐘 #noahvibes #bibletok\",\n \"idea\": \"Noah explains why he’s building the ark, while others laugh in the background — like a vlog rant.\",\n \"environment\": \"Half-built wooden structure, cloudy sky, goats wandering around, mud everywhere, distant laughter.\",\n \"status\": \"concept only\"\n}"}},"type":"@n8n/n8n-nodes-langchain.agent","typeVersion":1.9,"position":[-992,176],"id":"75b9d54e-5541-4a76-bc4a-2b1b722c0a02","name":"Generate Video Idea"},{"parameters":{"promptType":"define","text":"=Create a prompt for the Veo3 video based on the following information:\n\nIdea: {{ $json.output.idea }}\nEnvironment: {{ $json.output.environment }}","options":{"systemMessage":"=** System Message **\n\nYou are a professional cinematic prompt generator for AI video tools. Your task is to convert a short-form video idea and its environment description (inspired by biblical or ancient-world themes) into a highly detailed, camera-aware, emotionally rich prompt suitable for generating a cinematic AI video using Veo3.\n\nYou must understand the emotional tone, visual aesthetics, and storytelling style of short-form TikTok videos that imitate biblical scenes with modern pacing and framing.\n\n** Veo3 Prompt Structure Guidelines **\n\nEach prompt should be natural, cinematic, and visually immersive, including:\n\n- Scene description – Describe the overall environment clearly (terrain, buildings, light, movement).\n- Character focus – If the idea involves a person, include their position, outfit style (biblical era), mood/expression, and framing (e.g., close-up, wide shot).\n- Camera movement – Always include one cinematic camera motion (e.g., slow push-in, handheld tracking, drone pan, orbit, dolly backward).\n- Time of day & lighting – Set the mood with light (e.g., golden hour, harsh daylight, candlelit interior).\n- Atmosphere & texture – Mention dust, wind, fabric movement, shadows, reflections, or imperfections in the scene to increase realism.\n- Style & quality – Include cinematic tone, analog warmth, slightly soft vintage film look, GoPro-like closeness if appropriate.\n\n** Input **\n- You will receive two fields: idea, environment\n- Return only the complete and detailed Veo3 prompt, no additional text.\n\n** Example Output **\nA biblical man stands in front of a half-built wooden ark, gesturing passionately as he explains something to the camera. The camera follows him handheld-style, moving slightly as he paces. In the background, groups of villagers are laughing and pointing. The sky is overcast with low clouds, and goats wander through muddy terrain. The man wears worn, ancient robes, his feet muddy, his tone frustrated but hopeful. The scene has a documentary-style realism, with soft golden highlights breaking through cloud gaps. Light wind moves fabric and rustles dry straw around the ark. Shot in cinematic 24fps with natural tones and slight vintage softness."}},"type":"@n8n/n8n-nodes-langchain.agent","typeVersion":1.9,"position":[-672,176],"id":"7c2941ba-42d5-4fb8-8d1f-2898fc44bb11","name":"Generate Veo3 Prompt"},{"parameters":{"method":"POST","url":"https://queue.fal.run/fal-ai/veo3","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","sendBody":true,"contentType":"raw","rawContentType":"application/json","body":"={ \"prompt\": \"{{ $('Generate Veo3 Prompt').item.json.output }}\" }","options":{"batching":{"batch":{"batchSize":1,"batchInterval":2000}}}},"type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[-128,-32],"id":"85c3f12a-0f6e-4b50-9165-3efefe2f69fb","name":"Create Video","credentials":{"httpHeaderAuth":{"id":"0eolXfvDWLGmr4lv","name":"Fal AI"}}},{"parameters":{"url":"=https://queue.fal.run/fal-ai/veo3/requests/{{ $json.request_id }}\n","authentication":"genericCredentialType","genericAuthType":"httpHeaderAuth","options":{}},"type":"n8n-nodes-base.httpRequest","typeVersion":4.2,"position":[-128,368],"id":"703b02b9-7714-4a27-9a52-f4043946836b","name":"Get Video","credentials":{"httpHeaderAuth":{"id":"0eolXfvDWLGmr4lv","name":"Fal AI"}}},{"parameters":{"amount":2,"unit":"minutes"},"type":"n8n-nodes-base.wait","typeVersion":1.1,"position":[-128,176],"id":"27001980-b208-4e21-9e2e-88417a242626","name":"Wait 10 Minutes","webhookId":"9fdae74d-0f36-4408-9c09-5fb55e66fed1"},{"parameters":{"operation":"append","documentId":{"__rl":true,"value":"1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno","mode":"list","cachedResultName":"Veo3 Videos [TEMPLATE]","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno/edit?usp=drivesdk"},"sheetName":{"__rl":true,"value":"gid=0","mode":"list","cachedResultName":"Sheet1","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno/edit#gid=0"},"columns":{"mappingMode":"defineBelow","value":{"Video URL":"={{ $json.video.url }}","Idea":"={{ $('Generate Video Idea').item.json.output.idea }}","Captions":"={{ $('Generate Video Idea').item.json.output.caption }}","Environment":"={{ $('Generate Video Idea').item.json.output.environment }}","Status":"=Complete"},"matchingColumns":[],"schema":[{"id":"Idea","displayName":"Idea","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Captions","displayName":"Captions","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Status","displayName":"Status","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Environment","displayName":"Environment","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Video URL","displayName":"Video URL","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true}],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{}},"type":"n8n-nodes-base.googleSheets","typeVersion":4.5,"position":[368,208],"id":"ad79983c-6268-40f9-829e-97473a2b7b77","name":"Store the Video","credentials":{"googleSheetsOAuth2Api":{"id":"NufmenCs2JQN68sm","name":"Google Sheets account"}}},{"parameters":{"operation":"append","documentId":{"__rl":true,"value":"1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno","mode":"list","cachedResultName":"Veo3 Videos [TEMPLATE]","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno/edit?usp=drivesdk"},"sheetName":{"__rl":true,"value":"gid=0","mode":"list","cachedResultName":"Sheet1","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1iXvUGDNzW0dbpIR-ErJwM9dMx7884IQY9IhdCGaeMno/edit#gid=0"},"columns":{"mappingMode":"defineBelow","value":{"Idea":"={{ $('Generate Video Idea').item.json.output.idea }}","Status":"={{ $('Generate Video Idea').item.json.output.status }}","Environment":"={{ $('Generate Video Idea').item.json.output.environment }}","Captions":"={{ $('Generate Video Idea').item.json.output.caption }}"},"matchingColumns":[],"schema":[{"id":"Idea","displayName":"Idea","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Captions","displayName":"Captions","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Status","displayName":"Status","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Environment","displayName":"Environment","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true},{"id":"Video URL","displayName":"Video URL","required":false,"defaultMatch":false,"display":true,"type":"string","canBeUsedToMatch":true}],"attemptToConvertTypes":false,"convertFieldsToString":false},"options":{}},"type":"n8n-nodes-base.googleSheets","typeVersion":4.5,"position":[-352,176],"id":"1e01bf33-7fe2-4b26-9c78-ad6258a3bcaa","name":"Save Content Information","credentials":{"googleSheetsOAuth2Api":{"id":"NufmenCs2JQN68sm","name":"Google Sheets account"}}}]
TEXT NOT NULL
connections
{"Schedule Trigger":{"main":[[{"node":"Generate Video Idea","type":"main","index":0}]]},"OpenAI Chat Model1":{"ai_languageModel":[[{"node":"Generate Video Idea","type":"ai_languageModel","index":0}]]},"Think1":{"ai_tool":[[{"node":"Generate Video Idea","type":"ai_tool","index":0}]]},"Structured Output Parser1":{"ai_outputParser":[[{"node":"Generate Video Idea","type":"ai_outputParser","index":0}]]},"OpenAI Chat Model":{"ai_languageModel":[[{"node":"Generate Veo3 Prompt","type":"ai_languageModel","index":0}]]},"Think":{"ai_tool":[[{"node":"Generate Veo3 Prompt","type":"ai_tool","index":0}]]},"Generate Video Idea":{"main":[[{"node":"Generate Veo3 Prompt","type":"main","index":0}]]},"Generate Veo3 Prompt":{"main":[[{"node":"Save Content Information","type":"main","index":0}]]},"Create Video":{"main":[[{"node":"Wait 10 Minutes","type":"main","index":0}]]},"Get Video":{"main":[[{"node":"Store the Video","type":"main","index":0}]]},"Wait 10 Minutes":{"main":[[{"node":"Get Video","type":"main","index":0}]]},"Save Content Information":{"main":[[{"node":"Create Video","type":"main","index":0}]]}}
TEXT NOT NULL
name
varchar(128)
autosaved
boolean NOT NULL (default false
description
NULL
TEXT
Update
Cancel