Writes an SEO meta title and description for each product in your Wix catalog into a spreadsheet for you to review.
Uses
Claude
Google SheetsWix
Draft SEO meta titles and descriptions for Wix products
Once a week, your Wix Stores catalogue is read and the AI writes an SEO meta title and a meta description for each product not yet done. The drafts are collected in a spreadsheet tab you nominate, one row per product, with the product name, both drafts and the character count of each, so you can see at a glance which ones search engines will cut short.
Nothing is written back to your store. The drafts land in the sheet so you decide, product by product, which copy is good enough to paste into Wix yourself. The AI writes from the product name and your own guidance only, and is told never to invent price, stock, delivery or discount claims. The first column of the tab records what has been done, so a later run only adds new products and your reviewed rows are never rewritten.
Before the first run you need a spreadsheet tab for the drafts, whose header row is written for you, and a short description of your store and the search terms you want to rank for.
reviewSheetUrl to blank.Set reviewSheetUrl to blank.seoGuidance to blank.Set seoGuidance to blank.reviewTabName to SEO meta drafts.Set reviewTabName to SEO meta drafts.maxProducts to 25.Set maxProducts to 25.reviewTabName in reviewSheetUrl. Save it as draftedColumn.Read column 'A' of reviewTabName in reviewSheetUrl. Save it as draftedColumn.alreadyDrafted to draftedColumn.values.Set alreadyDrafted to draftedColumn.values.alreadyDrafted is emptyIf alreadyDrafted is emptyreviewTabName in reviewSheetUrl.Add a row to reviewTabName in reviewSheetUrl.catalog.Query Wix Stores products. Save it as catalog.products to catalog.products.Set products to catalog.products.product in products:For each product in products:productName to blank.Set productName to blank.nameErrorIf a step below fails, save the error as nameErrorproduct.name and save it as productName.Trim product.name and save it as productName.Skipped a catalog entry that has no product name..Show in the output: Skipped a catalog entry that has no product name..productName is emptyIf productName is emptyalreadyDrafted contains productNameIf alreadyDrafted contains productNamedraftErrorIf a step below fails, save the error as draftErrorseoGuidance
Product name: productName
Write one meta title of at most 60 characters. Lead with what the product is, work the most relevant search term in naturally, and never invent details such as price, stock, delivery or discounts. Reply with the meta title only - no quotation marks, no labels, no explanation.'. Save it as titleResponse.
Maximum response length: 64titleResponse.response_text and save it as metaTitle.Trim titleResponse.response_text and save it as metaTitle.metaTitle is emptyIf metaTitle is emptyproductName - nothing was written to the sheet for it.Show in the output: No meta title came back for productName - nothing was written to the sheet for it.seoGuidance
Product name: productName
Meta title already written for this product: metaTitle
Write one meta description of at most 155 characters. Complement the meta title rather than repeating it, end with a reason to click, and never invent details such as price, stock, delivery or discounts. Reply with the meta description only - no quotation marks, no labels, no explanation.'. Save it as descriptionResponse.
Maximum response length: 200descriptionResponse.response_text and save it as metaDescription.Trim descriptionResponse.response_text and save it as metaDescription.metaDescription is emptyIf metaDescription is emptyproductName - nothing was written to the sheet for it.Show in the output: No meta description came back for productName - nothing was written to the sheet for it.reviewTabName in reviewSheetUrl.Add a row to reviewTabName in reviewSheetUrl.productName: draftError.message.Show in the output: Could not draft SEO meta for productName: draftError.message.