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

MetaData

Metadata is a detail your AI agent picks up from a chat and saves to the contact, for example a name, an email or an order number. You can then filter, search and use these details in other parts of BotPenguin.

Prerequisites

  • An AI agent. See Create your first AI Agent.

  • A list of the details you want the agent to collect. Choose only what you will use. [CHECK: confirm the plan and role needed.]

Key definitions

Term
Meaning

Metadata

A detail the agent collects from a chat and saves to the contact.

Metadata key

A short unique name used to refer to the metadata. It uses lowercase letters, numbers and underscores.

Default

Built-in metadata: Name, Email and Phone. You cannot edit or delete these.

Custom

Metadata you add yourself.

Steps

  1. Open Metadata under Setup in the AI Agent sidebar.

Click Metadata under Setup
  1. Read the table. It has four columns: Metadata name, Category, Collect from chats and Actions.

The table lists each metadata and whether it is collected
  1. Type in Search by metadata name to find one. Click Filter metadata to filter by Status (All, Active or Inactive) and by Category.

Search or filter the metadata list
  1. Use the switch in Collect from chats to turn collection on or off for a metadata. When it is on, the agent collects that detail during chats.

Turn Collect from chats on or off for a metadata
  1. Click Add metadata to create your own.

Click Add metadata to create your own
  1. Type a Metadata name, for example Customer city. The Metadata key fills in for you. You can change it. Use lowercase letters, numbers and underscores.

Type the Metadata name and check the key
  1. Choose a Type, such as Single Line Text, Date Picker or Number. Then, in Prompt, write how the agent should collect or use it. Example: "Ask which city the customer is in if they have not said."

Choose the Type and write the Prompt
  1. Click Add metadata in the form to save it. The button stays grey until the name and key are filled in. For a choice type, add at least two options.

Click Add metadata to save the new metadata
  1. To change or remove metadata you added, click its edit or delete icon in the Actions column. Default metadata cannot be edited or deleted.

Edit or delete metadata in the Actions column
  1. Click Update to save your changes to the page.

Click Update to save the page

[CHECK: the old page names the tab "Meta Data" under "Agent Personality & Instructions". The prototype names it "Metadata" under Setup.]

[CHECK: the old page says categories are Custom and System, and the column is "Extract Meta Data". The prototype shows Default and Custom, and the column "Collect from chats". The text above follows the prototype.]

[CHECK: the old page says "Manage Attribute" opens Custom Attributes in Settings. The prototype has an Add metadata form on this page and no Manage Attribute button. Confirm the real behaviour.]

[CHECK: the old page says deleting an attribute keeps data already captured. The prototype does not say. Confirm before adding it.]

Common errors

I cannot edit or delete Name, Email or Phone

These are default metadata. They are always available. You can turn collection on or off with the switch, but you cannot edit or delete them.

The Add metadata button is grey

Fill in the Metadata name and the Metadata key. For a choice type such as Radio Select, add at least two options.

It says my key already exists

Each key must be unique. Change the key, for example add a word to it.

It says my key is not valid

Start the key with a letter. Use only lowercase letters, numbers and underscores.

The agent is not collecting a detail

Check that the Collect from chats switch is on. Check that the Type matches the answer customers give, and that the Prompt says how to ask for it.

I cannot find a metadata in the list

Clear the search box and the filters. A status or category filter may be hiding it. Use Load more to see more rows.

Support

Still not working? Write to us at support@botpenguin.com. We will reach out to you within 24 hours.