A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
🚀 End-to-end AI automation system that generates production-ready Facebook ads in minutes. Replaces entire marketing te
Facebook Ad Manager System is a fully automated ad production pipeline designed for marketing agencies, e-commerce businesses, and small teams. Input your product details, and watch as AI handles everything from market research to final ad creatives.
Traditional ad creation requires:
This system does it all in minutes, with consistent quality and unlimited variations.
| Category | Technology | Purpose |
|---|---|---|
| Database & UI | Airtable | Product management, content storage, workflow triggers |
| Automation | n8n | Workflow orchestration, API integration, data processing |
| AI Models | Claude AI (Sonnet 4.5) | Market research, copywriting, prompt engineering |
| Google Gemini | Image generation from prompts | |
| Perplexity AI | Real-time market intelligence | |
| OpenAI | Creative variations and fallback generation | |
| Image Hosting | ImageKit | CDN-hosted image storage and delivery |
| Integration | Webhooks | Real-time triggers between Airtable and n8n |
┌─────────────────────────────────────────────────────────────────┐
│ AIRTABLE INTERFACES │
├─────────────────────────────────────────────────────────────────┤
│ │
│ [1] Product Input → [2] Research Data → [3] Ad Copy → [4] Images│
│ │
└───────────────────────┬─────────────────────────────────────────┘
│ Webhooks
↓
┌─────────────────────────────────────────────────────────────────┐
│ N8N WORKFLOWS │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Flow 1: Research → Claude AI → Airtable Update │
│ Flow 2: Copywriting → Claude AI → Airtable Update │
│ Flow 3: Prompt Gen → Claude AI → Batch Processing │
│ Flow 4: Image Gen → Gemini → ImageKit → Airtable │
│ │
└───────────────────────┬─────────────────────────────────────────┘
│
↓
┌─────────────────────────────────────────────────────────────────┐
│ AI SERVICES │
├─────────────────────────────────────────────────────────────────┤
│ │
│ • Claude AI (Research, Copy, Prompts) │
│ • Gemini (Image Generation) │
│ • Perplexity (Market Data) │
│ • OpenAI (Creative Variations) │
│ │
└─────────────────────────────────────────────────────────────────┘
Before installation, ensure you have:
git clone https://github.com/awaisali36/facebook-ad-manager.git
cd facebook-ad-manager
Import the Base Template
airtable-templates/ folderhttps://airtable.com/appiMP69otrP0K89q/shrdOO4CBi6FRHcLE base into your Airtable workspaceConfigure Four Interfaces
Set Up Automations
Import Workflows
# Import all 4 workflow JSON files from n8n-workflows/
- flow-1-research.json
- flow-2-adcopy.json
- flow-3-prompts.json
- flow-4-images.json
Configure Credentials
Update Webhook URLs
Navigate to the Product Input interface and enter:
This triggers Flow 1 automatically.
The system automatically:
Output Example:
Target Audience: Remote workers, 25-45, experiencing back pain
Pain Points: Poor posture, discomfort during long work sessions
Solutions: Ergonomic lumbar support, adjustable height, breathable mesh
Click "Generate Ad Copy" to produce:
Output Example:
Headline: "Say Goodbye to Back Pain While Working"
Primary Text: "Our ErgoChair Pro supports your spine with medical-grade
lumbar technology. Join 10,000+ pain-free remote workers today."
CTA: "Get 30% Off Now"
Click "Generate Image Prompt" to create 10 variations:
Prompt 1: Professional home office setup with ergonomic chair,
side angle view, natural lighting, modern minimalist aesthetic...
Prompt 2: Close-up of chair's lumbar support mechanism,
highlighting adjustable features, soft blue tones...
[...8 more variations]
Select desired prompts and click "Generate Images":
Result: 10 production-ready ad images linked to your campaign!
Trigger: Airtable button click → Webhook POST to n8n
Process:
Duration: ~30 seconds
Trigger: "Generate Ad Copy" button → Webhook POST
Process:
Duration: ~20 seconds
Trigger: "Generate Image Prompt" button → Webhook POST
Process:
Duration: ~40 seconds
Trigger: "Generate Images" button → Webhook POST
Process:
Duration: ~60 seconds per image
Headers: {
"Authorization": "Bearer YOUR_CLAUDE_API_KEY",
"Content-Type": "application/json"
}
Headers: {
"Authorization": "Bearer YOUR_GEMINI_API_KEY"
}
// Base64 encode your private key
const encoded = Buffer.from("YOUR_PRIVATE_KEY:").toString('base64');
Headers: {
"Authorization": `Basic ${encoded}`
}
Headers: {
"Authorization": "Bearer YOUR_AIRTABLE_TOKEN",
"Content-Type": "application/json"
}
Problem: Button click doesn't start automation
Solution:
Problem: Image generation fails after multiple requests
Solution:
Problem: ImageKit returns 401 Unauthorized
Solution:
Problem: Ad copy doesn't parse correctly
Solution:
We welcome contributions! Here's how you can help:
[FEATURE] prefixgit checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-feature# Clone your fork
git clone https://github.com/yourusername/facebook-ad-manager.git
# Create development branch
git checkout -b dev/your-feature
# Install dependencies (if any)
npm install
# Make changes and test thoroughly
# Submit PR when ready
This project is licensed under the MIT License - see the LICENSE file for details.
✅ Commercial use allowed
✅ Modification allowed
✅ Distribution allowed
✅ Private use allowed
Built with incredible tools from:
Made with ❤️ by Trilles AI
⭐ Star this repo if it saved you time!
📢 Share with marketing teams who need this!
🔗 Fork and customize for your agency!
An AI-powered custom node for ComfyUI designed to enhance workflow automation and provide intelligent assistance
Deterministic multi-agent pipeline for end-to-end software development, orchestrating CLI-based AI tools (e.g. Gemini, C
💻 A curated list of papers and resources for multi-modal Graphical User Interface (GUI) agents.
npx CLI installing 100+ agents, commands, hooks, and integrations in one command