https://discord.gg/botpress logo
How to trigger the standard "Capture File" card vi...
# 🤝help
a
Hi everyone, I’m building a React Native chat interface connected to Botpress via a Supabase Edge Function. My goal is to keep my Botpress Studio flows standard, specifically using the native Capture File and Capture Image cards. I want my mobile app to satisfy these cards exactly like the Emulator does. My current logic: User selects a file in the React Native App. App uploads the file to Supabase Storage and gets a publicUrl. App sends a payload to my Edge Function, which forwards it to the Botpress API. The Question: To successfully trigger the Capture File card and have it store the URL in my workflow variable, what is the exact JSON payload I need to send to the /messages endpoint?