https://discord.gg/botpress logo
Can my Botpress chatbot fetch answers from Google ...
# 🤝help
t
Hi everyone 👋 I have a functionality question and would appreciate any brainstorming ideas. I built a WhatsApp chatbot in Botpress, and it’s working perfectly — thanks to this awesome platform! 🙌 The bot answers user questions, and when it doesn’t know an answer, I capture that feedback using a Raw Input card and save it to Google Sheets (via Make.com). Now, here’s the challenge: Once an answer is added to that Google Sheet, I want Make.com to send that answer back to the chatbot automatically — so the user receives the response later. I’ve already built the Make scenario that detects new answers in the sheet, but I’m not sure how to configure Botpress to receive and send that reply to the correct user. Any ideas or examples would be greatly appreciated! 🙏
w
You need: - Install [Webhook integration](https://www.botpress.com/docs/integrations/integration-guides/webhook#webhook), - Call the webhook from Make in a POST request with a JSON payload. - The payload must include conversationId, userId (to set in the Webhook event), and answer In the Webhook Event, I use a filter on the path because you can have different webhook events receiving different data, which triggers different actions. The URL should be something like this https://webhook.botpress.cloud/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/answers. If you prefer, you can set other key=value pairs in the JSON to filter and use only the webhook URL https://webhook.botpress.cloud/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx https://cdn.discordapp.com/attachments/1431290512668758137/1431301041525100665/image.png?ex=68fcea78&is=68fb98f8&hm=f76a0e15f989ecada857d3a5b72c72ea26766df1c75d7726b12e8248ccd82158&
l
Thank you Zannax!!! 🙌
t
Hello @white-nest-40686 @loud-crowd-60573 thanks for answer! It seems the codes unfortunately didn't work. I was able to pull the answer from google sheet via make integration. So Make sees the change in sheet, sending it to botpress through HTTP module. However, I can't see the answer in chat screen. This is my proces : 1 - See "chatbot screen png" image, it says "my account is deleted", this was recorded inside google sheet. 2 - See "make_flow png" image. Inside HTTP module, Make is able to see "my account is deleted" sentence, the answer is also there; it is "re-created" in answer field. 3 - webhook info and messagetosend png images are showing my set up in botpress. I also tried Botpress Webhook event url is also correct inside make http module. Do you have any idea for botpress setting? ( Sorry for all those screenshots:) ) https://cdn.discordapp.com/attachments/1431290512668758137/1434988778954686464/chatbot_screen.png?ex=690a54f1&is=69090371&hm=bbab94832048ceeaaa0a3448619fdccb14267899d5f450fc465918d40097aa38& https://cdn.discordapp.com/attachments/1431290512668758137/1434988779319595048/make_flow.png?ex=690a54f1&is=69090371&hm=37a1199e650995c2a45ebe17a2112403a8725295a86e5a4fdd4d086c4d159b8f& https://cdn.discordapp.com/attachments/1431290512668758137/1434988779655135363/webhook_info.png?ex=690a54f1&is=69090371&hm=7ce101dd65f77949608bb013c81f5611434023e8763db531e34abe365df22290& https://cdn.discordapp.com/attachments/1431290512668758137/1434988779977965728/messagetosend.png?ex=690a54f1&is=69090371&hm=c4f05d4637489b73772f8a8156c996b7d929c42b83a31d8468c8cd8c2b752c35&
w
In make.com, the URL you call should end with
/answers
?
t
with /answers or without it, It didnt work. Make is removing /answer from botpress url call whenever the link is refreshed.. I am not professional botbuilder, but the whole scenario doesnt make sense.. because we are ending the conversation as you can see chatscreen, there is no node in botpress after " thanks for sharing bla bla bla" text card. Then we are expecting to webhook event to re-start the conversation. Don't we need a conversation starter first? I only have 1 month of bot building experience, forgive my ignorance :))
w
- Yes, you may connect the node to your first node. If your trigger is in a different workflow, add an iteration card to that workflow. - Clear the filter on the trigger and retry. If it doesn’t work, try calling your webhook using Postman or a similar tool.
t
There is no issue on api part because Botpress is already receiving conversationid and answer information from google sheet, it is not showing up as answer in a specific conversation ov 4, 2025 at 5:44:53 PM [webhook] Received webhook request: POST "{\"conversationId\": \"conv_01K97N6NJR7ZTC4R28YGDSKMP8\", \"answer\": \"ı dont know\"}" The error occurs when the Send a message node tries to execute. Look at these two lines: [dbc7fd2b20] [dm] : Sending Message. Type: text. Text: Notice that the Text: field is completely empty. Error sending outgoing message { ... error: Ds [Error]: request/body must have required property 'conversationId' }