Back to Integrations

n8n Integration

Self-hosted workflow automation

n8n is a powerful, self-hosted workflow automation tool. This guide shows you how to use the HTTP Request node to call SuperConverter API endpoints.

Prerequisites

  • n8n instance (self-hosted or cloud)
  • SuperConverter API key from your dashboard

Step 1: Create API Credentials

  1. In n8n, go to CredentialsAdd Credential
  2. Search for Header Auth
  3. Configure the credential:
    • Name: SuperConverter API
    • Header Name: Authorization
    • Header Value: Bearer YOUR_API_KEY
  4. Click Save

Step 2: Add HTTP Request Node

  1. Add an HTTP Request node to your workflow
  2. Set Method to POST
  3. Set URL to the endpoint (e.g., https://api.superconverter.io/v1/heic-to-jpg)
  4. Under Authentication, select Predefined Credential Type
  5. Select your SuperConverter API credential

Example: Convert HEIC to JPG

This example converts iPhone photos from HEIC to JPG format.

{
  "method": "POST",
  "url": "https://api.superconverter.io/v1/heic-to-jpg",
  "authentication": "predefinedCredentialType",
  "nodeCredentialType": "httpHeaderAuth",
  "sendBody": true,
  "bodyContentType": "multipart-form-data",
  "bodyParameters": {
    "parameters": [
      {
        "name": "file",
        "value": "={{ $binary.data }}"
      },
      {
        "name": "quality",
        "value": "90"
      }
    ]
  }
}

Binary Data: Use ={{ $binary.data }} to pass files from previous nodes (like Read Binary File or Google Drive).

Example: Compress Images

Reduce image file size while maintaining quality.

{
  "method": "POST",
  "url": "https://api.superconverter.io/v1/compress-image",
  "authentication": "predefinedCredentialType",
  "nodeCredentialType": "httpHeaderAuth",
  "sendBody": true,
  "bodyContentType": "multipart-form-data",
  "bodyParameters": {
    "parameters": [
      {
        "name": "file",
        "value": "={{ $binary.data }}"
      },
      {
        "name": "quality",
        "value": "80"
      }
    ]
  }
}

Example: AI Sentiment Analysis

Analyze customer feedback or social media messages.

{
  "method": "POST",
  "url": "https://api.superconverter.io/ai/sentiment",
  "authentication": "predefinedCredentialType",
  "nodeCredentialType": "httpHeaderAuth",
  "sendBody": true,
  "bodyContentType": "json",
  "bodyParameters": {
    "parameters": [
      {
        "name": "text",
        "value": "={{ $json.message }}"
      }
    ]
  }
}

Common Workflow Patterns

Google Drive Photo Converter

Trigger → Google Drive (Watch Folder) → HTTP Request (HEIC to JPG) → Google Drive (Upload)

Automatically convert iPhone photos uploaded to a specific folder.

Invoice Processing Pipeline

Email Trigger → HTTP Request (Invoice Scanner) → Airtable/Notion (Add Record) → Slack (Notify)

Extract data from invoice attachments and add to your database.

Social Media Image Optimizer

Webhook → HTTP Request (Compress Image) → HTTP Request (Remove Background) → S3 Upload

Optimize and process images for social media posts.

Available Endpoints

For a complete list of endpoints and parameters, see our OpenAPI specification

EndpointDescription
/v1/heic-to-jpgConvert HEIC to JPG
/v1/compress-imageCompress images
/v1/resize-imageResize images
/convert/mp4-to-gifVideo to GIF
/convert/compress-pdfCompress PDF files
/ai/invoice-scanExtract invoice data
/ai/sentimentSentiment analysis