Lex bots are not populating in Amazon Connect Instance - amazon-lex

We have created a bot and published and trying to invoke from Amazon Connect instance. Lex bots are not populating in the drop down. Is there any configuration change we need to do?

You need to add the bot to your Amazon Connect instance before you can make use of it in your contact flow. This is done in the Amazon Connect instance configuration within the AWS console (not the Connect UI). See the section called “Add the Amazon Lex bot to your Connect instance” in this doc for specific steps.

Make sure you have created an alias for lex bot and then add it to your connect instance e.g. connect -> instance -> contact flows-> Amazon Lex -> Add amazon lex bot.
and than you're able to use it in your contact flows.

Related

Amazon Kendra and Botpress

I am trying to integrate my Botpress (Chatbot) with Kendra. So that when a user types a query it will trigger the Kendra and give the results. I have created the s3, Index & Experience. I am getting the response on Kendra experience. But I want to connect my Kendra with a chatbot whose backend is Node.js. In my bot I have to make connections and in the Kendra documentation there is nothing I found to make a connection to my Kendra.
Amazon LEX has a native offering for integrating with Kendra - https://aws.amazon.com/blogs/machine-learning/integrate-amazon-kendra-and-amazon-lex-using-a-search-intent/.
For other chatbots, you need to build the integration using AWS SDKs.

Feature I want to add to my Amazon Connect scheduling app

So we wrote a React app that lets call center admins create holidays, special events, meetings and emergency conditions for Amazon Connect. In version 2.0 I would like to be able to allow admins to use an uploaded pre-recorded prompt and select that for an announcement from my React app. I have searched the API and it has no endpoint for listing or creating prompt. Does anyone else know if this is possible?
There is currently no API for Prompt Management. Right now, you would have to manually reference the ARN value of the Prompt to dynamically play it via a lambda within a contact flow. Just looked into this myself for a similar feature, and confirmed w/ AWS team.

How to validate Service Account based authentication in Cloud Dataflow

How to validate Dataflow Java code using Google Service Account?
Currently we are passing user credential to select/validate the Google project for executing Dataflow runner. Instead we need to validate the Dataflow code with Service Account.
It would be good if some one share the Java code to validate the Dataflow Job with Service Account.
To use the service account to communicate to Google Cloud all you have to do is to download the JSON file that contains your service account key and change the environment variable of the system to:
For Linux/MacOS:
export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json"
For Windows:
$env:GOOGLE_APPLICATION_CREDENTIALS="C:\Users\username\Downloads\[FILE_NAME].json"
You can get this key from the GCP console, select the Service Account you require, select JSON type and then click on create. You now have the JSON file containing your key on your machine.
You then run the job with:
--serviceAccount=service-account#my-project.iam.gserviceaccount.com
This flag runs with the service account mail. You can get the service account mail from the IAM panel of the Google Console. Also, remember to give the service account the appropriated roles and permissions.
To change the name of the job, you can use --jobName=[your_job_name] in order to give an specific name. If you are running the example from the
Quickstart Using Java and Apache Maven documentation, then your job name is going to use part of your username as default.

Amazon Lex send the fulfilled slots via email

I have created an Amazon Lex bot. The user has to fulfill some slots. Now I want to send the response (all fulfilled slots) via email to a specific address. Is this possible with Amazon Lex bot or do I have to create a Lambda function?
Thank you for your hints
You need to use Lambda function or some other webhook where you will collect all the slots then trigger an email through your code or using some service like AWS SES.

How to get Manage API client access screen when using GMail API with service account

I am following below link to setup Service account and use GMail API to send emails by running java code from an application.
https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority
But here i am unable to find out Security from the list of controls. And so unable to enter ClientID in Manage API client access screen.
Please help me to navigate properly.
Thanks
In order to perform what you want, you need to own a G Suite account. If you already own a G Suite account, then all you have to do is follow the steps here. If you do not own a G Suite account then you will have to impelement a solution without a service account, therefore you will need to follow the guide here

Resources