n8n Workflows for Vibe Marketing
Automate your marketing research, content creation, and publishing with n8n.
Overview
n8n is a workflow automation tool that connects:
- Claude/AI services
- Google Sheets/Docs
- Social platforms (Slack, Reddit)
- Data scrapers (Apify)
- Databases (Supabase)
Available Workflow Guides
| Workflow | Purpose | Guide Link |
|---|---|---|
| Google Sheets + n8n | Data collection & storage | Setup Guide |
| Slack + n8n | Team notifications & triggers | Setup Guide |
| Reddit + n8n | Social monitoring | Setup Guide |
| Apify + n8n | Web scraping pipelines | Setup Guide |
| Apify Google Maps | Local business scraping | Setup Guide |
1. Google Sheets + n8n Integration
Setup Steps
Step 1: Google Cloud Console
- Go to Google Cloud Console
- Create a new project
- Enable Google Sheets API and Google Drive API
Step 2: OAuth2 Creation
- Go to API Library → select Google Sheets
- Create OAuth2 credentials
- Keep Client ID and Client Secret
Step 3: n8n Configuration
- In n8n, add Google Sheets node
- Create new credential with OAuth2
- Paste Client ID and Client Secret
- Sign in with Google to complete connection
Use Cases
| Workflow | Trigger | Action |
|---|---|---|
| Lead Collection | Form submission | Append row to sheet |
| Content Calendar | Scheduled | Read upcoming posts |
| Analytics Sync | Daily | Update metrics sheet |
2. Slack + n8n Integration
Setup Steps (7 Steps)
#1: Create Your Slack App
- Go to https://api.slack.com/apps
- Click "Create New App"
- Choose "From Scratch"
- Enter App Name (e.g., "Slack Alert Bot")
- Select your Workspace
- Click "Create App"
#2: Add Bot Permissions (Scopes)
channels:history- Read channel messageschannels:read- View basic channel infochat:write- Send messagesapp_mentions:read- Detect @mentions
#3: Install to Workspace
- Install the app
- Copy Bot User OAuth Token
#4: Set Up Slack Trigger in n8n
- Add Slack Trigger node
- Create new credential with OAuth token
- Select events to listen for
#5: Invite Bot to Channel
- In Slack:
/invite @your-bot-name
#6: Enable Event Subscriptions
- Enter n8n webhook URL
- Subscribe to bot events
#7: Respond to Slack
- Add Slack node for responses
- Configure channel and message
Use Cases
| Workflow | Trigger | Action |
|---|---|---|
| Alert Bot | Keyword mention | Notify channel |
| Approval Flow | Reaction added | Update status |
| Research Digest | Scheduled | Post summary |
3. Reddit + n8n Integration
Purpose
- Monitor subreddits for keywords
- Track competitor mentions
- Find content ideas
- Identify customer pain points
Workflow Components
Reddit API → n8n → Claude (Analysis) → Slack/Sheets
Setup Steps (OAuth without Reddit API Node)
Step 1: Create a Reddit App in Developer Console
- Go to https://www.reddit.com/prefs/apps while logged into your Reddit account
- Scroll down to Developed Applications and click Create App
- Fill in:
- Name: Any project name (e.g.,
n8n-test) - App type: Choose Script (personal) or Web App (OAuth flow with redirect)
- Redirect URI: Enter n8n's OAuth redirect URL:
https://your-n8n-instance.com/rest/oauth2-credential/callback
- Name: Any project name (e.g.,
- Click Create App and note down:
- Client ID (under the app name)
- Client Secret (labeled "secret")
Step 2: Configure OAuth2 Credentials in n8n
- In n8n, go to Credentials → Add Credential → OAuth2 API
- Configure:
- Grant Type: Authorization Code
- Authorization URL:
https://www.reddit.com/api/v1/authorize - Access Token URL:
https://www.reddit.com/api/v1/access_token - Client ID: Your Reddit app's client ID
- Client Secret: Your Reddit app's secret
- Scope:
read identity history - Auth URI Query Parameters:
duration=permanent - Authentication: Send as Basic Auth Header
Step 3: Authorize the Credential
- Click Connect my account in n8n
- Reddit will ask you to authorize the app
- Click Allow to grant permissions
- n8n will receive the access token automatically
Key Features
- Keyword monitoring across subreddits
- Sentiment analysis on posts
- Automated alerts for brand mentions
- Content opportunity detection
4. Apify + n8n Integration
Purpose
- Scrape social media profiles
- Extract Google Maps data
- Build lead databases
- Monitor competitor content
Apify Setup: Quick & Simple Guide
Step 1: Find the Right Actor
- Go to the Apify Actors page
- Search for the actor you want (e.g., Facebook Scraper, Website Crawler, Reddit Scraper)
- Tip: Use filters like "per result", "per event", or "usage pricing" to test efficiently with credits
Step 2: Set Up and Run the Actor
- Click on the actor you want
- Switch to the "Manual Input" tab
- Enter the required input data
- Click Start to run the scraper
- Wait for completion
Step 3: Get Results via API
- Go to Runs tab after completion
- Click on the completed run
- Find the Dataset ID in the run details
- Use this endpoint to get results:
https://api.apify.com/v2/datasets/{DATASET_ID}/items?token={YOUR_API_TOKEN}
Step 4: Use in n8n (HTTP Request Node)
- Add HTTP Request node in n8n
- Set Method: GET
- URL:
https://api.apify.com/v2/datasets/{DATASET_ID}/items - Add Query Parameter:
token= Your Apify API token - Process the JSON response as needed
Google Maps Local Market Research Workflow
Pro Tip: Run on Apify first, then use HTTP Get node on n8n. This saves API hit limits, time, and $$ (avoids timeouts and testing issues).
Step 1: Select Google Maps Scraper
- Go to Apify and search for "Google Maps Scraper"
- Recommended: compass/crawler-google-places (4.5 stars, 100K+ users)
- Cost: ~$4 per 1,000 places
Step 2: Configure Search Parameters
- Enter Search terms (keywords of your niche):
- Example:
outdoor kitchen designer - Example:
custom pool builder
- Example:
- Set Location:
Houston, Texas(one location per run) - Set Number of places to extract: Leave empty for unlimited or set a limit
Step 3: Run and Export
- Click Start to run the scraper
- Wait for completion (can take several minutes)
- Export results to CSV or JSON
- Import to Google Sheets for further processing
Google Maps Scraping Workflow
Apify Google Maps Scraper
↓
n8n HTTP Request (Get Dataset)
↓
Google Sheets (Storage)
↓
Claude (Lead Scoring & Enrichment)
Available Apify Actors for Marketing
| Actor | Purpose | Pricing |
|---|---|---|
| Google Maps Scraper | Local business leads | $4/1000 places |
| Reddit Scraper | Community insights | Per result |
| LinkedIn Scraper | B2B lead gen | Per profile |
| TikTok Scraper | Trending content | Per result |
| Facebook Scraper | Social data | Per result |
| Website Crawler | Competitor analysis | Per page |
Use Cases
| Data Source | Output | Marketing Use |
|---|---|---|
| Google Maps | Business list | Local lead gen |
| Profile data | B2B outreach | |
| TikTok | Trending content | Content ideas |
| Discussions | Market research |
Marketing Automation Workflows
1. Research-to-Content Pipeline
Trigger: Weekly schedule
↓
Perplexity: Get trending topics
↓
Claude: Generate content brief
↓
Google Sheets: Add to calendar
↓
Slack: Notify team
2. Competitor Monitoring
Trigger: Daily schedule
↓
Firecrawl: Scrape competitor blog
↓
Claude: Identify new content
↓
Compare: Find gaps
↓
Slack: Alert opportunities
3. Lead Generation Pipeline
Trigger: New form submission
↓
Google Sheets: Store lead
↓
Claude: Score lead
↓
Slack: Notify sales
↓
Email: Send welcome sequence
4. Content Repurposing
Trigger: New blog post
↓
Claude: Extract key points
↓
Generate: Twitter thread
↓
Generate: LinkedIn post
↓
Generate: Newsletter section
↓
Schedule: Post across platforms
Best Practices
Workflow Design
- Start simple, add complexity gradually
- Test each node before connecting
- Use error handling nodes
- Add logging for debugging
Performance
- Avoid unnecessary API calls
- Cache frequently used data
- Set appropriate rate limits
- Use scheduled triggers wisely
Security
- Never expose API keys
- Use n8n credentials system
- Limit access to sensitive workflows
- Regular audit of permissions
Troubleshooting
Common Issues
| Issue | Cause | Solution |
|---|---|---|
| OAuth failed | Token expired | Reconnect credential |
| Timeout | Large data | Add pagination |
| Rate limited | Too many calls | Add delays |
| Empty response | Wrong selector | Update query |
Debug Tips
- Check individual node execution
- Review input/output data
- Verify API credentials
- Test with minimal data first