Blog Writer & Editor with Google Sheets Memory (GPT-4)
    100%
    Automation
    0(0 reviews)
    134 downloads

    Blog Writer & Editor with Google Sheets Memory (GPT-4)

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    Chat to write or reword a blog post. The workflow stores each result in Google Sheets and uses a sub-workflow “Google tool” to count rows per session (your running context). If a session exceeds a row threshold, the flow can branch (e.g., stop or notify). --- ## ⚙️ Setup Instructions ### 1️⃣ Set Up OpenAI Connection 1. Go to [OpenAI Platform](https://platform.openai.com/api-keys) 2. Navigate to [OpenAI Billing](https://platform.openai.com/settings/organization/billing/overview) 3. Add funds to your billing account 4. Copy your API key into the OpenAI credentials in n8n ### 2️⃣ Prepare Your Google Sheet #### Connect your Data in Google Sheets - Use this format: [Sample Sheet](https://docs.google.com/spreadsheets/d/1NwnABaQIReMmG2sRGrC-lv-5kpmsKJkUlRm-KmvPsCE/edit?gid=0#gid=0) - Row 1 = column names (e.g., `session`, `Rows`, `output`) - Data in rows 2–100 (or more if you prefer) - In n8n, use Google Sheets OAuth2 → pick your Spreadsheet and Worksheet - (Optional) You can adapt this to Airtable, Notion, or a Database --- ## 🧠 How It Works - Chat Trigger: Provide a topic (write) or paste existing text (reword). - Code Node (“Choose to Write or Edit Blog”): - Builds a `system_prompt` + `user_prompt` - Instructs the agent to call the Google tool (sub-workflow) with only the `sessionid` to count existing rows. - Tool Workflow (“google”): - Fetches rows from the sheet → filters by `session` → summarizes row count. - Agent (“Blog Writer & Editor”): - Returns structured JSON (items/rows, session, blog body). - Store (Google Sheets): - Appends `{ session, Rows, output }` to the sheet. - If Node: - Example rule: `Rows > 3` → branch/limit/notify as needed. --- ## 💬 Example Prompts - “Write a 600-word blog about n8n agents with 3 bullet takeaways. Session: `abc123`.” - “Reword this post into a concise LinkedIn article. Session: `launchQ3`:\n<your text here>” - “Draft a blog intro and 5 SEO headlines on marketing automation. Session: `mkt-01`.” --- ## 📬 Contact Need help tailoring this to Airtable/Notion/DB, or adding auto-publishing? - 📧 rbreen@ynteractive.com - 🔗 [Robert Breen](https://www.linkedin.com/in/robert-breen-29429625/) - 🌐 [ynteractive.com](https://ynteractive.com)

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 30-60 min

    Included in Builder Pro — $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    Google Sheets
    Data
    OpenAI
    AI
    HTTP Request
    Integration

    ⚠️ 3 services require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    —

    0 reviews

    5★
    0
    4★
    0
    3★
    0
    2★
    0
    1★
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought