Add the ‘Insert Knowledge’ Tool step to your Tool

You can add the ‘Insert Knowledge’ Tool step to your Tool by:

  1. Creating a new Tool, then searching for the ‘Insert Knowledge’ Tool step
  2. Click ‘Expand’ to see the full Tool step
  3. Select the Knowledge table you would like to use
  4. Filter condition: “and” vs “or” when matching data to update:
    • Use and when all specified conditions must match for a row to be deleted.
    • Use or when any of the conditions can match.

    Filter condition only applies if you include more than one object in the filter

  5. Click ‘Run step’ to test out the Tool

Advanced settings

Fields to include

This is the fields (columns)that will be included in the response. By default, all fields are included.

Number of records to retrieve

This is the number of records to retrieve. By default, 20 records are retrieved.

Common errors

Formatting Examples

Example 1: Retrieve all large dogs

[
  {
    "size": "large"
  }
]

Example 2: Retrieve all large French Bulldogs

[
  {
    "breed": "French Bulldog",
    "size": "large"
  },
]

Example 3: Retrieve all large dogs OR small poodles

[
  {
    "size": "large",
    "breed": "French Bulldog"
  },
  {
    "size": "small",
    "breed": "poodle"
  }
]

Ensure to separate each object with a comma if inserting multiple rows.

Frequently asked questions

What is the difference between get knowledge and advanced knowledge search?

Get knowledge allows you to search and retrieve information directly from your knowledge table without RAG.

What format should I use for the filter?

The filter should be a JSON array of objects. Each object should have the field name and the value you want to filter by.