Skip to main content

Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite

Workflow preview

Workflow preview
100%
Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated TikTok Repurposing & Video Generation Workflow Who’s it for This workflow is designed for content creators, social media managers, and marketers —specifically those in the career, recruit...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.googledrive, n8n-nodes-base.wait, n8n-nodes-base.limit, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.manualtrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by furuidoreandoro.

Original n8n.io source

1.1 Workflow description

Title
Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite
Workflow name
Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite

Automated TikTok Repurposing & Video Generation Workflow

Who’s it for

This workflow is designed for content creators, social media managers, and marketers—specifically those in the career, recruitment, or "job change" (転職/就職) niches. It is ideal for anyone looking to automate the process of finding trending short-form content concepts and converting them into fresh AI-generated videos.

How it works / What it does

This workflow automates the pipeline from content research to video creation:

  1. Scrape Data: It triggers an Apify actor (clockworks/tiktok-scraper) to search and scrape TikTok videos related to "Job Change" (転職) and "Employment" (就職).
  2. Store Raw Data: It saves the scraped TikTok metadata (text, stats, author info) into a Google Sheet.
  3. AI Analysis & Prompting: An AI Agent (via OpenRouter) analyzes the scraped video content and creates a detailed prompt for a new video (concept, visual cues, aspect ratio).
  4. Log Prompts: The generated prompt is saved to a separate tab in the Google Sheet.
  5. Video Generation: The prompt is sent to Fal AI (Veo3 model) to generate a new 8-second, vertical (9:16) video with audio.
  6. Wait & Retrieve: The workflow waits for the generation to complete, then retrieves the video file.
  7. Cloud Storage: Finally, it uploads the generated video file to a specific Google Drive folder.

How to set up

  1. Credentials: Configure the following credentials in n8n:
    • Apify API: (Currently passed via URL query params in the workflow, recommended to switch to Header Auth).
    • Google Sheets OAuth2: Connect your Google account.
    • OpenRouter API: For the AI Agent.
    • Fal AI (Header Auth): For the video generation API.
    • Google Drive OAuth2: For uploading the final video.
  2. Google Sheets:
    • Create a spreadsheet.
    • Note the documentId and update the Google Sheets nodes.
    • Ensure you have the necessary Sheet names (e.g., "シート1" for raw data, "生成済み" for prompts) and columns mapped.
  3. Google Drive:
    • Create a destination folder.
    • Update the Upload file node with the correct folderId.
  4. Apify:
    • Update the token in the HTTP Request and HTTP Request1 URLs with your own Apify API token.

Requirements

  • n8n Version: 1.x or higher (Workflow uses version 4.3 nodes).
  • Apify Account: With access to clockworks/tiktok-scraper and sufficient credits.
  • Fal.ai Account: With credits for the fal-ai/veo3 model.
  • OpenRouter Account: With credits for the selected LLM.
  • Google Workspace: Access to Drive and Sheets.

How to customize the workflow

  • Change the Niche: Update the searchQueries JSON body in the first HTTP Request node (e.g., change "転職" to "Cooking" or "Fitness").
  • Adjust AI Logic: Modify the AI Agent system prompt to change the style, tone, or structure of the video prompts it generates.
  • Video Settings: In the Fal Submit node, adjust bodyParameters to change the duration (e.g., 5s), aspect ratio (e.g., 16:9), or disable audio.
  • Scale: Increase the amount in the Limit node to process more than one video per execution.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Fal Submit

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 2 - Upload file

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 3 - HTTP Request3

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 5 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 6 - Append or update row in sheet1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Append or update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 9 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 10 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 11 - HTTP Request1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 12 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 13 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author furuidoreandoro
Published 19 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11003/11003.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scrape TikTok trends & generate AI videos with Apify, Fal AI & Google Suite do?

Automated TikTok Repurposing & Video Generation Workflow Who’s it for This workflow is designed for content creators, social media managers, and marketers —specifically those in the career, recruit...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.