General Agent
The General Agent is a flexible AI node that can handle any prompt-based task. It supports multiple output formats and can search the web for current information.
📺 Video: How to Use AI Agent Nodes
When to Use
Use the General Agent when you need custom AI processing that does not fit the Sentiment or Copy Writer agents. It can classify data, extract information, summarize content, generate text, or answer questions using live web data.
Inputs
Note: The General Agent can search the web for current information when needed. This makes it useful for tasks that require up-to-date data.
Output Variables
Syntax Example
{{ !ref($.steps.generalAgent1.result.output) }}Example Workflow: Classify and Route Leads
Example Workflow: Classify and Route Leads
1. Fetch Search Results - get posts from a saved search
2. Loop - iterate through posts
3. General Agent - prompt: "Is this post from someone looking to buy software? Return true or false." with outputFormat: boolean
4. If Condition - branch on the boolean result
5. Person Enrichment - enrich buying-intent leads
Pro tip: Use the url output format when you need the agent to find and return a specific link, such as a company website or article URL.