https://discord.gg/botpress logo
Need help with all-at-once information collection ...
# 🤝help
r
Hey Botpress community! I'm building a WhatsApp AI agent and need some advice on brief collection. My Goal: I want to collect multiple pieces of information from a single user message ( date, location, details, budget, etc.) rather than asking for each field sequentially. This matches how our users naturally communicate in WhatsApp conversations. When users message us, they often provide partial information in a single message - and I want to only ask for the specific missing fields rather than going through each field one by one. I know Capture Information cards are designed to collect information sequentially, but I'm looking for a pattern to handle this more natural, all-at-once collection style. Any suggestions on how to structure this in Botpress? Are there examples or best practices for this type of conversational flow? Thanks in advance! 🙏
p
Hi! My recommendation would be to use an autonomous node as it is designed to communicate with the user naturally. The approach I would suggest is to use one as a router which would hold a second workflow in which the information collected is used. That way that workflow can have input variables which ensure the autonomous nodes must provide the required information and thus collect it all before transitioning. Hope this helps, happy to answer any follow up questions!
r
Hi Leanne! Thank you for your response. I understand that using autonomous nodes will be help streamline this and ensure it works. The only reason I aim to stray way from autonomous nodes is because another member of your botpress team insisted that building out workflows with standard nodes accurately step by step for each edge case will drive more accurate results than autonomous nodes. Is my impression here wrong that autonomous nodes may not be as accurate as I would want it to be? If I were to do it using standard normal nodes, is my request even possible? Thank you for your response! @prehistoric-airplane-85682
p
They can be less reliable for some use cases but yours is not one of them. When it comes time to query KBs and write to tables I do think the autonomous node may make more mistakes but it is good at analyzing language which is what you want to use it for. With standard nodes, you could use AI tasks. We are in the process of building a guide on AN best practices too.
4 Views