Auto-generate Shopify blog related articles with OpenAI text-embedding-3-small
Schedule Trigger
Workflow Configuration
Get articles from shopify
Clean & Prepare Text
Loop Over Items
noOp
OpenAI Get Embeddings
api.openai.com
Set article fields
Calculate similarities
Upsert articles
noOp
Upsert article_relations
noOp
Top 3 related articles
Loop for source articles
noOp
Get previous related_articles
noOp
Check if article already has related
Upsert relations
noOp
Prepare HTML for related articles
Check if related articles are the same
No need to change the related section
noOp
Get related article details
noOp
Split Related IDs
Insert Related in Article
Update article with related
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.