Systems and techniques for reducing repetitive work in design practice.
Automation eliminates tedious repetition, reduces errors, and frees time for creative work. From simple batch operations to complex workflows, automation compounds efficiency over time. Start small, automate what you repeat, and build gradually.
Why Automate
Time Savings
Repetitive tasks consume hours:
- Exporting assets at multiple sizes
- Renaming files consistently
- Creating variations of designs
- Generating reports
Automation does this in seconds.
Consistency
Manual processes introduce variation:
- Human error in repetitive tasks
- Inconsistent naming
- Forgotten steps
Automation ensures identical execution every time.
Scale
Some tasks are only feasible with automation:
- Generating 100 color variations
- Creating assets for multiple platforms
- Processing large asset libraries
Automation Levels
Level 1: Tool Features
Built-in automation within applications:
Figma:
- Batch rename layers
- Create multiple components
- Auto layout for responsive
- Variants for states
Illustrator:
- Actions for recorded sequences
- Variable data with data sets
- Scripts panel
- Batch export
Photoshop:
- Actions for repetitive edits
- Batch processing
- Droplets
- Image processor
Level 2: Plugins and Extensions
Enhanced automation via plugins:
- Export plugins with presets
- Batch operation plugins
- Data population plugins
- Integration plugins
See Plugin Recommendations for specific tools.
Level 3: Scripts
Custom code for specific needs:
Figma:
- Plugins with custom logic
- REST API for external control
Illustrator/Photoshop:
- JavaScript/ExtendScript
- AppleScript (Mac)
- Custom panels
InDesign:
- JavaScript/ExtendScript
- GREP for text patterns
- Data merge
Level 4: System Automation
Beyond design applications:
Keyboard Maestro (Mac):
- Macro recording
- Complex workflows
- Cross-application automation
Automator (Mac):
- Built-in workflow builder
- File operations
- Simple sequences
Power Automate (Windows):
- Microsoft ecosystem automation
- File and cloud operations
Zapier/Make:
- Cloud service connections
- Trigger-based workflows
- Cross-platform integration
Level 5: Custom Development
Building specific solutions:
Node.js scripts:
- File processing
- API interactions
- Build pipelines
Python scripts:
- Data processing
- Image manipulation (Pillow)
- PDF operations
Design tool APIs:
- Figma API for programmatic access
- Adobe SDK for extensions
Common Automation Opportunities
Asset Export
Problem: Exporting same designs at multiple sizes and formats
Solutions:
- Figma: Export presets and plugins
- Illustrator: Asset Export panel
- Scripts for batch processing
File Naming
Problem: Consistent naming across many files
Solutions:
- Rename It plugin (Figma)
- Automator rename action (Mac)
- Batch rename utilities
Mockup Generation
Problem: Placing designs in multiple mockup templates
Solutions:
- Photoshop Actions
- Smart object automation
- Dedicated mockup tools
Version Creation
Problem: Creating color or text variations
Solutions:
- Figma variants
- Illustrator data-driven graphics
- Script-based generation
Documentation Updates
Problem: Keeping specs and documentation current
Solutions:
- Figma inspection tools
- Automated documentation plugins
- Token export to documentation
Building Automation
Start Simple
Begin with:
- Built-in features you're not using
- Recording simple actions
- One-step time savers
Identify Candidates
Good automation targets:
- Tasks you do frequently
- Steps that are identical each time
- Error-prone processes
- Time-consuming sequences
Document and Refine
As you build:
- Document what automations do
- Note any manual steps required
- Refine based on use
- Share with team
Common Patterns
Input → Process → Output:
- Define inputs clearly
- Process should be deterministic
- Outputs should be predictable
Trigger → Action:
- On file save, do X
- On export, do Y
- On schedule, do Z
Automation Tools Deep Dive
Photoshop Actions
Recording and replaying sequences:
- Open Actions panel
- Create new action, press record
- Perform the steps
- Stop recording
- Play action on other files
Tips:
- Use relative, not absolute positioning
- Handle layers by name, not position
- Test on various file types
- Create action sets by purpose
Illustrator Scripts
JavaScript automation:
// Simple example: export all artboards as PNG
var doc = app.activeDocument;
var options = new ExportOptionsPNG24();
options.artBoardClipping = true;
for (var i = 0; i < doc.artboards.length; i++) {
doc.artboards.setActiveArtboardIndex(i);
var file = new File(doc.path + "/" + doc.artboards[i].name + ".png");
doc.exportFile(file, ExportType.PNG24, options);
}
Figma API
REST API for external automation:
// Example: Get file components
fetch('https://api.figma.com/v1/files/FILE_KEY/components', {
headers: {
'X-Figma-Token': 'YOUR_TOKEN'
}
})
.then(response => response.json())
.then(data => console.log(data));
Use cases:
- Generate assets programmatically
- Sync with external systems
- Build custom integrations
- Automate reporting
Keyboard Maestro (Mac)
Visual macro builder:
- Record user actions
- Build complex sequences
- Trigger by hotkey, time, or event
- Cross-application workflows
Design uses:
- Custom export workflows
- Multi-app sequences
- Repetitive UI interactions
- File organization
Automation Maintenance
Documentation
Record:
- What each automation does
- How to trigger it
- Any dependencies
- Troubleshooting notes
Testing
When tools update:
- Test automations still work
- Update for new features
- Fix breaking changes
Iteration
Improve over time:
- Add error handling
- Expand capabilities
- Optimize performance
- Share improvements