[英]how to create pdf from aws chatbot conversation
I am working on AWS lex platform.我在AWS lex平台上工作。 A pdf needs to be created from the conversation of a chatbot that needs to be mailed to the user.
需要从需要邮寄给用户的聊天机器人的对话中创建pdf 。
I am using node.js我正在使用node.js
Is there any scope of lambda function to get the pdf and mail that file to the user?是否有任何范围的lambda 函数可以获取 pdf 并将该文件邮寄给用户?
From AWS-LEX you can trigger AWS-LAMBDA check https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html从 AWS-LEX 您可以触发 AWS-LAMBDA 检查https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html
In the Lambda function create a PDF file from data passed to it, and trigger AWS-SES check https://aws.amazon.com/premiumsupport/knowledge-center/lambda-send-email-ses/在 Lambda 函数中,根据传递给它的数据创建一个 PDF 文件,并触发 AWS-SES 检查https://aws.amazon.com/premiumsupport/knowledge-center/lambda-send-email-ses/
To create PDF in NodeJs you can use any library of choice for reference https://www.npmjs.com/package/pdf-creator-node要在 NodeJs 中创建 PDF,您可以使用任何选择的库作为参考https://www.npmjs.com/package/pdf-creator-node
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.