SETUP (2 minutes)
1. ADD YOUR OPENAI API KEY
After installing, go to Plugins > AI Report Generator and find the field labelled OPENAI_API_KEY. Paste your OpenAI secret key there (it starts with sk-).
Get your key at:
https://platform.openai.com/api-keysYour key is stored privately and is never shared or visible to other users.
2. GENERATE A REPORT SUMMARY
In any Bubble workflow, add the action "Generate Report Summary" (found under AI Report Generator).
- Report Data: the text or data to summarise (e.g. a Data API response, repeating group content, or any dynamic expression).
- AI Model: optional, defaults to gpt-4o. Use gpt-3.5-turbo for lower cost.
- Max Tokens: optional, defaults to 1000. Increase for longer reports.
The action returns: AI Summary (the generated text) and Error Message (empty if successful).
3. DISPLAY THE REPORT
Add the "Report Preview" visual element to any page. In its properties, connect:
- Summary Text: set to the AI Summary result from your workflow action.
- Report Title: any static or dynamic heading (e.g. "Monthly Sales Report").
- Accent Color: pick a colour to match your app branding.
- Show Download Button: tick to show a copy-to-clipboard button for the report text.
NOTES
- This plugin uses your own OpenAI account — usage costs are billed directly by OpenAI, not through this plugin.
- The action runs server-side, so your API key is never exposed to end users.
- Supported models: gpt-4o, gpt-4-turbo, gpt-3.5-turbo, or any OpenAI chat completion model.
DEMO APP EDITOR
https://bubble.io/page?id=technicalcofounder-76012&name=plugin-reportpredict&tab=Design