Icon

Agent

<p><strong>Customer Satisfaction &amp; Retention Agent</strong></p><p>An agent that assists the Marketing and Sales team to enhance customer satisfaction and retention by proactively addressing dissatisfied customers who might churn. This includes:</p><ul><li><p>Identifying the sentiment of each incoming customer review.</p></li><li><p>Detecting the language of the review to tailor the communication in the customer's native language.</p></li><li><p>Predicting what customers are likely to churn and selecting a personalized gift.</p></li><li><p>Composing a customized apology email and exposing it to the the human for review and sending.</p><ul><li><p>Optionally, the agent can also send the email autonomously without human supervision, if instructed to do so in the <em>User message</em>.</p></li></ul></li></ul><p></p><p><strong>TECHNICAL REQUIREMENTS FOR TOOLS:</strong></p><p>Before using the agent, make sure to:</p><ul><li><p>Load your own OpenAI API key in your Secret store on KNIME Hub (https://docs.knime.com/chub/latest/community_hub_secrets_guide/) and pass it to the tools that use an LLM to analyze or draft text: <strong>Sentiment_Analyzer_Tool </strong>and <strong>Retention_Email_Writer_Tool</strong></p></li><li><p><strong>[Optional] </strong>Provide email credentials to the <strong>Email_Sender_Tool</strong></p></li></ul><p></p><p>------</p><p><strong><em>Disclaimer:</em></strong><em> AI agents are powered by LLMs, which generate responses based on patterns in data rather than fixed rules. As a result, their behavior is </em><strong><em>non-deterministic</em></strong><em>, meaning outputs may vary even for similar inputs. This may lead to situations where the agent </em><strong><em>fails to trigger expected tool calls</em></strong><em> or behaves in ways that differ from prior interactions. Please account for this variability when designing or using AI agents</em>.</p>

Customer Satisfaction & Retention Agent


An agent that assists the Marketing and Sales team to enhance customer satisfaction and retention by proactively addressing dissatisfied customers who might churn. This includes:

  • Identifying the sentiment of each incoming customer review.

  • Detecting the language of the review to tailor the communication in the customer's native language.

  • Predicting what customers are likely to churn and selecting a personalized gift.

  • Composing a customized apology email and exposing it to the the human for review and sending.

    • Optionally, the agent can also send the email autonomously without human supervision, if instructed to do so in the User message.

TECHNICAL REQUIREMENTS FOR TOOLS:

Before using the agent, make sure to:

  • Load your own OpenAI API key in your Secret store on KNIME Hub and pass it to the tools that use an LLM to analyze or draft text: Sentiment_Analyzer_Tool and Retention_Email_Writer_Tool

  • [Optional] Provide email credentials to the Email_Sender_Tool, if you want the agent to actually send the emails.


Disclaimer: AI agents are powered by LLMs, which generate responses based on patterns in data rather than fixed rules. As a result, their behavior is non-deterministic, meaning outputs may vary even for similar inputs. This may lead to situations where the agent fails to trigger expected tool calls or behaves in ways that differ from prior interactions. Please account for this variability when designing or using AI agents.

Define agent goal and assign tasks

Provide agent with data

View tool call history andagent response
View Agent conversation
List all workflowtools
List Files/Folders
Let the agent autonomouslypursue its goal and solve the tasksEnable the "Debug mode" to spot issuesin called tools and increase the recursion limit, if needed
Agent Prompter
DB Table Selector
Data post-processing
Report Template Creator
Customer reviewsin different languages
Excel Reader
Report PDF Writer
Review and send emailto customers
Preview & Send Email
Purchase history ofcustomer who left a review
SQLite Connector
KNIME Hub Authenticator
Report
Select model: GPT-4.1
OpenAI LLM Selector
Workflow to Tool
Retrieve OpenAIAPI key fromSecret Store
Secrets Retriever
Authenticates accessto the OpenAI API
OpenAI Authenticator
DB Reader

Nodes

Extensions

Links