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>
Annotations and comments
  • B. Sentiment Analysis Classifies the feedback using a large language model. Each comment is labeled as positive, neutral, or negative.
  • A. Data Import
  • C. Select Negatives Filters out only the negative feedback.
  • D. Select Custom Gift Defines a custom gift for dissatisfied users.
  • E. Language Detection Detects the language of the feedback using large language model. Each comment is labeled with its corresponding language.
  • F. Send Message with custom gift Creates a message including apologies and custom gift and send per email.
  • Filter Negatives & Join User Details Keeps only the feedback classified as negative for further processing.
  • User Feedback Collect user's feedback from users. This section provides the initial input for the retention process. User must be logged in.
  • Authenticate & Connect Authenticates and connects to the OpenAI API.
  • 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.
  • E2. Preview and Send Email
  • Prompt & LLM Creates a prompt and sends it to the language model for analysis.
  • Output Extracts and formats the model's language result.
  • Output Extracts and formats the model's sentiment result.
  • User Data Import User Data & Products
  • Keeps only the "Sentiment Prediction" result from the LLM response
  • Keeps only the "Language" result from the LLM response
  • Exclude "Email Prompt"
  • Keep only email body
  • Footnote
  • line
  • page?
  • if, status=1 then continue if, status=0, the break
  • join the names & Urls
  • rename the columns
  • Link List view
  • take the count of Names &Urls
  • NewLine separated
  • URLs
  • check if, count of names= count of urls
  • convert to variables
  • check icon-key = graphic-selection
  • graphics
  • Title
  • Subtitle-description
  • string-input-page-type
  • link names
  • link urls
  • Subtitle
  • html grahics
  • image
  • Title, Subtitle & description
  • page-type
  • Line break
  • space
  • strip title description & page type
  • Builds a structured prompt using the feedback text
  • Builds a structured prompt using the input columns
  • user data & history
  • T-shirt Products
  • Sends the prompt to the LLM
  • Filters the rows to retain only those with sentiment marked as "Negative"
  • Removes extra quotes and whitespace from the sentiment output
  • Ensures the "Sentiment Prediction" column has the correct string format for output
  • Ensures the "Language" column has the correct string format for output
  • Icon Image
  • Keep ONLY the selected icon by RowID
  • opening_tag
  • closing_tag
  • SVG height = width (there is currently no way of determining the font size easily automatically, so this is a hardcoded lookup)
  • Size
  • Select Icon- dropdown menu Deleted from possible choices the following icons: Square Asterix Yellow Square Minus Red Square Plus Green Bullet List Because the viewBox value is different and the SVG is more complex
  • Label message
  • Readable icon names
  • Set SVG icon height and width It’s best to modify both the width and height of the SVG icon when changing the text size to avoid distortion and maintain proper proportions
  • html_text
  • Back to an image
  • Icon names and SVG images
  • For Image View
  • display text
  • Selected Icon as table value
  • Triggers the refresh of the feedback input
  • Text field for the customer to write feedback
  • Displays instructions for the user
  • Adds a line break for visual separation
  • Converts input from variable to table format

Nodes

Extensions

Links