Extraction et traduction des transcriptions de vidéos TikTok vers Google Docs avec OpenAI GPT-4

Intermédiaire

Ceci est unContent Creation, AI Summarizationworkflow d'automatisation du domainecontenant 11 nœuds.Utilise principalement des nœuds comme Wait, GoogleDocs, FormTrigger, HttpRequest. Extraire et traduire les transcriptions de vidéos TikTok vers Google Docs avec OpenAI GPT-4

Prérequis
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "790b4f91-1a03-4386-8fdd-1d2a1b35b77e",
      "name": "À la soumission du formulaire",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "563d78fd-7443-496a-bb90-01d3d52cb1b0",
      "parameters": {
        "options": {},
        "formTitle": "Tiktok Transcript ",
        "formFields": {
          "values": [
            {
              "fieldLabel": "url",
              "requiredField": true
            },
            {
              "fieldLabel": "language",
              "requiredField": true
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "93c6b503-f1ae-43eb-917b-687a881fe676",
      "name": "Attente",
      "type": "n8n-nodes-base.wait",
      "position": [
        480,
        0
      ],
      "webhookId": "d81d873d-9b5c-4f57-803f-f373fba1ab66",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "0589a81f-0f28-4db3-8426-0a814f745348",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1100,
        0
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "action": "insert"
            }
          ]
        },
        "operation": "update"
      },
      "credentials": {
        "googleDocsOAuth2Api": {
          "id": "Ks8ff7pYjBqXHENq",
          "name": "Google Docs account 2"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "029bcd51-12d0-4b84-b33d-0c43b98aebb7",
      "name": "Open AI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        740,
        0
      ],
      "parameters": {
        "url": "https://openai-gpt-4o-mini.p.rapidapi.com/chatAI/gpt-4-1-mini.php",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"temperature\": 0.7,\n  \"messages\": [\n    {\n      \"role\": \"system\",\n      \"content\": \"You are a helpful assistant. Your task is to process the subtitles provided to you and return a meaningful response based on the content. The subtitles may be in various languages. Please handle them accordingly and respond in the {{ $('On form submission').item.json.language }} language.\"\n    },\n    {\n      \"role\": \"user\",\n      \"content\": \"{{ $json.subtitles.replace(/\\\"/g, '\\\\\"').replace(/\\n/g, '\\\\n') }}\"\n    }\n  ]\n}\n",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "openai-gpt-4o-mini.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c3af2912-c844-4dfd-82c7-2caa7928c497",
      "name": "Tiktok Transcript",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "https://tiktok-transcript-ai.p.rapidapi.com/tiktok/index.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.url }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "tiktok-transcript-ai.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a7585dae-e5b8-44c0-bf49-b757ff1b0906",
      "name": "Note adhésive",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        -280
      ],
      "parameters": {
        "width": 380,
        "height": 1020,
        "content": "# TikTok Transcriptor \n### Workflow Overview:\nThis **n8n workflow** automates the process of generating a **TikTok video transcript**, processing it with **OpenAI GPT-4** for interpretation, and saving the results into **Google Docs**. The workflow uses **RapidAPI** for both transcription and AI processing.\n\n### Nodes:\n1. **On form submission**: Triggers when a user submits a TikTok video URL and selects a language.\n2. **Tiktok Transcript**: Retrieves the transcript of the TikTok video using **[TikTok Transcript API](https://rapidapi.com/skdeveloper/api/tiktok-transcript-ai)**.\n3. **Wait**: Adds a delay to ensure data is properly fetched.\n4. **Open AI**: Sends the transcript to **OpenAI GPT-4** for processing via **[OpenAI GPT-4 API](https://rapidapi.com/skdeveloper/api/openai-gpt-4o-mini)**.\n5. **Google Docs**: Updates a Google Doc with the processed results.\n\n### Benefits:\n- **Automated Transcript Generation**: Quickly fetches transcripts from TikTok videos using **[TikTok Transcript API](https://rapidapi.com/skdeveloper/api/tiktok-transcript-ai)**.\n- **AI Interpretation**: Processes the transcript using **OpenAI GPT-4** via **[OpenAI GPT-4 API](https://rapidapi.com/skdeveloper/api/openai-gpt-4o-mini)** to summarize, translate, or interpret the text.\n- **Google Docs Integration**: Efficiently saves the AI-generated result to a Google Doc for easy access and sharing.\n\n### Challenges Solved:\n- **Language Support**: Handles transcripts in multiple languages, ensuring global accessibility.\n- **Automation**: Eliminates manual transcription and summarization work, speeding up the process.\n- **Error Handling**: Uses **RapidAPI** to ensure reliable and scalable integrations for both TikTok and OpenAI services.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "fc4a87b5-2516-4f08-851d-9ad741e31d17",
      "name": "Note adhésive1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -320
      ],
      "parameters": {
        "height": 540,
        "content": "### 1. **On form submission**:\n   - **Use Case**: This node is triggered when a user submits a form with a TikTok video URL and selects a language.\n   - **Benefit**: It initiates the workflow by capturing user input in real-time.\n   - **Challenge Resolved**: Automatically handles user inputs and initiates further steps without manual intervention.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f0aa7a93-7553-4343-8764-fc21454174bf",
      "name": "Note adhésive2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -320
      ],
      "parameters": {
        "height": 540,
        "content": "### 2. **Tiktok Transcript**:\n   - **Use Case**: Fetches the transcript of the TikTok video using the **[TikTok Transcript API](https://rapidapi.com/skdeveloper/api/tiktok-transcript-ai)**.\n   - **Benefit**: Provides an accurate transcript of TikTok videos for further processing.\n   - **Challenge Resolved**: Converts video content to text automatically, removing the need for manual transcription."
      },
      "typeVersion": 1
    },
    {
      "id": "35105cb0-ced0-4d7c-8198-a577e353d199",
      "name": "Note adhésive3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        440,
        -320
      ],
      "parameters": {
        "height": 540,
        "content": "### 3. **Wait**:\n   - **Use Case**: Pauses the workflow for a brief period to ensure that the transcript is fully retrieved before proceeding.\n   - **Benefit**: Ensures synchronization and avoids race conditions where subsequent actions run before data is ready.\n   - **Challenge Resolved**: Prevents errors that may occur due to premature API requests.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "dc2cdb88-b6b2-4325-9ef9-eedf740e19c3",
      "name": "Note adhésive4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        -320
      ],
      "parameters": {
        "height": 540,
        "content": "### 4. **Open AI**:\n   - **Use Case**: Sends the TikTok transcript to **[OpenAI GPT-4 API](https://rapidapi.com/skdeveloper/api/openai-gpt-4o-mini)** for further interpretation, summarization, or translation based on the selected language.\n   - **Benefit**: Leverages powerful AI to process, summarize, or translate transcripts, providing valuable insights or additional information.\n   - **Challenge Resolved**: Automatically processes the transcript, handling multiple languages and context-sensitive interpretations.\n   "
      },
      "typeVersion": 1
    },
    {
      "id": "f32837e5-f495-4492-b27a-e6f4ae3f8664",
      "name": "Note adhésive5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1000,
        -320
      ],
      "parameters": {
        "height": 540,
        "content": "### 5. **Google Docs**:\n   - **Use Case**: Updates a Google Doc with the processed result from OpenAI GPT-4.\n   - **Benefit**: Saves the AI-generated content in a structured format within Google Docs for easy sharing and storage.\n   - **Challenge Resolved**: Automates document generation and removes manual data entry, making the process more efficient.\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "93c6b503-f1ae-43eb-917b-687a881fe676": {
      "main": [
        [
          {
            "node": "029bcd51-12d0-4b84-b33d-0c43b98aebb7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "029bcd51-12d0-4b84-b33d-0c43b98aebb7": {
      "main": [
        [
          {
            "node": "0589a81f-0f28-4db3-8426-0a814f745348",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c3af2912-c844-4dfd-82c7-2caa7928c497": {
      "main": [
        [
          {
            "node": "93c6b503-f1ae-43eb-917b-687a881fe676",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "790b4f91-1a03-4386-8fdd-1d2a1b35b77e": {
      "main": [
        [
          {
            "node": "c3af2912-c844-4dfd-82c7-2caa7928c497",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Intermédiaire - Création de contenu, Résumé IA

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Workflows recommandés

Téléchargeur automatique de vidéos IMDB (avec téléversement Google Drive et alertes par e-mail)
Téléchargeur automatique de vidéos IMDB (avec téléchargement Google Drive et alerte par e-mail)
If
Wait
Email Send
+
If
Wait
Email Send
19 NœudsSk developer
Création de contenu
Convertir les vidéos LinkedIn en MP4 et les stocker sur Google Drive et Sheets avec RapidAPI
Utiliser RapidAPI pour convertir des vidéos LinkedIn en MP4 et les stocker sur Google Drive et dans Google Sheets
If
Wait
Form Trigger
+
If
Wait
Form Trigger
16 NœudsSk developer
Création de contenu
Convertir les vidéos Pinterest en MP4 avec stockage Google Drive et envoi par e-mail
Utiliser Google Drive pour le stockage et l'envoi par e-mail pour convertir des vidéos Pinterest en MP4
Wait
Email Send
Form Trigger
+
Wait
Email Send
Form Trigger
15 NœudsSk developer
Création de contenu
Générer et stocker des images IA avec Sora GPT, Google Drive et Sheets
Générer et stocker des images IA avec Sora GPT, Google Drive et Sheets
Code
Form Trigger
Google Drive
+
Code
Form Trigger
Google Drive
11 NœudsSk developer
Création de contenu
Automatisation de formulaire en article de blog avec Dumpling AI et Google Docs
Utiliser Dumpling AI, OpenAI et Google Docs pour automatiser la création de blog à partir de mots-clés
Code
Wait
Limit
+
Code
Wait
Limit
17 NœudsYang
Création de contenu
Version professionnelle de l'automatisation de blog WordPress (recherche approfondie) v2.1 sur le marché
Automatisation de la création de blog optimisé pour le SEO avec GPT-4o, Perplexity AI et support multilingue
If
Set
Xml
+
If
Set
Xml
125 NœudsDaniel Ng
Création de contenu
Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds11
Catégorie2
Types de nœuds5
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34