# Marketing_Automations_Notebooks_With_GPT **Repository Path**: amplitude/Marketing_Automations_Notebooks_With_GPT ## Basic Information - **Project Name**: Marketing_Automations_Notebooks_With_GPT - **Description**: 探索生成式人工智能在营销、搜索引擎优化和公共关系中的应用的自动化和实验的集合 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-02-06 - **Last Updated**: 2024-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 20+ Free Scripts for Automating SEO, Content Marketing, PR, and Social Media with Artificial Intelligence This repo contains 20+ Google Colab experiments that leverage AI to partially or fully automate many different discrete Content Marketing, PR, Social Media, and SEO tasks written by Kristin Tynski (Kristin@Frac.tl) --- # 🎥 Leveraging SOTA MultiModal AI for Video Understanding - An Iterative Approach to Replicating Viral Success on TikTok 🐍 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automated_TikTok_Video_Understanding_for_Social_Media_Strategy_(public).ipynb) This script utilizes Apify API for TikTok data collection, OpenAI Whisper for automated transcription, and Vicuna multi-modal AI for video understanding to provide automated and customized analysis of TikTok videos. It identifies key factors for viral success on TikTok and generates a structured report. 🔑 Key features: - Automated data collection - Audio separation and transcription - Customized video understanding with state-of-the-art AI - Aggregated analysis to identify viral factors - Structured report generation 📜 Requirements: - Apify API key - OpenAI API key - Google Colab+ --- # 📰 Comprehensive News Media Monitoring & Analysis Using Clustering 📊 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Brand_or_Entity_News_Media_Monitoring_and_Analysis_by_Kristin_frac_tl_(public).ipynb) This script scrapes Google News for relevant articles, clusters them using sentence embeddings, and analyzes each cluster to identify key narratives, perspectives, biases, etc. using GPT-3. 🔑 Key features: - Automated news data collection - Clustering articles using sentence embeddings - GPT-3 powered analysis of clusters - Structured analysis focusing on themes, biases, emotions, etc. - Final report summarizing key insights 📜 Requirements: - SerpAPI Key - OpenAI API Key --- # 📈 Automated Keyword Clustering for Content Gap Analysis 🕵️ [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Content_Gap_Report_and_Analysis_With_Clustering_and_Cluster_Descriptions_(Public).ipynb) This script performs automated keyword research and clustering to identify content gaps. It integrates with SEMrush API, generates embeddings using SentenceTransformers, clusters keywords using K-Means, and generates cluster descriptions using GPT-3. 🔑 Key features: - SEMrush API integration for keyword data - Automated embedding generation - K-Means clustering of keywords - GPT-3 powered cluster descriptions - Content gap identification - Cluster analysis report 📜 Requirements: - OpenAI API Key - SEMrush API Key --- # 📰 Automated Long-form Article Generation with Semantic SEO Optimization 📝 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Long_Form_Article_Generation_With_Semantic_SEO_Driven_Outlines_and_Iteration_(Public).ipynb) This script generates high-quality long-form articles leveraging semantic SEO data. It scrapes Google results, performs NLP analysis, generates outlines optimized for semantic SEO metrics, breaks outlines into sections, and iteratively improves content using GPT-3. 🔑 Key features: - Automated data collection from Google - NLP analysis of top results - Semantic SEO optimized outline generation - Iterative long-form content generation - GPT-3 powered content improvement 📜 Requirements: - OpenAI API Key --- # 💡 Automatic Newsjacking Content Ideation using Clustering 💭 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Newsjacking_Ideation_and_Trend_Analysis_(Public).ipynb) This script collects news articles on a topic, clusters them using sentence embeddings, summarizes clusters using GPT-3, and generates newsjacking content ideas for each cluster. 🔑 Key features: - Automated news data collection - Clustering articles using sentence embeddings - GPT-3 powered cluster summarization - Structured newsjacking ideation based on clusters 📜 Requirements: - SerpAPI Key - OpenAI API Key --- # ⏰️ Automatic TikTok Video Understanding for Social Media Strategy [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automatic_TikTok_Video_Understanding_for_Social_Media_Strategy_(public).ipynb) This script enables automated analysis of TikTok video content using state-of-the-art AI models. It separates audio, transcribes using Whisper, encodes video understanding with Vicuna, and generates insights tailored to marketing goals. The key features are: - Automated TikTok data collection - Audio separation and transcription - Video understanding with Vicuna multi-modal AI - Customized insights for marketing strategy - Detailed analysis focusing on virality factors, audience segmentation, brand presence, etc. 📜 Requirements: - Apify API Key - OpenAI API Key - Google Colab + A100 GPU --- # 📣 Automatic Newsjacking Ideation and Trend_Analysis [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automatic_Newsjacking_Ideation_and_Trend_Analysis_(Public).ipynb) This script enables automated newsjacking ideation by collecting Google News articles on a topic, clustering them using sentence embeddings, summarizing clusters with GPT-3, and generating tailored content ideas. Key features: - News data collection from Google - Clustering articles using sentence embeddings - Summarizing clusters with GPT-3 - Structured newsjacking ideation based on clusters - Automated tailored content creation 📜 Requirements: - SerpAPI Key - OpenAI API Key --- # ⛓️ Automated Onsite SEO Link Optimizations [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automated_Onsite_SEO_Link_Optimizations_(Public).ipynb) This script automates analysis of on-page links to provide SEO optimization recommendations. It scrapes specified URLs, analyzes linked page content with Newspaper3k, generates anchor text recommendations with GPT-3, and outputs results to a CSV. 🔑 Key features: - Automated on-page link analysis - Content scraping with Newspaper3k - GPT-3 powered anchor text recommendations - SEO optimization suggestions - CSV output of results 📜 Requirements: - OpenAI API Key --- # 💭 Automated Subreddit and Post Title Recommendations Based on Any Article [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automated_Subreddit_and_Post_Title_Recommendations_Based_on_Any_Article_(Public).ipynb) This script analyzes an article and generates subreddit and post title recommendations using GPT-3. It summarizes the article, recommends target subreddits, and creates tailored titles for each subreddit. 🔑 Key features: - Article summarization - GPT-3 based subreddit recommendations - Custom post titles optimized for each subreddit 📜 Requirements: - OpenAI API Key - Reddit API Credentials --- # 💡 Automatic Article Outline Generation by Analyzing The Article Text of Top Ranking Pages for a Given Keyword [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automatic_Article_Outline_Generation_by_Analyzing_The_Article_Text_of_Top_Ranking_Pages_for_a_Given_Keyword_(Public).ipynb) This script scrapes and analyzes top-ranking pages for a keyword to generate automated article outlines optimized for SEO. Key features: - Scrapes and analyzes Google results - NLP analysis of top pages - GPT-3 outline generation optimized for SEO metrics - Automated end-to-end outline creation 📜 Requirements: - OpenAI API Key --- # 🎥 Automated Video Translation with LipSync [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automated_Video_Translation_with_LipSync_Public_Kristin_frac_tl.ipynb) This script enables automated video translation with lip sync using OpenAI Whisper for speech-to-text and Wav2Lip for lip generation. Key features: - Video download from YouTube link - Speech extraction and translation by Whisper - Generating new translated speech audio - Lip sync using Wav2Lip machine learning model - Automated end-to-end video translation 📜 Requirements: - OpenAI API Key - Wav2Lip, FFmpeg --- # 📑 Automatically Generate a Summary, Article Outline, Long form Article, and Tweet Thread from a Youtube URL [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Automatically_Generate_a_Summary,_Article_Outline,_Long_form_Article,_and_Tweet_Thread_from_a_Youtube_URL_(Public).ipynb) This script automatically generates a summary, outline, article, and tweet thread from a YouTube video transcript using GPT-3. Key features: - Transcript extraction using youtube-dl - Text truncation to fit GPT-3 limits - Summary generation with T5 or GPT-3 - Tweet thread creation with GPT-3 - Outline creation for a long-form article - Automated article section writing with GPT-3 - Structured output for all generated text 📜 Requirements: - OpenAI API Key - youtube-dl --- # 🤖 Exploring Multi Agent AI Collaboration for Iterative Invention, Critique, and Synthesis [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Exploring_Multi_Agent_AI_Collaboration_for_Iterative_Invention,_Critique,_and_Synthesis_Public_By_Kristin_Frac_tl.ipynb) This explores using multiple AI agents to iteratively generate, critique, refine, and evaluate invention ideas. Key features: - Idea generation with GPT-4 - Critiquing ideas with GPT-3.5 - Idea refinement and synthesis with GPT-4 - Scoring ideas on multiple metrics with GPT-3.5 - Image prompting and rendering with Stability AI - Iterative looping until criteria met - Markdown rendering of the final synthesized idea 📜 Requirements: - OpenAI API Key - Stability AI API Key --- # 🧔 Automatic Intent, Persona ,and Buyer Inference [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Intents,_Personas,_and_Buyer_Inference_(Public).ipynb) This script predicts search intents from keywords, generates corresponding personas, and has GPT-3 infer buyer needs and marketing tactics per persona. Key features: - Intent prediction using GPT-3 - Persona profiling with GPT-3 - Concurrent questions to GPT-3 - Buyer needs, objections, and marketing tactics - Structured DataFrame output - Ideal for SEO and marketing strategy 📜 Requirements: - OpenAI API Key --- # 🔎 Large Language Model Search Optimization [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Large_Language_Model_Search_Optimization_(Public).ipynb) This script optimizes search analysis using large language models like GPT-3. It generates queries, analyzes brand mentions, and creates natural language reports. Key features: - Query generation with GPT-3 - Concurrent requests for speed - Brand extraction and analysis - Query response summarization - Natural language report generation - Structured DataFrame output 📜 Requirements: - OpenAI API Key --- # ⚡️ Prompt Chaining Instant Content Plan [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Prompt_Chaining_Instant_Content_Plan_(Public).ipynb) This script instantly generates a structured SEO content plan by chaining prompts to GPT-3. Key features: - Automated subtopic generation - Automated subsubtopic generation - Title generation for subsubtopics - Concurrency for speed - Structured output as DataFrame - Rapid automated content planning 📜 Requirements: - OpenAI API Key --- # 📰 Prompt Chaining For Press Earning Data Journalism Stories [Google Colab](https://raw.githubusercontent.com/ktynski/Marketing_Automations_Notebooks_With_GPT/main/Prompt_Chaining_Press_Earning_Data_Journalism_Stories_(Public).ipynb) This script generates viral data journalism story ideas by chaining GPT-3 prompts for subtopics, data sources, and narratives. Key features: - Automated subtopic generation - Data source identification - Story narrative generation - Structured DataFrame output - Optimized for press pitching - Requires only a seed keyword 📜 Requirements: - OpenAI API Key --- # ✍️ The Ultimate AI Researcher [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/The_Ultimate_AI_Researcher_(Public).ipynb) - Automates academic literature research using ArXiv, semantic search, summaries, and natural language generation. - ArXiv paper querying and download - GPT-3 relevance scoring - Text summarization with POE - Concurrency for speed - Natural language report generation - Automates the literature review process 📜 Requirements: - OpenAI API Key --- # 👥 Automated Content and Keyword Clustering Descriptions with HuggingFace Embeddings, Agglomerative Clustering, and GPT-3 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Content_and_Keyword_Clustering_Descriptions_with_HuggingFace_Embeddings,_Agglomerative_Clustering_and_GPT_3_(Public).ipynb) - Simplifies content and keyword clustering using HuggingFace embeddings for keywords, agglomerative clustering for content, and GPT-3 for enhanced cluster descriptions. - Provides more insightful and organized cluster analysis. 📜 Requirements: - OpenAI API Key --- # ⏰️ Automatic Deep TikTok Insights with GPT and Whisper [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Deep_TikTok_Insights_with_GPT_and_Whisper_Public.ipynb) - Feed it a seed keyword, it will leverage the #Apify #TikTokScraper to extract associated search keywords in a recursive manner as per your specifications, and then download all related videos. - Transforms videos to audio, transcribes using Whisper, and translates non-English videos to English. 🌎 - Cleans and preps transcripts. - Prompts to GPT-4 for in-depth analysis of transcripts in batches. - GPT-4 unearths elements propelling engagement. 📊 - Collates the most recurrent and poignant insights from all batches - Synthesizes a report outlining key recommendations. 📝 📜 Requirements: - OpenAI API Key --- # 🕵 Automatic Persona and Motivation Research [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Persona_and_Motivation_Research_(public).ipynb) - Takes a list of keywords - Runs each keyword through 28 different evaluations predicting answers about the person searching and their goals when searching with a given keyword - Generating a csv that contains the answers to all the evaluations for each keyword. 📜 Requirements: - OpenAI API Key --- # ❓ Automatic Question Expander ala AnswerThePublic [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Question_Expander_ala_AnswerThePublic_(Public).ipynb) -Takes a given topic -Generates sub topics related to the topic -Generates sub-sub topics related to the subtopic and primary topic -Generates 30 relevant questions for each sub-sub topic. -Collates everything into a well organized dataframe for export to CSV. 📜 Requirements: - OpenAI API Key --- # 📈 Automatic Reddit Trend Research with GPT3 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Reddit_Trend_Research_with_GPT3_(Public).ipynb) - Takes a given keyword and scrapes all Reddit posts that match that keyword for a given number of posts and a date range. - Runs the set of Reddit posts scraped in the last step through 11 different prompts that analyze the corpus of post titles and give a readout of what they are generally about, main points, and other important takeaways. - Generates two CSVs, one that is the output of the Reddit scrape, and one that is the analysis/readout of those posts. 📜 Requirements: - OpenAI API Key - Reddit api credentials --- # 📰 Automatic Schema Improvements with GPT4 [Google Colab](https://github.com/ktynski/Marketing_Automations_Notebooks_With_GPT/blob/main/Automatic_Schema_Improvements_with_GPT4_(Public).ipynb) - Extracts relevant information from a given URL using the newspaper3k library. - Analyzes the content and determines the appropriate schema type using #GPT4. - Extracts relevant data points based on the determined schema type. - Generates JSON-LD schema markup using the extracted data points. - Outputs the enhanced HTML with schema markup applied. 📜 Requirements: - OpenAI API Key