Skip to main content

Daily Google Tasks briefing in Slack with Ollama-powered summaries

Workflow preview

Workflow preview
100%
Daily Google Tasks briefing in Slack with Ollama-powered summaries preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Tasks Briefing This template posts a clean, Slack ready morning summary of your Google Tasks due today . It fetches tasks, filters only those due “today” in your timezone, asks a local LLM (via Lan...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.googletasks, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmollama, n8n-nodes-base.slack, n8n-nodes-base.stickynote, n8n-nodes-base.cron

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Axiomlab.dev.

Original n8n.io source

1.1 Workflow description

Title
Daily Google Tasks briefing in Slack with Ollama-powered summaries
Workflow name
Daily Google Tasks briefing in Slack with Ollama-powered summaries

Tasks Briefing

This template posts a clean, Slack-ready morning summary of your Google Tasks due today. It fetches tasks, filters only those due “today” in your timezone, asks a local LLM (via LangChain + Ollama) to produce a short summary (no steps, just a concise brief), strips any hidden <think> blocks, and delivers the message to your chosen Slack channel.

How it works

  1. Trigger at Morning (Cron) – runs at 7:00 AM (you can change the hour) to kick things off daily.

  2. Get many tasks (Google Tasks node) – pulls tasks from your selected Google Tasklist.

  3. Code (Filter Due Today) – normalizes dates to your timezone, keeps only tasks due today, and emits a fallback flag if none exist.

  4. If – routes:

    • True (has tasks) → continues to the LLM summary path.
    • False (no tasks) → sends a “No tasks due today” message to Slack.
  5. Code (Build LLM Prompt) – builds a compact, Markdown-only prompt for the model (no tool calls).

  6. Basic LLM Chain (LangChain) + Ollama Model – generates a short summary for Slack.

  7. Code (Cleanup) – removes any <think>…</think> content if the model includes it.

  8. Send a message (Slack) – posts the final brief to your Slack channel.

Required credentials

  • Google Tasks OAuth2 API – to read tasks from your Google Tasklist.
  • Slack API – to post the summary into a channel.
  • Ollama – local model endpoint (e.g., qwen3:4b); used by the LangChain LLM nodes.

Setup Instructions

  1. Google Tasks credential

    • In Google Cloud Console: enable Google Tasks API, create an OAuth Client (Web), and set the redirect URI shown by n8n.

    • In n8n Credentials, add Google Tasks OAuth2 API with scope:

      • https://www.googleapis.com/auth/tasks (read/write) or
      • https://www.googleapis.com/auth/tasks.readonly (read-only).
    • In the Get many tasks node, select your credential and your Tasklist.

  2. Slack credential & channel

    • In n8n Credentials, add Slack API (bot/user token with chat:write).
    • In Send a message nodes, select your Slack credential and set the Channel (e.g., #new-leads).
  3. Ollama model (LangChain)

    • Ensure Ollama is running on your host (default http://localhost:11434).
    • Pull a model (e.g., ollama pull qwen3:4b) or use another supported model (llama3:8b, etc.).
    • In Ollama Model node, select your Ollama credential and set the model name to match what you pulled.
  4. Timezone & schedule

    • The Cron node is set to 7:00 AM. Adjust as needed.
    • The Code (Filter Due Today) node is configured for Asia/Dhaka; change the TZ constant if you prefer a different timezone.
  5. (Optional) Cleanup safety

    • The template includes a Code (Cleanup) node that strips <think>…</think> blocks from model output. Keep this connected before the Slack node.
  6. Test the flow

    • Run the workflow once manually:

      • If you have tasks due today, you should see a concise summary posted to your Slack channel.
      • If none are due, you’ll receive a friendly “No tasks due today” message.
  7. Activate

    • When everything looks good, toggle the workflow Active to receive the daily summary automatically.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Code (Build LLM Prompt)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Get many tasks

Type / Role
n8n-nodes-base.googleTasks - googleTasks
Config choices
Version 1

Block 3 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 4 - Basic LLM Chain1

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 5 - Ollama Model1

Type / Role
@n8n/n8n-nodes-langchain.lmOllama - lmOllama
Config choices
Version 1

Block 6 - Send a message1

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 7 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Code (Filter Due Today)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Slack1

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2

Block 10 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Trigger at Morning

Type / Role
n8n-nodes-base.cron - cron
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Daily Google Tasks briefing in Slack with Ollama-powered summaries
Complexity advanced
Nodes 15
Categories Personal Productivity, AI Chatbot
Author Axiomlab.dev
Published 07 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8354/8354.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Daily Google Tasks briefing in Slack with Ollama-powered summaries do?

Tasks Briefing This template posts a clean, Slack ready morning summary of your Google Tasks due today . It fetches tasks, filters only those due “today” in your timezone, asks a local LLM (via Lan...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Personal Productivity, AI Chatbot use case.