โ† Back to guides

n8n + Agent Media Tools: Automate Media Workflows

Updated July 13, 2026 ยท 6 min read

n8n is a powerful workflow automation tool. By connecting it to Agent Media Tools, you can build automated pipelines that process images, generate PDFs, scrape websites, transcribe audio, and more โ€” triggered by webhooks, schedules, or events.

โšก Example workflow: Webhook receives an image โ†’ auto-resize โ†’ convert to WebP โ†’ upload to storage. All in under 10 HTTP nodes.
Template note: downloadable workflow drafts are temporarily withheld while their current n8n binary-data behavior is validated. The manual HTTP-node setup below is the supported path.

Setup

1. Get an API key

Sign up at agentmediatools.com and create an API key from your account dashboard.

2. Add an HTTP Request node in n8n

Add a new HTTP Request node with these settings:

SettingValue
MethodPOST (or GET for read-only endpoints)
URLhttps://agentmediatools.com/api/agent/scrape (or any endpoint)
AuthenticationHeader Auth โ†’ Authorization: Bearer mt_your_key_here
BodyJSON โ€” depends on the endpoint

Workflow Examples

๐Ÿ“ธ Webhook โ†’ Screenshot โ†’ Save

  1. Webhook node โ€” receive a URL
  2. HTTP Request โ€” POST https://agentmediatools.com/api/screenshot
    {
      "url": "{{ $json.body.url }}",
      "width": 1280,
      "full_page": true,
      "format": "png"
    }
    Set Response Format to File.
  3. Save to disk / S3 / Google Drive โ€” store the returned image

๐Ÿ–ผ๏ธ Auto-Resize Incoming Images

  1. Webhook โ€” receive image via multipart upload
  2. HTTP Request โ€” POST https://agentmediatools.com/api/resize-image
    Send as Form-Data with field image (file from step 1) plus width: 800, format: webp
  3. HTTP Request โ€” download the resized file from the returned downloadUrl

๐Ÿ“„ Daily PDF Report from Web Pages

  1. Schedule โ€” cron trigger (e.g., daily at 9 AM)
  2. HTTP Request โ€” POST https://agentmediatools.com/api/html-to-pdf
    {
      "url": "https://your-dashboard.com/report",
      "width": 1280,
      "full_page": true
    }
  3. Email โ€” send the PDF as an attachment

๐ŸŽ™๏ธ Audio โ†’ Transcription Pipeline

  1. Webhook โ€” receive audio file or URL
  2. HTTP Request โ€” POST https://agentmediatools.com/api/transcribe
    Send as Form-Data with audio field, or JSON with url field
  3. Set โ€” extract the transcription text
  4. Notion / Google Sheets โ€” save the result

Complete Endpoint Reference

EndpointMethodWhat It Does
/api/screenshotPOSTFull-page or viewport screenshot
/api/html-to-pdfPOSTConvert web page to PDF
/api/resize-imagePOSTResize an uploaded image
/api/convert-imagePOSTConvert image format
/api/compress-imagePOSTCompress image
/api/merge-pdfPOSTMerge multiple PDFs
/api/transcribePOSTTranscribe audio to text
/api/qrcodePOSTGenerate QR code
/api/pastePOSTCreate a paste
/api/shortenPOSTShorten a URL
/api/uuidGETGenerate UUID
/api/ipGETGet public IP

See the full API docs for all 70+ endpoints.

Tips for n8n

๐Ÿ”‘ Get your free API key โ†’ agentmediatools.com