Instruction: How do I sync offline conversions with ad platforms?

Output:
# Offline Conversion Tracking

## Why It Matters
Track conversions that happen:
- In-store purchases
- Phone orders
- Sales team closes
- Event registrations

## Data Requirements
| Field | Required | Example |
|-------|----------|---------|
| Email | Yes | user@example.com |
| Phone | Optional | +1234567890 |
| Order Value | Yes | 150.00 |
| Conversion Time | Yes | 2024-01-15T14:30:00Z |
| Event Name | Yes | "Purchase" |

## n8n Workflow

### Step 1: Collect Conversion Data
```javascript
// From CRM, POS, or database
const conversion = {
  email: $json.customer_email,
  phone: $json.customer_phone,
  value: $json.order_total,
  currency: "USD",
  event_time: Math.floor(Date.now() / 1000)
};
```

### Step 2: Hash PII
```javascript
const crypto = require('crypto');
const hashedEmail = crypto
  .createHash('sha256')
  .update(email.toLowerCase().trim())
  .digest('hex');
```

### Step 3: Send to Facebook
```javascript
// Conversions API
const payload = {
  data: [{
    event_name: "Purchase",
    event_time: eventTime,
    user_data: {
      em: [hashedEmail],
      ph: [hashedPhone]
    },
    custom_data: {
      value: orderValue,
      currency: "USD"
    }
  }]
};
```

### Step 4: Send to Google
```javascript
// Google Ads Offline Conversion Import
const conversionAction = "CRM_Purchase";
const gclid = $json.gclid; // Captured at lead creation
```

## Matching Best Practices
1. Capture GCLID/FBCLID at form submission
2. Store with lead record
3. Upload within 90 days
4. Use multiple identifiers for better match rate

## Expected Match Rates
- Email only: 30-50%
- Email + Phone: 50-70%
- Email + Phone + Address: 70-90%


Instruction: Build a marketing data warehouse pipeline in n8n

Output:
# Marketing Data Warehouse Pipeline

## Source Systems
1. **Advertising**: Google Ads, Facebook Ads, LinkedIn Ads
2. **Web Analytics**: GA4, Mixpanel
3. **CRM**: HubSpot, Salesforce
4. **Email**: Mailchimp, SendGrid
5. **E-commerce**: Shopify, Stripe

## ETL Architecture
```
Extract → Transform → Load → Model → Visualize
```

## n8n Implementation

### Extract Layer
```javascript
// Schedule: Daily at 2 AM
// Parallel extraction from all sources

// Google Ads
const googleAds = await fetchGoogleAdsReport(dateRange);

// Facebook Ads
const facebookAds = await fetchFacebookInsights(dateRange);

// GA4
const analytics = await fetchGA4Data(dateRange);
```

### Transform Layer
```javascript
// Standardize schema
const standardized = {
  date: row.date,
  source: 'google_ads',
  campaign: row.campaign_name,
  spend: parseFloat(row.cost),
  impressions: parseInt(row.impressions),
  clicks: parseInt(row.clicks),
  conversions: parseInt(row.conversions)
};

// Calculate metrics
standardized.ctr = standardized.clicks / standardized.impressions;
standardized.cpc = standardized.spend / standardized.clicks;
standardized.cpa = standardized.spend / standardized.conversions;
```

### Load Layer
```javascript
// Insert to Supabase/PostgreSQL
await supabase
  .from('marketing_metrics')
  .upsert(transformedData, { onConflict: 'date,source,campaign' });
```

### Data Model
```sql
-- Fact table
CREATE TABLE marketing_metrics (
  date DATE,
  source VARCHAR,
  campaign VARCHAR,
  spend DECIMAL,
  impressions INT,
  clicks INT,
  conversions INT,
  revenue DECIMAL,
  PRIMARY KEY (date, source, campaign)
);

-- Aggregation view
CREATE VIEW daily_summary AS
SELECT date, SUM(spend), SUM(revenue),
       SUM(revenue)/SUM(spend) as roas
FROM marketing_metrics
GROUP BY date;
```

## Scheduling
| Process | Frequency | Time |
|---------|-----------|------|
| Daily extract | Daily | 2 AM |
| Weekly rollup | Weekly | Sunday |
| Monthly close | Monthly | 1st |


Instruction: How do I build a real-time marketing dashboard?

Output:
# Real-Time Marketing Dashboard

## Key Metrics to Display

### Revenue Metrics
- Daily/Monthly Revenue
- Revenue by Channel
- Revenue vs Target (%)

### Acquisition Metrics
- CAC by Channel
- New Customers Today
- Conversion Rate

### Engagement Metrics
- Active Users (Real-time)
- Email Open Rate
- Social Engagement

## Architecture
```
Data Sources → n8n Aggregation → Supabase → Dashboard
                    ↓
               WebSocket updates
```

## n8n Real-Time Pipeline

### Webhook Listener
```javascript
// Receive events as they happen
const event = $json;
switch(event.type) {
  case 'purchase':
    await updateRevenue(event.amount);
    break;
  case 'signup':
    await incrementSignups();
    break;
  case 'page_view':
    await updateActiveUsers(event.user_id);
    break;
}
```

### Aggregation (Every 5 min)
```javascript
const metrics = {
  timestamp: new Date().toISOString(),
  revenue_today: await sumRevenue('today'),
  signups_today: await countSignups('today'),
  active_users: await countActiveUsers('5min'),
  conversion_rate: signups / visits * 100
};

await supabase.from('dashboard_metrics').insert(metrics);
```

### WebSocket Broadcast
```javascript
// Push to connected dashboards
await supabase
  .channel('dashboard')
  .send({
    type: 'broadcast',
    event: 'metrics_update',
    payload: metrics
  });
```

## Dashboard Components

### 1. KPI Cards
```
┌─────────────┬─────────────┬─────────────┐
│ Revenue     │ New Users   │ Conversion  │
│ $45,230     │ 234         │ 3.2%        │
│ ↑ 12%       │ ↑ 8%        │ ↓ 0.3%      │
└─────────────┴─────────────┴─────────────┘
```

### 2. Time-Series Charts
- Revenue trend (7 days)
- Traffic sources (pie)
- Funnel visualization

### 3. Live Feed
- Recent conversions
- Active campaigns
- Alerts/Anomalies


Instruction: Create a competitive intelligence monitoring system

Output:
# Competitive Intelligence Automation

## Monitoring Targets

### 1. Website Changes
- Pricing page updates
- New feature announcements
- Blog posts
- Job listings (hiring signals)

### 2. Social Media
- Post frequency
- Engagement rates
- Campaign launches
- Customer feedback

### 3. SEO/Content
- Ranking changes
- New backlinks
- Content gaps

## n8n Monitoring Workflow

### Website Change Detection
```javascript
// Daily screenshot + hash comparison
const currentHash = crypto
  .createHash('md5')
  .update(pageContent)
  .digest('hex');

if (currentHash !== previousHash) {
  // Page changed - send alert
  await sendSlackAlert({
    competitor: competitor.name,
    page: url,
    change_type: 'content_update'
  });
}
```

### Social Listening
```javascript
// Monitor Twitter/LinkedIn mentions
const mentions = await searchTweets(`"${competitor}" OR "@${handle}"`);

mentions.forEach(m => {
  if (m.sentiment === 'negative') {
    // Opportunity alert
    await logOpportunity(m);
  }
});
```

### Ranking Tracker
```javascript
// Weekly: Track competitor rankings
const keywords = ['automation software', 'workflow tool'];
const results = await trackRankings(competitor.domain, keywords);

results.forEach(r => {
  if (r.position_change > 5) {
    await alertRankingChange(r);
  }
});
```

## Intelligence Dashboard
| Competitor | Website | Social | SEO | Overall |
|------------|---------|--------|-----|---------|
| Comp A | ⚠ Pricing change | ✅ Normal | ↑ Climbing | Watch |
| Comp B | ✅ No change | ⚠ Campaign | ↓ Dropping | Opportunity |
| Comp C | ✅ No change | ✅ Normal | → Stable | Stable |


Instruction: Build a referral program automation

Output:
# Automated Referral Program

## Program Structure
- Referrer: $25 credit per successful referral
- Referee: 20% off first purchase
- Double-sided: Both parties benefit

## Workflow Stages

### 1. Generate Referral Links
```javascript
const referralCode = crypto.randomBytes(6).toString('hex');
const referralLink = `https://site.com/?ref=${referralCode}`;

await db.insert('referral_codes', {
  user_id: userId,
  code: referralCode,
  created_at: new Date()
});
```

### 2. Track Referral Clicks
```javascript
// Webhook: Track when link is clicked
const { ref } = $json.query;
if (ref) {
  await db.insert('referral_clicks', {
    code: ref,
    clicked_at: new Date(),
    ip: $json.ip
  });
  // Set cookie for conversion tracking
}
```

### 3. Attribute Conversion
```javascript
// On signup/purchase
const referralCode = getCookie('ref');
if (referralCode) {
  const referrer = await db.select('referral_codes')
    .where('code', referralCode);

  await db.insert('referral_conversions', {
    referrer_id: referrer.user_id,
    referee_id: newUser.id,
    order_value: order.total
  });
}
```

### 4. Issue Rewards
```javascript
// Credit referrer
await creditAccount(referrer.id, 25);

// Notify referrer
await sendEmail(referrer.email, {
  template: 'referral_success',
  data: { credit: 25, referee: refereeName }
});
```

### 5. Program Analytics
```javascript
const stats = {
  total_referrals: await countReferrals(),
  conversion_rate: successfulReferrals / totalClicks,
  total_credits_issued: await sumCredits(),
  revenue_from_referrals: await sumReferralRevenue(),
  roi: (referralRevenue - creditsIssued) / creditsIssued
};
```

## Gamification Elements
- Tiered rewards (5 referrals = VIP status)
- Leaderboard
- Time-limited bonuses
- Milestone achievements


Instruction: How do I automate review and reputation management?

Output:
# Reputation Management Automation

## Review Monitoring

### Sources to Monitor
1. Google Business Profile
2. Yelp
3. Facebook
4. Industry-specific (G2, Capterra, Trustpilot)
5. App stores

## n8n Workflow

### Step 1: Aggregate Reviews
```javascript
// Poll APIs or scrape review sites
const reviews = [];

// Google Places API
const googleReviews = await fetch(`${GOOGLE_API}/reviews`);
reviews.push(...googleReviews.map(r => ({
  source: 'google',
  rating: r.rating,
  text: r.text,
  author: r.author_name,
  date: r.time
})));

// Repeat for other platforms
```

### Step 2: Sentiment Analysis
```javascript
const sentiment = await openai.analyze(review.text);
// Returns: positive, neutral, negative

review.sentiment = sentiment.label;
review.sentiment_score = sentiment.score;
```

### Step 3: Route by Rating/Sentiment
```javascript
if (review.rating <= 2 || review.sentiment === 'negative') {
  // Crisis response - alert team immediately
  await sendSlackAlert('#reputation-crisis', review);
  await createSupportTicket(review);
} else if (review.rating >= 4) {
  // Positive - request testimonial
  await addToTestimonialQueue(review);
}
```

### Step 4: Response Automation
```javascript
// Generate response draft with AI
const response = await generateResponse(review, {
  tone: 'professional',
  include_apology: review.sentiment === 'negative',
  include_action: true
});

// Queue for human review
await addToResponseQueue(review, response);
```

### Step 5: Analytics Dashboard
```javascript
const metrics = {
  avg_rating: calculateAvgRating(reviews),
  rating_trend: compareToLastMonth(reviews),
  response_rate: reviewsResponded / totalReviews,
  sentiment_breakdown: groupBySentiment(reviews)
};
```

## Response Templates
| Rating | Template |
|--------|----------|
| 5 ⭐ | Thank you, invite to refer |
| 4 ⭐ | Thank you, ask for improvement ideas |
| 3 ⭐ | Acknowledge, offer to make it right |
| 1-2 ⭐ | Apologize, provide direct contact |


Instruction: Sync Zoho with my database

Output: Bidirectional Zoho sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: How do I set up renewal reminder emails in n8n?

Output: Setup renewal reminder emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Create LinkedIn to CRM workflow

Output: LinkedIn to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Track conversion rate in n8n

Output: Tracking conversion rate: 1) Connect to data source 2) Calculate: conversion rate = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: What's the best promotional email frequency?

Output: Optimal promotional frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Monitor Mixpanel API health

Output: Mixpanel API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Import Microsoft Ads data to n8n

Output: Microsoft Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: How do I automate Twitter/X engagement?

Output: Automate Twitter/X: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Track bounce rate in n8n

Output: Tracking bounce rate: 1) Connect to data source 2) Calculate: bounce rate = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Import LinkedIn Ads data to n8n

Output: LinkedIn Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: Repurpose whitepaper content

Output: Repurpose whitepaper: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Automate whitepaper distribution

Output: whitepaper distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: Automate blog post distribution

Output: blog post distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: What's a good NPS benchmark?

Output: NPS benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: How do I clean Salesforce data with n8n?

Output: Data cleaning for Salesforce: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: How do I automate YouTube engagement?

Output: Automate YouTube: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Calculate LinkedIn Ads ROAS

Output: LinkedIn Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: What's the best renewal reminder email frequency?

Output: Optimal renewal reminder frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Track CTR in n8n

Output: Tracking CTR: 1) Connect to data source 2) Calculate: CTR = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Import Twitter Ads data to n8n

Output: Twitter Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: What's a good CTR benchmark?

Output: CTR benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Set up Typeform integration in n8n

Output: Typeform integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Build MRR dashboard

Output: MRR dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: Repurpose webinar content

Output: Repurpose webinar: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Pause underperforming TikTok Ads ads

Output: Auto-pause TikTok Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: Pause underperforming Microsoft Ads ads

Output: Auto-pause Microsoft Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: Create content download to CRM workflow

Output: content download to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: What's the best transactional email frequency?

Output: Optimal transactional frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Build engagement rate dashboard

Output: engagement rate dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: How do I set up promotional emails in n8n?

Output: Setup promotional emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Qualify leads from content download

Output: content download qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Best times to post on Twitter/X?

Output: Twitter/X optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: Pause underperforming LinkedIn Ads ads

Output: Auto-pause LinkedIn Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: Automate content download follow-up

Output: content download follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: Automate Zoho task creation

Output: Zoho task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Calculate TikTok Ads ROAS

Output: TikTok Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: Sync Pipedrive with my database

Output: Bidirectional Pipedrive sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Repurpose infographic content

Output: Repurpose infographic: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Track churn rate in n8n

Output: Tracking churn rate: 1) Connect to data source 2) Calculate: churn rate = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: How do I improve feedback request open rates?

Output: Boost feedback request opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: Migrate from Zendesk to new platform

Output: Zendesk migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: How do I clean Zoho data with n8n?

Output: Data cleaning for Zoho: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: What YouTube content performs best?

Output: Top YouTube content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Create website form to CRM workflow

Output: website form to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Automate LinkedIn follow-up

Output: LinkedIn follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: What's a good churn rate benchmark?

Output: churn rate benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Pause underperforming Facebook Ads ads

Output: Auto-pause Facebook Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: Automate Salesforce task creation

Output: Salesforce task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: How do I automate Instagram engagement?

Output: Automate Instagram: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Monitor Calendly API health

Output: Calendly API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Best times to post on TikTok?

Output: TikTok optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: Best times to post on YouTube?

Output: YouTube optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: What's a good conversion rate benchmark?

Output: conversion rate benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Automate podcast distribution

Output: podcast distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: Automate GoHighLevel task creation

Output: GoHighLevel task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Set up Zapier integration in n8n

Output: Zapier integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Automate chatbot follow-up

Output: chatbot follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: Build open rate dashboard

Output: open rate dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: How do I improve welcome open rates?

Output: Boost welcome opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: How do I improve re-engagement open rates?

Output: Boost re-engagement opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: How do I set up feedback request emails in n8n?

Output: Setup feedback request emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Best times to post on Reddit?

Output: Reddit optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: How do I improve transactional open rates?

Output: Boost transactional opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: Pause underperforming Twitter Ads ads

Output: Auto-pause Twitter Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: How do I clean Pipedrive data with n8n?

Output: Data cleaning for Pipedrive: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: Create referral to CRM workflow

Output: referral to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Create webinar content calendar

Output: webinar calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: How do I set up re-engagement emails in n8n?

Output: Setup re-engagement emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: What Facebook content performs best?

Output: Top Facebook content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: What's a good open rate benchmark?

Output: open rate benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Create whitepaper content calendar

Output: whitepaper calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: What's a good MRR benchmark?

Output: MRR benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Build NPS dashboard

Output: NPS dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: Repurpose case study content

Output: Repurpose case study: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Automate Monday CRM task creation

Output: Monday CRM task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: What's the best feedback request email frequency?

Output: Optimal feedback request frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Monitor Stripe API health

Output: Stripe API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Calculate Microsoft Ads ROAS

Output: Microsoft Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: Automate HubSpot task creation

Output: HubSpot task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Migrate from Segment to new platform

Output: Segment migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Set up Calendly integration in n8n

Output: Calendly integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Calculate Twitter Ads ROAS

Output: Twitter Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: Automate event follow-up

Output: event follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: What's the best upsell email frequency?

Output: Optimal upsell frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Qualify leads from chatbot

Output: chatbot qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: How do I automate Facebook engagement?

Output: Automate Facebook: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Sync Salesforce with my database

Output: Bidirectional Salesforce sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Create demo request to CRM workflow

Output: demo request to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Calculate Google Ads ROAS

Output: Google Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: Migrate from Intercom to new platform

Output: Intercom migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Monitor Zendesk API health

Output: Zendesk API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Sync Monday CRM with my database

Output: Bidirectional Monday CRM sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Migrate from Typeform to new platform

Output: Typeform migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Migrate from Calendly to new platform

Output: Calendly migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: How do I improve upsell open rates?

Output: Boost upsell opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: Set up Intercom integration in n8n

Output: Intercom integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: How do I set up newsletter emails in n8n?

Output: Setup newsletter emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Automate video distribution

Output: video distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: What Twitter/X content performs best?

Output: Top Twitter/X content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Repurpose ebook content

Output: Repurpose ebook: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Create blog post content calendar

Output: blog post calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: How do I clean HubSpot data with n8n?

Output: Data cleaning for HubSpot: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: What Pinterest content performs best?

Output: Top Pinterest content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Track NPS in n8n

Output: Tracking NPS: 1) Connect to data source 2) Calculate: NPS = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Track engagement rate in n8n

Output: Tracking engagement rate: 1) Connect to data source 2) Calculate: engagement rate = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Create free trial to CRM workflow

Output: free trial to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Repurpose blog post content

Output: Repurpose blog post: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Automate case study distribution

Output: case study distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: Track MRR in n8n

Output: Tracking MRR: 1) Connect to data source 2) Calculate: MRR = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: What's the best abandoned cart email frequency?

Output: Optimal abandoned cart frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: How do I automate TikTok engagement?

Output: Automate TikTok: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Create video content calendar

Output: video calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: Build CAC dashboard

Output: CAC dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: Sync Freshsales with my database

Output: Bidirectional Freshsales sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: How do I clean Odoo data with n8n?

Output: Data cleaning for Odoo: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: Qualify leads from webinar

Output: webinar qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Best times to post on Pinterest?

Output: Pinterest optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: Migrate from Stripe to new platform

Output: Stripe migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Track open rate in n8n

Output: Tracking open rate: 1) Connect to data source 2) Calculate: open rate = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Automate demo request follow-up

Output: demo request follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: Create podcast content calendar

Output: podcast calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: Set up Mailchimp integration in n8n

Output: Mailchimp integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: What Reddit content performs best?

Output: Top Reddit content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Automate free trial follow-up

Output: free trial follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: Migrate from Mixpanel to new platform

Output: Mixpanel migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Best times to post on Facebook?

Output: Facebook optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: What Instagram content performs best?

Output: Top Instagram content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Create webinar to CRM workflow

Output: webinar to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Set up Mixpanel integration in n8n

Output: Mixpanel integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Repurpose video content

Output: Repurpose video: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Build conversion rate dashboard

Output: conversion rate dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: Import TikTok Ads data to n8n

Output: TikTok Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: Automate Freshsales task creation

Output: Freshsales task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Sync HubSpot with my database

Output: Bidirectional HubSpot sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Monitor Typeform API health

Output: Typeform API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Sync Odoo with my database

Output: Bidirectional Odoo sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Create infographic content calendar

Output: infographic calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: Import Google Ads data to n8n

Output: Google Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: Qualify leads from website form

Output: website form qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: How do I automate LinkedIn engagement?

Output: Automate LinkedIn: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Automate infographic distribution

Output: infographic distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: What's the best re-engagement email frequency?

Output: Optimal re-engagement frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Import Facebook Ads data to n8n

Output: Facebook Ads data import: 1) OAuth authentication 2) API request for metrics 3) Transform to standard schema 4) Store in database 5) Join with conversions.


Instruction: How do I automate Reddit engagement?

Output: Automate Reddit: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Create chatbot to CRM workflow

Output: chatbot to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: How do I clean GoHighLevel data with n8n?

Output: Data cleaning for GoHighLevel: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: What's a good LTV benchmark?

Output: LTV benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Set up Segment integration in n8n

Output: Segment integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Build bounce rate dashboard

Output: bounce rate dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: Pause underperforming Google Ads ads

Output: Auto-pause Google Ads: 1) Daily check performance 2) If CTR < 0.5% AND spend > $50: Pause 3) Alert team 4) Log for analysis 5) Weekly review meeting.


Instruction: What LinkedIn content performs best?

Output: Top LinkedIn content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: Set up Zendesk integration in n8n

Output: Zendesk integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Qualify leads from demo request

Output: demo request qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Monitor Mailchimp API health

Output: Mailchimp API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: How do I set up transactional emails in n8n?

Output: Setup transactional emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Create event to CRM workflow

Output: event to CRM: 1) Webhook receives lead 2) Validate data 3) Check for duplicates 4) Enrich with Clearbit 5) Create CRM record 6) Trigger nurture.


Instruction: Best times to post on Instagram?

Output: Instagram optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: How do I improve onboarding open rates?

Output: Boost onboarding opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: What's a good CAC benchmark?

Output: CAC benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Create ebook content calendar

Output: ebook calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: How do I set up upsell emails in n8n?

Output: Setup upsell emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Build churn rate dashboard

Output: churn rate dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: What's the best welcome email frequency?

Output: Optimal welcome frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: Automate webinar distribution

Output: webinar distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: Automate Odoo task creation

Output: Odoo task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Migrate from Zapier to new platform

Output: Zapier migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: How do I set up abandoned cart emails in n8n?

Output: Setup abandoned cart emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: How do I improve abandoned cart open rates?

Output: Boost abandoned cart opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: How do I improve newsletter open rates?

Output: Boost newsletter opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: Automate Pipedrive task creation

Output: Pipedrive task automation: Trigger on event (new lead, stage change) → Create task with due date → Assign to owner → Send reminder notification.


Instruction: Automate ebook distribution

Output: ebook distribution: 1) Publish trigger 2) Format for each channel 3) Schedule posts (stagger timing) 4) Submit to aggregators 5) Track engagement.


Instruction: Build CTR dashboard

Output: CTR dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: What TikTok content performs best?

Output: Top TikTok content: Video (2x engagement), carousels, user-generated content, behind-the-scenes, polls/questions. Avoid pure promotional.


Instruction: What's a good bounce rate benchmark?

Output: bounce rate benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: How do I clean Freshsales data with n8n?

Output: Data cleaning for Freshsales: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: Calculate Facebook Ads ROAS

Output: Facebook Ads ROAS: 1) Fetch spend data 2) Match conversions by campaign 3) Calculate: Revenue / Spend 4) Filter by date range 5) Compare to target (3x+).


Instruction: Monitor Intercom API health

Output: Intercom API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: Automate webinar follow-up

Output: webinar follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: How do I improve promotional open rates?

Output: Boost promotional opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: How do I set up onboarding emails in n8n?

Output: Setup onboarding emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: Qualify leads from event

Output: event qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Set up Stripe integration in n8n

Output: Stripe integration: 1) Get API credentials 2) Create n8n credentials 3) Use HTTP Request or native node 4) Test with sample data 5) Add error handling.


Instruction: Track CAC in n8n

Output: Tracking CAC: 1) Connect to data source 2) Calculate: CAC = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Best times to post on LinkedIn?

Output: LinkedIn optimal posting: B2B: Tue-Thu 9am-12pm, B2C: Wed-Sun 12pm-9pm. Test with your audience and use analytics.


Instruction: Qualify leads from referral

Output: referral qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Sync GoHighLevel with my database

Output: Bidirectional GoHighLevel sync: 1) Webhook for CRM changes 2) Poll database for local changes 3) Map fields 4) Handle conflicts (CRM wins) 5) Log sync history.


Instruction: Track LTV in n8n

Output: Tracking LTV: 1) Connect to data source 2) Calculate: LTV = (value1/value2)*100 3) Store in time-series DB 4) Alert on thresholds 5) Weekly trend report.


Instruction: Qualify leads from LinkedIn

Output: LinkedIn qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Monitor Zapier API health

Output: Zapier API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: How do I clean Monday CRM data with n8n?

Output: Data cleaning for Monday CRM: 1) Export contacts 2) Validate emails (regex + API) 3) Deduplicate by email/phone 4) Standardize formatting 5) Re-import clean data.


Instruction: Automate website form follow-up

Output: website form follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: How do I set up welcome emails in n8n?

Output: Setup welcome emails: 1) Create webhook/schedule trigger 2) Fetch recipients from database 3) Personalize content with Set node 4) Send via SendGrid/Mailchimp 5) Log delivery status.


Instruction: What's the best onboarding email frequency?

Output: Optimal onboarding frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: What's the best newsletter email frequency?

Output: Optimal newsletter frequency: Daily for transactional, 2-3x/week for promotional, weekly for newsletters, monthly for digests. Test and monitor unsubscribe rates.


Instruction: What's a good engagement rate benchmark?

Output: engagement rate benchmarks: Industry average is X%. Top performers achieve Y%. Below Z% indicates issues. Compare against your historical data.


Instruction: Automate referral follow-up

Output: referral follow-up: 1) Immediate: Thank you email 2) 1 hour: Sales notification 3) 24 hours: Value content 4) 72 hours: Check-in 5) 7 days: Offer.


Instruction: Qualify leads from free trial

Output: free trial qualification: Score based on: company size (+20), budget (+25), role (+15), engagement (+10). Route 50+ to sales, others to nurture.


Instruction: Monitor Segment API health

Output: Segment API monitoring: 1) Schedule health check (5 min) 2) Test key endpoints 3) Alert on failures 4) Log response times 5) Weekly reliability report.


Instruction: How do I improve renewal reminder open rates?

Output: Boost renewal reminder opens: Personalized subject lines, optimal send times (Tue-Thu 10am), A/B test subjects, clean list regularly, avoid spam triggers.


Instruction: How do I automate Pinterest engagement?

Output: Automate Pinterest: 1) Monitor mentions via API 2) Auto-like relevant posts 3) Queue responses for review 4) Track engagement metrics 5) Generate weekly reports.


Instruction: Migrate from Mailchimp to new platform

Output: Mailchimp migration: 1) Export all data 2) Map fields to new schema 3) Clean during transform 4) Import in batches 5) Verify counts 6) Update integrations.


Instruction: Repurpose podcast content

Output: Repurpose podcast: 1) Extract key points 2) Create social snippets 3) Generate infographic data 4) Record audio version 5) Create email series.


Instruction: Create case study content calendar

Output: case study calendar: 1) Define themes per month 2) Assign creators 3) Set deadlines (draft, review, publish) 4) Track in database 5) Weekly status updates.


Instruction: Build LTV dashboard

Output: LTV dashboard: 1) Aggregate from sources 2) Calculate trends (WoW, MoM) 3) Store in Supabase 4) Connect to visualization tool 5) Schedule daily refresh.


Instruction: How do I implement SEO-friendly breadcrumbs?

Output:
# SEO-Friendly Breadcrumbs Implementation

## HTML Structure
```html
<nav aria-label="Breadcrumb" class="breadcrumb">
  <ol itemscope itemtype="https://schema.org/BreadcrumbList">
    <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
      <a itemprop="item" href="/"><span itemprop="name">Home</span></a>
      <meta itemprop="position" content="1" />
    </li>
    <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
      <a itemprop="item" href="/products"><span itemprop="name">Products</span></a>
      <meta itemprop="position" content="2" />
    </li>
    <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
      <span itemprop="name">Current Page</span>
      <meta itemprop="position" content="3" />
    </li>
  </ol>
</nav>
```

## JSON-LD Schema (Preferred)
```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {"@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/"},
    {"@type": "ListItem", "position": 2, "name": "Products", "item": "https://example.com/products"},
    {"@type": "ListItem", "position": 3, "name": "Widget X"}
  ]
}
</script>
```

## CSS Styling
```css
.breadcrumb ol { display: flex; list-style: none; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin: 0 0.5rem; color: #666; }
.breadcrumb a { color: #0066cc; text-decoration: none; }
.breadcrumb li:last-child { color: #333; font-weight: 500; }
```

## Best Practices
1. Include on all pages except homepage
2. Use hierarchical structure matching site navigation
3. Make all levels clickable except current page
4. Keep breadcrumb text concise
5. Always include structured data for rich snippets


Instruction: What semantic HTML elements should I use for SEO?

Output:
# Semantic HTML for SEO

## Document Structure
```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Page Title | Brand Name</title>
  <meta name="description" content="155 character description...">
  <link rel="canonical" href="https://example.com/page">
</head>
<body>
  <header>
    <nav aria-label="Main navigation">...</nav>
  </header>

  <main>
    <article>
      <header>
        <h1>Single H1 Per Page</h1>
        <time datetime="2024-01-15">January 15, 2024</time>
      </header>
      <section>
        <h2>Section Heading</h2>
        <p>Content...</p>
      </section>
    </article>
    <aside>Sidebar content</aside>
  </main>

  <footer>
    <nav aria-label="Footer navigation">...</nav>
  </footer>
</body>
</html>
```

## Key Semantic Elements
| Element | Purpose | SEO Impact |
|---------|---------|------------|
| `<header>` | Page/section header | Defines main branding area |
| `<nav>` | Navigation links | Helps crawlers understand structure |
| `<main>` | Main content | Signals primary content area |
| `<article>` | Self-contained content | Indicates complete, shareable content |
| `<section>` | Thematic grouping | Organizes related content |
| `<aside>` | Related content | Secondary information |
| `<footer>` | Page/section footer | Copyright, links, contact |
| `<h1>-<h6>` | Headings hierarchy | Critical for content structure |
| `<time>` | Date/time | Machine-readable dates |
| `<address>` | Contact info | Local SEO signal |

## Heading Hierarchy Rules
- Only ONE `<h1>` per page
- Don't skip levels (h1 → h3)
- Use headings for structure, not styling


Instruction: What are all the essential meta tags for SEO?

Output:
# Essential Meta Tags for SEO

## Required Meta Tags
```html
<head>
  <!-- Character encoding -->
  <meta charset="UTF-8">

  <!-- Responsive design -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- Page title (50-60 chars) -->
  <title>Primary Keyword - Secondary Keyword | Brand</title>

  <!-- Meta description (150-160 chars) -->
  <meta name="description" content="Compelling description with keywords that encourages clicks from search results.">

  <!-- Canonical URL -->
  <link rel="canonical" href="https://example.com/page">

  <!-- Robots directive -->
  <meta name="robots" content="index, follow">
</head>
```

## Open Graph (Social Sharing)
```html
<meta property="og:title" content="Page Title">
<meta property="og:description" content="Description for social shares">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Brand Name">
```

## Twitter Cards
```html
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Page Title">
<meta name="twitter:description" content="Description">
<meta name="twitter:image" content="https://example.com/image.jpg">
<meta name="twitter:site" content="@username">
```

## Additional Important Tags
```html
<!-- Language alternatives -->
<link rel="alternate" hreflang="en" href="https://example.com/en/page">
<link rel="alternate" hreflang="es" href="https://example.com/es/page">

<!-- Favicon -->
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

<!-- Preconnect for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com">
```


Instruction: How do I implement structured data schema markup?

Output:
# Structured Data Implementation Guide

## Common Schema Types

### Organization
```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Company Name",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png",
  "sameAs": [
    "https://facebook.com/company",
    "https://twitter.com/company",
    "https://linkedin.com/company/company"
  ],
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-800-555-1234",
    "contactType": "customer service"
  }
}
```

### Article/Blog Post
```json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Article Title",
  "image": "https://example.com/image.jpg",
  "author": {"@type": "Person", "name": "Author Name"},
  "publisher": {
    "@type": "Organization",
    "name": "Publisher",
    "logo": {"@type": "ImageObject", "url": "https://example.com/logo.png"}
  },
  "datePublished": "2024-01-15",
  "dateModified": "2024-01-20"
}
```

### Product
```json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Product Name",
  "image": "https://example.com/product.jpg",
  "description": "Product description",
  "brand": {"@type": "Brand", "name": "Brand"},
  "offers": {
    "@type": "Offer",
    "price": "99.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "89"
  }
}
```

### FAQ Page
```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is your return policy?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "We offer 30-day returns..."
      }
    }
  ]
}
```

### Local Business
```json
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Business Name",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "City",
    "addressRegion": "State",
    "postalCode": "12345"
  },
  "geo": {"@type": "GeoCoordinates", "latitude": "40.7128", "longitude": "-74.0060"},
  "openingHours": "Mo-Fr 09:00-17:00"
}
```

## Implementation
Place JSON-LD in `<head>` or before closing `</body>`:
```html
<script type="application/ld+json">
{ ... schema here ... }
</script>
```


Instruction: How do I optimize Core Web Vitals for SEO?

Output:
# Core Web Vitals Optimization

## The Three Metrics

### LCP (Largest Contentful Paint) - Target: <2.5s
Measures loading performance.

**Optimization:**
```html
<!-- Preload hero image -->
<link rel="preload" as="image" href="/hero.webp">

<!-- Use modern formats -->
<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="Description" loading="eager">
</picture>
```

```css
/* Optimize fonts */
@font-face {
  font-family: 'CustomFont';
  src: url('font.woff2') format('woff2');
  font-display: swap;
}
```

### FID/INP (Interaction to Next Paint) - Target: <200ms
Measures interactivity.

**Optimization:**
```javascript
// Break up long tasks
function processData(items) {
  const chunk = items.splice(0, 100);
  // Process chunk
  if (items.length > 0) {
    requestIdleCallback(() => processData(items));
  }
}

// Defer non-critical JS
<script src="analytics.js" defer></script>
```

### CLS (Cumulative Layout Shift) - Target: <0.1
Measures visual stability.

**Optimization:**
```html
<!-- Always set dimensions -->
<img src="image.jpg" width="800" height="600" alt="...">

<!-- Reserve space for ads -->
<div style="min-height: 250px;">
  <!-- Ad loads here -->
</div>
```

```css
/* Prevent font swap shift */
.text { font-synthesis: none; }

/* Aspect ratio for responsive images */
.image-container {
  aspect-ratio: 16 / 9;
}
```

## Quick Wins Checklist
- [ ] Compress and serve images in WebP/AVIF
- [ ] Enable Gzip/Brotli compression
- [ ] Use CDN for static assets
- [ ] Lazy load below-fold images
- [ ] Minimize render-blocking resources
- [ ] Set explicit image dimensions
- [ ] Use font-display: swap


Instruction: What's the best URL structure for SEO?

Output:
# SEO-Friendly URL Structure

## URL Best Practices

### Good URL Examples
```
https://example.com/products/blue-widget
https://example.com/blog/how-to-optimize-seo
https://example.com/services/web-design
```

### Bad URL Examples
```
https://example.com/p?id=12345
https://example.com/blog/post/2024/01/15/this-is-a-very-long-url-that-goes-on-forever
https://example.com/Category/Sub_Category/Product%20Name
```

## URL Rules
| Rule | Good | Bad |
|------|------|-----|
| Lowercase | /products/widget | /Products/Widget |
| Hyphens | /blue-widget | /blue_widget or /bluewidget |
| Short | /seo-guide | /the-complete-guide-to-seo-optimization-2024 |
| Descriptive | /running-shoes | /product/12345 |
| No special chars | /cafe-menu | /café-menu |
| No trailing slash | /page | /page/ |

## Folder Structure
```
/                          # Homepage
/about                     # About page
/products                  # Products landing
/products/category         # Category page
/products/category/item    # Product page
/blog                      # Blog index
/blog/post-title           # Blog post
```

## Technical Implementation
```html
<!-- Canonical URL -->
<link rel="canonical" href="https://example.com/products/widget">

<!-- Redirect www to non-www (or vice versa) -->
<!-- In .htaccess or server config -->
```

```javascript
// URL slug generation
function generateSlug(title) {
  return title
    .toLowerCase()
    .replace(/[^a-z0-9]+/g, '-')
    .replace(/^-|-$/g, '')
    .substring(0, 60);
}
```


Instruction: How do I create an effective internal linking structure?

Output:
# Internal Linking Strategy for SEO

## Link Architecture
```
Homepage
├── Category Pages (linked from nav)
│   ├── Subcategory Pages
│   │   └── Product/Content Pages (interlinked)
│   └── Related Categories (cross-linked)
└── Footer Links (legal, contact, sitemap)
```

## Best Practices

### 1. Descriptive Anchor Text
```html
<!-- Good -->
<a href="/seo-guide">complete SEO guide</a>

<!-- Bad -->
<a href="/seo-guide">click here</a>
<a href="/seo-guide">read more</a>
```

### 2. Contextual Relevance
Link to related content within body paragraphs, not just navigation.

### 3. Follow Link Hierarchy
- Homepage → Category → Subcategory → Detail pages
- 3 clicks max to any page

### 4. Link to Important Pages
Prioritize linking to:
- High-converting pages
- Pillar content
- New content (for indexing)

## Implementation Pattern
```html
<article>
  <p>
    When implementing <a href="/structured-data-guide">structured data</a>,
    you should also consider your <a href="/site-speed-optimization">site speed</a>.
    Learn more about <a href="/core-web-vitals">Core Web Vitals</a> requirements.
  </p>

  <aside class="related-posts">
    <h3>Related Articles</h3>
    <ul>
      <li><a href="/post-1">Related Post 1</a></li>
      <li><a href="/post-2">Related Post 2</a></li>
    </ul>
  </aside>
</article>
```

## Link Audit Checklist
- [ ] No orphan pages (pages with no internal links)
- [ ] No broken links (404s)
- [ ] Important pages have most internal links
- [ ] Anchor text is varied and descriptive
- [ ] Navigation is crawlable (no JS-only links)


Instruction: How do I optimize images for SEO?

Output:
# Image SEO Optimization

## File Optimization
```bash
# Convert to WebP
cwebp -q 80 image.jpg -o image.webp

# Resize for web
convert image.jpg -resize 1200x800 -quality 85 image-optimized.jpg
```

## HTML Implementation
```html
<!-- Responsive images with srcset -->
<img
  src="image-800.jpg"
  srcset="image-400.jpg 400w, image-800.jpg 800w, image-1200.jpg 1200w"
  sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px"
  alt="Descriptive alt text with keywords"
  width="800"
  height="600"
  loading="lazy"
>

<!-- Picture element for format fallback -->
<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="Description" width="800" height="600">
</picture>
```

## Alt Text Best Practices
```html
<!-- Good alt text -->
<img alt="Red Nike running shoes on white background" ...>

<!-- Bad alt text -->
<img alt="shoe" ...>
<img alt="IMG_2847.jpg" ...>
<img alt="" ...>  <!-- Only for decorative images -->
```

## File Naming
```
<!-- Good -->
red-nike-running-shoes.jpg
2024-annual-report-infographic.png

<!-- Bad -->
IMG_2847.jpg
image1.png
```

## Image Sitemap
```xml
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
  <url>
    <loc>https://example.com/page</loc>
    <image:image>
      <image:loc>https://example.com/image.jpg</image:loc>
      <image:title>Image Title</image:title>
      <image:caption>Image caption</image:caption>
    </image:image>
  </url>
</urlset>
```

## Optimization Checklist
- [ ] Compress all images (80-85% quality)
- [ ] Use WebP/AVIF with fallbacks
- [ ] Include width/height attributes
- [ ] Add descriptive alt text
- [ ] Use lazy loading for below-fold
- [ ] Descriptive file names
- [ ] Serve from CDN


Instruction: How do I optimize a website for mobile SEO?

Output:
# Mobile SEO Optimization

## Responsive Design
```html
<meta name="viewport" content="width=device-width, initial-scale=1.0">
```

```css
/* Mobile-first approach */
.container { width: 100%; padding: 1rem; }

@media (min-width: 768px) {
  .container { max-width: 720px; margin: 0 auto; }
}

@media (min-width: 1024px) {
  .container { max-width: 960px; }
}
```

## Touch-Friendly Design
```css
/* Minimum tap target size: 48x48px */
.button, .link {
  min-height: 48px;
  min-width: 48px;
  padding: 12px 24px;
}

/* Adequate spacing between targets */
.nav-links a {
  margin: 8px 0;
}
```

## Mobile Performance
```html
<!-- Preload critical resources -->
<link rel="preload" href="critical.css" as="style">
<link rel="preload" href="hero-mobile.webp" as="image" media="(max-width: 768px)">

<!-- Defer non-critical JS -->
<script src="app.js" defer></script>
```

## Avoid Mobile Issues
```css
/* Prevent horizontal scroll */
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* Readable font sizes */
body { font-size: 16px; line-height: 1.6; }

/* No fixed-width elements */
.bad { width: 500px; }  /* ✗ */
.good { max-width: 100%; } /* ✓ */
```

## Mobile Testing
1. Google Mobile-Friendly Test
2. Chrome DevTools Device Mode
3. Real device testing
4. PageSpeed Insights (mobile tab)

## Common Issues to Fix
- [ ] Viewport meta tag present
- [ ] No horizontal scrolling
- [ ] Tap targets properly sized
- [ ] Font sizes readable (16px+)
- [ ] No intrusive interstitials
- [ ] Fast load time (<3s on 4G)


Instruction: How do I create and optimize an XML sitemap?

Output:
# XML Sitemap Implementation

## Basic Sitemap Structure
```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/products</loc>
    <lastmod>2024-01-14</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
```

## Sitemap Index (for large sites)
```xml
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://example.com/sitemap-pages.xml</loc>
    <lastmod>2024-01-15</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-posts.xml</loc>
    <lastmod>2024-01-15</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-products.xml</loc>
    <lastmod>2024-01-15</lastmod>
  </sitemap>
</sitemapindex>
```

## Priority Guidelines
| Page Type | Priority |
|-----------|----------|
| Homepage | 1.0 |
| Category pages | 0.8 |
| Product/service pages | 0.7 |
| Blog posts | 0.6 |
| About/contact | 0.5 |
| Legal pages | 0.3 |

## robots.txt Reference
```
User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml
```

## Submission
1. Google Search Console → Sitemaps → Add
2. Bing Webmaster Tools → Sitemaps → Submit

## Best Practices
- Max 50,000 URLs per sitemap
- Max 50MB uncompressed
- Use gzip compression for large sitemaps
- Update lastmod only when content changes
- Include only canonical, indexable URLs
- Exclude noindex, redirected, or error pages


Instruction: How do I configure robots.txt for SEO?

Output:
# robots.txt Configuration Guide

## Basic Structure
```
# robots.txt for example.com

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /private/
Disallow: /api/
Disallow: /search?
Disallow: /*?utm_*

Sitemap: https://example.com/sitemap.xml
```

## Common Directives
```
# Block all crawlers from a directory
Disallow: /secret/

# Block only Googlebot
User-agent: Googlebot
Disallow: /no-google/

# Block all crawlers except Googlebot
User-agent: *
Disallow: /
User-agent: Googlebot
Allow: /

# Crawl delay (not supported by Google)
User-agent: Bingbot
Crawl-delay: 10
```

## What to Block
```
Disallow: /admin/           # Admin areas
Disallow: /cart/            # Shopping cart
Disallow: /checkout/        # Checkout process
Disallow: /account/         # User accounts
Disallow: /api/             # API endpoints
Disallow: /search           # Search results
Disallow: /*?sort=          # Sorted/filtered pages
Disallow: /*?page=          # Pagination params
Disallow: /thank-you        # Thank you pages
Disallow: /*.pdf$           # PDFs (optional)
```

## What NOT to Block
```
# Never block these
Allow: /css/
Allow: /js/
Allow: /images/
Allow: /*.css
Allow: /*.js
```

## Testing
1. Use Google Search Console robots.txt Tester
2. Verify: `https://example.com/robots.txt`

## Common Mistakes
- Blocking CSS/JS (breaks rendering)
- Using robots.txt for security (not secure!)
- Blocking crawlers from sitemaps
- Typos in directory names


Instruction: How does accessibility improve SEO?

Output:
# Accessibility for SEO

## Overlap Between A11y and SEO

### Alt Text
```html
<!-- Helps screen readers AND image search -->
<img src="chart.png" alt="Bar chart showing 50% growth in Q4 2024">
```

### Heading Structure
```html
<!-- Logical hierarchy helps both -->
<h1>Main Topic</h1>
  <h2>Subtopic 1</h2>
    <h3>Detail 1.1</h3>
  <h2>Subtopic 2</h2>
```

### Descriptive Links
```html
<!-- Good for screen readers AND anchor text SEO -->
<a href="/pricing">View our pricing plans</a>

<!-- Bad -->
<a href="/pricing">Click here</a>
```

### Semantic HTML
```html
<nav aria-label="Main">...</nav>
<main>...</main>
<aside>...</aside>
<footer>...</footer>
```

## ARIA Landmarks
```html
<header role="banner">
<nav role="navigation" aria-label="Primary">
<main role="main">
<aside role="complementary">
<footer role="contentinfo">
```

## Form Accessibility
```html
<form>
  <label for="email">Email Address</label>
  <input type="email" id="email" name="email" required
         aria-describedby="email-hint">
  <span id="email-hint">We'll never share your email</span>
</form>
```

## Skip Links
```html
<a href="#main-content" class="skip-link">Skip to main content</a>
```

```css
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 0;
  top: 0;
  padding: 8px;
  background: #000;
  color: #fff;
}
```

## Key Benefits
1. Better user experience → Lower bounce rate
2. Semantic markup → Better crawlability
3. Alt text → Image SEO
4. Descriptive links → Better anchor text
5. Keyboard accessible → Works without JS


Instruction: How do I improve page speed for better SEO rankings?

Output:
# Page Speed Optimization for SEO

## Critical Rendering Path
```html
<head>
  <!-- Critical CSS inline -->
  <style>
    /* Above-the-fold styles only */
    body { margin: 0; font-family: system-ui; }
    header { background: #333; color: white; }
  </style>

  <!-- Defer non-critical CSS -->
  <link rel="preload" href="styles.css" as="style" onload="this.onload=null;this.rel='stylesheet'">

  <!-- Preload critical resources -->
  <link rel="preload" href="hero.webp" as="image">
  <link rel="preconnect" href="https://fonts.googleapis.com">
</head>
```

## JavaScript Optimization
```html
<!-- Defer non-critical JS -->
<script src="analytics.js" defer></script>

<!-- Async for independent scripts -->
<script src="chat-widget.js" async></script>

<!-- Critical JS inline -->
<script>
  // Minimal inline JS for above-fold interactivity
</script>
```

## Image Optimization
```html
<img
  src="placeholder.jpg"
  data-src="actual-image.webp"
  loading="lazy"
  width="800" height="600"
  alt="Description"
>
```

## Caching Headers
```
# .htaccess
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
</IfModule>
```

## Compression
```
# Enable Brotli (preferred) or Gzip
<IfModule mod_brotli.c>
  AddOutputFilterByType BROTLI_COMPRESS text/html text/css application/javascript
</IfModule>
```

## Quick Wins
| Action | Impact |
|--------|--------|
| Enable compression | -70% file size |
| Optimize images | -50% image size |
| Use CDN | -30% latency |
| Browser caching | Faster repeat visits |
| Minify CSS/JS | -20% file size |
| Lazy load images | Faster initial load |

## Testing Tools
1. PageSpeed Insights
2. GTmetrix
3. WebPageTest
4. Chrome DevTools Performance


Instruction: How does HTTPS and security affect SEO?

Output:
# HTTPS & Security for SEO

## HTTPS Implementation
```
# Redirect HTTP to HTTPS
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
```

## Security Headers
```html
<!-- In server config or meta tags -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta http-equiv="X-Content-Type-Options" content="nosniff">
<meta http-equiv="X-Frame-Options" content="SAMEORIGIN">
```

```
# .htaccess security headers
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-XSS-Protection "1; mode=block"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
```

## SSL Certificate Checklist
- [ ] Valid SSL certificate (not expired)
- [ ] Certificate matches domain
- [ ] Full chain certificate installed
- [ ] No mixed content (HTTP on HTTPS pages)
- [ ] HSTS header enabled
- [ ] HTTP → HTTPS redirects in place

## SEO Impact
| Factor | Impact |
|--------|--------|
| HTTPS | Ranking signal (minor) |
| Page security | Trust signal |
| Mixed content | Can cause issues |
| Expired cert | Browser warnings = lost traffic |

## Common Issues
1. Mixed content warnings
2. Redirect chains (HTTP → HTTPS → www)
3. Canonical URLs not updated to HTTPS
4. Internal links still pointing to HTTP
5. Sitemap URLs not updated


Instruction: How do I implement hreflang for international SEO?

Output:
# International SEO with hreflang

## hreflang Implementation
```html
<head>
  <!-- Current page in multiple languages -->
  <link rel="alternate" hreflang="en" href="https://example.com/page">
  <link rel="alternate" hreflang="es" href="https://example.com/es/page">
  <link rel="alternate" hreflang="fr" href="https://example.com/fr/page">
  <link rel="alternate" hreflang="de" href="https://example.de/page">

  <!-- Default fallback -->
  <link rel="alternate" hreflang="x-default" href="https://example.com/page">
</head>
```

## URL Structures
```
# Subdirectories (Recommended)
example.com/en/
example.com/es/
example.com/fr/

# Subdomains
en.example.com
es.example.com

# ccTLDs (Country-specific)
example.com (US)
example.co.uk (UK)
example.de (Germany)
```

## Language + Region Codes
```html
<!-- Language only -->
hreflang="en"
hreflang="es"

<!-- Language + Region -->
hreflang="en-US"
hreflang="en-GB"
hreflang="es-MX"
hreflang="es-ES"
```

## XML Sitemap Method
```xml
<url>
  <loc>https://example.com/page</loc>
  <xhtml:link rel="alternate" hreflang="en" href="https://example.com/page"/>
  <xhtml:link rel="alternate" hreflang="es" href="https://example.com/es/page"/>
  <xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/page"/>
</url>
```

## Common Mistakes
- Missing return links (A→B but not B→A)
- Incorrect language codes
- Forgetting x-default
- Different content on same hreflang
- Using hreflang for same-language regions only

## Validation
Use Google Search Console's International Targeting report


Instruction: How do I optimize a website for local SEO?

Output:
# Local SEO Optimization

## Google Business Profile
- Claim and verify listing
- Complete all information
- Add photos regularly
- Respond to reviews
- Post updates weekly

## Local Schema Markup
```json
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Business Name",
  "image": "https://example.com/photo.jpg",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "New York",
    "addressRegion": "NY",
    "postalCode": "10001",
    "addressCountry": "US"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": "40.7128",
    "longitude": "-74.0060"
  },
  "url": "https://example.com",
  "telephone": "+1-212-555-1234",
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
      "opens": "09:00",
      "closes": "17:00"
    }
  ]
}
```

## NAP Consistency
Ensure Name, Address, Phone is IDENTICAL everywhere:
- Website
- Google Business Profile
- Yelp
- Facebook
- Industry directories
- Local citations

## Local Content
- City/neighborhood pages
- Local event coverage
- Community involvement
- Local case studies
- Area-specific services

## Local Keywords
```html
<title>Plumber in Brooklyn, NY | Company Name</title>
<meta name="description" content="Brooklyn's trusted plumber serving Park Slope, Williamsburg, and DUMBO. 24/7 emergency service. Call 555-1234.">

<h1>Professional Plumbing Services in Brooklyn</h1>
```

## Review Strategy
1. Ask satisfied customers
2. Make it easy (direct links)
3. Respond to all reviews
4. Address negative reviews professionally


Instruction: What are the key SEO elements for e-commerce websites?

Output:
# E-Commerce SEO Essentials

## Product Page Optimization
```html
<head>
  <title>Blue Running Shoes - Nike Air Max | Store Name</title>
  <meta name="description" content="Nike Air Max running shoes in blue. Free shipping over $50. 30-day returns. In stock and ready to ship.">
  <link rel="canonical" href="https://store.com/products/nike-air-max-blue">
</head>
```

## Product Schema
```json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Nike Air Max",
  "image": ["front.jpg", "side.jpg", "back.jpg"],
  "description": "Premium running shoes...",
  "sku": "NIKE-AM-001",
  "brand": {"@type": "Brand", "name": "Nike"},
  "offers": {
    "@type": "Offer",
    "url": "https://store.com/products/nike-air-max",
    "priceCurrency": "USD",
    "price": "129.99",
    "availability": "https://schema.org/InStock",
    "seller": {"@type": "Organization", "name": "Store Name"}
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "89"
  }
}
```

## Category Pages
- Unique descriptions (not just product lists)
- Faceted navigation with proper canonicals
- Pagination with rel="next/prev"
- Include relevant keywords naturally

## Common E-Commerce Issues
1. **Duplicate content**: Product variants, sorting, filtering
2. **Thin content**: Auto-generated descriptions
3. **Crawl budget**: Faceted navigation creating millions of URLs
4. **Out of stock**: Handle with 404, redirect, or hide

## Faceted Navigation
```html
<!-- Block filter combinations in robots.txt + noindex -->
<meta name="robots" content="noindex, follow">

<!-- Or use canonical to main category -->
<link rel="canonical" href="https://store.com/shoes">
```

## Key Pages Checklist
- [ ] Unique product descriptions
- [ ] High-quality images with alt text
- [ ] Customer reviews
- [ ] Clear pricing and availability
- [ ] Related products section
- [ ] Breadcrumb navigation
- [ ] Mobile-optimized checkout