This node is part of the Aivo category and allows you to display a date and time selection plugin in the web channel.
Learn about all the properties available in this node in the video below:
Download this link for an example flow.
Below you also have a description of the fields that you will use in the process:
- Name: is the space available for you to customize the name of the node, which you will then view from the Studio workspace.
- Bot (mandatory): select from the drop-down list the bot where the node will be executed. It must also contain the “step in” node to which the chosen date and time will be sent.
- Next Step (mandatory): choose from the drop-down menu to which “step in” node the date and time selected by the user will be sent.
- Block Input (optional): define whether the text box will be temporarily blocked for entering text while the plugin is displayed.
- True: locks text box.
- False: allows you to enter text.
- Ref (mandatory): to be completed with the name of the internal identifier of where the information provided by the user will be stored.
- Label (optional): indicate the label or name of the form that will be shown to the end user.
- Callback Label (optional): for the moment you will not use it, since it applies to the WhatsApp channel and the Date Time Picker plugin can currently only be configured in the Web channel.
- Available Dates (optional): you will place the variable where the list of dates is located for the user to select. It must be in "ISO 8.601" format, for example: “2024-03-21T13:30:00-02:00”.
Entry is only allowed in msg form, through a function node. It does not support mustache nor can it be loaded in an inject. - Timezone (optional): allows you to choose a specific time zone. Keep in mind that, when selecting an option from this drop-down menu, you will be indicating that this time zone is the one you need to use, so it will take priority if you have included a time zone in the Available Dates field. That is, if you included the time zone in Available dates, it will replace it with Timezone and if you did not include it, it will do so automatically.
- Disable previous dates: it is checked by default, but it is an optional check, which disables dates prior to the current one and prevents them from being selectable.
- Enable date range (optional): allows you to configure the range of dates from which the user can select. When you check it, two subfields will be displayed that will be mandatory. In both cases you must complete with the dates in "ISO 8.601" format and without the time information.
- Date Range Min: minimum date.
- Date Range Max: maximum date.
- Twelve hour Clock (optional): by default it is checked so that, in the plugin, the dates are displayed in am./pm format.