Hearthian
Hearthian4mo ago

Hearthian - Hey all :-) I'm new to BuildShip an...

Hey all :-) I'm new to BuildShip and having trouble setting up a process that takes a user-input 'product' value via rest API call, queries the Firestore database for that product, and returns the details for that product for further use. Any help would be greatly appreciated.
3 Replies
AI Support
AI Support4mo ago
To set up a process in BuildShip that takes a user-input 'product' value via a REST API call, queries the Firestore database for that product, and returns the details, you can follow these steps: 1. Take the product value as a variable from the request body: - You can take the database ID or product value from the request body either as a query parameter or as a body. In your client-side (frontend), you can have the input set to take the product value of your user and then send it as a body or query parameter to the API. - Learn more about variables here: BuildShip Variables. 2. Query the Firestore database: - You can use the Firestore Collection Query node to query the database for the product. Ensure that the query is set up correctly to filter based on the product value received. - If you encounter any issues with the Firestore node, you can try updating it. Copy the content from the updated file and paste it as per the instructions here: BuildShip Copy-Paste Node. 3. Return the product details: - Once the query is successful, you can store the variable output of the Firestore Collection Query node and use it for further processing or return it as a response. For more detailed guidance, you can also refer to the Firestore Collection Video: Firestore Collection Video. If you need further assistance, feel free to contact support via in-app support: BuildShip Support.
BuildShip
YouTube
Streaming AI Assistant on FlutterFlow with BuildShip Template
Learn how to get streaming response from AI Assistant connected to your database and tools on FlutterFlow with BuildShip. This is a full stack template. Cloneables here: BuildShip Template: https://buildship.app/remix?template=streaming-assistant-flutterflow FlutterFlow Marketplace App: https://marketplace.flutterflow.io/item/xvsvtzyflKhmxN7UVa...
Copy & Paste – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
AI Support
AI Support4mo ago
You can find the documentation for setting up a REST API Call Trigger in BuildShip at the following link: REST API Call Trigger Documentation source: https://docs.buildship.com/trigger-nodes/rest-api
REST API Call Trigger – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Hearthian
Hearthian4mo ago
Thank you very much! I'll give it a try!!