For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Login
HomeDocs
HomeDocs
    • Work with scripted bots
    • Before you begin
    • Build and maintain your bot
      • Work with blocks and apps
        • Build Answers using blocks
        • Serve content using Message blocks
        • Save chatter information using the Capture block
        • Save content in variables using the Set Variable block
        • Target content to chatters using the Conditional block
        • Create selectable menus using the List Option block
        • Serve time-specific content using the Scheduled block
        • Make API requests using the HTTP Request block
        • Calculate values using the Answer Utilities block
        • Format dates using the Answer Utilities block
        • Increment values using the Answer Utilities block
        • Format and validate text using the Answer Utilities block
        • Search for and replace text using the Answer Utilities block
        • Let chatters upload files using the File Upload block
        • Transfer chatters from one Answer to another using the Redirect block
        • Let chatters advance to other Answers with the Quick Replies block
        • Create scrollable menus using the Carousel block
        • Let chatters select dates using the Date Picker app
        • Generate a chat transcript using the Fetch Chat Metadata block
        • Send emails using the Email app
      • Train and manage Answers
      • Create conversations
      • Personalize conversations
      • Change your bot's look and feel
      • Test your bot
      • Manage your bot and your team
      • Understand the settings chatters can control
      • Create phone conversations with Voice
    • Integrate Ada with other tools
    • Use Ada with your website
    • Measure success
Login
LogoLogo
On this page
  • Overview
  • Use the Date Picker app
  • Configure the Date Picker block
Build and maintain your botWork with blocks and apps

Let chatters select dates using the Date Picker app

Previous

Generate a chat transcript using the Fetch Chat Metadata block

Next
Built with

Overview

The Date Picker app presents chatters with an interactive calendar and prompts them to select a date. The date they select is saved as a variable. The interactive calendar lets your chatters benefit from an intuitive interface, and provides you with a date in a standardized format.

Use the Date Picker app

Add the Date Picker to your Answers at the point where you want your chatters to choose a date. When the chatter encounters the Date Picker block, they see an easy to use calendar graphic from which they can select a date. Each instance of the Date Picker in your Answer creates a single variable with a single date. Add a separate Date Picker block for each additional date you wish to capture from your chatters.

Example: You wish to capture a date range from your chatter. Use one Date Picker block to capture the start date for the range. Use a second Date Picker block to capture the end date.

Configure the Date Picker block

  1. On the Ada dashboard, go to Build > Answers and select an Answer to edit or create a new one.

  2. Open the block drawer and drag and drop the Date Picker block into the Answer editor.

  3. Customize the Message Text, Button Label, and Invalid Response for your use case.

  4. Click the Configuration drop-down menu and select an option from the list. Use the following table as a guide when configuring your option.

    Date Format

    Adds a Date Format Field.

    • Use the Date Format field to customize the format for the captured date. See the Date Formatting Guide for help with formatting syntax.

    Format Examples

    • YYYY-MM-DD — 2021-05-18 (default format)

    • MM-DD-YYYY — 05-18-2021

    • dddd, MMMM Do YYYY — Tuesday, May 18th 2021

    • dddd [the] Do [of] MMMM — Tuesday the 18th of May

    Start Date/End Date

    Adds a Start/End Date field.

    • Use these fields to set the earliest and latest dates in a date range that the chatter can choose from.

    • Format Dates as YYYY-MM-DD, or use a supported phrase to set a date relative to today.

    Supported Phrases

    • Today

    • Tomorrow

    • Yesterday

    • (x) days before

    • (x) days after

    • (x) weeks before

    • (x) weeks after

  5. Click the Save Response as Variables drop-down and select your desired formats for the date selected by the chatter. The block reveals:

    • Selected Date — 2021-05-18

    • Selected Date - Localized — May 18, 2021

  6. Click Choose a Variable set a variable to capture each selected date format.

  7. Click Save.

You’re done! Your Date Picker block is now configured to show your chatters an easy to use calendar for selecting dates.


Have any questions? Contact your Ada team, or email us at help@ada.cx.