Plugin: Gemini Data Query AI
==== Overview ====
Transform your Bubble app from a static display of information into an interactive experience. The Gemini Data Query AI plugin leverages the power of Google's Gemini AI to understand natural language and perform intelligent searches across your own custom content.
It moves beyond simple keyword matching to perform semantic searches, meaning it understands the intent behind a user's question. This allows you to build powerful features like an AI-powered helpdesk, an intelligent product search, or a dynamic knowledge base that provides precise answers from your data, all without writing complex code.
==== How It Works ====
The plugin creates a simple but powerful flow:
- A user asks a question in your app (e.g., through an input box).
- The plugin securely sends the user's question along with your specified data source (like a database or a JSON file) to the Gemini AI API.
- Gemini AI analyzes the query, searches your content for the most contextually relevant answer, and instantly returns it to be displayed in your app.
==== Key Features ====
This plugin provides the following components to integrate intelligent, content-based responses into your Bubble app.
==== Actions ====
- Query Custom Content (with Gemini AI): This is the core action of the plugin. It takes a user's query and your custom content as input and uses Gemini AI to return the most accurate and relevant response. It understands context, not just keywords.
- Add Content to Source: Dynamically add new content to your data source from within your Bubble app. This is perfect for user-generated content, or for allowing admins to easily update the knowledge base without touching the editor.
==== Elements ====
- Custom Content Display: A simple way to display the response generated by the plugin. It's a standard Bubble text element that automatically updates when a new response is generated, allowing for real-time interaction.
- APIs
Custom Content API: The plugin exposes an API endpoint that allows you to programmatically access the query functionality from external services, enabling you to integrate your Bubble app's intelligent search with other applications.
==== Ideal Use Cases ====
- Intelligent FAQ/Helpdesk: Instantly answer user support questions in natural language. A user can ask "How long does shipping take to California?" and get a precise answer from your documentation.
- E-commerce Product Queries: Allow customers to ask specific questions about products, like "Does this laptop have a backlit keyboard?" and pull the answer directly from your product descriptions or specifications.
- Internal Knowledge Base: Empower your team to quickly find information within company guides, policies, and documentation by simply asking a question.
- Dynamic User Onboarding: Personalize the welcome experience by referencing user data to pull in relevant tips, guides, or introductory information.
==== How to Get Started (Setup) ====
- Install Plugin: First, install the "Gemini Data Query AI" plugin from the "Plugins" tab in your Bubble editor.
- Get Your Google AI API Key: This plugin requires a free API key from Google. You can get one in seconds from Google AI Studio.
- Configure Plugin: In the "Plugins" tab, paste your Google AI API Key into the plugin's settings field.
- Provide a Data Source: In your app's workflow, point the plugin to your content. This can be a search for things in your Bubble database, the result of an API call, or a manually entered text or JSON object.
- Build Your Workflow: Create a workflow (e.g., "When a Button is clicked"). Use the "Query Custom Content (with Gemini AI)" action. Specify the user's input field and the data source you set up.
- Display the Response: Use the result of the action to populate the "Custom Content Display" element or any other text element in your app.
==== Changelog ====
Aug 4, 2025: Released "Gemini Data Query AI"
==== Contact / Support ====
Please submit any bug reports on our public issue tracker, or reach out to
[email protected] for any inquiries.