Possible to track/act on if a Whatsapp message wasn't answered?

Hello, I am currently building a workflow with an AI agent that can handle commercial conversation through Whatsapp, and was wondering if there is any way to check if a message had not been sent by the user in a certain time frame since the last message from the workflow in order to set up the sending of a message with the purpouse of rekindling the conversation if that happens to be the case.

Any help and suggestion would be appreciated.

Also this is my first post so apologies in advance if there is something wrong with it.

Hey There! I might be a bit confused with the use case, so just to settle what I under:
You want a way to check the time a message was sent, then process the time and see if it falls out of your range. Example, if there it wasn’t answered in 4hrs?

If that was the question, my response would be to use some type of intermediate database (ex. Airtable) to store when you sent out the original message. With that setup I would image something like

  1. You send original Whatsapp Message and Store the Details in Airtable
  2. You create a formula that checks if it’s been 4 hours since the original message was sent. If it’s >4 Hours, trigger in n8n
  3. In this second workflow, you would essentially look to see if there was a reply, if there hasn’t then you do the follow-up/rekindling

I can probably suggest a better or more direct way of getting this, I just didn’t quite get the initial question

Let me know!

Hello, that would be the general idea yes, though a couple things I might add that may or may not be relevant to the structure of the solution are that ideally the part that does the follow-up/rekindling has access to the last message from the user (which would be the one that triggers the workflow) in order for the message generated to be in line with where the conversation was left, and that if a message it’s recieved in that time period, it goes aswell through the same process without messing eachother up somehow.