capture alexa response json

Multi tool use
capture alexa response json
I would like to capture Alexa response and do some processing outside AWS Lambda. Maybe a view I would like to create with bar charts and on update it at runtime based on alexa response. How should I do that? I can create an independent alexa working skill.
2 Answers
2
From AWS Lambda, you need to make an HTTP Post request to your website where your bar chart is served so that you can update your bar chart.
In order to post the response of the user, you need have an intent and then capture the user's response via slots.
I am assuming you are using Node.JS for the implementation of skill, otherwise you can find similar section of documentation for the language of your choice.
You can leverage Response Interceptor for your purpose. Follow this link:
https://ask-sdk-for-nodejs.readthedocs.io/en/latest/Request-Processing.html#request-and-response-interceptors
https://ask-sdk-for-nodejs.readthedocs.io/en/latest/Request-Processing.html#request-and-response-interceptors
In response interceptor you will get your response object which you can se
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.