Skip to main content

Date Picker

Creates a date picker interface for users to select dates in chat interfaces.

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.

Inputs

  • ID - The unique identifier for the date picker.

Options

  • Title - The title or label displayed above the date picker.
  • Initial Date - The initial date shown when the date picker is first displayed (format: YYYY-MM-DD).
  • First Date - The earliest selectable date in the date picker (format: YYYY-MM-DD).
  • Last Date - The latest selectable date in the date picker (format: YYYY-MM-DD).

Output

  • Payload - The response object containing information about the user's date selection.

How It Works

The Date Picker node creates an interactive date selection interface in chat interfaces. When executed, the node:

  1. Creates a date picker with the specified title and date constraints
  2. Displays the date picker in the chat interface
  3. Waits for user interaction with the date picker
  4. Returns a payload with information about the user's date selection

Requirements

  • A valid chat interface or messaging platform
  • Properly formatted date values (YYYY-MM-DD) for Initial Date, First Date, and Last Date

Error Handling

The node will return specific errors in the following cases:

  • Empty or invalid ID
  • Invalid date format
  • First Date is later than Last Date
  • Communication errors with the messaging platform

Usage Notes

  • Date values should be provided in YYYY-MM-DD format
  • If Initial Date is not provided, the current date is used
  • If First Date is not provided, it defaults to January 1, 1900
  • If Last Date is not provided, it defaults to January 1, 2100
  • The payload output contains the selected date in RFC3339 format
  • Date pickers are useful for collecting date information from users