WGMI Lead Gen Bot Template Error
# 🤝help
s
This is relating to the bot template that was just provided on WGMI that was demoed by Patrick Hamelin on zoom. We finally got the template and I found an issue with the algolia api call. For some reason, the filters variable which is set to whether the user wants to find a home for rent and how many bedrooms they want, is not working when using it to search my index in algolia. I set up my apify scraper to extract the numberOfRooms variable correctly, and made sure to unwind the JSON data when sending it to algolia so that all of the attributes aren't stored within the generic jsonAnswer. however, when testing this the bot cannot find any homes with the number of rooms filter. To further test i removed the filters variable from the api request so that it was just checking for the city, and this worked perfectly. The bot showed my the properties. Does anyone know why this is happening?

https://cdn.discordapp.com/attachments/1136813842429657118/1136813842677112862/template.png

https://cdn.discordapp.com/attachments/1136813842429657118/1136813842911989820/template2.png

b
did you end up figuring this out i am having the same issue with the algolia search