app:
description: ''
icon: 💭
icon_background: '#FFE4E8'
mode: advanced-chat
name: '[Final] Amazon''s "Five Key Customer Questions" Reverse Work Method'
use_icon_as_answer_icon: false
kind: app
version: 0.1.2
workflow:
conversation_variables: []
environment_variables: []
features:
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
allowed_file_types:
- image
- document
allowed_file_upload_methods:
- local_file
- remote_url
enabled: true
fileUploadConfig:
audio_file_size_limit: 50
batch_count_limit: 100
file_size_limit: 100
image_file_size_limit: 50
video_file_size_limit: 100
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 10
opening_statement: 👋 Hello! I'm here to help you better understand any information
or content you'd like to analyze. Simply paste your text, or upload a PDF below
- whether it's your meeting notes, business documents, or any ideas you want
to clarify. I'll assist you in breaking down the key points and making complex
information clear and actionable. Let's begin! 🚀
retriever_resource:
enabled: true
sensitive_word_avoidance:
enabled: false
speech_to_text:
enabled: true
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: true
language: ''
voice: ''
graph:
edges:
- data:
isInIteration: false
sourceType: list-operator
targetType: document-extractor
id: 1729723477098-source-1729630762941-target
selected: false
source: '1729723477098'
sourceHandle: source
target: '1729630762941'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1730059547386-true-17300532699170-target
selected: false
source: '1730059547386'
sourceHandle: 'true'
target: '17300532699170'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: llm
id: 1730059547386-f061ab4e-9672-4277-8c75-e3f8505bf6be-1730059949714-target
selected: false
source: '1730059547386'
sourceHandle: f061ab4e-9672-4277-8c75-e3f8505bf6be
target: '1730059949714'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: document-extractor
id: 1730059547386-6b645d09-319a-4c25-8001-3b8b59cf6bbf-1730060680136-target
selected: false
source: '1730059547386'
sourceHandle: 6b645d09-319a-4c25-8001-3b8b59cf6bbf
target: '1730060680136'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: document-extractor
targetType: llm
id: 1730060680136-source-17300607437060-target
selected: false
source: '1730060680136'
sourceHandle: source
target: '17300607437060'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: list-operator
id: 1730059547386-false-1729723477098-target
selected: false
source: '1730059547386'
sourceHandle: 'false'
target: '1729723477098'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: if-else
targetType: list-operator
id: 1730059547386-false-1729727194602-target
selected: false
source: '1730059547386'
sourceHandle: 'false'
target: '1729727194602'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: list-operator
targetType: llm
id: 1729727194602-source-17300573261730-target
selected: false
source: '1729727194602'
sourceHandle: source
target: '17300573261730'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: document-extractor
targetType: llm
id: 1729630762941-source-17300573261730-target
selected: false
source: '1729630762941'
sourceHandle: source
target: '17300573261730'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: variable-aggregator
targetType: code
id: 1730057725790-source-1729719474185-target
selected: false
source: '1730057725790'
sourceHandle: source
target: '1729719474185'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1730059949714-source-1730069983351-target
selected: false
source: '1730059949714'
sourceHandle: source
target: '1730069983351'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: variable-aggregator
id: 1730069983351-source-1730057725790-target
selected: false
source: '1730069983351'
sourceHandle: source
target: '1730057725790'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: if-else
id: 1730070193226-source-1730059547386-target
selected: false
source: '1730070193226'
sourceHandle: source
target: '1730059547386'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17300573261730-source-1730070339677-target
selected: false
source: '17300573261730'
sourceHandle: source
target: '1730070339677'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: variable-aggregator
id: 1730070339677-source-1730057725790-target
selected: false
source: '1730070339677'
sourceHandle: source
target: '1730057725790'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17300607437060-source-1730070383606-target
selected: false
source: '17300607437060'
sourceHandle: source
target: '1730070383606'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: variable-aggregator
id: 1730070383606-source-1730057725790-target
selected: false
source: '1730070383606'
sourceHandle: source
target: '1730057725790'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17300532699170-source-1730070398320-target
selected: false
source: '17300532699170'
sourceHandle: source
target: '1730070398320'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: answer
targetType: variable-aggregator
id: 1730070398320-source-1730057725790-target
selected: false
source: '1730070398320'
sourceHandle: source
target: '1730057725790'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: llm
id: 1729719474185-source-1729719431700-target
source: '1729719474185'
sourceHandle: source
target: '1729719431700'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: code
id: 1729719431700-source-1730065438460-target
source: '1729719431700'
sourceHandle: source
target: '1730065438460'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: code
targetType: answer
id: 1730065438460-source-answer-target
source: '1730065438460'
sourceHandle: source
target: answer
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: answer
id: 1728593630194-source-1730070193226-target
source: '1728593630194'
sourceHandle: source
target: '1730070193226'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: Choose output language
max_length: 48
options:
- English
- Chinese
- Japanese
- Spanish
- Korean
- German
- French
- Italian
- Hindi
- Russian
- Turkish
- Portuguese
- '...'
required: true
type: select
variable: output_language
height: 88
id: '1728593630194'
position:
x: 168.06818855311468
y: 231.47857669330966
positionAbsolute:
x: 168.06818855311468
y: 231.47857669330966
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
answer: '
{{#1729719474185.result#}}
SVG
{{#1729719431700.text#}}
{{#1730065438460.result#}}'
desc: ''
selected: false
title: Answer
type: answer
variables: []
height: 187
id: answer
position:
x: 3418.7908878658855
y: 329.2311069211947
positionAbsolute:
x: 3418.7908878658855
y: 329.2311069211947
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
author: lysonober
desc: ''
height: 442
selected: false
showAuthor: true
text: '{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"font-size:
16px;","text":"📌 Amazon''s \"Working Backwards","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Hello
guys 👋 Lyson Ober here! 👉 My Twitter: ","type":"text","version":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"https://x.com/lyson_ober","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"link","version":1,"rel":"noreferrer","target":null,"title":null,"url":"https://x.com/lyson_ober"}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"
","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"This
chatflow is inspired by Amazon''s \"Working Backwards\" method, which focuses
on「Five Key Customer questions」.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Huge
thanks to my friends ","type":"text","version":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Jerome","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"link","version":1,"rel":"noreferrer","target":null,"title":null,"url":"https://x.com/alterxyz0"},{"detail":0,"format":0,"mode":"normal","style":"","text":",
Allen, ","type":"text","version":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Evan","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"link","version":1,"rel":"noreferrer","target":null,"title":null,"url":"https://x.com/XchenEvan"},{"detail":0,"format":0,"mode":"normal","style":"","text":",
Arcadia and ","type":"text","version":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Dify","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"link","version":1,"rel":"noreferrer","target":null,"title":null,"url":"https://dify.ai/"},{"detail":0,"format":0,"mode":"normal","style":"","text":"
Dev team for all the debugging support about files upload! This Chatflow
was a joint effort between us.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"📌
Here''s what it does:","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":1},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Helps
us think clearly about customer needs","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Guides
us to actionable conclusions","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":2}],"direction":"ltr","format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"📌
How it works:","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":1},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"You
input detailed information about your situation","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The
AI analyzes your input using the five-question framework","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"It
outputs a structured summary of the core issue and need","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":3}],"direction":"ltr","format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"📌
Key points:","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":1},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The
quality of the output depends on the input''s clarity and detail","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Think
of it like having a focused conversation with a colleague","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Clear
thinking leads to clear actions","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"listitem","version":1,"value":3}],"direction":"ltr","format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"This
chatflow aims to streamline your thinking process and help you identify
the most important aspects of your customer-related challenges.","type":"text","version":1}],"direction":"ltr","format":"","indent":0,"type":"paragraph","version":1,"textFormat":0}],"direction":"ltr","format":"","indent":0,"type":"root","version":1}}'
theme: blue
title: ''
type: ''
width: 550
height: 442
id: '1728594144944'
position:
x: 168.06818855311468
y: 694.0302890053263
positionAbsolute:
x: 168.06818855311468
y: 694.0302890053263
selected: false
sourcePosition: right
targetPosition: left
type: custom-note
width: 550
- data:
desc: ''
is_array_file: true
selected: false
title: Doc Extractor 2
type: document-extractor
variable_selector:
- '1729723477098'
- result
height: 92
id: '1729630762941'
position:
x: 1438.4272268883972
y: 437.72220726223884
positionAbsolute:
x: 1438.4272268883972
y: 437.72220726223884
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 243
- data:
context:
enabled: false
variable_selector: []
desc: ''
model:
completion_params:
temperature: 0.7
mode: chat
name: claude-3-5-sonnet-20241022
provider: anthropic
prompt_template:
- id: 5a622057-be54-4c36-940c-f94c1704bee5
role: system
text: "You are tasked with creating an elegant SVG card to display customer\
\ questions. This card should have a thoughtful layout and subtle imagery\
\ that evokes contemplation. You will implement the SVG-Card function\
\ based on the following structure and guidelines.\n\nYou will be working\
\ with two input variables:\n\n\n{{CONTENT}} \n\n\n\
This variable contains the customer questions and responses that will\
\ populate the card.\n\n\n{{LANGUAGE}}\n\n\nThis\
\ variable specifies the language for the card's title and content.\n\n\
Follow these steps to create the SVG card:\n\n1. Set up the canvas and\
\ basic SVG structure:\n- Create an SVG element with width 400, height\
\ 600, and a viewBox of \"0 0 400 600\".\n- Add a background rectangle\
\ with width 400, height 600, and fill color based on a zen garden palette\
\ (e.g., soft beige or light gray).\n\n2. Implement typography settings:\n\
- Use a 'brush-script-kaiti' or similar font for the title.\n- Set the\
\ minimum font size to 16px for all text elements.\n- Use 'huiwen-mincho'\
\ or a similar font for the main text in ink-black color.\n\n3. Apply\
\ visual styling:\n- Incorporate abstract natural forms as decorative\
\ patterns using SVG paths or groups.\n- Ensure all styling is done using\
\ inline SVG attributes or a