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.
- In the “Send chat message” action, ask the customer to reply with just the date. Include an example, such as
09.03.2026for 9 March 2026 inDD.MM.YYYYformat. Enable “Handling client replies to this message” and set how long to wait for a reply. - 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.
- 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 filter | Source field | Example for 9 March 2026 |
|---|---|---|
| DD.MM.YYYY | Date from reply DD.MM.YYYY | 09.03.2026 |
| MM.DD.YYYY | Date from reply MM.DD.YYYY | 03.09.2026 |
| YYYY.MM.DD | Date from reply YYYY.MM.DD | 2026.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.