Check and save a date from a chat reply Validate a date from a chat reply in a scenario and save it to a customer or order field. false W3sidGl0bGUiOiJTY2VuYXJpb3MiLCJ1cmwiOiIvdXNlcnMvc2NlbmFyaW9zLyJ9LHsidGl0bGUiOiJTY2VuYXJpb3MgdG9vbCIsInVybCI6Ii91c2Vycy9zY2VuYXJpb3Mvc2NyaXB0cy10b29sLyJ9XQ== Scenarios /users/scenarios/ ["users","Scenarios"] ["users","Scenarios","Scenarios tool"] users

Check and save a date from a chat reply

Validate a date from a chat reply in a scenario and save it to a customer or order field.

Use a scenario to save a date a customer sends in chat, such as their date of birth. Ask for a date in one format and use that same format when you check and save the reply.

  1. In the “Send chat message” action, ask the customer to reply with just the date. Include an example, such as 09.03.2026 for 9 March 2026 in DD.MM.YYYY format. Enable “Handling client replies to this message” and set how long to wait for a reply.
  2. Connect the “Any other answer” branch to a “Condition” block. This branch handles replies that do not match any of the configured answers. In the filter settings, select “Reply to a message in chat” for the block that sent the message. Under “Data type” → “Date field”, select the format you requested.
  3. On the branch for replies that pass the check, add an “Edit customer data” or “Edit order data” action and select the destination date field. Select “Replace with another field”. Under “Take data from”, choose the reply to the message from the same chat block. In the source “Field”, select the option that matches the filter.
Format in the filterSource fieldExample for 9 March 2026
DD.MM.YYYYDate from reply DD.MM.YYYY09.03.2026
MM.DD.YYYYDate from reply MM.DD.YYYY03.09.2026
YYYY.MM.DDDate from reply YYYY.MM.DD2026.03.09

The filter checks the entire reply, ignoring spaces at the beginning and end. The date must exist in the calendar and use dots, two digits each for the day and month, and four digits for the year.

When the action runs, it saves the date in the selected customer or order field. On the branch for replies that fail the check, you can ask the customer to send the date again.

Thank you for your feedback.
Was this article helpful?
No
  • The recommendations did not help
  • There is no answer to my question
  • The text is difficult to understand
  • I do not like the described functionality
Yes
Previous article
Check and save contact details from a chat reply
Check the phone number or email address in a chat reply and save it to a customer or order record.
Next article
Create and start a scenario
Set up a scenario in Simla.com and check how often it runs and when it sends messages.