Templates / Draft LinkedIn comment reply drafts with Gmail, Mistral AI and Google Sheets

Draft LinkedIn comment reply drafts with Gmail, Mistral AI and Google Sheets

Ready for 3.0

by Wolfgang Renner ✓ · 26 views · created 2026-07-25 · Social Media, 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 8 nodes and runs on a schedule (every 30 minutes). Along the way it connects Gmail and Google Sheets. It also calls api.mistral.ai over HTTP.

How it runs

Trigger: On a schedule (every 30 minutes).

  1. Fetch LinkedIn Notification Emails (Gmail): get many
  2. Parse Comment Details (Code): runs custom JavaScript code
  3. Read Logged Comments (Google Sheets): uses Google Sheets
  4. Keep Only New Comments (Code): runs custom JavaScript code
  5. Configure Reply Style (Edit Fields (Set)): sets 1 field: persona
  6. Draft Reply with Mistral AI (HTTP Request): calls api.mistral.ai (POST)
  7. Append Comment with Draft (Google Sheets): append

Services it uses

GmailGoogle Sheets

HTTP calls to: api.mistral.ai

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.

Nodes used (6)

From the author

Quick Overview This workflow runs every 30 minutes, searches Gmail for LinkedIn comment notification emails, extracts the commenter and comment details, uses Mistral AI to draft a short reply, and appends the comment plus draft to a Google Sheets inbox for…

Excerpt from Wolfgang Renner'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.