Question
Best practices for importing Salsify data (CSV/JSON) to create Content Fragments in AEM
Hi Community,
I’m looking for suggestions and best practices around importing Salsify product data into AEM, specifically for creating or updating Content Fragments.
Current Architecture
- Salsify product data is exported and stored in AEM DAM as
.txtfiles. - AEM Workflow is triggered on these DAM assets
- The workflow:
- Reads the Salsify JSON
- Creates Product Pages
- Sets product properties on the pages based on the JSON
- This approach is currently page‑centric, driven by workflow logic
New / Evolving Requirement
We are exploring a shift to:
- Content Fragments as the primary product data source
- Importing product data via:
- CSV files where one or more columns contain Salsify JSON, or
- Directly from JSON assets
- Mapping Salsify attributes to Content Fragment Models
- Supporting re‑imports / updates (idempotent behavior)
What I’m Looking For
I’d appreciate guidance on:
- Recommended patterns for CSV/JSON → Content Fragment creation
- Whether workflows are still the preferred approach, or if:
- Custom servlets
- Schedulers
- Asset processing
- Or other AEM-native mechanisms are better suited
- How teams are handling:
- Large Salsify JSON payloads
- Partial updates vs full re‑imports
- Storing raw source JSON for traceability
- Any lessons learned from real-world Salsify + AEM integrations
We’re currently on AEM as a Cloud Service and dealing with product data at scale, so performance and maintainability are important.
Looking forward to hearing how others have approached this.
Thanks in advance!