Skip to content

A collection of automations and experiments exploring the applications of generative AI in Marketing, SEO, and Public Relations

Notifications You must be signed in to change notification settings

ktynski/Marketing_Automations_Notebooks_With_GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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 ([email protected])

πŸŽ₯ Leveraging SOTA MultiModal AI for Video Understanding - An Iterative Approach to Replicating Viral Success on TikTok 🐍

Google Colab

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • 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

  • 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

  • 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

  • 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

-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

  • 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

  • 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

About

A collection of automations and experiments exploring the applications of generative AI in Marketing, SEO, and Public Relations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published