Community Sheets RAG (Unverified)
detail.loadingPreview
Generates SQL schema and insert statements from Google Sheets data, suitable for community contributions.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automates the process of generating SQL CREATE TABLE and INSERT statements from data fetched from a Google Sheet. It's designed for community contributions, meaning the schema and data are considered unverified by default. The workflow dynamically creates table names based on the sheet name and infers column types, including handling currency and dates.
Key Features
- Dynamic Table Naming: Creates table names based on the provided sheet name (e.g.,
ai_table_your_sheet_name). - Dynamic Column Discovery: Infers column names from the sheet's header row.
- Type Inference: Attempts to detect and use appropriate SQL data types, including
TIMESTAMPfor dates andDECIMALfor currencies. - Currency Handling: Detects common currency symbols and normalizes currency values.
- Date Formatting: Parses MM/DD/YYYY date strings into ISO format for
TIMESTAMPcompatibility. - UUID Primary Key: Automatically adds an
ai_table_identifiercolumn with a UUID primary key and default value.
How To Use
- Import the workflow: Upload the provided n8n workflow JSON.
- Configure the Google Sheets Node: Connect to your Google account and select the specific sheet you want to process.
- Adjust
change_thisPlaceholder: Ensure thechange_thisplaceholder in theCodenodes (specifically in thesheet_nameretrieval) is correctly set to reference the actual sheet name or a variable that holds it. - Run the Workflow: Execute the workflow. The output will be SQL statements for creating the table and inserting data.
Apps Used
Workflow JSON
{
"id": "f02f58bf-7e8c-415e-a215-06426571c811",
"name": "Community Sheets RAG (Unverified)",
"nodes": 0,
"category": "Postgres",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: f02f58bf-7e8c...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Postgres Schema Explorer (Unverified)
Explore and retrieve your PostgreSQL database schema to aid in generating natural language queries.
YouTube Video Statistics to PostgreSQL
Fetches YouTube video statistics and stores aggregated data in PostgreSQL.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.
Automated Multi-Platform Influencer Discovery & Qualification
This powerful n8n workflow automates the entire process of discovering, scoring, and qualifying ideal influencers across Instagram, TikTok, and YouTube for your marketing campaigns. Streamline your talent acquisition by leveraging custom criteria and a sophisticated scoring algorithm.