Skip to main content

Content Studio- Custom templates

Release date: 12th February 2025

Content Studio has a new "custom templates" feature, giving you the flexibility to generate content such as product descriptions, buying guides and more, exactly as you want them. In addition, custom templates can be used for generating content both manually, and programmatically through the GraphQL API.

What are custom templates?
Link copied!

Content Studio uses templates as the basis for generating content, allowing users to choose a template for the type of content they want to generate, for example, product descriptions. Custom templates allow you to create your own templates, in addition to the predefined templates provided with Content Studio.

Why use custom templates?
Link copied!

Custom templates are more configurable than predefined templates when it comes to generating content, allowing you to:

  • Define your own input fields, letting you customize what information you want to pass to the Large Language Model (LLM) in each generation. This allows you to be as detailed and granular as your brand guidelines require.
  • Write your own prompts that tell the LLM how to process your data.
  • Automate content generation at scale, integrating with other systems, to send your input data from one external source (via API) and push the generated content to another external source.

When you generate content through Content Studio's predefined templates, the information you fill out in the form is sent to the LLM, along with a pre-written system prompt specific to that template. For example, in the Alt Text template you provide brand, locale and image(s), and there is a prompt designed to take these inputs and instruct a LLM to create a suitable alt text description from them.

For each custom template you create your own system prompt, by writing instructions that are sent along with any properties you've set up, to the LLM to generate content. These prompts should include general instructions about how the LLM should behave for the template, and what responses you want returned.

Brand and tone of voice

In this release, custom templates do not support generating content based on brand or tone of voice.

Who can create custom templates?
Link copied!

Users with organization admin or hub admin permissions can create custom templates with Content Studio. Typically, this will be a content manager who understands prompt writing.

Creating a custom template
Link copied!

To help you create custom templates, there's a 3 step wizard that guides you through the process.

1. Setup template details
Link copied!

The first step in creating a custom template is to help users understand the purpose of the template by giving it a name, description and image. You also put the custom template in a category so users can find it.

Set up identifying information about the custom template

2. Build
Link copied!

Next, build your template using components that give users an easy way to enter or map data from your source of truth.

For example, if you are building a template to generate Product Descriptions, you may add components for "Product ID", "Product Title" and "Product Attributes".

As you add components, you can see the template form being built up.

Build your template by adding components

tip

Since templates can be used either manually or programmatically, you will need to provide a field "Label" and a unique "Field ID" that can be referenced by an API.

3. Instruct
Link copied!

Give detailed instructions about what you want to generate with the information you've provided by writing a prompt.

Write the prompt that instructs the LLM

The "Test" button lets you try out your custom template.

Testing and refining
Link copied!

When testing your template you can try out your prompt in combination with any inputs you choose.

Test your custom template

The custom template then combines your instructions (set at the template level) and the data provided in your session into a single prompt that gets sent to the LLM to generate your content.

Test your custom template

You can continue to iteratively refine your prompt instructions until you're satisfied with the generated outputs.

Using templates

Content Studio API