Back to Catalog

Bilingual newsletters with GPT-4o, AI images & videos for HubSpot & SP

plemeoplemeo
301 views
2/3/2026
Official Page

Who’s it for

Marketing, growth, and automation teams that need to ship polished bilingual newsletters—complete with images, optional video, and multi-channel distribution—without writing a line of code.

How it works / What it does

  1. A Webhook receives a plain-language request (e.g. “Create a newsletter about XYZ and store it in SharePoint”). The Webhook can be changed to another trigger, fr example Manual Trigger.
  2. An AI Agent (OpenAI GPT-4o) drafts German & English newsletter copy following a strict JSON schema.
  3. SharePoint fetches an HTML template; a Code node injects AI copy into the placeholders.
  4. Optional creative assets:
    • Pollinations AI → image (resolution check & frame overlay)
    • FAL AI → short video + Lyria2 audio → merged via FFmpeg API
  5. A Gmail Approval step sends the draft to an approver; the flow continues only on “Approve”.
  6. Depending on user intent the workflow:
    • Emails the newsletter to HubSpot contacts, and/or
    • Saves HTML (+ JPG/Video URL) to a SharePoint library.

How to set up

  1. Import the template
  2. Open the yellow sticky note and follow the checklist
    • Create credentials for OpenAI, HubSpot (App Token), Microsoft 365, Gmail, and FAL AI.
    • Enter them in n8n Credential Manager (never in the HTTP node).
  3. Edit the Configuration Settings Set node with your ENV_* variables.
  4. Activate the workflow, copy the production Webhook URL, and trigger it with JSON body { "text": "…" } or with a desired trigger.

Requirements

  • OpenAI account
  • Microsoft 365 tenant (SharePoint & Outlook)
  • HubSpot App Token
  • FAL AI API Key (video & audio generation)

How to customize

  • Want a different language? Tweak the AI prompt inside AI Agent.
  • Want a different storage provider? Change the SharePoint nodes to Google Drive or Dropbox.
  • Skip video generation: set include_video to false in the incoming prompt.
  • Change the distribution logic by adjusting the WF Result Switch node.
  • Add more channels (e.g. Slack) by inserting additional branches after the Switch and modifying the intent determination at the beginning of the workflow.

n8n Workflow: Basic Workflow Template

This n8n workflow serves as a foundational template, demonstrating a simple flow with various core n8n nodes for data manipulation, conditional logic, and external API interaction. It's designed to be a starting point for building more complex automations.

What it does

This workflow showcases several fundamental n8n capabilities:

  1. Receives a Webhook Trigger: Initiates the workflow upon receiving an HTTP request to its unique webhook URL.
  2. Performs an HTTP Request: Executes an arbitrary HTTP request, demonstrating interaction with external APIs.
  3. Applies Conditional Logic (If): Routes data based on a true/false condition, allowing for branching paths in the workflow.
  4. Applies Conditional Logic (Switch): Routes data based on multiple possible conditions, providing more complex branching.
  5. Merges Data: Combines data from different branches back into a single stream.
  6. Edits Fields (Set): Modifies, adds, or removes fields from the incoming data.
  7. Loops Over Items (Split in Batches): Processes items in batches, useful for handling large datasets or rate limits.
  8. Waits for a Duration: Pauses the workflow for a specified amount of time.
  9. Interacts with AI Agents (Langchain): Includes an AI Agent node, suggesting integration with AI models for complex tasks.
  10. Interacts with OpenAI Chat Model: Specifically includes an OpenAI Chat Model node, indicating potential for generating text or engaging in conversational AI.
  11. Converts to File: Transforms data into a file format.
  12. Extracts from File: Extracts data from a file.
  13. Interacts with HubSpot: Connects to HubSpot for CRM-related actions.
  14. Sends Emails (Gmail & Microsoft Outlook): Demonstrates sending emails via both Gmail and Microsoft Outlook.
  15. Executes Custom Code: Allows for custom JavaScript logic to be run within the workflow.
  16. Interacts with Microsoft SharePoint: Connects to Microsoft SharePoint for document or list management.

Prerequisites/Requirements

To use this workflow effectively, you will need:

  • n8n instance: A running n8n instance (cloud or self-hosted).
  • Webhook: The n8n Webhook node will generate a unique URL when activated.
  • HubSpot Account: If you intend to use the HubSpot node, you'll need a HubSpot account and appropriate credentials configured in n8n.
  • Gmail Account: If you intend to use the Gmail node, you'll need a Gmail account and appropriate credentials configured in n8n (typically OAuth).
  • Microsoft Outlook Account: If you intend to use the Microsoft Outlook node, you'll need a Microsoft account with Outlook and appropriate credentials configured in n8n (typically OAuth).
  • OpenAI API Key: If you intend to use the OpenAI Chat Model or AI Agent nodes, you'll need an OpenAI API key.
  • Microsoft SharePoint Account: If you intend to use the Microsoft SharePoint node, you'll need a SharePoint account and appropriate credentials configured in n8n.
  • External API Endpoints: For the HTTP Request node, you'll need an external API endpoint to interact with.

Setup/Usage

  1. Import the Workflow:
    • Download the provided JSON file.
    • In your n8n instance, click "Workflows" in the left sidebar.
    • Click "New" or "Import from JSON" and paste the workflow JSON.
  2. Configure Credentials:
    • Locate nodes like "HubSpot", "Gmail", "Microsoft Outlook", "OpenAI Chat Model", "AI Agent", and "Microsoft SharePoint".
    • Click on each node and configure the necessary credentials. You may need to create new credentials in n8n if you haven't already.
  3. Configure Webhook:
    • The "Webhook" node will automatically generate a unique URL. Use this URL to trigger the workflow from an external application or service.
  4. Configure Other Nodes:
    • Review each node's settings (e.g., the URL for the "HTTP Request" node, conditions for "If" and "Switch", fields for "Edit Fields").
    • Adjust them according to your specific use case.
  5. Activate the Workflow:
    • Once configured, click the "Activate" toggle in the top right corner of the n8n editor to enable the workflow.
  6. Test the Workflow:
    • Trigger the webhook (e.g., by sending a POST request to its URL) or manually execute the workflow to test its functionality.

This template provides a robust starting point for developing custom n8n automations, showcasing a wide range of core functionalities.

Related Templates

Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax

Spark your creativity instantly in any chat—turn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. 📋 What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing 🔧 Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation 🔑 Required Credentials OpenAI API Setup Go to platform.openai.com → API keys (sidebar) Click "Create new secret key" → Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai → Dashboard → API Keys Generate a new API key → Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) ⚙️ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflow—chat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" 🎯 Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration ⚠️ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions

Daniel NkenchoBy Daniel Nkencho
601

AI multi-agent executive team for entrepreneurs with Gemini, Perplexity and WhatsApp

This workflow is an AI-powered multi-agent system built for startup founders and small business owners who want to automate decision-making, accountability, research, and communication, all through WhatsApp. The “virtual executive team,” is designed to help small teams to work smarter. This workflow sends you market analysis, market and sales tips, It can also monitor what your competitors are doing using perplexity (Research agent) and help you stay a head, or make better decisions. And when you feeling stuck with your start-up accountability director is creative enough to break the barrier 🎯 Core Features 🧑‍💼 1. President (Super Agent) Acts as the main controller that coordinates all sub-agents. Routes messages, assigns tasks, and ensures workflow synchronization between the AI Directors. 📊 2. Sales & Marketing Director Uses SerpAPI to search for market opportunities, leads, and trends. Suggests marketing campaigns, keywords, or outreach ideas. Can analyze current engagement metrics to adjust content strategy. 🕵️‍♀️ 3. Business Research Director Powered by Perplexity AI for competitive and market analysis. Monitors competitor moves, social media engagement, and product changes. Provides concise insights to help the founder adapt and stay ahead. ⏰ 4. Accountability Director Keeps the founder and executive team on track. Sends motivational nudges, task reminders, and progress reports. Promotes consistency and discipline — key traits for early-stage success. 🗓️ 5. Executive Secretary Handles scheduling, email drafting, and reminders. Connects with Google Calendar, Gmail, and Sheets through OAuth. Automates follow-ups, meeting summaries, and notifications directly via WhatsApp. 💬 WhatsApp as the Main Interface Interact naturally with your AI team through WhatsApp Business API. All responses, updates, and summaries are delivered to your chat. Ideal for founders who want to manage operations on the go. ⚙️ How It Works Trigger: The workflow starts from a WhatsApp Trigger node (via Meta Developer Account). Routing: The President agent analyzes the incoming message and determines which Director should handle it. Processing: Marketing or sales queries go to the Sales & Marketing Director. Research questions are handled by the Business Research Director. Accountability tasks are assigned to the Accountability Director. Scheduling or communication requests are managed by the Secretary. Collaboration: Each sub-agent returns results to the President, who summarizes and sends the reply back via WhatsApp. Memory: Context is maintained between sessions, ensuring personalized and coherent communication. 🧩 Integrations Required Gemini API – for general intelligence and task reasoning Supabase- for RAG and postgres persistent memory Perplexity API – for business and competitor analysis SerpAPI – for market research and opportunity scouting Google OAuth – to connect Sheets, Calendar, and Gmail WhatsApp Business API – for message triggers and responses 🚀 Benefits Acts like a team of tireless employees available 24/7. Saves time by automating research, reminders, and communication. Enhances accountability and strategy consistency for founders. Keeps operations centralized in a simple WhatsApp interface. 🧰 Setup Steps Create API credentials for: WhatsApp (via Meta Developer Account) Gemini, Perplexity, and SerpAPI Google OAuth (Sheets, Calendar, Gmail) Create a supabase account at supabase Add the credentials in the corresponding n8n nodes. Customize the system prompts for each Director based on your startup’s needs. Activate and start interacting with your virtual executive team on WhatsApp. Use Case You are a small organisation or start-up that can not afford hiring; marketing department, research department and secretar office, then this workflow is for you 💡 Need Customization? Want to tailor it for your startup or integrate with CRM tools like Notion or HubSpot? You can easily extend the workflow or contact the creator for personalized support. Consider adjusting the system prompt to suite your business

ShadrackBy Shadrack
331

Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review

This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.

gotoHumanBy gotoHuman
353