Block 1 - Aggregate1
- Type / Role
- n8n-nodes-base.aggregate - aggregate
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
of the n8n Workflow This n8n workflow automates the transformation of spreadsheet data into professional charts and graphs using AI driven analysis. Triggered via Slack, it processes uploaded files...
n8n-nodes-base.aggregate, n8n-nodes-base.summarize, n8n-nodes-base.extractfromfile, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.postgres, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by LeeWei.
Original n8n.io sourceThis n8n workflow automates the transformation of spreadsheet data into professional charts and graphs using AI-driven analysis. Triggered via Slack, it processes uploaded files (Excel, CSV, Google Sheets, or Drive links), interprets the data with an AI agent to determine the best visualization type (e.g., bar, line, pie, doughnut, or bubble charts), generates images via QuickChart, uploads them to Google Drive, and delivers the results back to the user in Slack with titles and shareable links. It maintains conversation context in Postgres for seamless multi-turn interactions and handles audio or text inputs for chart requests.
• Users upload spreadsheets or share links via Slack, along with a natural language request (e.g., "Create a bar chart of sales by month"). • The workflow detects file types, extracts and aggregates data, then uses an AI agent to parse the request and select an appropriate chart type.
• Data is formatted and sent to QuickChart's API to generate the visualization image.
• Images are uploaded to Google Drive, and a confirmation message with titles and links is sent back to Slack.
Setup takes about 15-30 minutes, mainly for credential configuration. Detailed node instructions are in the workflow's sticky notes—focus on pasting API keys and testing triggers. Once cloned, the workflow runs plug-and-play; only tweak credentials and optional prompts as needed.
Automate turning uploaded spreadsheets into AI-generated charts (bar, line, pie, etc.) via Slack, with results shared as Google Drive links.
Slack Bot Setup
chat:write, files:read, channels:read.Slack Trigger node's credentials in n8n.OpenAI API Key
OpenAI (gpt-4o-mini) node's credentials.Postgres Database Connection
n8n_rodger_chat for chat history.Postgres nodes' credentials.Google Sheets & Drive Setup
Google Sheets and implied Drive upload nodes.QuickChart Integration
HTTP Request node.Clone the workflow JSON directly into n8n—all nodes (triggers, AI agents, extractors, switches) are pre-wired and ready. No re-setup needed beyond the steps above. Key editable fields (found in sticky notes):
AI Agent Node: System Prompt
Customize the chart interpretation (default: auto-selects bar/line/pie/etc. based on data). Example: Change to prioritize "scatter plots for correlations" if needed.
Switch Nodes (File Detection)
Add rules for new formats (e.g., .ods for OpenDocument) in the conditions for XLS/XLSX/CSV/Sheets/Drive.
HTTP Request Node (QuickChart)
Tweak chart params like width=800&height=600 for size, or colors via ?chart=... for branding.
Let User Know Upload Complete: Text
Adjust the confirmation message template for tone (e.g., add emojis or custom phrasing).
Test with a sample Slack message: "Make a line graph from this sales CSV over months." Results appear instantly with links.
This workflow streamlines data viz without coding, perfect for teams analyzing trends on the fly. Questions? Drop a Slack message in your bot channel!
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 82 workflow blocks. Download the JSON for the full node graph.
| Workflow | Transform spreadsheet data into smart charts with OpenAI, QuickChart & Google Drive |
|---|---|
| Complexity | advanced |
| Nodes | 82 |
| Categories | Document Extraction, Multimodal AI |
| Author | LeeWei |
| Published | 18 Sept 2025 |
Use the JSON export at /data/workflows/8697/8697.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
of the n8n Workflow This n8n workflow automates the transformation of spreadsheet data into professional charts and graphs using AI driven analysis. Triggered via Slack, it processes uploaded files...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.