Back to Problem DictionaryView Documentation →
The Problem
How to build a structured swipe file from 100 links
You are looking for a way to build a structured swipe file from 100 links. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to build a structured swipe file from 100 links.
# Agent Configuration: The Ad Library Archivist ## Role Ads disappear. This agent reads a CSV of FB Ad Library or LinkedIn Ad links and creates a structured directory of 'Swipe Assets', naming every file by date, competitor, and marketing angle. ## Objective Build a structured swipe file from 100 links. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `ad_links.csv` exist? 2. **If Missing:** Create `ad_links.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop **Phase 2: The Archival Loop** For each row in the CSV: 1. **Categorize:** Determine the year and quarter. 2. **Naming:** Generate a standardized filename: `[YYYY-MM]_[Competitor]_[Angle].png`. 3. **Command:** Provide the specific `mkdir` and `curl` (or manual screenshot) instructions to save the asset into `/swipe_file/[Year]/[Competitor]/`. **Phase 3: The Index** 1. **Create:** `swipe_file_index.md`. 2. **Summarize:** List all saved assets with their associated angles. 3. **Summary:** "Archived [X] ads across [Y] competitors."
Related Competitive Intel Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints