For the complete documentation index, see llms.txt. This page is also available as Markdown.

Creating metafields

Set up a metafield in Shopify so Product Pelican can read it or fill it, and pick the right type for the job.

Metafields are created in your Shopify admin. You create a definition once (its name, where it is stored and its type), and every product or collection then has that field.

Product Pelican only lists metafields that have a definition. If one is missing from a list in the app, that is why.

Create a definition

  1. In your Shopify admin, go to Settings → Metafields and metaobjects. On some stores this is still called Custom data.

  2. Choose Products — or Collections, for a metafield that belongs to a collection.

  3. Click Add definition.

  4. Give it a plain, specific name such as Care instructions. The AI is shown this name next to the value.

  5. Leave the namespace and key Shopify suggests, for example custom.care_instructions.

  6. Pick the type — see the table below.

  7. Save.

On the Metafields prompt in Product Pelican, the Add new link takes you straight to your product metafield definitions.

Reload Product Pelican after adding a definition for it to appear in the app's lists.

Which type to pick

The type decides what Product Pelican can do with a metafield.

You want to…
Create it on
Type to pick

Have the AI write a short value — material, fit, country of origin

Products

Single line text, one value

Have the AI write a longer value — care instructions, what's in the box, sizing notes

Products

Multi-line text

Have the AI write structured data — a spec sheet, a size table

Products

JSON

Give the AI facts to read when it writes titles, descriptions and FAQs

Products or collections

Any type. Text is the most reliable — see how each type is read

Hold the links written by product stitching

Products

Product, with List of products

Share FAQs across related products

Products

Product — one product or a list of products

Promote or demote products in a ruleset

Products

Single line text, one value or a list

Metafields that already have values but no definition

Imports and other apps sometimes save values without a definition. Shopify lists these under Metafields without a definition on the same settings screen. Add a definition to one and it shows up in Product Pelican, with its values kept.

Validation rules

Rules on a definition, such as a character limit or a fixed list of values, still apply: a generated value that breaks one is rejected by Shopify and not saved. Put any fixed list of values in the instructions you give the AI.

Filling a metafield in

A definition creates an empty field. To fill it:

  • type values on each product or collection in Shopify admin, under Metafields

  • use Shopify's bulk editor

  • have Product Pelican generate them

Three metafields worth creating

Care instructions — Products · Multi-line text · custom.care_instructions. Generate it, then tick it as context for FAQ generation.

Material — Products · Single line text · custom.material. A short fact the AI can fill from photos and copy, and descriptions can quote.

Related products — Products · Product, list of products · custom.related_products. The target for a stitching rule, and the group product FAQs can be shared across.

Last updated