Capturing data from user input in chatbot and using this data in body when connecting to external API
I was wondering if there's any full-fledged guide or if anyone can point me in the right direction on creating a chatbot in PEGA that interacts with an external API and is able to map user input to data being passed into requests to and from the API. I've seen a lot of posts/resources on creating REST integrations and on configuring local pega chatbots, but I'm having trouble connecting and applying the two concepts together, particularly with:
Mapping user input from the chat to data records,
Using that same data as the body of a request that the chatbot will then make to the external API,
Using the data returned from these API calls for custom responses
I would greatly appreciate any help on this. Thanks.
***Edited by Moderator: Pallavi to move from Pega Academy to Product***