home / skills / dkyazzentwatwa / chatgpt-skills / batch-qr-generator

batch-qr-generator skill

/batch-qr-generator

This skill generates bulk QR codes from CSV data with optional UTM tracking, logos, and styling for events, products, and campaigns.

npx playbooks add skill dkyazzentwatwa/chatgpt-skills --skill batch-qr-generator

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
1.6 KB
---
name: batch-qr-generator
description: Use when asked to generate multiple QR codes from CSV data, create bulk QR codes with tracking, or generate QR codes for events/products.
---

# Batch QR Generator

Generate bulk QR codes from CSV data with UTM tracking, logos, and customizable styling for events, products, and marketing.

## Purpose

Bulk QR code generation for:
- Event ticketing and check-in
- Product inventory tracking
- Marketing campaign tracking (UTM parameters)
- Business card contact sharing
- Bulk URL shortening with QR codes

## Features

- **CSV Input**: Generate from spreadsheet data
- **UTM Tracking**: Auto-add campaign tracking parameters
- **Custom Styling**: Colors, logos, error correction
- **Sequential Naming**: Auto-generate filenames
- **Metadata Export**: CSV with QR data and filenames
- **Format Options**: PNG, SVG output

## Quick Start

```python
from batch_qr_generator import BatchQRGenerator

# Generate from CSV
generator = BatchQRGenerator()
generator.load_csv('products.csv', url_column='product_url')
generator.add_utm_params(source='catalog', medium='qr', campaign='2024Q1')
generator.generate_batch(output_dir='qr_codes/')
```

## CLI Usage

```bash
# Generate QR codes from CSV
python batch_qr_generator.py --csv products.csv --url-column url --output-dir qr_codes/

# Add UTM tracking
python batch_qr_generator.py --csv products.csv --url-column url --utm-source catalog --utm-campaign 2024Q1 --output-dir qr_codes/

# Add logo
python batch_qr_generator.py --csv urls.csv --url-column link --logo logo.png --output-dir branded_qr/
```

Overview

This skill generates bulk QR codes from CSV data with optional UTM tracking, logos, and style customization. It produces high-quality PNG or SVG outputs and exports metadata for easy integration with inventory, events, or marketing workflows. Designed for reliable, repeatable batch generation and sequential naming for large runs.

How this skill works

Load a CSV that contains a column with URLs or payloads, specify the URL column, and the tool appends optional UTM parameters to each link. You can configure colors, error correction, and an embedded logo, then export QR images to a folder while also saving a metadata CSV that maps input rows to generated filenames. Commands are available via a Python API and a CLI for automation.

When to use it

  • Creating QR codes for thousands of event tickets or check-in links.
  • Generating branded product QR codes for inventory or packaging.
  • Running marketing campaigns that require UTM tracking per QR code.
  • Bulk-creating business card or contact QR codes from a contact list.
  • Converting a spreadsheet of shortened URLs into downloadable QR assets.

Best practices

  • Provide a clean CSV with a dedicated URL column to avoid mismatches.
  • Use UTM parameters for campaign analytics and consistent naming conventions.
  • Choose an appropriate error correction level when embedding logos.
  • Export SVG for print-ready vector output, PNG for raster use online.
  • Preview a small sample batch before generating the full run.

Example use cases

  • Event organizer generates QR tickets with unique check-in links and sequential filenames for scanning at doors.
  • E-commerce brand creates branded product QR codes with UTM tags to track catalog-driven sales.
  • Marketing team converts a campaign URL list into tracked QR codes for a print mailer.
  • Warehouse manager bulk-generates inventory labels that link to product pages and stock records.
  • Sales team builds contact QR codes from a roster CSV for quick sharing at conferences.

FAQ

Can I add UTM parameters to every QR automatically?

Yes. You can specify UTM source, medium, campaign, and optional term/content; the skill appends them to each URL consistently.

What output formats are supported?

PNG and SVG are supported. PNG is ideal for web and raster workflows; SVG is recommended for print and large-format output.