Hello Rob,
It depends a bit on how you have configured messaging.
You can use Message.IsNewConversation to check if the end user returned within the Threading Timeline setting, assuming you're not using Conversation Disconnect with "disconnect session" in your Messenger Configuration.
Another way would be to use the end users externalContactId and check for past conversations via APIs.
Even if you're not storing External Contacts a temporary contact will be stored for 60 days, that can be used to link past interactions,
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 11-03-2023 22:44
From: Rob Thornton
Subject: Web Messaging - returning sessions
We are piloting Web Messaging for some new flows. The flow, schedule check message responses work great. It currently The client is asking if our current response prompt can check if the end user has had a recent session and say something like "Welcome, back!" in stead of our generic new user prompt. Is there an attribute we can check for.
Thanks,
Rob Thornton
#ArchitectureandDesign
------------------------------
Rob Thornton
Special Order Systems, Inc. dba SOS
------------------------------