HoangSP
HoangSP is an automation expert with deep experience in using n8n, the open-source workflow automation platform. He regularly creates and shares practical automation templates with the n8n community, helping individuals and businesses save time, boost efficiency, and seamlessly integrate their tools and systems. With a strong systems-thinking approach and a talent for process optimization, HoangSP is a leading figure in Vietnamโs growing automation space.
Templates by HoangSP
Seo blog generator with GPT-4o, Perplexity, and Telegram integration
SEO Blog Generator with GPT-4o, Perplexity, and Telegram Integration This workflow helps you automatically generate SEO-optimized blog posts using Perplexity.ai, OpenAI GPT-4o, and optionally Telegram for interaction. --- ๐ Features ๐ง Topic research via Perplexity sub-workflow โ๏ธ AI-written blog post generated with GPT-4o ๐ Structured output with metadata: title, slug, meta description ๐ฉ Integration with Telegram to trigger workflows or receive outputs (optional) --- โ๏ธ Requirements โ OpenAI API Key (GPT-4o or GPT-3.5) โ Perplexity API Key (with access to /chat/completions) โ (Optional) Telegram Bot Token and webhook setup --- ๐ Setup Instructions Credentials: Add your OpenAI credentials (openAiApi) Add your Perplexity credentials under httpHeaderAuth Optional: Setup Telegram credentials under telegramApi Inputs: Use the Form Trigger or Telegram input node to send a Research Query Subworkflow: Make sure to import and activate the subworkflow Perplexity_Searcher to fetch recent search results Customization: Edit prompt texts inside the Blog Content Generator and Metadata Generator to change writing style or target industry Add or remove output nodes like Google Sheets, Notion, etc. --- ๐ฆ Output Format The final blog post includes: โ Blog content (1500-2000 words) โ Metadata: title, slug, and meta description โ Extracted summary in JSON โ Delivered to Telegram (if connected) --- Need help? Reach out on the n8n community forum
Medical Q&A chatbot for urology using RAG with Pinecone and GPT-4o
Medical Q&A Chatbot for Urology using RAG with Pinecone and GPT-4o This template provides an AI-powered Q&A assistant for the Urology domain using Retrieval-Augmented Generation (RAG). It uses Pinecone for vector search and GPT-4o for conversational responses. ๐ง Use Case This chatbot is designed for clinics or medical pages that want to automate question answering for Urology-related conditions. It uses a vector store of domain knowledge to return verified responses. ๐ง Requirements โ OpenAI API key (GPT-4o or GPT-4o-mini) โ Pinecone account with an active index โ Verified Urology documents embedded into Pinecone โ๏ธ Setup Instructions Create a Pinecone vector index and connect it using the Pinecone credentials node. Upload Urology-related documents to embed using the Create Embeddings for Urology Docs node. Customize the chatbot system message to reflect your medical specialty. Deploy this chatbot on your website or link it with Telegram via the chat trigger node. ๐ ๏ธ Components chatTrigger: Listens for user messages and starts the workflow. Medical AI Agent: GPT-based agent guided by domain-specific instructions. RAG Tool Vector Store: Fetches relevant documents from Pinecone using vector search. Memory Buffer: Maintains conversation context. Create Embeddings for Urology Docs: Encodes documents into vector format. ๐ Customization You can replace the knowledge base with any other medical domain by: Updating the documents stored in Pinecone. Modifying the system prompt in the AI Agent node. ๐ฃ CTA This chatbot is ideal for clinics, medical consultants, or educational websites wanting a reliable AI assistant in Urology.
Research-to-social post generator with Perplexity AI and Facebook Graph API
Whoโs it for Teams that want to turn a chat prompt into a researched, ready-to-post social updateโoptionally published to Facebook. What it does / How it works Chat Trigger receives the user prompt Topic Agent optionally calls a research sub-workflow for fresh sources Outputs are validated into a structured JSON Post Writing Agent crafts a concise Vietnamese post (Optional) Facebook Graph API publishes to your Page How to set up Connect OpenAI & Facebook in Credentials (no API key inside nodes). In Tool: Call Perplexity Researcher, set your research workflowId. In Publish: Facebook Graph API, set your Page ID and edge. Adjust prompts/tone and the LANGUAGE in CONFIG. Test the flow with sample prompts in the chat. Requirements n8n (Cloud or self-hosted) OpenAI API key (stored in Credentials) Facebook Page publish permissions (Optional) a research workflow for Perplexity How to customize the workflow Add moderation/review gates before publishing. Duplicate the publish path for other platforms. Store outputs in Sheets/Notion/DB for auditing. Tune model choice & temperature for your brand voice. Security Avoid hardcoding secrets in HTTP or Code nodes. Keep identifiers (Page IDs, workflowIds) configurable in CONFIG.