Skip to content
Marketing For Marketers Advanced Community

Sheets RAG

Automated workflow: SHEETS RAG. This workflow integrates 13 different services: stickyNote, googleDriveTrigger, code, lmChatGoogleGemini, manualChatTrigger....

Importing this blueprint? Follow the n8n guide — credentials, test runs, and common pitfalls.

Open import docs →
Time Saved 8 hours/week
Setup Time ~20 minutes
Platform n8n
Run Cost Free Tier

Download Integration Assets

Import this community-sourced blueprint into your n8n dashboard. Review nodes and credentials before going live.

Connected Apps

CodeGoogle DriveSetIfPostgreSQLGoogle SheetsExecute Workflow TriggerSticky NoteStop And Error

Interactive Workflow Canvas

Drag nodes vertically to re-order execution sequence. Edit or add steps to customize your blueprint.

Execution Steps

  1. create table query

    Processes and automates operations via the Code integration.

    Code
  2. create insertion query

    Processes and automates operations via the Code integration.

    Code
  3. Google Drive Trigger

    Processes and automates operations via the Google Drive integration.

    Google Drive
  4. change_this

    Processes and automates operations via the Set integration.

    Set
  5. is not in database

    Processes and automates operations via the If integration.

    If
  6. table exists?

    Processes and automates operations via the PostgreSQL integration.

    PostgreSQL
  7. fetch sheet data

    Processes and automates operations via the Google Sheets integration.

    Google Sheets
  8. Finalize Pipeline Processing

    Runs the remaining 12 actions to complete the workflow.

    n8n

Optimize your tech stack and automate workflows between Code, Google Drive, Set, If, PostgreSQL, Google Sheets, Execute Workflow Trigger, Sticky Note, Stop And Error natively.

This verified AI automation workflow blueprint runs on n8n and enables real-time data syncs, content generation, or notifications without writing complex code.

Prerequisites

  1. An n8n account (self-hosted or Cloud)
  2. API access keys and credentials for: Code, Google Drive, Set, If, PostgreSQL, Google Sheets, Execute Workflow Trigger, Sticky Note, Stop And Error

Setup Guide

  1. Download Blueprint: Click the download button above to get the raw JSON file.
  2. Import to n8n: Open your n8n canvas, click settings in the top-right, and choose Import from File. Upload the JSON file.
  3. Configure Node Credentials: Double-click each node representing Code, Google Drive, Set, If, PostgreSQL, Google Sheets, Execute Workflow Trigger, Sticky Note, Stop And Error and authenticate with your account credentials.
  4. Activate Scenario: Test the flow manually by clicking Test step on the trigger, verify the output, then toggle the workflow to Active to start running.

Did this blueprint work for you?

AI integrations change fast. Help keep recipes accurate.