Skip to content
AskElephant Knowledge Base home

Filter Prompt

Use AI to narrow down a list of meetings, contacts, companies, or calendar events to only the ones that match criteria you describe in plain language.

Filter Prompt node in the workflow builder

What It Does

Takes a list of objects (meetings, calendar events, people, or companies) and your natural-language filter description, then evaluates each item and returns only the ones that match. Each object is loaded with its full details automatically based on the object type you choose.

When To Use It

Use this when you have a list of items from an earlier node, like Search Past Meetings, and you only want to act on a subset, for example "meetings where pricing was discussed" or "contacts from enterprise companies." It saves you from writing a Conditional Prompt for every item individually.

Configuration

Configure the node with these settings:

Field

What it controls

Related Object Type

The kind of objects to filter: meeting, calendarEvent, person, or company. Required.

Related Objects

The list of objects to evaluate, typically wired in from an earlier node's output. Required.

Filter Prompt

Describe what should be included, such as "Include only contacts from enterprise companies." Required.

Model

Which LLM evaluates each item. Choose default, lite, creative, analytical, or a specific model. Defaults to default.

Outputs

The node passes these values downstream. Check the Outputs tab on the configured node to confirm exact paths.

Default Output

Variable

Type

Description

Example

filteredMeetings

object

{{nodeId.filteredMeetings}}

filteredMeetings.ids

array<string>

{{nodeId.filteredMeetings.ids}}

Variable

Type

Description

Example

filteredCalendarEvents

object

{{nodeId.filteredCalendarEvents}}

filteredCalendarEvents.ids

array<string>

{{nodeId.filteredCalendarEvents.ids}}

Variable

Type

Description

Example

filteredPeople

object

{{nodeId.filteredPeople}}

filteredPeople.ids

array<string>

{{nodeId.filteredPeople.ids}}

filteredNames

string

The names of the people that were filtered

{{nodeId.filteredNames}}

filteredEmails

string

The emails of the people that were filtered

{{nodeId.filteredEmails}}

Variable

Type

Description

Example

filteredCompanies

object

{{nodeId.filteredCompanies}}

filteredCompanies.ids

array<string>

{{nodeId.filteredCompanies.ids}}

Example Workflow

Run Search Past Meetings to pull last quarter's customer calls, then use Filter Prompt to keep only the ones where a competitor was mentioned, and feed that shorter list into a Loop Prompt for follow-up analysis.

  • Loop Prompt

  • Conditional Prompt

  • Search Past Meetings

  • Search People

Need More Help?

Reach the AskElephant support team by:

  • clicking the Support tab on the right side of your screen,

  • emailing [email protected],

  • or using @askelephant support in your dedicated Slack channel.