When to use
- Analyze and extract insights from enterprise data (invoices, contracts, support tickets)
- Generate summaries, recommendations, or classifications based on workflow data
- Transform unstructured text into structured JSON for downstream processing
- Build conversational workflows that maintain context across multiple interactions
- Extend agent capabilities with MCP servers for external tool access
Configure your LLM API keys under Organization > Settings before using the Agent node.
Input parameters
Core configuration
Select the AI model to process prompts. Supports models from OpenAI (GPT-4o, GPT-4.1, GPT-5), Google (Gemini 2.0, Gemini 2.5), and Anthropic (Claude 3.5, Claude 3.7, Claude Opus 4).
The input text or question to send to the AI model. Supports dynamic variables from previous nodes using
{{variable}} syntax.Instructions that define the agent’s behavior, role, and response style. Sets context before processing the user prompt.
JSON schema that enforces a specific output format from the agent. When defined, the agent returns responses matching this schema structure.
MCP servers
Configure Model Context Protocol servers to extend the agent’s capabilities with external tools and data sources.
Memory
Enable memory to maintain conversation context across multiple agent interactions within a workflow or across workflow executions.Enable to save conversation history for multi-turn interactions.
Unique identifier to group related conversations. Use dynamic variables to create user-specific or session-specific histories.
Number of previous messages to include in the agent’s context. Default:
10Output
The node output structure is determined by the Structured Output schema you define. If no schema is specified, the agent returns a text response. Example Output (with structured schema):Adding to your workflow
Add the Agent node
In the workflow editor, click Add Node and select Agent from the utility nodes section.
Select a model
Choose an AI model from the dropdown. Different models have varying capabilities, speed, and cost characteristics.
Configure prompts
Enter the User Prompt with your query or instruction. Use
{{variable}} syntax to include data from previous nodes. Optionally add a System Prompt to define the agent’s behavior.Define structured output (optional)
If you need the response in a specific JSON format, define a JSON schema in the Structured Output field.
Configure MCP servers (optional)
Add MCP server configurations to extend the agent’s capabilities with external tools.
Enable memory (optional)
Click Enable under Memory to maintain conversation history. Configure the Chat History Identifier and Recent Messages to Include.
Examples
Analyze SAP Purchase Order
Analyze SAP Purchase Order
Extract key information from an SAP purchase order and classify it for routing.Configuration:
System Prompt:Structured Output:Output:
| Field | Value |
|---|---|
| Model | openai/gpt-4o |
| User Prompt | Analyze this SAP purchase order and extract key details: {{sap_po_response}} |
Classify NetSuite Support Tickets
Classify NetSuite Support Tickets
Automatically categorize and prioritize incoming support tickets.Configuration:
System Prompt:Structured Output:Output:
| Field | Value |
|---|---|
| Model | anthropic/claude-3.7-sonnet |
| User Prompt | Classify this support ticket: {{netsuite_case.description}} |
Generate Tipalti Payment Summary
Generate Tipalti Payment Summary
Create a human-readable summary of payment batch status.Configuration:
System Prompt:Structured Output:Output:
| Field | Value |
|---|---|
| Model | google/gemini-2.5-flash |
| User Prompt | Summarize this payment batch for the finance team: {{tipalti_batch_response}} |
Conversational Agent with Memory
Conversational Agent with Memory
Build a multi-turn conversation that maintains context across interactions.Configuration:
System Prompt:Conversation Flow:Turn 1:
| Field | Value |
|---|---|
| Model | openai/gpt-4.1 |
| User Prompt | {{user_message}} |
| Store Chat History | Enabled |
| Chat History Identifier | {{user_id}}_support_session |
| Recent Messages to Include | 10 |
- User: “I’m having trouble with my SAP integration”
- Agent: “I can help with SAP integration issues. Could you describe what specific problem you’re experiencing?”
- User: “The purchase orders aren’t syncing”
- Agent: “I see you’re having PO sync issues. Let me check a few things. Are you seeing any error messages in the workflow logs?”
- User: “Yes, it says authentication failed”
- Agent: “Based on our conversation, it sounds like your SAP credentials may have expired. You can update them under Settings > Credentials > SAP. Would you like me to guide you through the process?”
Troubleshooting
API Key Errors
API Key Errors
| Problem | Solution |
|---|---|
| No API Key provided | Configure LLM API keys under Organization > Settings. |
| Invalid API key | Verify the API key is correct and has not expired. Regenerate if needed. |
| Rate limit exceeded | Check your LLM provider’s rate limits. Consider using a different model or adding delays between requests. |
Response Errors
Response Errors
| Problem | Solution |
|---|---|
| Response doesn’t match schema | Review your structured output schema for errors. Ensure property types and constraints are valid JSON Schema. |
| Empty or incomplete response | Check if the prompt is clear and provides sufficient context. Verify input variables are resolving correctly. |
| Timeout errors | Reduce prompt complexity or use a faster model variant. Check if the model is experiencing high load. |
Memory Issues
Memory Issues
| Problem | Solution |
|---|---|
| Conversation history not persisting | Verify Store Chat History is enabled and Chat History Identifier is consistent across executions. |
| Agent losing context | Increase Recent Messages to Include value. Check if the identifier is unique per conversation. |
| Unexpected context in responses | Verify the Chat History Identifier is creating separate histories for different users or sessions. |
MCP Server Errors
MCP Server Errors
| Problem | Solution |
|---|---|
| MCP server connection failed | Verify the server URL is correct and accessible. Check authentication headers and query parameters. |
| Tool not available | Ensure the MCP server exposes the required tools. Review server documentation for available capabilities. |
Next steps
Transform node
Process agent outputs with JSONata.
Rule node
Add conditional logic based on agent responses.
Loop node
Process multiple items with the agent.
What is MCP?
Understand how agents interact with enterprise systems.