adobe-create-pdfs-from-data

Merges CSV or TSV data with InDesign templates to generate personalized PDF documents.

1|Updated Jun 22, 2026
One-click install
npx skills add https://github.com/aemgdc/aemdev --skill adobe-create-pdfs-from-data-aemgdc
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: adobe-create-pdfs-from-data
Source: https://github.com/aemgdc/aemdev/tree/main/.agents/skills/adobe-create-pdfs-from-data
Command: npx skills add https://github.com/aemgdc/aemdev --skill adobe-create-pdfs-from-data-aemgdc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Merging a data file with an InDesign layout template manually is error-prone: templates often lack linked data-merge placeholders, PDF templates must be converted to .indd first, and multi-page PDFs break the merge. This Skill orchestrates the full pipeline so each row of your data file becomes a rendered PDF page. ## Core Features & Use Cases - PDF-to-INDD conversion: Inspects page layouts, distills multi-page PDFs to a single-layout template, and converts them to .indd automatically. - Automatic placeholder creation: Exports IDML, detects existing merge fields, and generates an LLM-assisted mapping between template frames and data columns when none exist. - Approval-gated merge: Shows the field mapping for explicit user confirmation before modifying the template, then runs the data merge with optional image assets. - Use Case: You have a CSV of 500 employee names and photos plus a badge layout PDF. The Skill converts the layout, maps name and photo fields to CSV columns, and produces 500 personalized badge PDFs. ## Quick Start Merge my CSV file of attendee names with this badge template PDF and generate one personalized PDF per row.

Frequently Asked Questions about adobe-create-pdfs-from-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge a CSV file with an InDesign template?▼

Provide the .indd template URL and the CSV or TSV data file. The Skill exports IDML to detect existing merge placeholders, creates them via an LLM-generated mapping if none exist, and runs document_merge_data_layout to render one PDF page per data row.

Can I use a PDF instead of an .indd file as the data merge template?▼

Yes, a PDF template is converted to .indd automatically using convert_pdf_to_indd. Multi-page PDFs are first inspected page by page and distilled to a single representative layout, since a multi-page INDD would break the merge.

Does InDesign data merge support images from a data file?▼

Yes, image columns in the data file are supported. Each referenced image is uploaded or linked via presigned URLs and passed as additionalImageFiles to the merge step, matching @-prefixed image fields in the template.

Why does the workflow stop before creating placeholders in the template?▼

The Skill enforces a mandatory approval gate: the generated field mapping is shown as a summary plus raw JSON, and the turn ends. prepare_indd_merge_template only runs after you explicitly confirm the mapping in a later turn.

What happens if my InDesign template already has data merge placeholders?▼

The IDML inspection step detects existing <<fieldName>> placeholders and skips the mapping phase entirely. The merge runs directly against the original .indd using the detected fields matched to your data columns.

Why does the data merge fail after running document_merge_data_layout?▼

Failures usually come from template variable names not matching CSV column headers exactly, or inaccessible file URLs. The Skill surfaces the raw error and recommends verifying that placeholder names and data headers align precisely.