Templates / Social media analysis and automated email generation

Social media analysis and automated email generation

Ready for 3.0

by PollupAI ✓ · 33,382 views · created 2025-01-30 · Lead Nurturing, Multimodal AI

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 AI workflow has 13 nodes and runs on Google Sheets events. Along the way it connects OpenAI Chat Model and Google Sheets.

How it runs

Trigger: On Google Sheets events.

  1. If: checks a condition and branches into true / false
  2. Set your company's variables (Edit Fields (Set)): sets or maps fields
  3. Get twitter ID (HTTP Request): calls an HTTP API
  4. Get tweets (HTTP Request): calls an HTTP API
  5. Exract and limit X (Code): runs custom JavaScript code
  6. Get linkedin Posts (HTTP Request): calls an HTTP API
  7. Extract and limit Linkedin (Code): runs custom JavaScript code
  8. Generate Subject and cover letter based on match (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  9. Send Cover letter and CC me (Send Email): sends an email over SMTP
  10. Google Sheets: uses Google Sheets

Services it uses

OpenAI Chat ModelGoogle Sheets

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 Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (If).

Nodes used (10)

From the author

Social Media Analysis and Automated Email Generation > by Thomas Vie [email protected] Who is this for? This template is ideal for marketers, lead generation specialists, and business professionals seeking to analyze social media profiles of potential…

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