This script imports generic HTML information into your Crystallize PIM. The script uses the GraphQL PIM API in Crystallize to create an item with a Rich Text Component with the converted HTML content.
You will need an access token, in order to be able to run this script. It can be obtained under settings menu on Access Tokens
Tenant ID can also be found under settings menu Tenant
- download the repo
- install dependencies
npm install
- run
npm run html-import
- follow command line instructions