witty-tomato-34693
02/20/2025, 4:58 PMconst lastInteraction = luxon.DateTime.fromISO(conversation.lastInteractionTime)
const currentTime = luxon.DateTime.now()
const difference = currentTime.diff(lastInteraction, 'minutes').minutes
if (difference >= 2) {
conversation.followUpMessage = true // Set followUpMessage to true if the difference is greater than or equal to 1 minute
}white-nest-40686
02/20/2025, 5:11 PMconversation.lastInteractionTime = "2025-02-20T17:04:22.436+00:00"
Has conversation.lastInteractionTime a value? is it a string?witty-tomato-34693
02/20/2025, 5:14 PMwitty-tomato-34693
02/20/2025, 5:14 PMwitty-tomato-34693
02/20/2025, 5:15 PMwitty-tomato-34693
02/20/2025, 5:16 PM