Automatically generating email subject lines and body text

Shopify Magic uses Artificial Intelligence (AI) to take details that you provide, such as campaign type and product keywords, and generate suggestions for email subject lines and body text in Shopify Messaging. If you have a draft of your email subject line written already, then keywords automatically generate based on your subject line. Before you generate automatic text for your emails, review Tips for using Shopify Magic text generation.

Supported languages

Email text generation is available in all languages supported by Shopify. You can write your prompt in any language, and the generated content will match the language of your prompt. For best results, write your prompt in the same language that you want your email content to be in.

Create email subject lines and body text

When you create a Shopify Messaging campaign, you can use Shopify Magic to generate a subject line and email body text.

Steps:

  1. From your Shopify admin, go to Apps > Messaging.

  2. Click Create campaign, and then select a template.

  3. Complete any of the following steps:

    • To draft an email subject line, in the Subject field, click the Generate text icon.
    • To draft email body text, in the rich text editor of the text section, click the Generate text icon.
  4. Enter a prompt describing the type of email that you're sending, and then submit it. The generated text is applied directly. The more details that you add, the more relevant the suggested content is. You can include product keywords, desired tone, style, or any other instructions directly in your prompt.

  5. Optional: Edit and format the generated content to match your brand.

  6. Click Save.

After you've generated your text, you can finish customizing your email message.

Improving the content suggestions that you receive

When you evaluate generated suggestions for Shopify Messaging, consider what makes effective email content. The best way to improve the generated suggestions is to provide more details in your prompt about your campaign, such as campaign goals, product information, and specific keywords.

To improve text generation results, consider adding the following types of information to your email campaigns:

  • Campaign type: Any campaign specifications you provide will help generate better results. For example, product restock, spring sale, or birthday discount.
  • Product keywords. If you're writing about a specific product, then try adding the name and type of product. If the product name is ambiguous, then provide keywords that describe the product or category, such as hot sauce or bar soap. Add any descriptors that highlight what makes the product unique or why someone might want to buy it. For example, Monaco isn't descriptive. However, by using a set of keywords such as New arrivals, Monaco, 10% discount, and Lightweight tortoise-shell sunglasses, you can tell Shopify Magic what to write about. Keyword prompts can be simple or complex, and you can phrase your prompt in a sentence or just use keywords. You can also include emojis.
  • Important brand keywords or terminology. While the results will include different phrasing for the information that you provide, special words or phrases are often kept, such as brand names or unique descriptive words. If you include your brand name in your brand tagline prompt, then it will usually be included in the results. For example, if you describe your mint lip balm as mint-astic in the keywords, then the generated suggestions will often include that term.
  • Other email details. Any additional details that are relevant to the type of content that you're generating should be provided. For example, if you want to create a sale message, then be sure to include the sale amount and the types of products that are part of the sale. Shopify Magic uses the details that you add to your email to automatically suggest ideas for what keywords to provide.