Skip to main content
E

EoCi - Mr.Eo

4
Workflows

Workflows by EoCi - Mr.Eo

Workflow preview: Discord setup guidelines 📜 - get all channels & categories of a Discord server
Free advanced

Discord setup guidelines 📜 - get all channels & categories of a Discord server

## 🌟 Test Your n8n Discord Connection! Trying to connect n8n to your Discord server but not sure where to start? 🤔 Setting up a Discord Bot and its credentials can be confusing. This workflow provides the perfect starting point, guiding you through the connection and running a test to fetch all channels from your server, confirming everything works! --- ## 🎯 What This Does This workflow is a "getting started" template designed to solve one primary problem: creating and verifying your first Discord connection in n8n. Its main benefit is demystifying the Discord Bot setup process. It proves your connection is successful by connecting to your server and fetching a complete list of all channels and categories. It's the perfect first step for any n8n user, community manager, or developer who wants to build Discord automations but needs a clear, working starting point. --- ## 🔄 How It Works Manual Trigger: You start the workflow by clicking 'Execute workflow'. **Set Server ID:** A 'Set' node is pre-configured to hold your specific Discord Server ID. **Get Channels List:** The Discord node uses your credentials and the Server ID to connect to Discord and retrieve a list of all channels and categories on that server. **Separate Channels & Categories:** An 'IF' node automatically sorts the list, sending channels down one path and categories down another. **Process & Merge:** Two 'Set' nodes clean up the data from each path, and a 'Merge' node combines them back into one organized list. **Next Step!:** The workflow finishes at a 'NoOp' node. You can click the 'Merge' node to see the final output a full list of your server's channels. ## Nodes Used - When clicking ‘Execute workflow’ (Manual Trigger) - Set - Server ID (Set) - Get channels list (Discord) - Separate Category & Channel (IF) - Get Channels (Set) - Get Server's Categories (Set) - Merge (Merge) - Next Step ! (NoOp) --- ## Setup Requirements 📜 Credentials: Discord Bot Token (created via the Discord Developer Portal). **Accounts:** A Discord account. **Specifics:** - A Discord Server you own or have admin permissions for. - Developer Mode enabled in your Discord client (to copy your Server ID). - A Server ID from your server to test with. - Estimated Setup Time: < 10 minutes. ### Set up steps - **Part 1:** Create Your Discord Bot & Get Token - **Go to the Discord Developer Portal:** Navigate to discord.com/developers/applications and log in. - **Create New Application:** Click the New Application button in the top right. Give it a name (e.g., "n8n Bot") and click Create. - **Access Your Bot:** On the left-hand menu, click the Bot tab, then Add Bot. - **Get Your Bot Token:** Under the bot's username, find the Token section. Click Reset Token (and confirm) to reveal your bot's token. - **Copy the Token:** This is your secret credential. Copy this token and keep it safe. - **Part 2:** Invite Your Bot to Your Server Go to URL Generator: Back in the Discord Developer Portal, go to the OAuth2 tab and then URL Generator. - **Select Scopes:** In the Scopes box, check the bot checkbox. - **Set Permissions:** A new Bot Permissions box will appear. Check the View Channels permission. This is all that's needed for this workflow. - **Copy Invite URL:** Scroll down and copy the Generated URL. - **Invite Bot:** Paste this URL into a new browser tab. Select the server you want to add the bot to, click Continue, and then Authorize. - **Part 3:** Add Credentials to n8n - **Open Credentials:** In n8n, go to Credentials > Create Credential. - **Select Credential Type:** Search for and select Discord Bot API. - **Paste Your Token:** Give your credential a 'Name' (e.g., "My Discord Bot"). Paste the Bot Token you copied from Part 1 into the Bot Token field. - **Save:** Click Save to store your new credentials. - **Link Credential:** Back in the workflow, click the Get channels list node. In the 'Credentials' parameter, select the credential you just created. - **Part 4:** Configure and Test the Workflow Enable Developer Mode: In your Discord desktop app, go to User Settings (the gear icon) > App Settings > Advanced and turn on Developer Mode. - **Copy Server ID:** Go to your Discord server, right-click on the server icon (on the left), and click Copy Server ID. - **Configure n8n Node:** Back in your n8n workflow, click the Set - Server ID node. - **Paste Server ID:** In the 'Value' field for server_id, replace the placeholder value with the Server ID you just copied. - **Execute Workflow:** Click Execute workflow in the top right corner. If it succeeds, all nodes will turn green. Click the Merge node and select the 'Output' tab to see a complete JSON list of all channels and categories from your server. Congratulations, you're connected!

E
EoCi - Mr.Eo
Social Media
26 Oct 2025
246
0
Workflow preview: Automate Telegram message processing - separate text and files 💬📁
Free advanced

Automate Telegram message processing - separate text and files 💬📁

## **Introduction** Tired of manually downloading a file through different Telegram messages? This workflow acts as a smart receptionist for your Telegram bot, automatically processing incoming messages to cleanly separate text from file attachments, getting them ready for any automation you can dream up! 📥 --- ## 🎯 **What This Does** This workflow solves the challenge of handling varied Telegram messages within a single automation workflow. Incoming messages can be just text, just a file, or a file with a caption. This template intelligently identifies the message type and routes it down the correct path, isolating the text content and downloading the file attachment. It's perfect for community managers, support teams, or anyone building a Telegram-powered chatbot. --- ## 🔄 **How It Works** 1. **Listens for New Messages:** The workflow starts the moment a new message is sent to your connected Telegram bot. 2. **Checks Message Content:** A Switch node instantly determines if the message contains: - Text only - Attachment only - Attachment with a message (text caption) 3. **Separates Message and File:** Based on the content, the workflow isolates the text (from the message or caption) and the file's metadata (`file_id`, `file_name`). 4. **Downloads the Attachment:** For any message containing a file, the workflow automatically downloads it, making the binary data available for the next steps in your automation. ## 🧩 **Nodes Used** - Telegram Trigger - Telegram - Switch - Set - Split Out - No Operation - NoOp (as a placeholder for your next steps) --- ## 🚀 **Setup Requirements** - **Credentials:** You'll need a Telegram Bot API Token (Key) and Chat ID. - **Accounts:** A Telegram account. - **Setup Time:** Less than 5 minutes. ### Set up steps 1. **Create a Telegram Bot:** - First, you need a bot. Open Telegram and send a message to the official `@BotFather`. - Send the command `/newbot`. - Follow the prompts to choose a name and username for your bot. - BotFather will provide you with a unique **API Token**. Copy this token, it's what you'll need for the next step. 2. **Add Credentials to n8n:** - In your n8n workflow, navigate to the **Credentials** section in the left panel. - Click **Add credential**, search for "Telegram," and select it. - Paste the API Token you copied from BotFather into the **Access Token** field. - Click **Save** to create your credential. 3. **Connect Your Bot to the Workflow:** - Back on the canvas, open the **Waiting For Message (Telegram Trigger)** node. - In the **Credential for Telegram API** dropdown, select the credential you just created. - Open the **Get & Download Attachment (Telegram)** node and select the same credential. 4. **Activate and Test!** - Click the **Activate** toggle in the top right corner of your screen. - Now, send a few different messages to your new bot on Telegram to test all the paths: - A simple text message (e.g., "Hello!"). - A file (like a PDF or Notepad) with no text. - A file with a caption(message). - You can check the **Executions** tab in n8n to see each test run successfully! The `NoOp` nodes at the end of each path show you the final, cleanly separated data. --- ## 💎 **Benefits / Why It Matters** This template provides a robust and reliable foundation for any Telegram automation. By neatly separating text from files, you can seamlessly connect Telegram to any other service whether you're archiving documents to Google Drive, analyzing feedback with Gemini, or logging support requests in a database. It saves development time and ensures your automations run smoothly

E
EoCi - Mr.Eo
Support Chatbot
4 Oct 2025
989
0
Workflow preview: 📁 Extract and clean PDF data from Google Drive
Free advanced

📁 Extract and clean PDF data from Google Drive

## 🎯 **What This Does** Automatically finds PDF file in Google Drive and extracts information. Use it to pull out clean output. It then formats the output into a clean JSON object. --- ## 🔄 **How It Works** **1. Manual Trigger** starts the process. **2. 🔎Find File:** **"Google Drive"** node finds the PDF file/files in a specified folder and downloads it/them. **3. 📝Extract Raw Text:** **"Extract From File"** node pulls the text content from the retrieval file/files. **4. ✅Output Clean Data:** **"Code"** node refines the extracted content and runs custom code for cleaning and final formatting. --- ## 🚀**Setup Guidelines** ### Setup Requirements - **Google Drive Account**: A Google Drive with an empty folder or folder that contains PDF file/files that you want to process. - **API Keys**: Gemini, Google Drive. ### Set up steps Setup time: < 5 minutes 1. **Add Credentials** in n8n: - Ensure your **Google Drive OAuth2** and **Google Gemini (PaLM) API** credentials are created and connected. Go to `Credentials` > `New` to add them if you haven't created yet. 2. **Configure the Search Node (`Get PDF Files/File`):** - Open the node and select your Google Drive credential. - In the "Resource" field, choose `File/Folder`. In "Search Method" field, select "Search File/Folder Name", In "Search Query" type in `*.pdf`. - Add on 2 filters, in "Folder" filter click on dropdown choose "From List" and connect to the created folder on your google drive. In "What to Search" filter, select file. - Add on "Options" (optional): Click on "Add option", choose ("ID" and "Name") 3. **Define Extraction Rules (`Extract Files/File's Data`):** - Select File Type: Open node and click on the dropdown below "Operation" section, choose "Extract From PDF". Next, in "Input Binary Field" section keep as default "data". 4. **Clean & Format Data (Optional):** - Adjust the `Get PDF Data Only` node to keep only the fields you need and give them friendly names. - Modify the `Data Parser & Cleaner` node if you need to perform custom transformation. 5. **Activate and Run:** - Save and Activate the workflow. - Click "Execute Workflow" to run it manually and check the output. That’s it! Once configured, this workflow becomes your personal data assistant. Run it anytime you need to extract information quickly and accurately, saving you hours of manual work and ensuring your data is always ready to use.

E
EoCi - Mr.Eo
Document Extraction
29 Sep 2025
2447
0
Workflow preview: 🤖 AI-powered prompt enhancement assistant using Google Sheets
Free advanced

🤖 AI-powered prompt enhancement assistant using Google Sheets

*This workflow contains community nodes that are only compatible with the self-hosted version of n8n.* ## Introduction Tired of spending time crafting the perfect AI prompt? This workflow takes your simple ideas like "write a blog post" and automatically transforms them into detailed, structured prompts that actually work. ## 🎯 What This Does Automatically converts simple user prompts like *"write a blog post"* into structured, professional AI prompts with metadata, variables, and clear instructions. Perfect for everybody, all industries and organizations who are wanting to eliminate prompt engineering works. --- ## 🔄 How It Works 1. **Google Sheets Trigger** monitors for new prompts 2. **AI Enhancement Pipeline** uses Gemini + Groq to add structure & context 3. **Field Completion** auto-generates missing metadata (topic, categories) 4. **Quality Assurance** validates & stores complete results --- ## 🚀 Setup Requirements - **AI APIs**: Gemini, Telegram, Groq API keys - **Google Sheets**: 2 sheets (Main, ModifiedPrompt) - **5 minutes setup time** - detailed instructions in blue sticky notes --- ## Set up steps Setup time: < 5 minutes 1. Create a Google Spreadsheet with two tabs (sheets): **OriginalPrompts** and **ModifiedPrompts**. - OriginalPrompts columns: `Original Prompt ID | Model | Original Prompt | Created Time` - ModifiedPrompts columns (example): `Modified Prompt ID | Original Prompt ID | Topic | Topic Categories | Modified Prompt | Prompt Title | Prompt Type | Model Used | Improvement Notes | Updated Time | Created Time | isProcessed` 2. Add and attach credentials in n8n: - **Google Sheets OAuth2** (required for getting new prompt) - **Gemini** and **Groq** API credentials (required for AI Agent) - **Telegram** credential (required for notifications) 3. Save & Activate the workflow. Add a test row to **OriginalPrompts**, for example: `Original Prompt ID: 1` — `Original Prompt: "Write a short blog post about AI ethics"`. 4. Wait ~30–60s and check **ModifiedPrompts** for the enhanced output. That’s it ! Once it configured, drop short ideas into your sheet and get professional prompts back automatically. Your prompts get better, your AI outputs improve, and you save hours of manual prompt crafting.

E
EoCi - Mr.Eo
Engineering
7 Aug 2025
2439
0