diff --git a/hostedWidgetCustomization/README.md b/hostedWidgetCustomization/README.md index e8f9eef..5ab0b06 100644 --- a/hostedWidgetCustomization/README.md +++ b/hostedWidgetCustomization/README.md @@ -64,6 +64,11 @@ New to Amazon Connect Open Source? Follow the [open source walkthrough](https:// ![](./customFloatingWidgetLaunchIcon/customFloatingWidgetLaunchIcon.gif) +### Submit form to launch a new chat +[formSubmitLaunchChat](./formSubmitLaunchChat): submit a form to launch a new chat and pass in values as contact attributes. + +![](./formSubmitLaunchChat/formSubmitLaunchChat.gif) + ### Hyperlink support [hyperlinkSupportWidget](./hyperlinkSupportWidget): support a plain-text URL that launches the widget on page load. @@ -81,3 +86,8 @@ New to Amazon Connect Open Source? Follow the [open source walkthrough](https:// [launchChatBrowserWindow](./launchChatBrowserWindow): make the widget launch in a new browser window. ![](./launchChatBrowserWindow/launchChatBrowserWindow.gif) + +### Persistent chat +[persistentChat](./persistentChat): resume previous conversations with the context, metadata, and transcripts. + +![](./persistentChat/persistentChat.gif) diff --git a/hostedWidgetCustomization/formSubmitLaunchChat/README.md b/hostedWidgetCustomization/formSubmitLaunchChat/README.md new file mode 100644 index 0000000..fdd41a6 --- /dev/null +++ b/hostedWidgetCustomization/formSubmitLaunchChat/README.md @@ -0,0 +1,56 @@ +# Submit form to launch a new chat + +Submit a form to launch a new chat and pass in values as contact attributes. + +This option allows you to launch a widget on form submission as well as pass values submitted to form as contact attributes. + +> Also refer to the Admin Guide documentation: https://docs.aws.amazon.com/connect/latest/adminguide/customize-widget-launch.html + +![](./formSubmitLaunchChat.gif) + +## Setup +1. Create a form on your website: +```html +
+ + +
+``` +2. Host the snippet code on your website: +```html + + +``` \ No newline at end of file diff --git a/hostedWidgetCustomization/formSubmitLaunchChat/formSubmitLaunchChat.gif b/hostedWidgetCustomization/formSubmitLaunchChat/formSubmitLaunchChat.gif new file mode 100644 index 0000000..509c269 Binary files /dev/null and b/hostedWidgetCustomization/formSubmitLaunchChat/formSubmitLaunchChat.gif differ diff --git a/hostedWidgetCustomization/formSubmitLaunchChat/index.html b/hostedWidgetCustomization/formSubmitLaunchChat/index.html new file mode 100644 index 0000000..e24ca6b --- /dev/null +++ b/hostedWidgetCustomization/formSubmitLaunchChat/index.html @@ -0,0 +1,92 @@ + + + + + + + Start Amazon Connect Chat + + + + +
+ + +
+ + + + + + \ No newline at end of file diff --git a/hostedWidgetCustomization/PersistentChat/README.md b/hostedWidgetCustomization/persistentChat/README.md similarity index 100% rename from hostedWidgetCustomization/PersistentChat/README.md rename to hostedWidgetCustomization/persistentChat/README.md diff --git a/hostedWidgetCustomization/PersistentChat/index.html b/hostedWidgetCustomization/persistentChat/index.html similarity index 100% rename from hostedWidgetCustomization/PersistentChat/index.html rename to hostedWidgetCustomization/persistentChat/index.html diff --git a/hostedWidgetCustomization/PersistentChat/persistentChat.gif b/hostedWidgetCustomization/persistentChat/persistentChat.gif similarity index 100% rename from hostedWidgetCustomization/PersistentChat/persistentChat.gif rename to hostedWidgetCustomization/persistentChat/persistentChat.gif diff --git a/hostedWidgetCustomization/PersistentChat/styles.css b/hostedWidgetCustomization/persistentChat/styles.css similarity index 100% rename from hostedWidgetCustomization/PersistentChat/styles.css rename to hostedWidgetCustomization/persistentChat/styles.css