The Loyalty Agent is available on our Classic plan and above, on Shopify, BigCommerce, Magento and custom stores. To add it to another plan, contact our Support team at support@loyaltylion.com.
In this article:
Overview
The Loyalty Agent is a chat inside the Theme Editor that builds and styles your loyalty page. Describe the change you want, or paste a screenshot of a design to match, and the agent makes it on your page straight away.
Everything the agent does changes your draft, the same as editing by hand. You can undo any change, and nothing reaches your customers until you click Publish.
The agent in the Theme Editor doesn't behave the same as the Agent in your LoyaltyLion admin, which answers questions about your program and changes its rules and rewards.
How the Loyalty Agent can help you
Style your loyalty page without writing code. Describe the look you're after and the agent changes the settings for you. No CSS or HTML needed, and no waiting on a developer for small tweaks.
Match your store's branding. The agent can look at your store's homepage and a product page, and take its colors, fonts and corner style from them.
Rewrite and add content. Ask for shorter headings, copy in your store's voice, or a new section such as "How it works", and the agent writes it onto the page.
Using the Loyalty Agent
Open the Theme Editor for your loyalty page. If you haven't used it before, opening the Theme Editor explains how.
Click the Open the AI agent button, the sparkle icon in the editor's top bar.
Click a section on the page if you want the agent to work on a particular part of it. The chat stays open and shows the section's name, so you can say "this section".
Describe your change in the Describe a change, or paste a screenshot box.
Check the change on the page. Each change also appears in the chat as a card. For a settings change, the card lists each setting with its value before and after.
Click Publish when you're happy with the page.
Prompts to try
Not sure where to start? Try these prompts in the chat.
"Match my store's branding."
The agent looks at your store and shows you the brand colors, fonts and corner style it found, and what it would change. It waits for you to say they look right before it restyles the page, so you can correct a color first.
"Make this section dark."
Click a section first, then ask. The agent changes that section's colors to match.
"Rewrite the headings so they're shorter."
The agent rewrites the headings on your page in the language you're editing.
"Add a how it works section."
The agent builds a new section explaining how your customers earn and spend points, using your program's own details.
Attaching screenshots and fonts
You can paste or attach files in the chat:
Screenshots and images in PNG, JPEG or WebP format, up to 4 per message and 10 MB each. The agent reads the colors, fonts, corner style and spacing from the image and applies them as settings.
Font files in WOFF2, WOFF, TTF or OTF format. The agent uploads the font and can use it on your page.
When you ask the agent to restyle the whole page from a screenshot, it shows you what it found first and waits for you to confirm, the same as matching your store's branding.
What the Loyalty Agent can change
The Loyalty Agent can change:
Your page's global styles, such as brand colors, fonts and corner style
Each section's settings
The order of your sections, and whether each one shows
Your page width
The text on your page, in the language you're editing
Icons
Custom sections, which it can add, edit and remove
The agent can't add or remove the built-in sections on your loyalty page, but it can hide them. Every new section it adds is a custom section. It also can't change your store's own theme around the loyalty page.
When the agent writes a custom section that mentions your program, such as your earning rate or a reward's cost, it uses the same dynamic values as a custom block, so the section stays correct if you change those settings later. To use an image in a custom section, give the agent the image's URL.
What the Loyalty Agent can read
The Loyalty Agent can read:
Your loyalty page and its settings
Your program setup: rules, rewards, tiers, points expiration, your referral incentive and challenges
The styles, logo, images and text on your store's homepage and a product page
Any screenshot or font you attach
It can't read your customers, orders or program metrics. For those, use the Loyalty Agent in your admin.
Undoing a change
Undo a change the same way as one you made by hand: press ⌘Z on a Mac or Ctrl+Z on Windows, or click Undo in the editor's top bar. You can also ask the agent to put a setting back as it was.
Until you click Publish, your customers see your page as it was before.
Your conversations
We save your conversations to your user. To pick up an earlier one, click Conversation history, and to start afresh, click New chat. Other users on your account can't see your conversations.
A chat has a length limit. When it fills up, click Continue in a new chat: the new chat starts with a summary of the old one, and your edits stay in your draft.
We delete messages after 90 days.
FAQ
Do I need to turn the Loyalty Agent on?
No. It's on for every program on our Classic plan and above. To add it to another plan, contact our Support team at support@loyaltylion.com.
Will my customers see the agent's changes straight away?
No. The agent changes your draft, and your customers only see it once you click Publish.
Why did the agent ask me before restyling my page?
When you ask it to match your store's branding or restyle the whole page from a screenshot, the agent checks the colors and fonts it found with you first. A wrong brand color would change every section, so it's quicker to correct it before the restyle than after.
Can the agent change my store's theme?
Yes, but only within the Theme Editor.
Is the Loyalty Agent in the Theme Editor same as the Admin?
No. The Loyalty Agent in your admin answers questions about your program and proposes changes to its rules, rewards and customers. The Loyalty Agent in your Theme Editor builds and styles your loyalty page.


