workflows.fit
Back to n8n workflows
n8n templateFreeBy Axiomlab.dev

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 p...

CommunicationHITLProductivityDevelopmentCore NodesAILangchainCode
Loading interactive preview...

Template notes

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