Templates / Draft Gmail reply suggestions with Groq Llama 3.3

Draft Gmail reply suggestions with Groq Llama 3.3

Ready for 3.0

by Taku (AI Jidoka Lab) · 4 views · created 2026-07-25 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 5 nodes and runs on Gmail events. Along the way it connects Gmail. It also calls api.groq.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Post to Groq for Reply Draft (HTTP Request): calls api.groq.com (POST)
  2. Parse AI Draft Response (Code): runs custom JavaScript code
  3. If: checks a condition and branches into true / false
  4. Send Reply via Gmail (Gmail): work with draft

Services it uses

Gmail

HTTP calls to: api.groq.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Email Received).

Nodes used (5)

From the author

Quick overview This workflow polls Gmail for new emails, sends the message content to Groq’s Llama 3.3 chat completions API to generate a JSON reply draft decision, and creates a Gmail draft reply only when the message appears to need a human response. How it…

Excerpt from Taku (AI Jidoka Lab)'s description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.