by Gegenfeld
This workflow automatically removes backgrounds from images using the APImage API. Simply provide an image URL, and the workflow will process it through AI-powered background removal, then download the processed image for use in your projects. Who's it for This template is perfect for: E-commerce businesses needing clean product images Content creators who need transparent background images Marketing teams processing large batches of images Developers building image processing applications Anyone who regularly needs background-free images How it works The workflow uses APImage's AI-powered background removal service to automatically detect and remove backgrounds from images. You provide an image URL through a form interface, the API processes the image using advanced AI algorithms, and returns a clean image with the background removed. The processed image is then downloaded and ready for use. How to set up Get your APImage API key: Sign in to the APImage Dashboard ๐กฅ (or create a new APImage account) Copy your API key from the dashboard Configure the API connection: Double-click the APImage Integration node Replace YOUR_API_KEY with your actual API key (keep the Bearer prefix) Test the workflow: Click the Remove Background form trigger Enter an image URL in the form Submit to process the image Set up output destination (optional): Add nodes after the Download node to save images to your preferred storage Options include Google Drive, Dropbox, databases, or cloud storage Requirements n8n instance (cloud or self-hosted) APImage ๐กฅ account and valid API key Images accessible via public URLs for processing How to customize the workflow Replace Input Source: Swap the Form Trigger with data from other sources like: Database queries (MySQL, PostgreSQL, SQLite) Cloud storage (Google Drive, Dropbox, S3) Other APIs or webhooks Airtable, Notion, or other productivity tools Add Output Destinations: Connect additional nodes after the Download step to save processed images to: Cloud storage services (Google Drive, Dropbox, S3) Databases for organized storage Content management systems Social media platforms Email attachments Batch Processing: Modify the workflow to process multiple images by connecting it to data sources that provide arrays of image URLs. Add Image Validation: Include nodes to validate image URLs or file formats before processing to avoid API errors. Workflow Structure Form Trigger โ APImage Integration โ Download โ [Your Output Destination] The Form Trigger collects image URLs, APImage Integration processes the background removal via API, Download retrieves the processed image, and you can add any output destination for the final images. API Details The workflow sends a POST request to https://apimage.org/api/ai-remove-background with: Authorization header:** Your API key image_url:** The URL of the image to process async:** Set to false for immediate processing The processed image is returned with a transparent background and downloaded automatically.
by Yaron Been
Generate Images with Realistic Inpainting using Simbrams Ri AI This n8n workflow integrates with Replicateโs simbrams/ri model to generate images. It takes an input image and mask, applies transformations based on your parameters, and returns the final generated output automatically. ๐ Section 1: Trigger & Authentication โก On Clicking โExecuteโ (Manual Trigger) Purpose**: Starts the workflow manually. Benefit**: Useful for testing and running on demand. ๐ Set API Key (Set Node) Purpose: Stores your **Replicate API key inside the workflow. Benefit**: Keeps credentials secure and ensures other nodes can reuse them. ๐ Section 2: Sending the Image Generation Request ๐ผ๏ธ Create Prediction (HTTP Request Node) Purpose**: Sends a POST request to Replicateโs API to start generating an image. Input Parameters**: image: Input image URL mask: Mask image URL seed: Randomness control (for reproducibility) steps: Number of refinement steps strength: Intensity of modification (0โ1) blur\_mask: Whether to blur the mask edges merge\_m\_s: Whether to merge mask with source Benefit**: Gives full control over how the model modifies your image. ๐ Extract Prediction ID (Code Node) Purpose: Extracts the **Prediction ID, status, and URL from Replicateโs response. Benefit**: Required to check the status of the generation later. ๐ Section 3: Polling & Waiting โณ Wait (Wait Node) Purpose**: Pauses the workflow for 2 seconds before rechecking. Benefit**: Prevents hitting Replicateโs API too quickly. ๐ Check Prediction Status (HTTP Request Node) Purpose**: Checks whether the prediction is complete using the stored Prediction ID. Benefit**: Automates monitoring of job progress. โ Check If Complete (If Node) Purpose**: Decides if the prediction has finished. Paths**: True โ Sends result to processing. False โ Loops back to Wait and keeps checking. Benefit**: Ensures the workflow only ends when a valid image is ready. ๐ Section 4: Processing the Result ๐ฆ Process Result (Code Node) Purpose**: Cleans up the completed API response and extracts: Status Output (final generated image) Metrics Created & completed timestamps Model name (simbrams/ri) Final image URL Benefit**: Delivers a structured and ready-to-use result for display, storage, or further automation. ๐ Workflow Overview Table | Section | Node Name | Purpose | | ----------------- | ----------------------- | ------------------------------------ | | 1. Trigger & Auth | On Clicking โExecuteโ | Starts the workflow manually | | | Set API Key | Stores API credentials | | 2. AI Request | Create Prediction | Sends image generation request | | | Extract Prediction ID | Extracts ID + status for tracking | | 3. Polling | Wait | Adds delay between checks | | | Check Prediction Status | Monitors job progress | | | Check If Complete | Routes based on job completion | | 4. Result | Process Result | Extracts and cleans the final output | ๐ฏ Key Benefits ๐ Secure authentication with API key management. ๐ผ๏ธ Custom image generation with parameters like mask, strength, and steps. ๐ Automatic polling ensures results are fetched only when ready. ๐ฆ Clean structured output with final image URL for easy use.
by ศugui Dragoศ
How it works This workflow checks the health of your web services or APIs on a schedule, prevents false alerts with a second verification, and sends confirmed failure alerts directly to Slack. Performs scheduled HTTP health checks Waits and retries before confirming failure Sends alerts only if the service fails twice in a row Reduces false positives and avoids alert fatigue Setup steps Add your service URL(s) in the HTTP Request nodes Configure your Slack Bot Token in n8n Deploy the workflow Get real-time Slack alerts when services go down ๐จ Use case Perfect for IT teams, DevOps engineers, and developers who need reliable uptime monitoring without noise.
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by EoCi - Mr.Eo
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 Listens for New Messages: The workflow starts the moment a new message is sent to your connected Telegram bot. Checks Message Content: A Switch node instantly determines if the message contains: Text only Attachment only Attachment with a message (text caption) 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). 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 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. 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. 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. 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
by System Admin
Tagged with: , , , ,
by System Admin
Tagged with: , , , ,
by System Admin
No description available
by System Admin
No description available
by System Admin
No description available