Running marketing campaigns

From nicepkg/ai-workflow · View interactive version

Running marketing campaigns is an AI agent skill from the GitHub repository nicepkg/ai-workflow. Plans, creates, and optimizes digital marketing campaigns including content strategy, social media, email marketing, SEO, and AI visibility (GEO). Generates UTM parameters and tracking URLs. Helps develop go-to-market strategies, campaign messaging, content calendars, and performance measurement fra

How to use this skill

Skill file

Marketing Campaign Execution

Plan, execute, and measure digital marketing campaigns across content, social, email, and analytics.

Contents

Quick Start

Generate UTM Parameters

Source: where traffic originates (google, facebook, newsletter)
Medium: how it arrives (cpc, email, social, organic)
Campaign: initiative name (spring-sale-2025, product-launch)

Format: lowercase, hyphens, no spaces
Input: "Spring Sale 2025" → Output: "spring-sale-2025"
Input: "Q1 Launch Campaign" → Output: "q1-launch-campaign"

Example: ?utm_source=linkedin&utm_medium=social&utm_campaign=q1-launch

Create Email Sequence

  1. Welcome (immediate): Set expectations, deliver promised value
  2. Value (day 2-3): Best content or quick win
  3. Engagement (day 5-7): Encourage reply or action
  4. Offer (day 10): Clear CTA with incentive

Plan Content Calendar

Essential fields: Title, Target keyword, Funnel stage (TOFU/MOFU/BOFU), Format, Owner, Publish date, Distribution channels.

Check Campaign Performance

Primary metrics by channel:

Domain Reference Guide

| Need | Reference | When to Load |

|------|-----------|--------------|

| Plan content strategy | content-strategy.md | Topic clusters, calendars, funnel mapping, repurposing |

| Execute social media | social-media.md | Platform tactics, posting times, engagement benchmarks |

| Build email campaigns | email-marketing.md | Sequences, subject lines, segmentation, deliverability |

| Track campaigns | utm-tracking.md | UTM formatting, naming conventions, GA4 alignment |

| Measure performance | analytics-measurement.md | KPIs, GA4 setup, attribution, ROI calculations |

| Launch products | gtm-tools.md | GTM frameworks, positioning, tool selection |

| Define brand voice | brand-guidelines.md | Voice dimensions, tone, messaging framework, terminology |

| Optimize for search | seo-optimization.md | Technical SEO, on-page, content SEO, link building, E-E-A-T |

| Optimize for AI | geo-optimization.md | GEO, LLMO, AEO, AI Overviews, chatbot visibility |

Scripts

Python utilities for campaign automation:

| Script | Purpose | Usage |

|--------|---------|-------|

| utm_tools.py | UTM generation, validation, batch processing, QR codes | python utm_tools.py generate --source facebook --medium paid-social --campaign q1-launch |

| brand_checker.py | Brand voice compliance, readability scoring, banned words | python brand_checker.py check --file copy.txt |

Script Quick Reference

Generate and validate UTMs:

# Generate UTM parameters
python scripts/utm_tools.py generate -s facebook -m paid-social -c spring-2025

# Build complete tracking URL
python scripts/utm_tools.py build -u https://example.com -s email -m newsletter -c q1-launch

# Validate existing URL
python scripts/utm_tools.py validate -u "https://example.com?utm_source=email&utm_medium=cpc"

# Batch process from CSV
python scripts/utm_tools.py batch -f campaigns.csv -u https://example.com -o tracking.csv

# Check GA4 channel mapping
python scripts/utm_tools.py ga4-check -s facebook -m paid-social

Check brand compliance:

# Full compliance check
python scripts/brand_checker.py check --file marketing_copy.txt

# Check readability score
python scripts/brand_checker.py readability --text "Your marketing copy here"

# Find banned words
python scripts/brand_checker.py banned --file email_draft.txt

# Full audit with JSON output
python scripts/brand_checker.py full-audit --file campaign.txt --output report.json

Workflow Decision Tree

What does the user need?

Creating or planning content?
├─ Yes → content-strategy.md
│        • Topic clusters, pillar pages
│        • Content calendars (annual/quarterly/weekly)
│        • TOFU/MOFU/BOFU mapping
│        • Repurposing workflows
└─ No ↓

Platform-specific social guidance?
├─ Yes → social-media.md
│        • Instagram, LinkedIn, TikTok, X, Facebook
│        • Posting cadence and timing
│        • Algorithm priorities
│        • Engagement benchmarks
└─ No ↓

Email campaigns or sequences?
├─ Yes → email-marketing.md
│        • Welcome, drip, re-engagement sequences
│        • Subject line optimization
│        • Segmentation strategies
│        • Deliverability requirements
└─ No ↓

UTM parameters or tracking URLs?
├─ Yes → utm-tracking.md + scripts/utm_tools.py
│        • Parameter formatting rules
│        • Naming conventions
│        • GA4 channel alignment
│        • Dynamic parameters for ads
│        • Batch URL generation
└─ No ↓

Analytics, metrics, or reporting?
├─ Yes → analytics-measurement.md
│        • KPIs by channel
│        • GA4 configuration checklist
│        • Attribution models
│        • ROI formulas
└─ No ↓

Product launch or go-to-market?
├─ Yes → gtm-tools.md
│        • SOSTAC, RACE, AARRR frameworks
│        • Launch campaign structure
│        • Positioning methodology
│        • Marketing tool selection
└─ No ↓

Brand voice, tone, or messaging?
├─ Yes → brand-guidelines.md + scripts/brand_checker.py
│        • Voice dimension matrix
│        • This-but-not-that chart
│        • Messaging framework
│        • Terminology standards
│        • Compliance checking
└─ No ↓

SEO or search engine optimization?
├─ Yes → seo-optimization.md
│        • Technical SEO (crawling, indexing, speed)
│        • On-page SEO (titles, headers, content)
│        • Content SEO (E-E-A-T, topic clusters)
│        • Link building strategies
│        • Core Web Vitals
└─ No ↓

AI visibility, GEO, or chatbot optimization?
├─ Yes → geo-optimization.md
│        • Generative Engine Optimization (GEO)
│        • LLMO (Large Language Model Optimization)
│        • AEO (Answer Engine Optimization)
│        • ChatGPT, Perplexity, AI Overviews visibility
│        • Content structure for AI citation
└─ No → Clarify the specific marketing need

Multi-Domain Loading Order

For requests spanning multiple domains, load references in priority order:

| Request Type | Primary | Secondary | Supporting |

|--------------|---------|-----------|------------|

| Product launch | gtm-tools.md | brand-guidelines.md, content-strategy.md | email-marketing.md, social-media.md |

| Campaign tracking | utm-tracking.md | analytics-measurement.md | — |

| Quarterly plan | content-strategy.md | social-media.md, email-marketing.md | analytics-measurement.md |

| Performance optimization | analytics-measurement.md | (channel-specific) | — |

| Brand voice | brand-guidelines.md | brand_checker.py | — |

| Search rankings | seo-optimization.md | content-strategy.md | analytics-measurement.md |

| AI visibility | geo-optimization.md | seo-optimization.md | content-strategy.md |

| Full strategy | seo-optimization.md, geo-optimization.md | content-strategy.md, social-media.md | email-marketing.md, analytics-measurement.md |

Campaign Validation Checklist

Before launching any campaign, verify:

Strategy

Tracking

Content

Technical

Persona Adaptation

Beginner signals: Asks "what is," "how do I," "why should I," unfamiliar terminology, requests explanations.

→ Provide concept context before tactics. Explain frameworks. Offer templates.

Experienced signals: Uses correct terminology, asks for benchmarks, requests templates, mentions specific tools.

→ Skip fundamentals. Provide benchmarks, templates, advanced tactics directly.

Boundaries

In scope:

Out of scope (suggest alternatives):

Clarify before proceeding:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.