Remove Image Backgrounds with APImage AI: Airtable to Google Drive - n8n Workflow | Neura Market

    Remove Image Backgrounds with APImage AI: Airtable to Google Drive

    # AI Background Removal Workflow This workflow **automatically removes backgrounds** from images stored in **Airtable** using the **[APImage API](https://apimage.org)**, then downloads and saves the processed images to **Google Drive**. Perfect for batch processing product photos, portraits, or any images that need clean, transparent backgrounds. The source (Airtable) and the storage (Google Drive) can be **changed to any service** or database you want/use. ![Remove Background Images Automated AI n8n workflow.jpg](fileId:1864) ## Nodes Overview ### 1. **Remove Background** (Manual Trigger) This manual trigger starts the background removal process when clicked. **Customization Options:** - Replace with **Schedule Trigger** for automatic daily/weekly processing - Replace with **Webhook Trigger** to start via API calls - Replace with **File Trigger** to process when new files are added --- ### 2. **Get a Record** (Airtable) Retrieves media files from your Airtable Creatives Library database. - Connects to the Media Files table in your Airtable base - Fetches records containing image thumbnails for processing - Returns all matching records with their thumbnail URLs and metadata **Required Airtable Structure:** - Table with image/attachment field (currently expects thumbnail field) - Optional fields: File Name, Media Type, Upload Date, File Size **Customization Options:** - Replace with **Google Sheets**, **Notion**, or any database node - Add filters to process only specific records - Change to different tables with image URLs --- ### 3. **Code** (JavaScript Processing) Processes Airtable records and prepares thumbnail data for background removal. - Extracts thumbnail URLs from each record - Chooses best quality thumbnail (large > full > original) - Creates clean filenames by removing special characters - Adds processing metadata and timestamps **Key Features:** ```javascript // Selects best thumbnail quality if (thumbnail.thumbnails?.large?.url) { thumbnailUrl = thumbnail.thumbnails.large.url; } // Creates clean filename cleanFileName: (record.fields['File Name'] || 'unknown') .replace(/[^a-zA-Z0-9]/g, '_') .toLowerCase() ``` **Easy Customization for Different Databases:** - **Product Database**: Change field mappings to Product Name, SKU, Category - **Portfolio Database**: Use Project Name, Client, Tags - **Employee Database**: Use Full Name, Department, Position --- ### 4. **Split Out** Converts the array of thumbnails into individual items for parallel processing. - Enables processing multiple images simultaneously - Each item contains all thumbnail metadata for downstream nodes --- ### 5. **APImage API** (HTTP Request) Calls the APImage service to remove backgrounds from images. **API Endpoint:** ``` POST https://apimage.org/api/ai-remove-background ``` **Request Configuration:** - **Header**: `Authorization: Bearer YOUR_API_KEY` - **Body**: `image_url: {{ $json.originalThumbnailUrl }}` **Setup Required:** 1. Replace `YOUR_API_KEY` with your actual API key 2. Get your key from [APImage Dashboard](https://apimage.org/dashboard) --- ### 6. **Download** (HTTP Request) Downloads the processed image from APImages servers using the returned URL. - Fetches the background-removed image file - Prepares image data for upload to storage --- ### 7. **Upload File** (Google Drive) Saves processed images to your Google Drive in a bg_removal folder. **Customization Options:** - Replace with **Dropbox**, **OneDrive**, **AWS S3**, or **FTP** upload - Create date-based folder structures - Use dynamic filenames with metadata - Upload to multiple destinations simultaneously --- ## How to Get Started 1. **Set up APImage API:** - Double-click the **APImage API** node - Replace `YOUR_API_KEY` with your actual API key - Keep the `Bearer` prefix 2. **Configure Airtable:** - Ensure your Airtable has a table with image attachments - Update field names in the **Code** node if different from defaults 3. **Test the workflow:** - Click the **Remove Background** trigger node - Verify images are processed and uploaded successfully [Get your API Key](https://apimage.org/dashboard) --- ## How to Customize ### **Input Customization** (Left Section) Replace the Airtable integration with any data source containing image URLs: - **Google Sheets** with product catalogs - **Notion** databases with image galleries - **Webhooks** from external systems - **File system** monitoring for new uploads - **Database** queries for image records ### **Output Customization** (Right Section) Modify where processed images are stored: - **Multiple Storage**: Upload to Google Drive + Dropbox simultaneously - **Database Updates**: Update original records with processed image URLs - **Email/Slack**: Send processed images via communication tools - **Website Integration**: Upload directly to WordPress, Shopify, etc. ### **Processing Customization**

    Platform
    n8n
    Category
    AI
    Price
    Free
    Creator
    Gegenfeld
    • code
    • airtable
    • splitOut
    • stickyNote
    • googleDrive
    • httpRequest
    • manualTrigger
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related AI workflows

    • Launch Your First AI-Powered Chatbot with Actionable ToolsFree
    • Automate AI Video Creation and YouTube Upload with Google Sheets
    Free
  1. Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and ImagingFree
  2. Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPressFree
  3. Email Agent$500.99
  4. Create a Conversational Telegram Bot with GPT-4 for Text and Voice MessagesFree
  5. More from Gegenfeld

    • Query and Answer Questions from Excel Spreadsheets with GPT-4 Mini
    • AI-Powered Chatbot Workflow with MySQL Database Integration
    All AI workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.