Please enable JavaScript.
Coggle requires JavaScript to display documents.
Conversations - Coggle Diagram
Conversations
initiate Conversations Screen
load suppliers
id
supplier name
phone number
last contact date time
type
is_archived
DB
load conversations - loading from Twilio directly from FE or graphql?
has existing conversations
get client side Twilio token
token expiry?
client side initiate get conversations
blend supplier list with conversations?
Initiate send message action
has phone number?
yes
has existing conversation?
yes
send message to existing conversation
no
create conversation
add participant (supplier number & florist number)
add participant (user_identity)
get access token
1 more item...
save conversation details to DB
no
assign phone number
save phone number details to user
phone number
user id?
date assigned?
DB
get available phone numbers
DB
pre-purchased
to upgrade account to buy more than one number
buy in real time
available credit in account
add supplier
save supplier (contact) name & number
supplier name
user id?
phone number
date added
type (supplier / team)
DB
supplier replied
web hook
stream to DynamoDB?
graphql
notifications?
show badges in menu?