Give the agent context

The agent already knows your site and the page that you have open. Give it more when the task needs it: a file, a page from your site, a folder or a web page.

Attach files

  1. Click + in the chat field.
  2. Click Attach files.
  3. Select one or more files.

You can also drop files into the chat, or paste an image. Each file shows as a chip above the chat field. Click the cross on a chip to remove it.

FileWhat the agent does with it
Image: JPG, PNG, GIF, WebP, AVIF, ICO, BMPSees it. It can also put it on a page or in a CMS item.
PDF fileReads it.
Text and code: HTML, CSS, JS, JSON, Markdown, TXT, SVG, XMLReads it.
CSV fileReads the rows. Example: import the rows as CMS items.
Zip fileOpens it as a folder. Example: a site export to import.

Example: attach the price list northlight-wholesale.csv and type "Make a Wholesale collection from this file."

Note: One message takes up to 10 files. CSV and zip files have a separate limit of 200.

Note: The agent sees an image up to 5 MB and reads a PDF file up to 20 MB. A larger file still attaches. The agent can put it in your site, but cannot see what is in it.

Note: Some models cannot see images or read PDF files. The agent then asks you to describe the file, or to select a different model.

Put an attached file in your site

Ask the agent to use the file on a page. Example: "Put this photo in the hero of the home page." The agent copies the file into the assets of your site. A file with the same name is never replaced. The copy gets a new name.

Add a page, item or file from your site

  1. In the chat field, type @.
  2. Type a part of the name. Example: @pour.
  3. Use the arrow keys to select an entry.
  4. Press Enter.

The menu shows Pages, CMS items, Components, Assets and Files. You can also click + and then Add a page, item or file. You can also drag a file from the Assets panel into the chat.

The agent reads what you added together with your message.

Linked folders

A linked folder is a folder on your computer that you linked in the Assets panel. Examples: a brand folder, a folder of product photos, a folder of drafts. To link a folder, see The Assets panel.

The agent can:

  • List and search the files in a linked folder.
  • Read text and code files in it.
  • Copy a file from it into the assets of your site.
  • Read the history of a Git repository in it.

The agent never writes to a linked folder. It never reads credential files or secret files there.

To use a linked folder, type for example "Read my Brand folder and use the colours from the guide." In the Assets panel, the empty chat offers Use a linked folder.

Note: On Splitleaf Credits or an API key, the agent cannot read a PDF or Office file in a linked folder. Drag the file from the Assets panel into the chat to attach it.

Web pages

Type the address in your message. Example: "Use the opening hours from https://example.com/visit."

  • The agent reads public web pages.
  • The agent can search the web. Web search is not available on Splitleaf Credits.
  • Some pages make their text with JavaScript in the browser. The agent then tells you, and asks for a screenshot or an export.

Search and visitor data

Connect Search Console or Plausible in Integrations. The agent then reads the data of your site when a task needs it. Example: "Which pages get most visitors from phones?"