Christian Moises
I value my time. so I created an Automation for 4 hours to save 20 minutes. I'll post all my works so you'd save that 20 minutes without spending 4 hours to create it. lol.
Templates by Christian Moises
Automate pet grooming posts & bookings with AI, Facebook & Telegram bot
Telegram Pet Grooming Bot – Social Media & Booking Automation This workflow automates Facebook posting and appointment booking directly from a Telegram bot, making it especially useful for pet grooming businesses that want to keep their social media active while also confirming new bookings in real time. If you are managing posts manually and handling bookings through chat, this workflow replaces that with an integrated system that connects Telegram, Google Sheets, Facebook, Google Calendar, and AI models. Use case: Perfect for grooming shops that want to streamline customer communication, reduce missed appointments, and keep a steady flow of engaging Facebook content. --- How It Works Trigger Input The workflow starts when a Telegram user sends either: /post → to publish the next pending social media post. /book → to schedule a grooming appointment. Or when the workflow runs on a schedule for auto-posting. Social Media Posting The workflow retrieves the first entry from a Google Sheet where Uploaded = Fa. An AI model analyzes the pet image and generates a warm, engaging caption. The post (image + caption) is published to your Facebook Page. The Google Sheet is updated to mark the post as “Uploaded,” keeping the content queue organized. Appointment Booking When a user sends /book, the bot collects booking details (pet name, date, and time). The AI model interprets natural inputs like “next Friday at 2 pm” into a proper date-time format. Availability is checked in Google Calendar. If free → a new event is created, and the bot sends a confirmation. If unavailable → the user receives a rejection message with alternative suggestions. Post Queueing When a user sends an image with a caption, the workflow saves it to the Post Queue Google Sheet. This keeps posts lined up for later scheduling. --- Google Sheet Queue Structure Example queue columns: Image\_URL Pet\_Name Owner\_Name Uploaded (True/False) (Refer to the attached screenshot for a sample queue format.) --- How to Use Import this workflow into n8n. Connect your accounts in n8n: Telegram Bot (via BotFather token). Google Sheets (for the posting queue). Google Calendar (for bookings). Facebook Page (for publishing posts). OpenAI / Google Gemini (for captioning and booking interpretation). Create a Google Sheet with the required columns (ImageURL, PetName, Owner_Name, Uploaded). Start the workflow — your Telegram bot can now manage both posts and bookings automatically. --- Requirements Telegram Bot API Token (from BotFather). Google Sheets + Calendar access (connected in n8n). Facebook Page Admin access. AI API Key (OpenAI or Google Gemini). Basic knowledge of connecting credentials in n8n. --- Customizing This Workflow You can tailor this workflow to fit your business by: Adding approval steps: Require admin approval before a queued post goes live. Expanding queue fields: Track post type, hashtags, or scheduling time. Custom booking logic: Adjust availability rules (e.g., block lunch breaks, add buffer time). Integrating downstream apps: Sync confirmed bookings to CRM or send reminders via SMS/WhatsApp.
Classify Gmail emails with GPT-4o mini and send Telegram notifications
Gmail AI Email Classifier & Notifier Since Gmail inboxes can quickly become cluttered, this workflow provides an automated AI-based email classification system. It listens for new emails, categorizes them using an AI classifier, applies Gmail labels, and sends you a Telegram notification with a quick summary. If you often miss urgent client messages or struggle with sorting work vs. promotions, this workflow ensures you never overlook important emails. Use case: Especially useful for professionals who receive a high volume of mixed emails (clients, work, promotions). The workflow automatically labels and notifies you of new emails based on their category. --- How It Works Trigger Input The workflow starts with the Gmail Trigger node, which listens for new incoming emails. By default, it polls every minute, but you can adjust the polling frequency. Email metadata (from, subject, body) is passed downstream. Example JSON input: json { "from": "client@example.com", "subject": "Urgent project deadline", "text": "Please review the attached contract ASAP" } Classify Email (AI) The Classification Agent (powered by OpenAI via LangChain) receives the email data. It sorts the email into one of four categories: High Priority – urgent, time-sensitive Work Related – general work emails Promotions – newsletters, offers, sales Other – uncategorized emails The classifier uses a system prompt to ensure output is returned in JSON format for downstream processing. Apply Gmail Labels Based on classification, the workflow applies the corresponding Gmail label: High Priority → “Important + Starred” Work Related → “Work” (custom Gmail label) Promotions → “Promotions” (custom Gmail label) Each label must already exist in Gmail for the operation to work. Generate Notification The AI Agent (notification assistant) takes the classified email and rewrites it into a short, casual notification. Example notification: [High Priority] New email from client@example.com Subject: Urgent project deadline "Please review the attached contract ASAP" Send to Telegram The Telegram node sends the generated notification to your personal chat ID. Requires a Telegram bot created with @BotFather and your chat ID configured. --- How to Use Import this workflow into n8n. Set up Gmail OAuth2 credentials and connect your Gmail account. Create Gmail labels: High Priority, Work Related, Promotions. Set up a Telegram bot in @BotFather and copy your chatId into the node. Run the workflow — every new email will now be classified, labeled, and notified. --- Requirements n8n Gmail Trigger with Gmail OAuth2 credentials OpenAI API key configured for LangChain nodes Telegram bot created via @BotFather with your chat ID Existing Gmail labels (Work, Promotions, etc.) --- Customizing This Workflow You can extend it by: Adding more categories – e.g., “Finance,” “Personal,” or “Spam.” Changing the notification channel – send to Slack, Discord, or SMS instead of Telegram. Adjusting classification rules – edit the system prompt for finer-grained AI sorting. Changing polling frequency – set Gmail Trigger to every 5 minutes instead of every minute. Expanding extracted fields – include attachments, links, or CC addresses in the notification.
Reliable Reddit subreddit search with OAuth2 API authentication
Since the Get Many Subreddit node often blocks requests because Reddit requires proper authentication headers, this workflow provides a reliable alternative. It uses the Reddit OAuth2 API through the HTTP Request node, processes the results, and outputs cleaned subreddit data. If you are using Get Many subreddit node and you are getting this error: n8n You've been blocked by network security.To continue, log in to your Reddit account or use your developer token Usecase: This is especially useful if you want to search multiple subreddits programmatically and apply filtering for members, descriptions, and categories. How It Works Trigger Input The workflow is designed to be called by another workflow using the Execute Workflow Trigger node. Input is passed in JSON format with parameters: json { "Query": "RealEstateTechnology", "min_members": 0, "max_members": 20000, "limit": 50 } Fetch Subreddits The HTTP Request (Reddit OAuth2) node queries the Reddit API (/subreddits/search) with the given keyword and limit. Because it uses OAuth2 credentials, the request is properly authenticated and accepted by Reddit. Process Results Split Out: Iterates over each subreddit entry (data.children). Edit Fields: Extracts the following fields for clarity: Subreddit URL Description 18+ flag Member count Aggregate: Recombines the processed data into a structured output array. Output Returns a cleaned dataset with only the relevant subreddit details.(Saves token if Attached to an AI Agent) How to Use Import this workflow into n8n. In your main workflow, replace the Get Many Subreddit node with an Execute Workflow node and select this workflow. Pass in the required query parameters (Query, minmembers, maxmembers, limit). Run your main workflow — results will now come through authenticated API requests without being blocked. --- Requirements Reddit OAuth2 API Credentials (must be set up in n8n under Credentials*). Basic understanding of JSON parameters in n8n. An existing workflow that calls this one using Execute Workflow. --- Customizing This Workflow You can adapt this workflow to your specific needs by: Filtering by member range: Add logic to exclude subreddits outside minmembers or maxmembers. Expanding extracted fields: Include additional subreddit properties such as createdutc, lang, or activeuser_count. Changing authentication: Switch to different Reddit OAuth2 credentials if managing multiple Reddit accounts. Integrating downstream apps: Send the processed subreddit list to Google Sheets, Airtable, or a database for storage.