Icon

t1

<p><strong>Step 1: Customer Retention Workflow</strong></p><p></p><p>This workflow identifies unsatisfied users through automated analysis and responds with an apology email, including a custom gift.</p><ol><li><p>Collect user feedback.</p></li><li><p>Analyze sentiment.</p></li><li><p>Identify users with negative feedback.</p></li><li><p>Generate a custom gift.</p></li><li><p>Detect the language.</p></li><li><p>Prepare and send a personalized follow up email.</p></li></ol>

E. Language Detection

Detects the language of the feedback using large language model. Each comment is labeled with its corresponding language.

A. Data Import

B. Sentiment Analysis

Classifies the feedback using a large language model. Each comment is labeled as positive, neutral, or negative.

C. Select Negatives

Filters out only the negative feedback.

D. Select Custom Gift

Defines a custom gift for dissatisfied users.

F. Send Message with custom gift

Creates a message including apologies and custom gift and send per email.

Step 1: Customer Retention Workflow

This workflow identifies unsatisfied users through automated analysis and responds with an apology email, including a custom gift.
  1. Collect user feedback.

  2. Analyze sentiment.

  3. Identify users with negative feedback.

  4. Generate a custom gift.

  5. Detect the language.

  6. Prepare and send a personalized follow up email.

Prompt & LLM

Creates a prompt and sends it to the language model for analysis.

Output

Extracts and formats the model's sentiment result.

Authenticate & Connect

Authenticates and connects to the OpenAI API.

Filter Negatives & Join User Details

Keeps only the feedback classified as negative for further processing.

Custom Gift

Defines a custom gift for dissatisfied users.

F1. Generate Email Text

Creates and prepares a personalized apology message with a custom gift to be sent by email.

User Data

Import User Data & Products

User Feedback

Collect user's feedback from users. This section provides the initial input for the retention process. User must be logged in.

Output

Extracts and formats the model's language result.

Prompt & LLM

Creates a prompt and sends it to the language model for analysis.

E2. Preview and Send Email
User Feedback
Builds a structured promptusing the feedback text
Expression
Reference Row Filter
Sends the prompt to theLLM
LLM Prompter
Local GPT4All LLM Selector
Visualize & downloademail alerts
Email Preview
GroupBy
Keeps only the"Sentiment Prediction"result from the LLMresponse
Column Filter
Keeps only the"Language"result from the LLMresponse
Column Filter
Removes extra quotesand whitespacefrom the sentimentoutput
String Cleaner
User Data
Ensures the"Language"column has the correctstring format for output
String Format Manager
Removes extra quotesand whitespacefrom the sentimentoutput
String Cleaner
Filters the rows to retainonly those with sentimentmarked as "Negative"
Row Filter
Builds a structuredprompt using theinput columns
Expression
Ensures the"Sentiment Prediction"column has the correctstring format for output
String Format Manager
Builds a structured promptusing the feedback text
Expression
Sends the prompt to theLLM
LLM Prompter
Joiner
Sends the prompt to theLLM
LLM Prompter
Exclude "Email Prompt"
Column Filter

Nodes

Extensions

Links