by Oneclick AI Squad
This n8n workflow transforms uploaded health details or lab reports received via email into a customized diet plan using AI analysis, then sends the plan back to the user via email, optimizing nutrition based on individual health data. Why Use It This workflow automates the creation of personalized diet plans from health data, saving time for nutritionists, improving patient outcomes with AI-driven insights, and providing a convenient email delivery system for users. How to Import It Download the Workflow JSON: Obtain the workflow file from the n8n template or create it based on this document. Import into n8n: In your n8n instance, go to "Workflows," click the three dots, select "Import from File," and upload the JSON. Configure Credentials: Set up email (e.g., IMAP for receiving, SMTP for sending), AI model, and optional Google Sheets credentials in n8n. Run the Workflow: Test with a sample email containing health data and verify the diet plan delivery. System Architecture Data Input Pipeline**: Email Trigger: Initiates the workflow when a health report email is received. Extract Health Data: Parses uploaded health details or lab reports from the email. AI Analysis Flow**: Send to AI Model: Analyzes health data using an AI model. Generate Diet Plan: Creates a customized diet plan based on AI output. Delivery Flow**: Prepare Email Content: Formats the diet plan for email delivery. Send Diet Plan Email: Sends the plan to the user via SMTP. Update Log (Optional): Logs the process in a Google Sheet. Google Sheet Structure Columns**: timestamp: Date and time of the diet plan generation. user_email: User’s email address for receiving the plan. health_data: Extracted health metrics or lab report summary. condition: AI-identified health condition. diet_plan: Generated diet plan summary. sent_status: Status of email delivery (e.g., Sent, Failed). Customization Add SMS Alerts**: Integrate Twilio or WhatsApp for additional notifications. Enhance AI**: Train the AI model with more nutritional data for better plans. Include Recipes**: Add a node to suggest recipes based on the diet plan. Multilingual Support**: Adapt email content for different languages. Integration with Apps**: Connect to fitness apps (e.g., MyFitnessPal) for tracking. Requirements Email Service**: IMAP (e.g., Gmail) for receiving health data emails and SMTP for sending diet plans. AI Model**: Ollama or similar for health analysis and diet plan generation (requires API access). n8n Instance**: With email (IMAP/SMTP) and AI connectors configured. Internet Connection**: To access email and AI APIs. Optional Google Sheets Account**: For logging health data and diet plans. User Consent**: Ensure compliance with data privacy laws (e.g., HIPAA) for health data. Want a tailored workflow for your business? Our experts can craft it quickly Contact our team
by Aitor | 1Node
This automated n8n workflow streamlines lead qualification by taking structured lead data from Tally forms, enriching it with Qwen-3’s AI analysis, and promptly notifying your sales or delivery teams. It provides concise summaries, actionable insights, and highlights missing information to focus outreach efforts efficiently. The workflow includes security best practices to prevent prompt injections and ensures data integrity and privacy throughout. Requirements Tally Forms A Tally account with an active lead qualification form Webhook integration enabled to send form responses to n8n Qwen-3 Large Language Model API key and access to your chosen AI model via OpenRouter Gmail Notification Gmail account credentials connected in n8n Workflow Breakdown Trigger: Receive Tally form submission via n8n Webhook The workflow starts from a Webhook node listening for POST requests from your Tally form. Extract and map Tally form data Parse JSON to obtain fields like Company Name, Full Name, Work Email, Employee Count, Industry, Main Challenges Encountered, Goals With the Project, Urgency or Date When Solution Is Needed, Estimated Budget, and Anything Else We Should Know. Construct the Lead Qualification prompt Combine a secure system prompt with user data from the form. This prompt instructs Qwen-3 to generate summaries, identify key challenges, recommend action points, suggest follow-up questions, and more. Send notification with AI analysis Deliver the formatted message through your chosen channel(s) such as email or Slack, enabling your team to quickly act on qualified leads. Potential Improvements Capture Lead Role and Authority:** Add fields to the form for role and decision-making authority to improve lead qualification accuracy. Expand Notification Channels:** Include SMS or Microsoft Teams notifications alongside email and Slack for better team reach. Automate Lead Scoring:** Incorporate a numeric or qualitative lead score based on key input factors to prioritize follow-ups. Integrate CRM Task Creation:** Automatically create follow-up tasks or reminders in CRM systemss. 🙋♂️ Need Help? Feel free to contact us at 1 Node Get instant access to a library of free resources we created.
by Neal Mcleod
How it works Please guys, stop staring at a blank page. This workflow turns viral Instagram trends into original scripts for your channel automatically. Scrapes Trends:** Finds viral reels in your niche using Apify. Transcribes:** Downloads the video and converts the audio to text. Researches:** Uses Perplexity to find facts and add depth to the topic. Writes:** Generates a fresh, unique script based on the viral structure using AI. Saves:** meaningful content directly to your Google Sheet, ready for filming. Set up steps Apify:** You need an account to run the Instagram scraper. API Keys:** Have your OpenAI (for writing/transcription) and Perplexity (for research) keys ready. Google Sheet:** Create a sheet with headers for URL, Transcript, and Final Script. Credentials:** Enter your keys into the node credentials in n8n. Test:** Start with a low limit (e.g., 1-2 items) to verify the flow. Who is this for? Content Creators:** Beat writer's block and post more consistently. Social Media Managers:** Scale research without hiring a team. Agencies:** Rapidly repurpose trends for multiple clients.
by Michael Muenzer
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Fetch Instagram profile information with Apify and generate personalized DMs in Google Sheets. This is great for creator outreach, customer interviews, partnership prospecting, and streamlining your social Direct Messaging workflow. Saving hours per campaign or research study. How it works We read a list of Instagram accounts from a Google Sheet We trigger the Apify Instagram Post Scraper task to fetch the latest post data per account We pull the image URL of the newest post and analyze it with OpenAI Vision We use the analysis plus account metadata to generate a personalized DM We write the message back to the Google Sheet for easy sending and tracking Note: Both Apify and OpenAI provide free credits that can cover initial runs of this workflow (20.08.2025). Set up steps Copy Google Sheet template and add it in all Google Sheet nodes Make sure that n8n has read & write permissions for your Google sheet. Add your list of Instagram accounts in the first column in the Google sheet Add Apify credentials (e.g. API key) Create task for Instagram Post Scraper on Apify Add OpenAI API credentials What you can achieve How do I scale creator outreach while keeping messages personal? This workflow pulls each profile’s latest post and bio, then generates a DM that references those specifics. One consistent prompt, fresh data per profile. Personal at scale. How do I craft partnership or affiliate pitches that feel tailored to the creator’s audience? This n8n workflow spots niche, recent themes, and milestones, then inserts a targeted value prop like an affiliate code or UTM so the pitch mirrors their content and audience. How can I personalize interview invites using details from a recent post or bio? This workflow opens with a concrete reference from the newest post or bio, states your interview topic, and adds a short CTA. If there’s no recent post, it switches to a bio-based hook. How do I personalize at scale for thousands of profiles without duplicating outreach? This n8n workflow processes each handle once, logs status in Google Sheets, and skips already‑messaged rows, so you get unique, data-backed DMs across hundreds of profiles without repeats.
by iMan
Automated Instagram Stories from Google Sheets 🚀 What it Does This workflow automates posting Instagram Stories directly from a list of video URLs in a Google Sheet. Simply add a video link to the sheet, and this template will schedule and post it for you. It's designed to be a "set it and forget it" solution for your content strategy. Key Features: Fully Automated: Runs on a schedule to post new content without manual intervention. Simple Content Management: Manage your entire video queue from one Google Sheet. Smart & Safe: Automatically avoids posting duplicate content by tracking what has already been published. Randomized Posting: Shuffles the video list to ensure varied content is posted, not just the first one on the list. 📋 Pre-Setup Requirements Before you start, you'll need a few things. This is the most important part of the setup\! Instagram Business Account: A personal account won't work. It must be a Business or Creator account. Facebook Page: Your Instagram Business Account must be connected to a Facebook Page. Meta Developer Account: This is required to create an "App" that gives n8n permission to post on your behalf. A Publicly Accessible Place to Host Videos: This is critical. The video URLs you use must be direct links to the video file. ✅ Good Sources: Shopify file storage, Amazon S3, a WordPress site with a valid SSL certificate (https://...). ❌ Unreliable Sources: Google Drive and Dropbox share links will not work because they are not direct links to the video file itself. ⚙️ Step-by-Step Setup Guide Follow these three parts carefully. Once done, you won't have to touch the configuration again. Part 1: Meta (Facebook/Instagram) Configuration This section generates the keys and IDs you need to allow n8n to communicate with Instagram. Create a Meta App: Go to Meta for Developers and create a new app. Detailed Guide: Meta's Official Guide to Creating an App Configure App Permissions: In your new app's dashboard, add the "Instagram Graph API" product. Under "Permissions," you will need to grant instagram_basic, instagram_content_publish, pages_show_list, and pages_read_engagement. Find Your Instagram Business Account ID: You'll need this ID for the workflow. 3.1. Log in: to your Instagram account. 3.2. Click on your Profile: in the menu on the left. 3.3. Click: "Edit Profile" at the top. 3.4. Under the "Settings" heading, click "See more in Accounts Center". 3.5. Select: your intended Instagram profile. 3.6. In the URL, your Instagram Business Account ID will be displayed after /profiles in a numerical format. Example: https://accountscenter.instagram.com/profiles/[YOUR_ID]/?theme=dark Generate a Long-Lived Access Token: An access token is like a password for n8n to use. A standard one expires quickly, so you need a long-lived one. Official Guide: Meta's Guide to Generating a Long-Lived Token Part 2: Google Sheet Preparation This is where you'll manage your video content. Create a Google Sheet: You can make a new one or use our template to get started quickly. Download Template: Instagram Videos Template.xlsx Set Up Columns: Your sheet must have these two columns with these exact names: source_url: This is where you will paste the direct URL to your video file. posted_story: Leave this column empty. The workflow will automatically fill it with true after a video is successfully posted. Get the Sheet ID: In your Google Sheet URL, copy the long string of letters and numbers from the middle: https://docs.google.com/spreadsheets/d/[THIS_IS_THE_SHEET_ID]/edit Part 3: n8n Workflow Configuration Now, let's connect everything inside your n8n workflow. Fill the ⚙️ Configuration Hub Node: IG\_BUSINESS\_ID: Paste the Instagram ID you found in Part 1. SHEET\_DOC\_ID: Paste the Google Sheet ID you found in Part 2. SHEET\_TAB\_NAME: Enter the exact name of the tab in your Google Sheet (e.g., "Instagram Videos"). Connect Your Credentials: Google Sheets: In the 📊 Fetch Videos from Sheet node, create a new credential and connect your Google Account. Facebook Graph API: In the 📤 Create Story Container node, create a new credential. Use the App ID, App Secret, and the Long-Lived Access Token you generated in Part 1. You will use this same credential for the other Facebook/Instagram nodes. Activate the Workflow: First, test it by clicking the "Execute Workflow" button on the 🚀 Manual Start node. Once you confirm it works, activate the workflow using the toggle at the top of the screen. The ⏰ Auto Schedule node is set to run daily by default, but you can change the time to whatever you like. 🤔 Troubleshooting Error: "(\#10) This endpoint requires the 'instagram\_content\_publish' permission": Your Meta App is missing the correct permissions. Go back to the app settings in the Meta Developer dashboard and add it. Error: "Unsupported post request" or Video Processing Fails: This is almost always an issue with the video URL. Ensure it's a direct link and not from a service like Google Drive. Paste the URL into your browser—it should immediately start playing the video, not take you to a preview page. Error: "Sheet not found": Double-check that your SHEET_DOC_ID and SHEET_TAB_NAME in the Config node are perfectly correct (it's case-sensitive\!). Workflow runs but doesn't post: Make sure you have rows in your Google Sheet where the posted_story column is empty. If all are marked true, it has nothing new to post. @iMan https://imanetworks.ch/
by Hrayr Movsisyan
This workflow automatically fetches job postings from the JSearch API once per day, filters out duplicates, and saves only new jobs to a Google Sheet. It also sends a Telegram summary with the number of newly added jobs. What this workflow does • Builds a custom job search query • Fetches job listings from JSearch • Loads existing job IDs from Google Sheets • Removes already-saved jobs • Writes only new jobs into the sheet • Sends a Telegram summary with job count Why it's useful • Hands-free daily job monitoring • No duplicates — clean data tracking • Uses rate-limit-safe writing • Easy to customize search keywords • Works entirely with no-code steps Requirements • RapidAPI (JSearch) account • Google Sheets account • Telegram Bot token Ideal For • Job researchers • Recruitment automations • Personal job-search tracking • Data collection workflows
by Sidd
This workflow has 2 Broad Steps Step 1 - Vector store creation with set of ipl rules using Google Gemini Embedding. This will we used to drive RAG for model grouding Step 2 - Connecting the vector store with google gemini API model and enabling a chat interface to drive the chat bot Step 1 Load the reference material (run once via the Manual Trigger) 1.1 Manual Trigger → HTTP Request downloads the IPL “Match Playing Conditions” PDF. 1.2 Default Data Loader extracts text from the PDF. **Type of data is binary 1.3 Recursive Character Text Splitter breaks the text into overlapping chunks. **This step ensures that the data chunks that are created in vector store have some overlap and hence less chance of hallucination **Chunk size and chunk overlap are 2 variables to manage this 1.4 Embeddings Google Gemini (1) converts each chunk to a vector. **Connect the model with google gemini model. You will need your own api key for this **Make note of the embedding model also since the same embedding model has to be selected in Step 2 1.5 Simple Vector Store 1 inserts those vectors into an in-memory store under key **Make note of the vector store name since it is same vector store you will have to use in Step 2 Note: Google gemini API key credential needed ##Using Vector store nodes provided by n8n is the best way to get started to test out the workflow before you switch to more enterprise grade vector store nodes Step 2 2.1 Chat Trigger to initiate n8n native chat interface 2.2 Simple Memory keeps the last 20 chat turns for context. This value can be edited within the node 2.3 Simple Vector Store (retrieve-as-tool mode) receives the user’s query embedding, finds the top-10 most relevant chunks stored in step 1, and supplies them as tool output. This will drive RAG **The name of vector store should match from Step 1, the embedding rule should match step 1 2.4 Google Gemini Chat Model is the language model that is used as the llm model 2.5 AI Agent orchestrates everything: ** Uses the system prompt (“You are a cricket expert… If info is missing, say ‘Sorry I don’t know’”). to prompt the model ** Has access to the memory (2.2) and the RAG tool (2.3). ** Generates the final response with Google Gemini, strictly limited to the retrieved IPL cricket rules data. Note: Google gemini API key credential needed ##Using simple memory store nodes provided by n8n is the best way to get started to test out the workflow before you switch to more enterprise grade vector store nodes
by Dahiana
Article summarizer bot Send any URL to your Telegram bot and get an AI summary instantly. What it does Receives URLs via Telegram Fetches clean article content (removes ads, navbars) Generates AI summary Sends formatted summary back to Telegram How to set up Create Telegram bot Message @BotFather on Telegram Run /newbot and follow prompts Copy your bot token Add credentials to n8n Get API keys (optional but recommended) Jina AI: Sign up at jina.ai/reader Add keys to nodes Configure AI model and output parser format Requirements Telegram bot token OpenRouter API key or any other LLM you have How to customize Change summary format: Edit prompt in "Summarize Article" node Update Output Parser schema (title, tags, etc) Save to database: Enable Google Sheets node or add Notion/Airtable Different language: Modify prompt to force specific language
by Rahul Joshi
📊 Description This automation calculates commonly used technical indicators for selected stocks and presents the results in a simple, structured dashboard. It removes the need for manual chart analysis by automatically fetching price data, calculating indicators, and generating clear Buy, Sell, or Neutral signals. The workflow is designed to run daily and provides a consistent technical snapshot for each tracked stock. It is suitable for traders and analysts who want a repeatable and transparent way to monitor technical conditions without relying on manual tools. ⚙️ What This Template Does Runs automatically on a daily schedule Processes a predefined list of stock symbols Fetches recent daily price data from a market data API Calculates RSI, Moving Averages, and MACD Applies rule-based logic to generate Buy, Sell, or Neutral signals Stores indicator values and signals in Google Sheets ✅ Key Benefits Eliminates manual technical analysis Uses standard, widely accepted indicators Produces clear and easy-to-interpret signals Keeps all results in a single dashboard Easy to customize and extend 🧩 Features Daily scheduled execution Historical price data integration RSI (14-period) calculation Moving Averages (SMA 20 and SMA 50) MACD (12, 26, 9) calculation Rule-based Buy / Sell / Neutral classification Google Sheets dashboard output Built-in data validation checks 🔐 Requirements To use this workflow, you will need: A market data API key (Alpha Vantage or similar) A Google Sheets account for storing results Google Sheets credentials configured in n8n An active n8n instance (cloud or self-hosted) 🎯 Target Audience Stock traders and investors Technical analysts Finance and research teams Automation builders working with market data 🛠 Customization Options Update the stock list to track different symbols Adjust indicator periods or thresholds Modify Buy / Sell signal rules Change the schedule frequency Extend the dashboard with additional indicators
by Davide
The “Multiplatform Social Media Content Creator with GoToHuman Approval” workflow automates the creation, review, and publishing preparation of social media content across multiple platforms. It connects a Google Sheets editorial plan to Claude Sonnet 4.5 and GoToHuman, allowing for seamless collaboration between AI-generated content and human approval. This workflow automates the creation and human-approval of social media content. It pulls post ideas from a Google Sheet, uses an AI model to generate platform-specific content, sends it for human review, and then updates the sheet based on the approval or rejection. Key Advantages ✅ AI-Assisted Content Creation: Automatically transforms content ideas into ready-to-publish social media posts optimized for each platform. ✅ Human-in-the-Loop Approval: The GoToHuman integration ensures every AI-generated post is reviewed and validated by a person before going live. ✅ Centralized Editorial Management: All content ideas, drafts, and approvals are synchronized in Google Sheets, creating a transparent and organized workflow. ✅ Platform-Optimized Output: Adapts tone, format, hashtags, and structure depending on whether the post is for Instagram, Facebook, LinkedIn, or X. ✅ Automated Revision Loop: If rejected, the workflow automatically refines and regenerates improved content—saving manual rework time. ✅ Scalable and Collaborative: Ideal for marketing teams managing large volumes of social content that require quality control and brand consistency. ✅ Time-Saving: Reduces content creation cycles by combining AI writing speed with controlled human oversight. How it Works Trigger & Data Fetch: The process starts either manually or on a schedule. It first connects to a specified Google Sheet and retrieves all rows of data from the "Editorial Plan". AI Content Generation: The workflow loops over each row from the sheet. For each item, it takes the "IDEA" and "PLATFORM" fields and sends them to an Anthropic node ("Social Media Content Creator"). This node uses a detailed, pre-defined system prompt to transform the raw idea into a polished, platform-optimized social media post. Human Approval Loop: The generated post text is then sent to the GoToHuman node. This creates a task in the GoToHuman system, pausing the workflow and waiting for a human reviewer to make a decision. The platform information is also passed along as metadata for context. Decision Point: Once a human reviewer responds, the workflow resumes. A Switch node routes the execution based on the response: If "approved": The workflow proceeds to update the original Google Sheet row. It marks the "APPROVED" column with an "x" and writes the final, approved post content into the "POST" column. If "rejected": The workflow routes the rejected item back to the "Social Media Content Creator" AI node. Before doing so, a "Set" node prepares the data, effectively telling the AI to generate a new version of the post based on the same original idea and platform. This creates an iterative improvement loop until the content is approved. Set up Steps Prepare the Google Sheet: Create a Google Sheet with columns at least for: DATE, IDEA, PLATFORM, POST, and APPROVED. Share this sheet with the Google service account or user that your n8n Google Sheets credential is configured with. Configure Credentials: Google Sheets: Set up a OAuth2 credential in n8n for Google Sheets and authenticate it with an account that has access to your sheet. Anthropic: Create an API key credential in n8n and enter your valid Claude API key. GoToHuman: Configure the GoToHuman node with the necessary API credentials and specify the correct reviewTemplateID for your approval process. Adjust Node Parameters: In the "Get row(s) in sheet" and "Update row in sheet" nodes, ensure the documentId matches your Google Sheet's ID. The sheet name should also be correct (e.g., gid=0 for the first sheet). Review the system prompt in the "Social Media Content Creator" node to ensure it matches your brand's tone, style, and specific platform requirements. In the GoToHuman node, verify that the fields mapping correctly passes the AI-generated text and that the metaKeyValues correctly passes the platform information. Activate the Workflow: Save the workflow and toggle the "Active" switch to ON. You can now trigger it manually using the "Execute workflow" button or let it run automatically based on the defined schedule. Need help customizing? Contact me for consulting and support or add me on Linkedin.
by Jay Emp0
Twitter Automation (n8n Template) 🚀 What it does Posts a unique tweet every 2 hours 70% content tweets** (10 proven templates) 30% promo tweets** pulled from Google Sheets Logs past tweets to avoid duplicates ✅ Requirements n8n** Google Sheets** with 2 tabs: posts → log of past tweets (PAST TWEETS, Date) promo → promo source (name, last_posted, optional extra fields) Twitter (X)** account with OAuth2 write access Gemini API key** (for text generation) ⚡ Results Automated motivational posts Automated promo posts 🔄 How It Works Triggers every 2 hours (optional: random delay up to 120 min). Randomly selects content (70%) or promo (30%). Content path: checks posts, generates tweet, logs new one. Promo path: picks row from promo, generates tweet, updates last_posted. Posts to Twitter automatically. 🎯 Content Templates Transformation · Hook–List–Takeaway · Interesting Fact · Metaphor · Contrast · Motivation · Triad · Comparison · 80/20 Rule · Callout ⚙️ Customization | Setting | Where | Example | |---------|-------|---------| | Ads probability | Code node | Change Math.random() < 0.3 → 0.2 for 20% | | Templates | Code node | Edit the templates array | | Cadence | Schedule Trigger | Cron or fixed hours | | Random delay | Time randomizer | Enable node (0–120 mins) | 🛠️ Troubleshooting | Issue | Fix | |-------|-----| | Repeated tweets | Ensure posts has column PAST TWEETS | | Not posting | Reconnect Twitter creds with write access | | Promo never used | Increase ads probability (e.g., 0.4) |
by weblane
Your Own Personal Assistant This workflow turns a Telegram bot into a simple Notion To-Do assistant. Send a message in Telegram (text or voice). If it’s a voice message, the workflow downloads the audio and uses OpenAI to transcribe it into text. Then an AI agent (“Tard”) uses the latest message + a short memory of the recent chat to understand what you want and perform the right action in Notion (search your pages or create a new task/page in your To-Do list). The result is sent back to you in Telegram in a clean, readable format. > Email and Calendar nodes are included for future expansion but are disabled by default. The assistant is designed to work with Notion only.