| name | fb-marketplace:process-inbox |
| description | Use when processing raw product photos from the inbox folder into organized listing folders. Analyzes images, groups them by item, creates descriptive folder names, and moves files to listings/. |
Process Inbox Images
Every listing we create starts here. We transform raw photos in inbox/ into organized listing folders in listings/, grouping images of the same item together based on visual analysis.
Requirements
Before proceeding, you MUST:
- Have images in the
inbox/ folder at the project root
- Commit to analyzing ALL images before grouping - never assume from filenames
- Create descriptive folder names that will work as listing titles
Workflow
digraph process_inbox {
rankdir=TB;
node [shape=box];
start [label="Start" shape=ellipse];
scan [label="1. IMMEDIATELY scan\ninbox for all images"];
empty [label="Report: No images found" shape=ellipse];
analyze [label="2. Analyze EVERY image\nIdentify product and features"];
group [label="3. Group images by item\nSame product = same group"];
name [label="4. Generate folder name\nBrand + Product + Feature"];
create [label="5. Create folder in listings/"];
move [label="6. Move images to folder"];
more [label="More groups?" shape=diamond];
done [label="Report results" shape=ellipse];
start -> scan;
scan -> empty [label="no images"];
scan -> analyze [label="images found"];
analyze -> group;
group -> name;
name -> create;
create -> move;
move -> more;
more -> name [label="yes"];
more -> done [label="no"];
}
Steps
1. Scan Inbox
IMMEDIATELY scan inbox/ for all image files. Supported formats - check for all of these:
.jpeg, .jpg, .png, .heic,