# Lex Bot using Appointment Blueprint

### **Objective** <a href="#toc105737936" id="toc105737936"></a>

This document aims at guiding users to create a skill and publish to Lex by using App Blueprints published by the platform admin.

Before starting, you should have an Amazon, and VoiceWorx account. For steps to create these accounts, click [here](https://docs.voiceworx.ai/channels/amazon/amazon-create-account), and [here](https://docs.voiceworx.ai/general/voiceworx-create-account) respectively.

### **Steps** <a href="#toc105737937" id="toc105737937"></a>

1. Create Appointment Booking app from Blueprint
2. Publish App to Lex
3. Test the bot

### **Create app from Blueprint** <a href="#toc105737938" id="toc105737938"></a>

1. Go to Apps.
2. Then on App Blueprints.
3. Search for **Appointment Booking** in the search bar.
4. Click on Create App in the Appointment Booking blueprint.\
   ![](/files/wu6mm3be6EE9MPGgUaWV)
5. Enter the App Name and Description and create on Create App.\
   ![](/files/1SRBK7bQbpJCkOL5hQRn)
6. The Create App process has 3 steps. These steps allow the user to customize the content of their app and entity types. Content can be text, files, multimedia like images, video and APL content. ![](/files/rcrMeZTzroO4iSZwd0bE)
7. Proceed with the steps and Click on Submit in the final step. ![](/files/0U6UQmEDR7IW9Ys4iFLF)
8. Since this document is targeted for beginners, let us skip the Customize part now and let’s publish the app to Amazon Lex.\
   ![](/files/rBhG8cbIJ6PCdq5Tgboi)

### **Publish app to Lex** <a href="#toc105737939" id="toc105737939"></a>

1. Go to Publish Tab. You can now publish the App to multiple VoiceWorx supported channels. Here, we are going to publish the skill to Amazon Lex.

![](/files/AmG9GADbj3m8ztbmrrFc)

1. Select the Amazon Lex account to publish the app, and click on ‘Publish to Lex V2’.

![](/files/A3ANAkmKagOoxjbnv6FU)

The publish process may take some time.

1. After the publish, you shall see the following page.\
   ![](/files/3rdUPmGrFVlv4h1E3cHu)

Congrats, you have successfully published a Lex bot.

### **Test the Lex Bot** <a href="#toc105737940" id="toc105737940"></a>

You can directly test the Lex bot from VoiceWorx Portal.

1. To test the skill, click on the Test Lex Bot in the above page.
2. Now, you can now start chatting with the Bot.![](/files/crqnl1h9NMMdvYhtnNer)

**Example.**

1. Booking an appointment\
   ![](/files/mfJy6jxotQdRvln4HDek)<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ixhello.com/ixhc/blueprints/lex-bot-using-appointment-blueprint-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
