https://discord.gg/botpress logo
Make.com → Botpress KB file sync via webhook — nee...
# 🤝help
e
Hi everyone! I’m building an automation to sync SOPs from Google Drive to a Botpress Knowledge Base. I’m a non-developer consultant building this for small businesses, so I apologize if I’m missing something obvious. What I’ve built so far: • Make.com detects when a file changes in Google Drive • Make.com downloads the file • Make.com sends a webhook to Botpress • Botpress webhook triggers an Execute Card • Execute Card runs successfully The only thing not working: Getting the actual file content into the Botpress Knowledge Base using client.uploadFile() What I’ve tried: 1. Passing Google Drive URL to client.uploadFile({ url: ... }) → 403 error, Botpress can’t authenticate with Google Drive 2. Sending file binary directly in JSON webhook body → JSON breaks because PDFs contain special characters 3. Using toString() to encode the binary in Make.com → sends literal variable reference, not actual data 4. Using toBase64() in Make.com → may work but worried about payload size limits for large PDFs 5. Trying to upload directly to the S3 uploadUrl from Make.com HTTP module → consistent SignatureDoesNotMatch error regardless of content-type header used My current Execute Card code is attached. My question: Has anyone successfully synced external files (from Google Drive or anywhere else) into a Botpress Knowledge Base automatically? What was your exact approach? I don’t need it to be Make.com specifically — any working method would help. Even a high-level description of the approach would point me in the right direction. Thank you so much! https://cdn.discordapp.com/attachments/1498403981393920060/1498403981729206272/67B17B6A-3DFF-4AB3-8C5D-45DCEDABFDA4.jpg?ex=69f108f4&is=69efb774&hm=0276c3dfbb57d1cc27b90b10d0dc4dfd4e6d6dcd8a6bbc254bc500736743617c&
l
We have a google drive integration, also you can manually upload files in the kb!
have you tried either of these?
under document
e
Hi Ross, thank you! This is amazing — I didn't know this existed! I've done manual uploads, but want to automate it. I just installed it and see the OAuth connection screen. Once I connect it, will this integration automatically sync files from a specific Google Drive folder to my Knowledge Base when they're updated? That's the main thing I'm trying to achieve. Thank you so much for your help!
Ross this is incredible — the Google Drive integration has exactly what I need including File Updated triggers and Download File Data. I'm going to rebuild my sync workflow using these native cards instead of Make.com. Thank you so much!
l
Amazing news 👏🏻👏🏻👏🏻
Glad I could help 🫡
e
@User — when I set up the Google Drive integration it only let me select a single file, not a whole folder. I need to watch an entire folder of SOPs and sync any file that changes to my KB. Should I be using the syncChannels action for this? And does the Download File Data card with Index File toggled on automatically add files to a specific Knowledge Base?
l
that is currently not a feature of the google integration sadly, however it will be added in the near future 🫡
e
Thanks @User ! That's helpful to know. While I wait for that feature, what's the recommended approach for automatically syncing files from Google Drive to a Botpress Knowledge Base today? I've tried the Files API uploadUrl but keep getting S3 SignatureDoesNotMatch errors when trying to upload from Make.com. Is there a working method you'd recommend?
@loud-crowd-60573 — one more question if you don't mind! I have the Google Drive integration connected via OAuth and I've added a File Created trigger to a workflow. But when I upload a new file to Google Drive, nothing appears in my Botpress logs — the trigger isn't firing at all. Do I need to run the Sync Channels action first to set up file watching? If so, how do I trigger that initial setup? I'm not sure how to run it since it's an action card, not a trigger. Thank you so much for your patience — you've been incredibly helpful!
4 Views