Using AI to write Blog Posts for website

Using AI to write Blog Posts for website

Retailer has the ability to use Artificial Intelligence (ChatGPT, Google Gemini or Claude) to write Blog Posts for your website.
AlertTo get started, you must sign up with either OpenAI, Google or Anthropic. Follow the steps HERE first unless you're already using AI in Retailer.
IdeaYou will also need a Shopify or Woo Commerce website linked to Retailer. See HERE for more details

Setup

  1. Provider
    1. Choose OpenAIGoogle Gemini or Anthropic depending on which provider you want to use
  2. Model: Changes which AI model/engine is used to read the invoice. If the AI seems to be struggling to generate a blog post, you can try changing the model here. The following models are good at generating blog posts
    1. OpenAI (ChatGPT)
      1. pick the newer models for the improvements they have over previous versions, but avoid ones marked "latest" as they can be experimental and still a work-in-progress.
    2. Google Gemini
      1. Any flash model is good, so pick the latest full Flash model available, but avoid "latest" or "preview" models in the list as these aren't necessarily final release versions of the model.
      2. Any Pro model will be more powerful and work very well. But using a free account will make cause it to run out of credits quickly and stop working. So if you are using a free account, don't use this version.
    3. Anthropic
      1. Claude uses 3 lines of model: Opus is the most expensive, slowest, and most accurate. Haiku is the fastest, cheapest, and least accurate. Sonnet sits in-between. For analysing invoices, we have found that Sonnet is a good compromise. 
      2. Regardless of which of the 3 options you choose you must select model 4.5 or newer (eg. Claude Sonnet 4.5). Older models will not work.
  3. Use Structured Response: must be enabled 
  4. Temp
    1. The Temperature (Temp) setting determines how creative the AI Model should be.
    2. The Range is 0 (not creative) to 2 (more creative, varied response)
    3. Must be 1 for the latest models
    4. Not applicable for older models

Customise Prompt

The Prompt is the instructions given to the AI that tell the AI what to do. The Prompt can be customised to alter the tone, writing style, structure or to include specific information.
There are two places where the Prompt can be customised:

AI Setup screen
  1. From the Main Screen of Retailer, click Setup → AI.
  2. In the Prompt Type column, click Stock Blog Post.
  3. The Prompt can be edited on the right hand side.
  4. Click Save when done
Stock Item Blog Posts screen (recommended)
  1. From the Main Screen of Retailer, click Stock Maintenance → Stock Item Blog Posts.
  2. The Prompt can be edited on the left hand side.
  3. Click Generate Blog Post to Save and Test your changes.
  4. Click the Reset button if you wish to revert to the default prompt.
IdeaClick and drag the vertical ellipsis ⋮ button to increase the text box width for easier editing.
Alert
The first paragraph of the prompt should not be changed.
Add or edit the prompt using plain English to alter the output of the AI. Some example changes you may wish to make are:
  1. Create a keyword-rich title.
  2. Maintain a professional tone.
  3. Use Australian spelling
Quote
Don't be afraid to experiment and evolve your prompt to deliver the best results for you

Create a Blog Post

  1. From the Main Screen of Retailer, click Stock Maintenance → Stock Item Blog Posts.
  2. Click Add New in bottom left corner
  3. Click into Barcode box in top left. Scan a Barcode or press Enter to open Find Stock Screen and search for a product
  4. Down the left hand side, click the down arrow ▼ next to Item Details to Include. Untick any information you don't wish to send to the AI
  5. Down the left hand side, click Generate Blog Post.
  6. The AI will then use the product information to generate a Blog Post.
  7. You can then make any changes you wish to the Blog Title or Blog Text.
  8. Be sure to enter a name in the Author box at the top, to indicate who wrote the blog when uploaded.
  9. If the product has an Image in Retailer, it will be added in the bottom left corner. Click Load if you wish to add a different image to the Blog Post
  10. Click Save.

Edit Existing Blog Post

  1. From the Main Screen of Retailer, click Stock Maintenance → Stock Item Blog Posts.
  2. In the top left corner, click Find Blog Post.
  3. You can then search by Barcode, Description or Blog Title
  4. Select the Blog Post and click 'OK'
  5. You can then make changes to the Blog Post. Remember to click Save

Upload Blog Post

  1. From the Main Screen of Retailer, click Stock Maintenance → Stock Item Blog Posts.
  2. In the top left corner, click Find Blog Post
  3. You can then search by Barcode, Description or Blog Title
  4. Select the Blog Post and click 'OK'
  5. Click Upload Blog Post in the bottom right corner

Errors during Upload Blog Post

  1. Error: HTTP/1.1 502 Bad Gateway - ResponseText: /HTTP/1.1 502 Bad Gateway
    1. Make sure your internet connection is working. Contact Tower Support
  2. Error: Unable to generate blog post: Error 400 - Invalid body: failed to parse JSON value
    1. Check the Extended Description for the product in the Stock Screen → Extra Details tab. Try editing the description, click File → Save & Exit. Try generating Blog Post again.