Skip to main content
All CollectionsIntegrations and EnrichmentsClay
Format Categories Based on Keywords with Clay
Format Categories Based on Keywords with Clay

Categorize Items based on Keywords and format those items so that the category and specific fields are returned.

Updated over 4 months ago

Introduction

This integration enables the categorization of items based on keywords within Clay. It formats the categorized items, returning both the assigned category and specific fields. The action leverages Clay's capabilities to analyze and organize data efficiently. Users can streamline their workflow by automatically categorizing and structuring information according to predefined keyword criteria.

Input

Name

Is Optional

Description

Type

Items to categorize

This must be an array

text

Categories & Keywords

Enter a category name and the list of keywords corresponding to that category. The list of keywords is a comma separated list of strings.

object

Output Schema

Every field that you want to return in each categorized item. The "path in item" is the dot path of the values you're looking for. The field "clay_category" will be returned by default. If you want to map the url field to url, you'd enter url: url, if you want to map article_title to title, you'd enter article_title: title.

object

Dedupe Key

true

Optionally type in the key you want to dedupe the result items by.

text

Did this answer your question?